// ブレイクポイントの初期設定
$breakpoints: (
'xs': 'screen and (min-width: 480px)',
'sm': 'screen and (min-width: 600px)',
'md': 'screen and (min-width: 768px)',
'lg': 'screen and (min-width: 1024px)',
'cw': 'screen and (min-width: 1140px)',
'xl': 'screen and (min-width: 1200px)',
'wd': 'screen and (min-width: 1600px)',
) !default;
@mixin mq($breakpoint: md) {
@media #{map-get($breakpoints, $breakpoint)} {
@content;
}
}
// 変数の設定
$white: #fff;
$black: #1e1e1e;
$base: #434D54;
$base2: #F25120;
$toc-bg: #f5f5f5;
$btn1: #67D3FB;
$btn2: #eb6100;
$btn3: #32b16c;
$btn4: #67D3FB;
$btn5: #CC0000;
$bg1: #EFF5FB;
$bg2: #eee;
$gray: #efefef;
$gray2: #f5f5f5;
$gray3: #f5f4f4;
// minxin設定
@mixin wrapper($inner: 1140px) {
width: 100%;
max-width: $inner;
margin: 0 auto;
padding: 0 4vw;
@include mq() {
padding: 0 3rem;
}
}
@mixin flex($align: center, $justify: space-between) {
display: flex;
align-items: $align;
justify-content: $justify;
}
@mixin font-zenkaku {
font-family: 'Zen Kaku Gothic Antique',
sans-serif;
}
@mixin font-gothic {
font-family: "Yu Gothic Medium",
"游ゴシック Medium",
YuGothic,
"游ゴシック体",
"ヒラギノ角ゴ Pro W3",
"メイリオ",
sans-serif;
}
@mixin font-notSans {
font-family: 'Noto Sans JP',
sans-serif;
}
@mixin font-anton {
font-family: 'Anton',
sans-serif;
}
@import url("reset.css"
);
/*********************************
基本設定
*********************************/
html {
box-sizing: border-box;
font-size: 62.5%;
overflow-x: hidden;
}
body {
margin: 0px;
overflow-x: hidden;
color: #1e1e1e;
line-height: 1.6;
font-size: 16px;
}
h1,
h2,
h3,
h4,
h5 {
line-height: 1.35;
}
body#rb_design1 {
@include font-zenkaku();
}
body#rb_design2 {
@include font-gothic();
}
body#rb_design3 {
@include font-notSans();
}
a {
display: inline-block;
color: #1e1e1e;
text-decoration: none;
}
img {
max-width: 100%;
height: auto;
}
iframe {
width: 100%;
}
p {
word-break: break-all;
}
/*********************************
共通設定
*********************************/
.inner {
padding: 3rem 0;
@include mq() {
padding: 4.5rem 0;
}
}
.spacer {
@include wrapper;
}
.mt-1 {
margin-top: 1rem;
}
.mb-1 {
margin-bottom: 1rem;
}
.mt-2 {
margin-top: 2rem;
}
.mb-2 {
margin-bottom: 2rem;
}
.mt-4 {
margin-top: 4rem;
}
.mb-4 {
margin-bottom: 4rem;
}
.mt-6 {
margin-top: 6rem;
}
.mb-6 {
margin-bottom: 6rem;
}
.bg-base {
background-color: $base;
}
.bg-base2 {
background-color: $base2;
}
.bg-gray {
background-color: $gray;
}
// スクロールエリア
.scrollArea {
display: flex;
overflow-x: auto;
flex-wrap: nowrap;
padding-bottom: 2rem;
&::-webkit-scrollbar {
height: 8px;
border-radius: 50px;
}
&::-webkit-scrollbar-track {
background-color: $gray;
border-radius: 50px;
}
&::-webkit-scrollbar-thumb {
border-radius: 50px;
}
}
.section.bg-base {
.scrollArea::-webkit-scrollbar-thumb {
background-color: #ccc;
}
}
.widgetImg-wrap {
a {
display: block;
width: 100%;
}
.quote {
font-size: 1.4rem;
margin-top: 1rem;
text-align: right;
}
}
.recommend-img {
a {
display: block;
width: 100%;
}
}
.sec-3box .img-wrap .quote {
margin: .5rem .5rem .5rem auto !important;
}
.sidebar-list .img-wrap .quote {
font-size: 9px;
}
.cat-list .img-wrap .quote {
white-space: nowrap;
font-size: 9px;
}
/*********************************
SECTION TITLE(セクションタイトルH2)
*********************************/
.sectionTtl-wrap {
margin-bottom: 2rem;
@include mq() {
margin-bottom: 2.4rem;
}
@include mq('lg') {
margin-bottom: 3.2rem;
}
}
.sectionTtl-h2 {
font-size: 2.2rem;
font-weight: 600;
@include mq() {
font-size: 2.7rem;
}
@include mq('lg') {
font-size: 3.2rem;
}
}
// デザイン1
.sectionTtl-wrap.design1 {
margin-bottom: 2.5rem;
@include mq() {
margin-bottom: 2.9rem;
}
@include mq('lg') {
margin-bottom: 3.7rem;
}
.sectionTtl-h2 {
text-align: center;
&:after {
content: "";
display: block;
width: 150px;
height: 5px;
margin: .5rem auto 0;
}
}
}
// デザイン2
.sectionTtl-wrap.design2 {
margin-bottom: 0;
overflow: hidden;
.sectionTtl-h2 {
overflow: hidden;
position: relative;
line-height: 1.3;
color: $white;
padding: 1.75rem;
padding-left: 33%;
font-size: 2rem;
@include mq() {
font-size: 2.4rem;
padding: 2.5rem;
padding-left: 33%;
}
@include mq('lg') {
font-size: 2.7rem;
}
}
span {
position: absolute;
top: 0;
left: -5%;
width: 30%;
height: 101%;
padding: 0 4rem;
display: flex;
align-items: center;
justify-content: flex-end;
transform: skewX(-8deg) translateX(10px);
@include mq('xs') {
transform: skewX(-8deg);
}
@include mq() {
width: 35%;
}
img {
display: block;
margin: 0 !important;
height: 40px;
object-fit: contain;
transform: skewX(8deg);
@include mq() {
height: 50px;
}
@include mq('lg') {
height: 55px;
}
}
}
}
// デザイン3
.sectionTtl-wrap.design3 {
background: $white;
border-radius: 6rem;
border: solid 0.3rem #525252;
display: block;
flex-wrap: wrap;
font-weight: 600;
letter-spacing: 0.05em;
margin: 0 auto 5rem auto !important;
max-width: 80rem;
padding: 1.5rem 3rem;
position: relative;
width: 100%;
@include mq() {
min-height: 5rem;
padding: 1.5rem 4.5rem;
}
@include mq('lg') {
min-height: 8rem;
padding: 1.5rem 6.5rem;
}
&::before {
content: '';
border: solid 2.4rem transparent;
border-top: solid 2.4rem #525252;
position: absolute;
top: 100%;
left: 50%;
padding: 0 !important;
transform: translateX(-50%);
-webkit-transform: translateX(-50%);
}
&::after {
content: '';
border: solid 3rem transparent;
border-top: solid 3rem #FFF;
margin-top: -1rem;
position: absolute;
top: 100%;
left: 50%;
padding: 0 !important;
transform: translateX(-50%);
-webkit-transform: translateX(-50%);
}
.en-copy {
display: block;
font-size: 1.4rem;
text-align: center;
font-weight: 500;
text-transform: capitalize;
}
.sectionTtl-h2 {
text-align: center;
font-size: 1.8rem;
font-weight: 500;;
@include mq() {
font-size: 2rem;
}
@include mq('lg') {
font-size: 2.4rem;
}
}
}
/*********************************
TITLE(各タイトル)
*********************************/
.home .recommend-ttl_h3,
.single .recommend-ttl_h2 {
position: relative;
font-size: 2.2rem;
@include mq('xs') {
font-size: 2.8rem;
}
}
.home .recommend-ttl_h3 a {
position: relative;
display: block;
}
.home .recommend-ttl_h4,
.single .recommend-ttl_h3 {
font-size: 1.8rem;
line-height: 1.25;
margin-bottom: 2rem;
position: relative;
@include mq() {
font-size: 2rem;
}
@include mq('lg') {
font-size: 2.2rem;
}
}
/*********************************
POINTS(おすすめポイント)
*********************************/
.point-list {
li {
background-color: $white;
@include mq('sm') {
@include flex(center, normal);
}
p {
margin: 0 !important;
padding: 1rem;
width: 100%;
line-height: 1.4;
}
}
}
// 詳細ページ
// .single .point-list .point-item .point-icon {
// margin-right: 1rem;
// }
// 縦並び
.point-list.column {
li+li {
margin-top: .5rem;
}
li {
@include mq('sm') {
@include flex(center, normal);
}
p {
padding: 1rem;
}
}
}
//横並び(横2列)
.point-list.row_2 {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
@include mq('sm') {
grid-gap: 2rem;
grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
}
}
//横並び(横3列)
.point-list.row_3 {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
@include mq('sm') {
grid-gap: 2rem;
grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
}
@include mq('cw') {
grid-gap: 2rem;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.point-item.design1 .point-icon {
min-width: 10rem;
}
}
// 横並びの場合の指定
#recommend .point-list.row_2 .point-item.design2+.point-item.design2,
#recommend .point-list.row_3 .point-item.design2+.point-item.design2 {
margin-top: 1.6rem;
@include mq('sm') {
margin: 0
}
}
// ポイントデザイン1
.point-list .point-item.design1 {
align-items: unset;
.point-icon {
@include flex(center, center);
padding: 1rem;
color: $white;
font-size: 1.8rem;
text-align: center;
width: 100%;
font-weight: 600;
@include mq('sm') {
min-width: 12rem;
padding: 1rem 1rem;
width: unset;
}
@include mq() {
min-width: 15rem;
}
i {
margin-right: .5rem;
}
}
p {
display: flex;
align-items: center;
}
}
// ポイントデザイン2
.point-list .point-item.design2 {
@include flex(center, normal);
border-radius: 60px;
.point-icon {
@include flex(center, center);
border-radius: 50%;
width: 45px;
height: 45px;
min-width: 45px;
color: $white;
font-size: 1.6rem;
font-weight: 600;
@include mq('sm') {
width: 50px;
height: 50px;
min-width: 50px;
font-size: 1.8rem;
}
@include mq() {
width: 60px;
height: 60px;
min-width: 60px;
font-size: 2rem;
}
}
p {
padding: .5rem 1rem;
}
}
// ポイントデザイン3
.point-list .point-item.design3 {
display: block;
padding: 3.5rem 1.5rem 1.5em;
border-radius: 10px;
text-align: center;
position: relative;
margin-top: 3.5rem;
@include mq('sm') {
margin-top: 3rem;
padding: 4.5rem 2rem 2em;
}
.point-icon {
padding: 1rem 1.75rem;
min-width: 135px;
text-align: center;
border-radius: 50px;
font-size: 1.8rem;
text-transform: uppercase;
color: $white;
line-height: 1;
font-weight: 600;
position: absolute;
top: 0;
left: 50%;
transform: translate(-50%, -50%);
@include mq('sm') {
min-width: 150px;
font-size: 2rem;
padding: 1rem 2rem;
}
}
.number {
display: inline-block;
margin-left: .5rem;
}
p {
padding: 0;
}
}
// 横並びの場合はテキストも横並び
.point-list.row_2 .point-item.design3,
.point-list.row_3 .point-item.design3 {
text-align: center;
}
// ポイント3,4の感覚を狭める
.point-list.row_2 .point-item.design3:nth-of-type(3),
.point-list.row_2 .point-item.design3:nth-of-type(4) {
@include mq('sm') {
margin-top: 2.5rem;
}
}
/*********************************
TABLE(基本情報)
*********************************/
.table table,
.table table tbody,
.table table tbody tr,
.table table tbody th,
.table table tbody td {
display: block;
width: 100%;
}
.table {
table {
width: 100%;
tbody {
tr {
border: none !important;
&:last-child td {
border-bottom: 1px solid #efefef;
}
}
th {
display: block;
width: 100%;
text-align: center;
font-weight: 400;
color: $white;
padding: 1rem;
line-height: 1.4;
border: 1px solid $white !important;
border-bottom: 0;
font-size: 1.4rem;
@include mq('xs') {
display: table-cell;
vertical-align: middle;
width: 150px;
min-width: 150px;
}
}
td {
background-color: $white;
display: block;
width: 100%;
padding: .5rem;
font-size: 1.2rem;
border: 1px solid $gray;
border-bottom: 0;
@include mq('xs') {
display: table-cell;
vertical-align: middle;
padding: .7rem;
line-height: 1.4;
font-size: 1.4rem;
}
}
tr:last-child {
border-bottom: 1px solid $gray;
}
}
}
}
/*********************************
REVIEW(口コミ)
*********************************/
.reviews.mb-4+.reviews.mb-4 {
margin-top: -2rem;
}
.reviews {
.review-title {
font-weight: 600;
font-size: 1.6rem;
@include mq() {
font-size: 1.8rem;
}
.name {
display: inline-block;
margin-left: 1rem;
font-size: 1.2rem;
@include mq() {
font-size: 1.4rem;
}
}
}
blockquote {
font-size: 1.4rem;
padding: 1rem;
@include mq() {
font-size: 1.6rem;
}
}
}
.review-box .quote {
margin-bottom: 0;
}
.admin-box {
.admin-title {
font-weight: 600;
font-size: 1.6rem;
@include mq() {
font-size: 1.8rem;
}
}
.admin-text {
line-height: 1.4;
p {
margin: 0 !important;
}
p+p {
margin-top: 10px !important;
}
}
}
// 縦一列
.reviews.column {
.review-box+.review-box {
margin-top: 2rem;
}
}
// 横2列
.reviews.row_2 {
display: grid;
grid-gap: 2rem;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
@include mq() {
grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}
}
//デザイン1
.reviews.design1 {
.review-box {
padding: 1.5rem;
p {
margin-left: 0 !important;
margin-right: 0 !important;
}
}
.review-title {
color: $black;
line-height: 1.4;
padding: 0.5rem 0 1rem 4.5rem;
position: relative;
&::before {
content: '\f4ff';
font-weight: 900;
font-family: 'Font Awesome 5 Free';
font-size: 2.5rem;
position: absolute;
top: -1px;
left: 0;
}
}
.admin-box {
padding: 1.5rem;
.admin-title {
display: inline-block;
transform: translateX(-20px) rotate(-6deg);
padding: .5rem 1rem;
}
.admin-text {
margin-top: 2rem;
}
}
}
//デザイン2
.reviews.design2 {
margin-top: 4rem;
.review-box {
width: 98%;
padding: 4rem 2rem 1.5rem;
position: relative;
margin-left: auto;
// margin-right: auto;
}
.img-wrap {
img {
display: block;
margin: 0 auto;
}
span {
display: block;
margin-top: .5rem;
text-align: center;
}
}
.review-title {
position: absolute;
top: 0;
left: -20px;
transform: translateY(-50%);
span {
display: inline-block;
color: $black;
padding: 1rem 1.5rem;
color: $white;
position: relative;
&::before {
content: '';
position: absolute;
top: 100%;
left: 0;
border-bottom: solid 10px transparent;
}
}
}
blockquote {
padding: 0;
}
.admin-box {
margin-top: 3.5rem;
padding: 1.5rem;
position: relative;
.admin-title {
padding: .5rem 1rem;
position: absolute;
top: 0;
left: -3px;
transform: translateY(-50%);
}
.admin-text {
font-size: 1.4rem;
margin-top: 2rem;
}
}
}
#recommend.rb_design1 .recommend-box .reviews.design2 .review-box {
width: 100%;
}
.reviews.design2.column {
.review-box+.review-box {
margin-top: 5rem;
}
.review-box {
position: relative;
@include mq() {
@include flex(center, normal);
}
}
.img-wrap {
@include mq() {
width: 30%;
max-width: 120px;
min-width: 120px;
}
img {
width: 80px;
height: auto;
@include mq('xs') {
width: 110px;
}
@include mq() {
width: 100%;
}
}
}
.text-wrap {
padding-top: 2rem;
@include mq() {
padding: 0 0 0 2rem;
}
}
}
.reviews.design2.row_2 {
grid-gap: 5rem;
@include mq() {
grid-gap: 4rem;
}
.img-wrap {
margin-bottom: 1.2rem;
img {
object-fit: contain;
width: 80px;
height: auto;
@include mq('xs') {
width: 100px;
}
@include mq() {
width: 120px;
height: 120px;
}
}
}
}
// 詳細ページ
.single .reviews.design2+.reviews.design2 {
margin-top: 6rem
}
/*********************************
BUTTON(ボタン)
*********************************/
.btn-wrap {
@include mq() {
@include flex(flex-end, center);
}
.btn+.btn {
margin-top: 1.6rem;
@include mq() {
margin: 0 0 0 1.6rem;
}
}
.btn {
width: 100%;
max-width: 350px;
min-width: 150px;
margin: 0 auto;
@include mq() {
margin: unset;
}
.btn-copy {
display: block;
text-align: center;
margin-bottom: .5rem;
font-size: 1.4rem;
font-weight: 600;
transition: 0.3s;
}
a {
display: block;
position: relative;
text-align: center;
color: $white;
padding: 2rem 3.25rem;
border-radius: 100px;
border: 2px solid;
transition: 0.3s;
width: 100%;
font-weight: 600 !important;
letter-spacing: 0.06em;
line-height: 1.4;
i {
position: absolute;
top: 0;
bottom: 0;
right: 1.6rem;
height: 16px;
margin: auto;
}
}
}
}
// 一覧ページボタン
.btn-wrap.wide {
.btn.btn_top {
max-width: 550px;
a {
color: $white;
padding: 1.5rem 4rem;
@include mq() {
padding: 2rem 4rem;
}
}
}
}
.btn-wrap.full {
flex-wrap: wrap;
margin-left: auto;
margin-right: auto;
@include mq() {
max-width: 800px;
}
.btn:nth-of-type(3) {
@include mq() {
margin-left: 0;
}
}
.btn:nth-of-type(3),
.btn:nth-of-type(4) {
@include mq() {
margin-top: 1.6rem;
}
}
}
.btn-wrap.mt-6 {
.btn:nth-of-type(3),
.btn:nth-of-type(4) {
@include mq() {
margin-top: 4.5rem;
}
}
}
.btn-wrap+.btn-wrap {
margin-top: 4rem;
}
.btn-wrap+.btn-wrap.mt-6 {
.btn:nth-of-type(3),
.btn:nth-of-type(4) {
@include mq() {
margin-top: 2.2rem;
}
}
}
.btn-wrap+.mb-4,
.btn-wrap+.recommend-ttl_h4,
.btn-wrap+.design1,
.btn-wrap+.design2,
.btn-wrap+.design3 {
margin-top: 4rem;
}
// 詳細ページ
.single .recommend-box .btn-wrap {
margin-top: 4rem;
margin-bottom: 4rem;
}
.btn.copy+.btn.copy {
margin-top: 2rem;
@include mq() {
margin: 2rem 0 0 1.6rem;
}
}
.btn.copy+.btn.design2.copy {
margin-top: 4rem;
@include mq() {
margin: 2rem 0 0 1.6rem;
}
}
.btn.copy:nth-child(3) {
margin-top: 2rem;
}
// レイアウト1
.btn.design1 {
.btn-copy {
@include flex(center, center);
&::before,
&::after {
content: "";
display: inline-block;
width: 20px;
height: 3px;
border-radius: 5px;
}
&::before {
margin-right: .6rem;
-webkit-transform: rotate(50deg);
transform: rotate(50deg);
}
&::after {
margin-left: .6rem;
-webkit-transform: rotate(-50deg);
transform: rotate(-50deg);
}
}
a {
&:hover {
background: $white;
}
}
}
// カラーオプション2×レイアウトオプション1
.btn.btn2.design1 {
.btn-copy {
&::before,
&::after {
background-color: $btn2;
}
}
a {
background-color: $btn2;
border-color: $btn2;
&:hover {
background: $white;
color: $btn2;
}
}
}
// カラーオプション3×レイアウトオプション1
.btn.btn3.design1 {
.btn-copy {
&::before,
&::after {
background-color: $btn3;
}
}
a {
background-color: $btn3;
border-color: $btn3;
&:hover {
background: $white;
color: $btn3;
}
}
}
// カラーオプション4×レイアウトオプション1
.btn.btn4.design1 {
.btn-copy {
&::before,
&::after {
background-color: $btn4;
}
}
a {
background-color: $btn4;
border-color: $btn4;
&:hover {
background: $white;
color: $btn4;
}
}
}
// カラーオプション5×レイアウトオプション1
.btn.btn5.design1 {
.btn-copy {
&::before,
&::after {
background-color: $btn5;
}
}
a {
background-color: $btn5;
border-color: $btn5;
&:hover {
background: $white;
color: $btn5;
}
}
}
.btn.design2 {
position: relative;
.btn-copy {
width: 80%;
padding: 0.2rem 0;
border: 2px solid;
border-radius: 0.5rem;
background: $white;
-webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
position: absolute;
top: 0;
left: 50%;
transform: translate(-50%, -70%);
z-index: 5;
transition: 0.3s;
}
a {
display: inline-block;
line-height: 1.5;
border: none;
border-radius: 0.5rem;
position: relative;
color: $white;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
text-align: center;
vertical-align: middle;
transition: all 0.3s;
}
&:hover {
.btn-copy {
transform: translate(-50%, calc(-70% + 5px));
transition: 0.3s;
}
a {
transform: translateY(5px);
transition: 0.3s;
}
}
}
// カラーオプション2×レイアウトオプション2
.btn.btn2.design2 {
.btn-copy {
color: $btn2;
border: 2px solid $btn2;
}
a {
background: $btn2;
-webkit-box-shadow: 0 5px 0 #d44114;
box-shadow: 0 5px 0 #d44114;
}
&:hover {
a {
box-shadow: 0 2px 0 #d44114;
}
}
}
// カラーオプション3×レイアウトオプション2
.btn.btn3.design2 {
.btn-copy {
color: $btn3;
border: 2px solid $btn3;
}
a {
background: $btn3;
-webkit-box-shadow: 0 5px 0 #2c9d60;
box-shadow: 0 5px 0 #2c9d60;
}
&:hover {
a {
box-shadow: 0 2px 0 #2c9d60;
}
}
}
// カラーオプション4 × レイアウトオプション2
.btn.btn4.design2 {
.btn-copy {
color: $btn4;
border: 2px solid $btn4;
}
a {
background: $btn4;
-webkit-box-shadow: 0 5px 0 #50a9ca;
box-shadow: 0 5px 0 #50a9ca;
}
&:hover {
a {
box-shadow: 0 2px 0 #50a9ca;
}
}
}
// カラーオプション5 × レイアウトオプション2
.btn.btn5.design2 {
.btn-copy {
color: $btn5;
border: 2px solid $btn5;
}
a {
background: $btn5;
-webkit-box-shadow: 0 5px 0 #a80202;
box-shadow: 0 5px 0 #a80202;
}
&:hover {
a {
box-shadow: 0 2px 0 #a80202;
}
}
}
.btn.design3 {
.btn-copy {
@include flex(center, center);
&::before,
&::after {
content: "";
display: inline-block;
width: 20px;
height: 3px;
border-radius: 5px;
}
&::before {
margin-right: .6rem;
-webkit-transform: rotate(50deg);
transform: rotate(50deg);
}
&::after {
margin-left: .6rem;
-webkit-transform: rotate(-50deg);
transform: rotate(-50deg);
}
}
a {
border-radius: 5px;
text-align: center;
color: #fff;
text-decoration: none;
font-size: 15px;
line-height: 27px;
font-weight: bold;
position: relative;
overflow: hidden;
border: none;
&::before {
content: '';
display: block;
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: -100%;
background-image: linear-gradient(130deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 80%, rgba(255, 255, 255, 100) 81%, rgba(255, 255, 255, 0) 100%);
animation: shine 3s infinite;
}
}
&:hover {
.btn-copy {
transform: translateY(3px);
transition: 0.3s;
}
a {
transform: translateY(4px);
transition: 0.3s;
}
}
}
// カラーオプション2 × レイアウトオプション3
.btn.btn2.design3 {
.btn-copy {
&::before,
&::after {
background-color: $btn2;
}
}
a {
background: $btn2;
-webkit-box-shadow: 0 5px 0 #d44114;
box-shadow: 0 5px 0 #d44114;
}
&:hover {
a {
box-shadow: 0 1px 0 #d44114;
}
}
}
// カラーオプション3 × レイアウトオプション3
.btn.btn3.design3 {
.btn-copy {
&::before,
&::after {
background-color: $btn3;
}
}
a {
background: $btn3;
-webkit-box-shadow: 0 5px 0 #2c9d60;
box-shadow: 0 5px 0 #2c9d60;
}
&:hover {
a {
box-shadow: 0 1px 0 #2c9d60;
}
}
}
// カラーオプション4 × レイアウトオプション3
.btn.btn4.design3 {
.btn-copy {
&::before,
&::after {
background-color: $btn4;
}
}
a {
background: $btn4;
-webkit-box-shadow: 0 5px 0 #50a9ca;
box-shadow: 0 5px 0 #50a9ca;
}
&:hover {
a {
box-shadow: 0 1px 0 #50a9ca;
}
}
}
// カラーオプション4 × レイアウトオプション3
.btn.btn5.design3 {
.btn-copy {
&::before,
&::after {
background-color: $btn5;
}
}
a {
background: $btn5;
-webkit-box-shadow: 0 5px 0 #a80202;
box-shadow: 0 5px 0 #a80202;
}
&:hover {
a {
box-shadow: 0 1px 0 #a80202;
}
}
}
@keyframes shine {
33% {
left: 100%;
}
100% {
left: 100%;
}
}
/*********************************
SNS BUTTON(snsボタン)
*********************************/
.btn.btn_sns {
&:hover a {
opacity: .7;
transition: opacity .3s;
}
.btn-copy {
@include flex(flex-end, center);
font-weight: 600;
&::before,
&::after {
content: '';
display: block;
width: 2px;
height: 22px;
}
&::before {
margin-right: 1.25rem;
transform: rotate(-20deg);
}
&::after {
margin-left: 1.25rem;
transform: rotate(20deg);
}
}
a {
padding-left: 5rem;
border: none !important;
padding-right: 5rem;
border-radius: unset;
position: relative;
transition: all .3s;
&::before {
content: '';
background-position: center center;
background-repeat: no-repeat;
background-size: contain;
display: block;
width: 22px;
height: 22px;
position: absolute;
top: 50%;
right: 1.5rem;
transform: translateY(-50%);
@include mq() {
width: 25px;
height: 25px;
}
}
}
}
//Instagram
.btn.btn_sns.instagram {
.btn-copy::before,
.btn-copy::after {
background-color: #f13f79;
}
a {
background: -webkit-linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
background: linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
&::before {
background-image: url(img/sns-icon/icon_instagram.svg);
}
}
}
// X(旧Twitter)
.btn.btn_sns.x {
.btn-copy::before,
.btn-copy::after {
background-color: #000000;
}
a {
background: #000000;
&::before {
background-image: url(img/sns-icon/icon_x.svg);
}
}
}
// LINE
.btn.btn_sns.line {
.btn-copy::before,
.btn-copy::after {
background-color: #06c755;
}
a {
background: #06c755;
&::before {
background-image: url(img/sns-icon/icon_line.svg);
}
}
}
// YouTube
.btn.btn_sns.youtube {
.btn-copy::before,
.btn-copy::after {
background-color: #ff0000;
}
a {
background: #ff0000;
&::before {
background-image: url(img/sns-icon/icon_youtube.svg);
width: 29px;
@include mq() {
width: 35px;
}
}
}
}
/*********************************
事例BOX
*********************************/
.ex-list {
li .outline-link {
display: block;
width: 100%;
}
li {
width: calc((100% - 4rem) / 3);
min-width: calc(960px / 3.1);
img {
width: 100%;
height: 225px;
object-fit: cover;
object-position: center top;
}
.table {
table {
tbody {
tr {
display: flex;
th {
@include flex(center, center);
width: 100px;
min-width: 100px;
padding: .5rem;
}
td {
padding: .5rem;
}
}
}
}
}
.btn-wrap {
.btn {
max-width: 300px;
a {
padding-top: 1.5rem;
padding-bottom: 1.5rem;
}
}
}
}
li+li {
margin-left: 2rem;
}
}
//詳細ページ
.single .recommend-box .ex-list {
li {
@include mq('cw') {
width: calc((100% - 8rem) / 2);
min-width: calc(calc(100% - 2rem) / 2);
}
.btn-wrap {
margin-top: 2rem !important;
margin-bottom: 0 !important;
}
}
}
//事例が1つの場合
.ex-list.single-center {
.scrollArea {
overflow: visible !important;
padding-bottom: 0;
}
li {
margin: 0 auto;
width: 100%;
min-width: 100%;
@include mq() {
width: calc((100% - 4rem) / 3);
min-width: calc(960px / 3.1);
}
}
}
//事例が2つの場合
.ex-list.double {
.scrollArea {
@include mq('cw') {
justify-content: center;
}
}
}
//画像のみの場合
.ex-list.full li img {
height: 320px;
}
/*********************************
Constructions(施工事例)
*********************************/
.constructions {
.quote {
margin-left: auto;
margin-right: 0;
margin-bottom: 0;
color: #999;
}
a .quote span {
color: blue;
}
}
/*********************************
SNS BOX(SNS投稿用BOX)
*********************************/
.sns-box {
iframe {
max-width: unset !important;
width: 100% !important;
margin: 0px !important;
min-width: unset !important;
}
}
.sns-box {
.ex-list.mov {
li {
@include mq() {
width: calc((100% - 2rem) / 2);
min-width: calc(960px / 2);
}
}
}
}
/*********************************
POST LIST(その他リスト・投稿一覧)
*********************************/
.sec-postList {
.post-list {
.post-item {
background-color: $white;
width: 100%;
.btn {
@include mq() {
max-width: 280px;
}
a {
padding-top: 1.5rem;
padding-bottom: 1.5rem;
}
}
}
.view {
font-size: 1.6rem;
font-weight: 600;
position: relative;
padding: 2rem 4rem 2rem 1.5rem;
@include mq() {
font-size: 1.8rem;
padding: 2rem 3.5rem 2rem 2rem;
}
@include mq('lg') {
padding: 2.5rem 4rem 2.5rem 2rem;
}
}
.hidden {
display: none;
padding: 0 1.5rem 2rem;
font-size: 1.25rem;
@include mq() {
font-size: 1.4rem;
}
@include mq('lg') {
padding: 0 2.5rem 2.5rem;
}
}
}
}
.sec-postList .post-list {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
grid-gap: 2rem;
@include mq() {
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}
}
.sec-postList.column_3 .post-list {
@include mq('cw') {
grid-template-columns: repeat(auto-fill, minmax(calc(100% / 3.3), 1fr));
}
}
.sec-postList.column_4 .post-list {
@include mq() {
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
@include mq('cw') {
grid-template-columns: repeat(auto-fill, minmax(calc(100% / 4.3), 1fr));
}
}
// 詳細ページ
.single .recommend-box .sec-postList {
.post-list {
display: block;
.post-item {
width: 100%;
margin: 0;
.btn-wrap {
margin: 2rem 0 0 0 !important;
}
.btn {
a {
padding-top: 1.2rem;
padding-bottom: 1.2rem;
}
}
}
}
}
// デザイン1
.sec-postList.design1 {
.post-item {
background: transparent;
cursor: pointer;
}
.item-inner {
background: $white;
border-radius: 10px;
box-shadow: 0 2px 5px rgba($black, 0.15);
}
.view {
border-radius: 10px;
&.active {
span {
transform: translateY(-50%);
transition: all .3s;
&::before {
content: '\f077';
}
}
}
span {
@include flex(center, center);
width: 20px;
height: 20px;
border-radius: 50%;
position: absolute;
top: 50%;
right: 1.5rem;
transform: translateY(-50%);
@include mq() {
width: 25px;
height: 25px;
}
&::before {
content: '\f078';
font-family: 'Font Awesome 5 Free';
font-weight: 900;
font-size: 1rem;
color: $white;
@include mq() {
font-size: 1.2rem;
}
}
}
}
.hidden {
display: none;
a:not(.btn-wrap .btn a) {
display: block;
text-align: right;
text-decoration: underline;
color: blue;
font-size: 1.25rem;
}
}
}
.sec-postList.design2{
.post-item {
background-color: $white;
transition: all .3s;
&:hover .permalink {
opacity: .7;
transition: all .3s ease-in-out;
}
.permalink {
display: flex;
align-items: center;
}
}
.img-wrap {
width: 130px;
height: 130px;
overflow: hidden;
img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center top;
}
}
.text-wrap {
width: calc(100% - 12.5rem);
height: auto;
padding: 1.25rem 3.25rem 1.25rem 1.25rem;
@include mq() {
padding: 1.5rem 4rem 1rem 1rem;
}
position: relative;
&::after {
content: '\f054';
color: $black;
font-family: 'Font Awesome 5 Free';
font-size: 1.4rem;
font-weight: 900;
line-height: 1;
position: absolute;
top: 50%;
right: 1rem;
transform: translateY(-50%);
}
.title {
margin-bottom: 1rem;
line-height: 1.2;
}
p {
font-size: 1.2rem;
line-height: 1.4;
@include mq() {
font-size: 1.4rem;
}
}
}
}
// デザイン3
.sec-postList.design3 {
.post-item {
width: 100%;
background-color: $white;
margin: 0 auto;
box-shadow: 0 2px 5px rgba($black, 0.15);
max-width: 420px;
transition: all .3s;
@include mq() {
max-width: 100%;
}
&:hover .permalink {
opacity: .7;
transition: all .3s ease-in-out;
}
.permalink {
display: block;
width: 100%;
}
}
.img-wrap {
width: 100%;
height: 200px;
img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center top;
}
}
.text-wrap {
padding: 1.5rem;
position: relative;
@include mq() {
padding: 1.75rem 2rem;
}
p {
font-size: 1.2rem;
line-height: 1.4;
@include mq() {
font-size: 1.4rem;
}
}
}
.title {
font-size: 1.6rem;
text-align: left;
font-weight: 600;
margin-bottom: 1rem;
line-height: 1.4;
@include mq() {
font-size: 1.8rem;
}
}
.post-icon {
margin-top: 1rem;
font-size: 1.2rem;
@include flex(center, flex-end);
span {
@include flex(center, center);
width: 20px;
height: 20px;
margin-left: .5rem;
text-align: center;
border-radius: 50%;
i {
font-size: .8rem;
line-height: 1;
color: $white;
}
}
}
}
// デザイン5(その他の企業専用展開式)
.sec-postList.design5 {
.post-item {
padding: 1.5rem;
box-shadow: 0 2px 5px rgba($black, 0.15);
}
.post-inner {
background:$white;
padding: 1.5rem;
height: 100%;
@include mq() {
padding: 2rem;
}
@include mq('lg') {
padding: 2.5rem;
}
}
.title,
.text-wrap p {
margin-bottom: 1.6rem;
}
.title {
font-size: 1.6rem;
font-weight: 600;
padding-bottom: .5rem;
@include mq() {
font-size: 1.8rem;
}
}
.text-wrap {
p {
font-size: 1.2rem;
line-height: 1.4;
@include mq() {
font-size: 1.4rem;
}
}
}
}
// 背景なしのレイアウト
.sec-postList.design5.bg-none {
.post-item {
padding: 1.5rem;
}
.post-inner {
background-color: $white;
}
}
//デザイン4(カード型)
.sec-postList.design4 ul li a {
display: block;
text-shadow: #000 1px 0 5px;
box-sizing: border-box;
width: 100%;
height: 100%;
box-sizing: border-box;
padding: 2.5rem 3.5rem 2rem 2.5rem;
min-width: 150px;
min-height: 130px;
position: relative;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
@include mq() {
min-height: 150px;
padding: 3.5rem 3rem 3rem 3rem;
}
@include mq('lg') {
min-height: 180px;
}
&::before {
content: '';
display: block;
width: 100%;
height: 100%;
position: absolute;
background: rgba(0,0,0,50%) ;
top: 0;
left: 0;
z-index: 1;
transition: all .3s
}
&::after {
content: '';
display: block;
width: 25px;
height: 25px;
background-image: url(img/circle-arrow.png);
background-size: contain;
background-repeat: no-repeat;
background-position: center center;
position: absolute;
bottom: 1.6rem;
right: 1.6rem;
z-index: 1;
@include mq() {
width: 35px;
height: 35px;
}
}
}
.sec-postList.design4 ul li a .title {
font-size: 1.8rem;
font-weight: 600;
letter-spacing: 1.4px;
line-height: 1.3;
color: #fff;
position: relative;
z-index: 5;
@include mq() {
font-size: 2rem;
}
}
.sec-postList.design4 ul li a p {
color: $white;
margin-top: 1.6rem;
font-size: 1.4rem;
line-height: 1.3;
position: relative;
z-index: 5;
font-size: 1.4rem;
width: 90%;
@include mq() {
width: 55%;
}
}
.sec-postList.design4 ul li:hover a::before {
background: rgba(0,0,0,30%) ;
transition: all .3s
}
//デザイン6(カード型)
.sec-postList.design6 {
ul {
li {
background: #ffe2cd;
padding: 1.5rem;
box-shadow: 4px 8px 6px -6px rgba(0, 0, 0, 0.15);
margin: 0 !important;
border: none !important;
transition: all .3s ease-out;
&:hover {
opacity: .7;
transform: scale(1.02);
transition: all .3s ease-out;
}
a {
display: block;
width: 100%;
.img-wrap img {
width: 100%;
height: 180px;
object-fit: cover;
object-position: center top;
@include mq() {
height: 200px;
}
}
.title {
display: flex;
align-items: center;
min-height: 45px;
letter-spacing: 0.03em;
line-height: 1.3;
margin-top: 15px;
position: relative;
font-weight: 600;
font-size: 1.6rem;
border-left: 5px solid $base;
padding-left: 1rem;
}
}
}
}
}
.sec-postList.design6.column_2 ul li a .img-wrap img{
@include mq('lg') {
height: 250px;
}
}
//デザイン7(カード型)
.sec-postList.design7 {
ul {
li {
background-color: $white;
border-radius: 1rem;
box-shadow: 0 2px 5px rgba(30, 30, 30, 0.15);
a {
display: block;
width: 100%;
.img-wrap {
align-items: center;
border-radius: 1rem 1rem 0 0;
display: flex;
height: 17rem;
justify-content: center;
overflow: hidden;
position: relative;
transition: opacity .3s;
img {
width: 100%;
}
.category {
background-color: #FDF34A;
color: $black;
padding: .5rem 1rem;
font-size: 1rem;
position: absolute;
left: -1px;
top: -1px;
}
}
.text-wrap {
padding: 1rem 1rem 1.5rem;
.date {
font-size: 1.2rem;
margin-bottom: .5rem;
}
.title {
font-size: 1.6rem;
}
.detailLink_txt {
@include flex(center, flex-end);
font-size: 1.2rem;
letter-spacing: .2em;
line-height: 2em;
margin-top: 1.6rem;
color: $black;
&::after {
content: "";
position: relative;
display: inline-block;
width: .5em;
height: .5em;
background-color: #e30011;
border-radius: 50%;
margin-left: 5px;
}
}
}
}
&:hover {
a .img-wrap {
opacity: .7;
transition: opacity .3s;
}
a .detailLink_txt {
color: #e30011;
}
}
}
}
}
/*********************************
FAQ(よくある質問)
*********************************/
// 基本レイアウト
.sec-faq {
.faq-list {
@include flex(flex-start, space-between);
flex-wrap: wrap;
.faq-item {
background-color: $white;
width: 100%;
margin-top: 2rem;
&:nth-child(1) {
margin-top: 0;
}
@include mq() {
width: calc(calc(100% - 2rem) / 2);
margin: 2rem 1rem 0;
&:nth-child(1),
&:nth-child(2) {
margin-top: 0;
}
&:nth-child(even) {
margin-right: 0;
}
&:nth-child(odd) {
margin-left: 0;
}
}
}
.question,
.question_design3,
.answer,
.answer_design3 {
line-height: 1.3;
@include mq() {
line-height: 1.4;
}
position: relative;
span {
line-height: 1;
}
}
.question,
.question_design3 {
font-size: 1.6rem;
font-weight: 600;
@include mq() {
font-size: 1.8rem;
}
}
.answer {
display: none;
font-size: 1.25rem;
@include mq() {
font-size: 1.4rem;
}
}
.answer,
.answer_design3 {
a {
display: block;
text-align: right;
text-decoration: underline;
color: blue;
font-size: 1.25rem;
}
}
}
}
// TOPページ
.home #recommend .recommend-box .sec-faq .faq-list .faq-item {
width: 100%;
}
.home #recommend .recommend-box .sec-faq .faq-list .faq-item+.faq-item {
margin: 2rem 0 0;
}
// 詳細ページ
.single .sec-faq .faq-list {
display: block;
.faq-item {
width: 100%;
}
.faq-item {
margin: 0 0 2rem 0;
&:last-child {
margin-bottom: 0;
}
}
}
// デザイン共通設定
//詳細ページ
.single .sec-faq.design1,
.single .sec-faq.design3 {
.question,
.question_design3,
.answer,
.answer_design3 {
@include mq('lg') {
padding: 2.5rem 4rem 2.5rem 6.5rem;
}
}
.question span,
.question_design3 span,
.answer span,
.answer_design3 span {
width: 35px;
height: 35px;
font-size: 2rem;
@include mq('lg') {
width: 40px;
height: 40px;
}
}
}
// デザイン1
.sec-faq.design1 {
.faq-item {
border-radius: 10px;
box-shadow: 0 2px 5px rgba($black, 0.15);
}
.question,
.answer {
padding: 2rem 3rem 2rem 5.5rem;
position: relative;
@include mq() {
padding: 2rem 3.5rem 2rem 7rem;
}
@include mq('lg') {
padding: 2.5rem 4rem 2.5rem 7rem;
}
span {
@include flex(center, center);
width: 35px;
height: 35px;
border-radius: 50%;
font-size: 1.8rem;
font-weight: 700;
color: $white;
position: absolute;
left: 1rem;
@include mq() {
left: 1.5rem;
}
@include mq() {
width: 40px;
height: 40px;
font-size: 2rem;
}
@include mq('lg') {
width: 45px;
height: 45px;
font-size: 2.4rem;
}
}
}
.question {
border-radius: 10px;
background-color: $white;
&::before {
content: '\f078';
font-family: 'Font Awesome 5 Free';
font-weight: 900;
font-size: 1.25rem;
position: absolute;
top: 50%;
right: 1.5rem;
transform: translateY(-50%);
@include mq() {
font-size: 1.4rem;
}
@include mq('lg') {
font-size: 1.6rem;
}
}
span {
top: 50%;
transform: translateY(-50%);
}
}
.answer {
background-color: $gray3;
border-radius: 0 0 10px 10px;
padding-right: 2rem !important;
span {
top: 1.5rem;
}
}
}
// クリックイベント
.sec-faq.design1 .faq-item.active .question::before {
content: '\f077';
transform: translateY(-50%);
transition: all .3s;
}
// デザイン2
.sec-faq.design2 {
.faq-item {
border-radius: 50px;
position: relative;
padding: 3rem 5rem 3rem 6rem;
@include mq('lg') {
padding: 3rem 5rem 3rem 7rem;
}
&::before,
&::after {
content: '';
display: block;
width: 100%;
height: 36px;
position: absolute;
left: 0;
z-index: 1;
box-sizing: border-box;
}
&::before {
top: 0;
}
&::after {
bottom: 0;
}
}
.question,
.answer {
font-weight: 700;
span {
font-size: 3.5rem;
position: absolute;
left: -3.5rem;
}
}
.question {
span {
top: 50%;
transform: translateY(-50%);
}
i {
position: absolute;
width: 20px;
height: 3px;
display: block;
border-radius: 2px;
position: absolute;
z-index: 1;
top: 50%;
right: -2.5rem;
transform: translateY(-50%);
&::after {
content: "";
display: block;
position: absolute;
z-index: 1;
width: 100%;
height: 100%;
top: 0;
left: 0;
border-radius: 10px;
transform: rotate(90deg);
transition-duration: .3s;
transition-property: -webkit-transform;
transition-property: transform;
transition-property: transform, -webkit-transform;
}
}
}
.answer {
margin-top: 2.5rem;
span {
top: 0;
}
}
}
//詳細ページ
.sec-faq.design2 .answer span {
top: -8px;
}
// クリックイベント
.sec-faq.design2 .faq-item.active .question i::after {
transform: rotate(0deg);
}
// デザイン3
.sec-faq.design3 {
.faq-list {
align-items: unset;
}
.faq-item {
border-radius: 10px;
position: relative;
overflow: hidden;
}
.question_design3,
.answer_design3 {
padding: 1.5rem 1.5rem 2rem 5rem;
position: relative;
@include mq() {
padding: 2rem 2rem 2.5rem 7rem;
}
@include mq('lg') {
padding: 2.5rem 2rem 2.5rem 8.5rem;
}
span {
@include flex(center, center);
width: 40px;
height: 40px;
font-size: 2rem;
font-weight: 600;
line-height: 1;
border-radius: 50%;
position: absolute;
left: 1rem;
@include mq() {
width: 50px;
height: 50px;
font-size: 2.4rem;
left: 1.5rem;
}
}
}
.question_design3 {
color: $white;
span {
color: $white;
top: 50%;
transform: translateY(-50%);
}
}
.answer_design3 {
padding-top: 2.5rem;
padding-bottom: 3rem;
background-color: $white;
border-radius: 0 0 10px 10px;
font-size: 1.25rem;
@include mq() {
font-size: 1.4rem;
}
span {
color: $white;
top: 1.5rem;
}
}
}
/*********************************
TextContents(テキストコンテンツ)
*********************************/
.sec-bottomContent {
.wrapper+.wrapper {
margin-top: 6rem;
}
p {
margin-bottom: 1.6rem;
}
.img-wrap {
margin-bottom: 2rem;
img {
display: block;
margin: 0 auto;
width: 100%;
@include mq() {
width: 80%;
}
}
}
}
// 各コンテンツタイトル(H2,H3,H4
li {
&>a {
position: relative;
padding-left: 3.5rem;
font-weight: 700;
&:before {
content: "\f07c";
@include flex(center, center);
font-size: 2rem;
font-family: "Font Awesome 5 free";
text-align: center;
font-weight: 900;
line-height: 1;
width: 32px;
height: 32px;
margin: auto;
position: absolute;
top: 0;
bottom: 0;
left: 0;
}
}
}
a {
padding: 1rem;
border-bottom: 1px solid $gray2;
}
ul {
padding-left: 3rem;
a {
display: block;
position: relative;
border-bottom: 1px solid $gray2;
&:after {
content: "\f105";
display: inline-block;
font-family: "Font Awesome 5 free";
font-weight: 900;
line-height: 1;
width: 16px;
height: 16px;
margin: auto;
position: absolute;
top: 0;
bottom: 0;
right: 0;
}
}
}
}
&-pages {
a {
display: block;
position: relative;
border-bottom: 1px solid $gray2;
padding: 1rem;
&:before {
content: "\f15c" !important;
}
&:after {
content: "\f105";
display: inline-block;
font-family: "Font Awesome 5 free";
font-weight: 900;
line-height: 1;
width: 16px;
height: 16px;
margin: auto;
position: absolute;
top: 0;
bottom: 0;
right: 0;
}
}
}
&-pickup {
a {
display: block;
position: relative;
border-bottom: 1px solid $gray2;
padding: 1rem;
&:before {
content: "\f304" !important;
font-size: 1.6rem !important;
}
&:after {
content: "\f105";
display: inline-block;
font-family: "Font Awesome 5 free";
font-weight: 900;
line-height: 1;
width: 16px;
height: 16px;
margin: auto;
position: absolute;
top: 0;
bottom: 0;
right: 0;
}
}
}
}
/*********************************
CONTACT(お問い合わせページ)
*********************************/
input,
textarea {
width: 100% !important;
appearance: none;
resize: none;
}
.wpcf7-form-control-wrap input,
//入力フォーム
.wpcf7-form-control-wrap textarea {
border: 1.5px solid $black !important;
border-radius: 3px;
padding: 1rem !important;
box-sizing: border-box;
}
.wpcf7-form-control-wrap input {
height: 30px;
}
input.wpcf7-submit {
display: block;
max-width: 200px;
padding: 1rem;
margin: 0 auto;
border-radius: 50px;
text-align: center;
color: $white;
transition: 0.3s;
&:hover {
background-color: $white;
transition: 0.3s;
}
}
.page-box {
label {
display: block;
font-weight: 700;
}
}
/*********************************
HAMBURGER BTN(ハンバーガーメニュー)
*********************************/
.hamburger-menu {
position: absolute;
right: 0;
z-index: 999;
}
#menu-btn-check {
display: none; //inputタグの非表示
}
.menu-btn {
@include flex(center, center);
height: 60px;
width: 60px;
position: relative;
z-index: 999;
@include mq() {
height: 70px;
width: 70px;
}
& span,
& span:before,
& span:after {
content: '';
display: block;
height: 2px;
width: 25px;
border-radius: 2px;
background: $white;
position: absolute;
}
}
.menu-btn span:before {
bottom: 8px;
}
.menu-btn span:after {
top: 8px;
}
#menu-btn-check:checked~.menu-btn {
span {
background-color: rgba(255, 255, 255, 0);
/*メニューオープン時は真ん中の線を透明にする*/
}
span::before {
bottom: 0;
transform: rotate(45deg);
}
span::after {
top: 0;
transform: rotate(-45deg);
}
}
.hamburger-menu .widget_nav_menu {
width: 85vw;
height: 100%;
padding: 50px 3rem 60px;
position: fixed;
opacity: 0;
top: 0;
right: -100%;
z-index: 997;
transition: opacity .4s ease, right .4s ease;
overflow-y: auto;
@include mq('sm') {
width: 550px;
padding: 60px 4vw 60px;
}
@include mq() {
width: 60vw;
}
@include mq('lg') {
width: 700px;
}
h3 {
display: none;
}
li+li {
border-top: 1px solid rgba(255, 255, 255, 0.4)
}
li {
font-size: 1.4rem;
font-weight: 700;
@include mq() {
font-size: 1.6rem;
}
@include mq('lg') {
font-size: 1.8rem;
}
a {
display: block;
width: 100%;
padding: 1.5rem 2.5rem;
color: $white;
font-weight: 500;
position: relative;
transition: opacity .2s ease-out;
@include mq() {
padding: 1.75rem 3rem;
}
&:hover {
opacity: .7;
transition: opacity .3s ease-out;
}
&::before {
content: '';
display: block;
width: 10px;
height: 10px;
border-radius: 50%;
position: absolute;
left: 0;
top: 21px;
@include mq() {
top: 23px;
width: 12px;
height: 12px;
}
@include mq('lg') {
top: 25px;
}
}
&::after {
content: '\f054';
font-size: 1.4rem;
font-weight: 900;
font-family: 'Font Awesome 5 Free';
position: absolute;
right: 5px;
top: 17px;
@include mq() {
font-size: 1.6rem;
top: 20px;
}
@include mq('lg') {
font-size: 1.8rem;
}
}
}
}
}
#menu-btn-check:checked~.menu-content .widget_nav_menu {
opacity: 1;
right: 0;
transition: opacity .4s ease, right .4s ease;
}
.drawer_bg {
opacity: 0;
width: 100%;
height: 100%;
position: fixed;
z-index: 990;
top: 0;
left: -100%;
background-color: rgba(51, 51, 51, 0.5);
}
#menu-btn-check:checked~.menu-content .drawer_bg {
animation: 0.3s fadeInLeft forwards;
}
@keyframes fadeInLeft {
0% {
opacity: 0;
left: -100%;
}
100% {
opacity: 1;
left: 0;
}
}
/*********************************
TablePress
*********************************/
.tablepress>*+tbody>*>*,
.tablepress>tbody>*~*>*,
.tablepress>tfoot>*>* {
border: none !important;
}
.sec-tablepress .scrollArea {
display: block;
}
div.sec-tablepress .inner {
padding: 0 !important;
margin: 0 !important;
}
.tablepress {
table-layout: fixed !important;
background: $white;
width: 1080px !important;
min-width: 1080px !important;
margin: 0 !important;
caption {
display: none;
}
img {
width: 100%;
}
.row-1 td {
position: relative;
a {
display: block;
width: 100%;
}
}
td {
font-size: 1.4rem;
line-height: 1.3;
}
}
// テーブルボタン
.tablepress tr td .tp_btn-1,
.tablepress tr td .tp_btn-2 {
display: inline-block;
font-weight: 600;
font-size: 1.25rem;
width: 100%;
padding: 1rem 0;
text-align: center;
vertical-align: middle !important;
color: #fff;
box-sizing: border-box;
transition: all .3s;
border: 2px solid;
cursor: pointer;
overflow: hidden;
position: relative;
&:hover {
transition: all .3s;
}
i {
position: absolute;
top: 50%;
right: 1rem;
transform: translateY(-50%);
&::before {
font-size: 1.2rem;
}
}
}
// 通常テーブル
.sec-tablepress.column_table {
tr {
border: 0;
td {
width: 185px;
min-width: 185px;
padding: 1rem .7rem;
vertical-align: top;
font-size: 14px;
word-break: break-all;
box-sizing: border-box;
border: 1px solid #efefef !important;
}
td:first-child {
font-size: 1.2rem;
border: 0;
padding: .5rem;
text-align: center;
vertical-align: middle;
color: $white;
box-sizing: border-box;
border-color: $white !important;
border-left: 1px solid #efefef !important;
}
.column-1:first-child {
width: 80px;
min-width: 80px;
font-weight: 600;
position: sticky;
left: 0;
z-index: 5;
@include mq() {
width: 135px;
min-width: 135px;
}
}
}
.row-1 {
td:first-child {
border-top: 1px solid #efefef !important;
}
}
tr:last-child {
td {
border-bottom: 1px solid #efefef !important;
}
}
}
// 3社の場合
.sec-tablepress.column_table.column_table-3 {
.tablepress {
width: 100% !important;
min-width: 100% !important;
}
td {
width: 200px;
min-width: unset !important;
}
.column-1:first-child {
width: 80px;
min-width: 80px;
}
}
// 横並びテーブル
.sec-tablepress.row_table {
.tablepress {
width: 100% !important;
}
tr {
td+td {
border: 1px solid $gray !important
}
td {
width: 210px;
min-width: 210px;
vertical-align: middle !important;
padding: 1rem;
box-sizing: border-box;
border: 1px solid #efefef !important;
}
.column-1 {
&:first-child {
width: 115px;
min-width: 115px;
position: sticky;
left: 0;
z-index: 5;
border: 1px solid #fff !important;
@include mq() {
width: 200px;
min-width: 200px;
}
}
img {
width: 100%;
height: 50px;
object-fit: contain;
}
}
}
.row-1 {
td:first-child {
border-top: 1px solid #efefef !important;
}
}
tr:last-child {
td {
border-bottom: 1px solid #efefef !important;
}
}
}
// 新テーブル
.sec-tablepress.column_table-2 {
img {
width: 100%;
}
.tablepress tbody {
border-top: none !important;
}
.tablepress {
background-color: transparent !important;
}
tr:first-child td:first-child {
// background-color: transparent !important;
// border: none !important;
}
tr.row-1 td {
text-align: center;
color: $white;
font-weight: 600;
// border-top: 1px solid #ddd !important;
&.column-2 {
border-left: 1px solid #ddd !important;
border-bottom: none !important;
}
}
td {
border: 1px solid #ddd !important;
border-top: none !important;
width: 150px;
min-width: 150px;
vertical-align: middle !important;
padding: 1rem;
box-sizing: border-box;
background-color: $white;
.tpc2-link {
display: block;
width: 100%;
br {
display: block !important;
}
.cName {
font-size: 1.1rem;
line-height: 1.25;
color: $black;
text-decoration: underline;
text-align: center;
margin-bottom: .5rem;
}
}
.tp_btn-wrapper {
br {
display: none;
}
.tp_btn-1,
.tp_btn-2 {
font-size: 1rem;
padding: 1.2rem .5rem;
height: 100%;
@include flex(center,center);
@include mq() {
padding: 2rem .5rem;
}
br {
display: block !important;
}
}
a + a {
margin-top: 1rem !important;
}
}
}
td:first-child {
width: 105px;
min-width: 115px;
min-height: 75px;
border-top: 1px solid #fff !important;
font-weight: 600;
text-align: center;
color: $white;
box-sizing: border-box;
line-height: 1.2;
position: sticky;
top: -1px;
left: 0;
z-index: 5;
@include mq('sm') {
width: 150px;
min-width: 150px;
}
img {
max-height: 130px;
object-fit: contain;
}
}
td:nth-child(2) {
width: 105px;
min-width: 115px;
min-height: 75px;
box-sizing: border-box;
line-height: 1.2;
position: sticky;
top: -1px;
left: 118px;
z-index: 5;
@include mq('sm') {
left: 150px;
}
}
}
// テーブルプレスボタンデザイン1
.scrollArea.design1 .tablepress tr td a.tp_btn-1,
.scrollArea.design1 .tablepress tr td a.tp_btn-2 {
border-radius: 50px;
&:hover {
background-color: $white;
}
}
// テーブルプレスボタンデザイン2
.scrollArea.design2 .tablepress tr td a.tp_btn-1,
.scrollArea.design2 .tablepress tr td a.tp_btn-2 {
border: none;
border-radius: 0.1rem;
color: $white;
transition: all 0.3s;
&:hover {
transform: translateY(2.5px);
transition: 0.3s;
}
}
// テーブルプレスボタンデザイン3
.scrollArea.design3 .tablepress tr td a.tp_btn-1,
.scrollArea.design3 .tablepress tr td a.tp_btn-2 {
&::before {
content: '';
display: block;
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: -100%;
background-image: linear-gradient(130deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 80%, rgba(255, 255, 255, 100) 81%, rgba(255, 255, 255, 0) 100%);
animation: shine 3s infinite;
}
&:hover {
transform: translateY(2.5px);
transition: 0.3s;
}
}
//=========================================
// テーブルプレスボタンカラー2
.scrollArea.btn1_2 .tablepress tr td a.tp_btn-1,
.scrollArea.btn2_2 .tablepress tr td a.tp_btn-2 {
background-color: $btn2;
border-color: $btn2;
}
// テーブルプレスボタンカラー3
.scrollArea.btn1_3 .tablepress tr td a.tp_btn-1,
.scrollArea.btn2_3 .tablepress tr td a.tp_btn-2 {
background-color: $btn3;
border-color: $btn3;
}
// テーブルプレスボタンカラー4
.scrollArea.btn1_4 .tablepress tr td a.tp_btn-1,
.scrollArea.btn2_4 .tablepress tr td a.tp_btn-2 {
background-color: $btn4;
border-color: $btn4;
}
// テーブルプレスボタンカラー5
.scrollArea.btn1_5 .tablepress tr td a.tp_btn-1,
.scrollArea.btn2_5 .tablepress tr td a.tp_btn-2 {
background-color: $btn5;
border-color: $btn5;
}
//=========================================
// テーブルプレスボタンデザイン1 × カラー2
.scrollArea.btn1_2.design1 .tablepress tr td a.tp_btn-1,
.scrollArea.btn2_2.design1 .tablepress tr td a.tp_btn-2 {
&:hover {
background-color: $white;
color: $btn2;
}
}
// テーブルプレスボタンデザイン1 × カラー3
.scrollArea.btn1_3.design1 .tablepress tr td a.tp_btn-1,
.scrollArea.btn2_3.design1 .tablepress tr td a.tp_btn-2 {
&:hover {
background-color: $white;
color: $btn3;
}
}
// テーブルプレスボタンデザイン1 × カラー4
.scrollArea.btn1_4.design1 .tablepress tr td a.tp_btn-1,
.scrollArea.btn2_4.design1 .tablepress tr td a.tp_btn-2 {
&:hover {
background-color: $white;
color: $btn4;
}
}
// テーブルプレスボタンデザイン1 × カラー5
.scrollArea.btn1_5.design1 .tablepress tr td a.tp_btn-1,
.scrollArea.btn2_5.design1 .tablepress tr td a.tp_btn-2 {
&:hover {
background-color: $white;
color: $btn5;
}
}
// テーブルプレスボタンデザイン2 × カラー2
.scrollArea.btn1_2.design2 .tablepress tr td a.tp_btn-1,
.scrollArea.btn2_2.design2 .tablepress tr td a.tp_btn-2 {
background: $btn2;
-webkit-box-shadow: 0 3.5px 0 #d44114;
box-shadow: 0 3.5px 0 #d44114;
&:hover {
box-shadow: 0 1px 0 #d44114;
}
}
// テーブルプレスボタンデザイン2 × カラー3
.scrollArea.btn1_3.design2 .tablepress tr td a.tp_btn-1,
.scrollArea.btn2_3.design2 .tablepress tr td a.tp_btn-2 {
background: $btn3;
-webkit-box-shadow: 0 3.5px 0 #2c9d60;
box-shadow: 0 3.5px 0 #2c9d60;
&:hover {
box-shadow: 0 1px 0 #2c9d60;
}
}
// テーブルプレスボタンデザイン2 × カラー4
.scrollArea.btn1_4.design2 .tablepress tr td a.tp_btn-1,
.scrollArea.btn2_4.design2 .tablepress tr td a.tp_btn-2 {
background: $btn4;
-webkit-box-shadow: 0 3.5px 0 #50a9ca;
box-shadow: 0 3.5px 0 #50a9ca;
&:hover {
box-shadow: 0 1px 0 #50a9ca;
}
}
// テーブルプレスボタンデザイン2 × カラー5
.scrollArea.btn1_5.design2 .tablepress tr td a.tp_btn-1,
.scrollArea.btn2_5.design2 .tablepress tr td a.tp_btn-2 {
background: $btn5;
-webkit-box-shadow: 0 3.5px 0 #a80202;
box-shadow: 0 3.5px 0 #a80202;
&:hover {
box-shadow: 0 1px 0 #a80202;
}
}
// テーブルプレスボタンデザイン3 × カラー2
.scrollArea.btn1_2.design3 .tablepress tr td a.tp_btn-1,
.scrollArea.btn2_2.design3 .tablepress tr td a.tp_btn-2 {
background: $btn2;
-webkit-box-shadow: 0 3.5px 0 #d44114;
box-shadow: 0 3.5px 0 #d44114;
&:hover {
box-shadow: 0 1px 0 #d44114;
}
}
// テーブルプレスボタンデザイン3 × カラー3
.scrollArea.btn1_3.design3 .tablepress tr td a.tp_btn-1,
.scrollArea.btn2_3.design3 .tablepress tr td a.tp_btn-2 {
background: $btn3;
-webkit-box-shadow: 0 3.5px 0 #2c9d60;
box-shadow: 0 3.5px 0 #2c9d60;
&:hover {
box-shadow: 0 1px 0 #2c9d60;
}
}
// テーブルプレスボタンデザイン3 × カラー4
.scrollArea.btn1_4.design3 .tablepress tr td a.tp_btn-1,
.scrollArea.btn2_4.design3 .tablepress tr td a.tp_btn-2 {
background: $btn4;
-webkit-box-shadow: 0 3.5px 0 #50a9ca;
box-shadow: 0 3.5px 0 #50a9ca;
&:hover {
box-shadow: 0 1px 0 #50a9ca;
}
}
// テーブルプレスボタンデザイン3 × カラー5
.scrollArea.btn1_5.design3 .tablepress tr td a.tp_btn-1,
.scrollArea.btn2_5.design3 .tablepress tr td a.tp_btn-2 {
background: $btn5;
-webkit-box-shadow: 0 3.5px 0 #a80202;
box-shadow: 0 3.5px 0 #a80202;
&:hover {
box-shadow: 0 1px 0 #a80202;
}
}
/*--------------------------------
下部固定リンク表示用スタイル
--------------------------------*/
.footer-banner {
position: fixed;
bottom: 0;
left: 0;
padding: 1rem 0;
width: 100%;
background: rgb(10 10 10 / 70%);
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: flex;
justify-content: center;
-ms-align-items: center;
align-items: center;
-o-flex-wrap: wrap;
flex-wrap: wrap;
z-index: 10;
.btn-wrap {
margin: 2rem auto .5rem;
}
}
.footer-totop-btn {
width: 50px;
height: 50px;
line-height: 40px;
min-width: 30px;
padding: 1rem 0;
text-align: center;
box-sizing: border-box;
background: rgb(214 214 214 / 40%);
z-index: 99;
position: fixed;
bottom: 0;
right: 0;
@include mq() {
width: 60px;
height: 60px;
line-height: 60px;
}
i {
font-size: 2rem;
line-height: 1;
@include mq('xs') {
font-size: 2.7rem;
}
@include mq() {
font-size: 3rem;
}
}
}
.footer-banner-btn,
a .footer-banner-btn,
button .footer-banner-btn {
font-size: 1.6rem;
font-weight: 700;
line-height: 1;
position: relative;
display: inline-block;
padding: 1rem 4rem;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
transition: all 0.3s;
text-align: center;
vertical-align: middle;
text-decoration: none;
letter-spacing: 0.7px;
color: #212529;
border-radius: 0.5rem;
}
a.btn-f {
font-size: 2rem;
position: relative;
padding: 0px 20px 10px 30px;
color: #fff;
background: #c52929;
box-shadow: 0 5px 0 #880e0e;
width: 60%;
}
a.btn-f span {
font-size: 1.3rem;
position: absolute;
top: -15px;
left: calc(50% - 38%);
display: block;
width: 77%;
padding: 0.7rem 0 0.5rem;
color: #c52929;
border: 2px solid #c52929;
border-radius: 0.5rem;
background: #fff;
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
}
a.btn-f:hover {
transform: translate(0, 3px);
color: #fff;
background: #c52929;
box-shadow: 0 2px 0 #880e0e;
}
a.btn-f:hover:before {
left: 2rem;
}
a.footer-banner-btn:hover {
opacity: 0.7;
}
a.footer-banner-btn i {
margin-left: 15px;
font-size: 27px;
}
.footer-banner-txt {
font-size: 15px;
width: 80%;
margin: 0 auto;
max-width: 1000px;
display: block;
justify-content: space-between;
-ms-align-items: center;
align-items: center;
box-sizing: border-box;
line-height: 1.4;
text-align: center;
}
.footer-banner-txt p {
width: 100%;
line-height: 1.4;
margin: 5px 0 0;
font-weight: normal;
padding: 0 10px;
color: #fff;
}
.icon-space {
color: #aaa;
margin: 0 8px;
display: none;
}
@media only screen and (max-width: 1024px) {
.footer-banner-txt p {
width: calc(100% - 400px);
}
.footer-banner-txt {
font-size: 16px;
}
.footer-banner-txt p {
font-size: 14px;
}
a.footer-banner-btn {
padding: 0px 15px 9px;
}
}
@media only screen and (max-width: 768px) {
.footer-banner {
padding: 5px 0 0;
}
a.btn-f {
font-size: 1.5rem;
width: 95%;
}
a.btn-f span {
font-size: 1rem;
top: -9px;
left: calc(50% - 40%);
width: 80%;
padding: 0.5rem 0 0.3rem;
}
.footer-home-btn {
width: 40px;
padding: 0;
line-height: 1.5;
position: absolute;
bottom: 100%;
font-size: 34px;
margin: 0;
}
.footer-totop-btn {
bottom: 20%;
right: 1rem;
}
.footer-banner-txt p {
width: 100%;
}
.footer-banner-txt {
font-size: 16px;
width: 100%;
text-align: center;
justify-content: center;
}
.icon-space {
display: none;
}
.footer-banner-txt p {
padding: 5px 20px;
}
.footer-banner-btn,
a .footer-banner-btn,
button .footer-banner-btn {
letter-spacing: 0.2px;
}
a.footer-banner-btn {
padding: 5px 15px 10px;
margin-bottom: 5px;
width: 95%;
}
a.footer-banner-btn i {
display: none;
}
}
@media only screen and (max-width: 600px) {
.footer-banner-txt p {
font-size: 12px;
}
}
.footer a {
font-size: 1.4rem;
font-weight: 500;
}
.search-menu {
max-width: 600px;
margin: 0 auto;
}
.wpcf7-form {
input,
textarea {
margin-bottom: 2rem;
}
}
/*********************************
RELATED POST(おすすめ関連記事)
*********************************/
.sec-relatedPost {
ul {
@include flex(flex-start, space-between);
flex-wrap: wrap;
}
.post-item {
background-color: $white;
width: 100%;
margin-top: 2rem;
&:nth-child(1) {
margin-top: 0;
}
@include mq() {
width: calc(calc(100% - 2rem) / 2);
margin: 2rem 1rem 0;
&:nth-child(1),
&:nth-child(2) {
margin-top: 0;
}
&:nth-child(even) {
margin-right: 0;
}
&:nth-child(odd) {
margin-left: 0;
}
}
transition: all .3s;
&:hover .permalink {
opacity: .7;
transition: all .3s ease-in-out;
}
.permalink {
display: flex;
}
}
.img-wrap {
width: 130px;
height: 130px;
overflow: hidden;
img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center top;
}
}
.text-wrap {
width: calc(100% - 12.5rem);
height: auto;
padding: 1.25rem 3.25rem 1.25rem 1.25rem;
@include mq() {
padding: 1.5rem 4rem 1rem 1rem;
}
position: relative;
&::after {
content: '\f054';
color: $black;
font-family: 'Font Awesome 5 Free';
font-size: 1.4rem;
font-weight: 900;
line-height: 1;
position: absolute;
top: 50%;
right: 1rem;
transform: translateY(-50%);
}
.title {
margin-bottom: 1rem;
line-height: 1.2;
}
p {
font-size: 1.2rem;
line-height: 1.4;
@include mq() {
font-size: 1.4rem;
}
}
}
}
/*********************************
PARTS
*********************************/
.updateBUtton {
margin: 1rem auto;
max-width: 1080px;
font-weight: 700;
padding: 0 .7rem;
}
.filter {
background: rgba($black, 0.6);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.quote {
display: block;
font-size: 1rem;
text-align: right;
line-height: 1;
margin: 1rem 1rem 1rem auto;
color: #999;
cursor: pointer;
a {
color: blue;
}
}
.quote:not(.review-box .quote) {
overflow-y: hidden;
overflow-x: auto;
white-space: nowrap;
padding: 0 .3rem .3rem;
}
.quote::-webkit-scrollbar {
height: 3px;
}
.quote::-webkit-scrollbar-track {
background-color: #ccc;
}
.quote::-webkit-scrollbar-thumb {
background-color: #999;
}
.banner-img {
a {
transition: all .3s;
&:hover {
opacity: .7;
transition: opacity .3s;
}
}
}
//コンテンツなしの表示
.Not_TXT {
font-weight: 700;
font-size: 2.4rem;
}
.Not_h2 {
margin-bottom: 4rem;
}
/*********************************
監修者情報
*********************************/
.sv-info {
padding: 2rem;
border-radius: 1px;
max-width: 1080px;
margin: 4rem auto;
.sv-inner {
background-color: $white;
padding: 2rem;
@include mq('cw') {
@include flex(center, normal);
}
}
.img-wrap {
width: 100%;
max-width: 170px;
margin: 0 auto;
img {
display: block;
margin: 0 auto !important;
width: 120px !important;
min-width: 120px !important;
height: 120px !important;
border-radius: 50%;
@include mq() {
width: 140px !important;
min-width: 140px !important;
height: 140px !important;
}
@include mq('cw') {
width: 170px !important;
min-width: 170px !important;
height: 170px !important;
}
}
}
.text-wrap {
padding-top: 2rem;
@include mq('cw') {
padding: 0 0 0 2rem;
}
p {
margin: 0 !important;
}
}
h3 {
margin-top: 0 !important;
}
}
//詳細ページ
.single .recommend-box .sv-info {
h3 {
margin-left: 0 !important;
margin-right: 0 !important;
margin-bottom: 1.6rem !important;
}
h3.design1 {
margin-bottom: 1rem !important;
}
.img-wrap {
width: 100%;
max-width: 120px;
img {
width: 120px !important;
min-width: 120px !important;
height: 120px !important;
}
}
.text-wrap p {
font-size: 1.4rem;
}
}
/*********************************
BLOG CARD(ブログカード)
*********************************/
.blog-card {
background-color: $white;
padding: 1rem;
box-shadow: 0 2px 4px rgba(30, 30, 30, 0.15);
transition: 0.3s;
&:hover {
opacity: .7;
transform: translateY(3px);
box-shadow: 0 2px 0px rgba(30, 30, 30, 0.1);
transition: 0.3s ease-out;
.text-wrap::after {
right: .65rem;
transition: 0.3s ease-out;
}
}
a {
display: flex;
}
.img-wrap {
width: 130px;
height: 130px;
overflow: hidden;
margin-bottom: 0 !important;
img {
display: block;
margin: 0 !important;
width: 100%;
height: 100%;
object-fit: cover;
object-position: center top;
}
}
.text-wrap {
width: calc(100% - 12.5rem);
height: auto;
padding: 1.25rem 3.25rem 1.25rem 1.25rem;
position: relative;
@include mq() {
padding: 2rem 4rem .5rem 1.5rem;
}
&::after {
content: "";
color: #1e1e1e;
font-family: "Font Awesome 5 Free";
font-size: 1.4rem;
font-weight: 900;
line-height: 1;
position: absolute;
top: 50%;
right: 1rem;
transform: translateY(-50%);
}
p {
font-size: 1.4rem;
margin: 0 !important;
}
}
.title {
font-weight: 600;
padding: 0 0 .5rem 1rem;
;
margin-bottom: 1rem;
line-height: 1.2;
position: relative;
&::before {
content: "";
width: 0.2rem;
height: calc(100% - .5rem);
position: absolute;
top: 0;
left: 0;
}
}
}
.home .blog-card {
width: 100%;
max-width: 700px;
margin-left: auto;
margin-right: auto;
}
.campaign-box {
display: flex;
align-items: center;
padding: 1.5rem;
transition: opacity .3s;
&:hover {
opacity: .7;
}
.img-wrap img {
width: 125px;
min-width: 125px;
height: 125px;
@include mq(md) {
width: 175px;
min-width: 175px;
height: 175px;
}
}
.text-wrap {
padding-left: 1.5rem;
width: 100%;
.title {
font-size: 1.6rem;
font-weight: 600;
line-height: 1.25;
@include mq(md) {
font-size: 2rem;
}
}
p {
font-size: 1.25rem;
font-weight: 600;
margin: 1rem 0 !important;
@include mq(md) {
font-size: 1.6rem;
}
}
a {
color: #ffffff;
padding: 1rem;
display: block;
width: 100%;
font-weight: 600;
text-align: center;
font-size: 1.25rem;
@include mq(md) {
font-size: 1.4rem;
}
}
}
@include mq(md) {
max-width: 650px;
margin-left: auto !important;
margin-right: auto !important;
}
}
// .cf::after {
// content: '';
// display: block;
// clear: both;
// }
// .slider-wrapper {
// }
// .slider {
// float: left;
// width: 680px;
// text-align: center;
// position: relative;
// }
// .thumbnail {
// box-sizing: border-box;
// padding: 2rem 0;
// width: 27%;
// float: right;
// // position: relative;
// }
.thumbnail-img {
width: 100%;
max-width: 100%;
height: auto;
}
.slider-wrapper {
height: auto;
margin: 1vw auto;
position: relative;
display: -webkit-flex;
display: -ms-flex;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-justify-content: center;
-ms-justify-content: center;
justify-content: center;
-webkit-box-align: end;
-ms-flex-align: end;
align-items: flex-end;
-ms-flex-line-pack: center;
align-content: center;
}
.slider-wrapper .slider {
width: 75%;
height: auto;
padding: 0;
}
.slider-wrapper .thumbnail .slick-track {
height: 100%;
display: -webkit-flex;
display: -ms-flex;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
-webkit-justify-content: center;
-ms-justify-content: center;
justify-content: center;
-webkit-box-align: end;
-ms-flex-align: end;
align-items: flex-end;
-ms-flex-line-pack: center;
align-content: center;
}
.slider-wrapper .slick-img img {
width: 100%;
height: 100%;
}
.slider-wrapper .thumbnail {
width: 20%;
height: auto;
margin: 0 auto;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
/*********************************
ランキング形式
*********************************/
.rank-icon {
display: block;
width: unset !important;
height: 70px;
object-fit: contain;
}
// ランキングボックスデザイン1
.home #recommend.rb_design1.ranking_f .recommend-ttl_h3,
.single .recommend-box.rb_design1.ranking_f .recommend-ttl_h2 {
@include flex(center, normal);
padding-left: 6rem;
position: relative;
.rank-icon {
position: absolute;
top: 50%;
left: -10px;
transform: translateY(-50%);
}
}
// アイコンパターン3
.home #recommend.rb_design1.ranking_f.rankIcon3 .recommend-ttl_h3,
.single .recommend-box.rb_design1.ranking_f.rankIcon3 .recommend-ttl_h2 {
padding-left: 9rem;
}
// ランキングボックスデザイン2
.home #recommend.rb_design2.ranking_f .recommend-ttl_h3,
.single .recommend-box.rb_design2.ranking_f .recommend-ttl_h2 {
.rank-icon {
margin: 0 auto 1rem;
}
}
// ランキングボックスデザイン3
.home #recommend.rb_design3.ranking_f .recommend-ttl_h3,
.single .recommend-box.rb_design3.ranking_f .recommend-ttl_h2 {
@include flex(center, center);
.rank-icon {
height: 65px;
margin-right: 1rem;
}
}
// サイドバー
#sidebar .sidebar-list.ranking_f .sidebar-item {
.title {
@include flex(center, normal);
}
.rank-icon {
display: block;
margin-right: 1rem;
height: 45px;
}
}
// 3BOX(デザイン1)
.sec-3box.ranking_f.design1 {
.img-wrap {
position: relative;
}
.rank-icon {
height: 65px;
position: absolute;
top: 0;
left: 0;
}
}
// 3BOX(デザイン2)
.sec-3box.ranking_f.design2 {
.rank-icon {
height: 60px;
margin: 0 auto 1rem;
}
}
// 3BOX(デザイン3)
.sec-3box.ranking_f.design3 {
.wrapper .box .name {
@include flex(center, normal);
}
.rank-icon {
display: block;
height: 55px;
margin-right: 1rem;
}
}
// テーブルプレスランキングアイコン
.sec-tablepress.column_table.rank_table tr td .rank-icon {
display: block;
background-size: contain;
background-repeat: no-repeat;
background-position: center center;
width: 46px !important;
height: 53px !important;
position: absolute;
left: 5px;
top: .2rem;
}
// アイコンパターン1
// アイコンパターン2
.sec-tablepress.column_table.rank_table.rankIcon2 tr td .rank-icon {
width: 43px !important;
top: 0;
}
// アイコンパターン3
.sec-tablepress.column_table.rank_table.rankIcon3 tr td .rank-icon {
width: 60px !important;
height: 46px !important;
top: 0;
}
// ランキングアイコン(オプション1)1位~15位
.sec-tablepress.column_table.rank_table.rankIcon1 tr.row-1 td.column-2 .rank-icon {
background-image: url(img/ranking/option1/rank1.png);
}
.sec-tablepress.column_table.rank_table.rankIcon1 tr.row-1 td.column-3 .rank-icon {
background-image: url(img/ranking/option1/rank2.png);
}
.sec-tablepress.column_table.rank_table.rankIcon1 tr.row-1 td.column-4 .rank-icon {
background-image: url(img/ranking/option1/rank3.png);
}
.sec-tablepress.column_table.rank_table.rankIcon1 tr.row-1 td.column-5 .rank-icon {
background-image: url(img/ranking/option1/rank4.png);
}
.sec-tablepress.column_table.rank_table.rankIcon1 tr.row-1 td.column-6 .rank-icon {
background-image: url(img/ranking/option1/rank5.png);
}
.sec-tablepress.column_table.rank_table.rankIcon1 tr.row-1 td.column-7 .rank-icon {
background-image: url(img/ranking/option1/rank6.png);
}
.sec-tablepress.column_table.rank_table.rankIcon1 tr.row-1 td.column-8 .rank-icon {
background-image: url(img/ranking/option1/rank7.png);
}
.sec-tablepress.column_table.rank_table.rankIcon1 tr.row-1 td.column-9 .rank-icon {
background-image: url(img/ranking/option1/rank8.png);
}
.sec-tablepress.column_table.rank_table.rankIcon1 tr.row-1 td.column-10 .rank-icon {
background-image: url(img/ranking/option1/rank9.png);
}
.sec-tablepress.column_table.rank_table.rankIcon1 tr.row-1 td.column-11 .rank-icon {
background-image: url(img/ranking/option1/rank10.png);
}
.sec-tablepress.column_table.rank_table.rankIcon1 tr.row-1 td.column-12 .rank-icon {
background-image: url(img/ranking/option1/rank11.png);
}
.sec-tablepress.column_table.rank_table.rankIcon1 tr.row-1 td.column-13 .rank-icon {
background-image: url(img/ranking/option1/rank12.png);
}
.sec-tablepress.column_table.rank_table.rankIcon1 tr.row-1 td.column-15 .rank-icon {
background-image: url(img/ranking/option1/rank13.png);
}
.sec-tablepress.column_table.rank_table.rankIcon1 tr.row-1 td.column-16 .rank-icon {
background-image: url(img/ranking/option1/rank14.png);
}
.sec-tablepress.column_table.rank_table.rankIcon1 tr.row-1 td.column-17 .rank-icon {
background-image: url(img/ranking/option1/rank15.png);
}
// ランキングアイコン(オプション1)1位~15位
.sec-tablepress.column_table.rank_table.rankIcon2 tr.row-1 td.column-2 .rank-icon {
background-image: url(img/ranking/option2/rank1.png);
}
.sec-tablepress.column_table.rank_table.rankIcon2 tr.row-1 td.column-3 .rank-icon {
background-image: url(img/ranking/option2/rank2.png);
}
.sec-tablepress.column_table.rank_table.rankIcon2 tr.row-1 td.column-4 .rank-icon {
background-image: url(img/ranking/option2/rank3.png);
}
.sec-tablepress.column_table.rank_table.rankIcon2 tr.row-1 td.column-5 .rank-icon {
background-image: url(img/ranking/option2/rank4.png);
}
.sec-tablepress.column_table.rank_table.rankIcon2 tr.row-1 td.column-6 .rank-icon {
background-image: url(img/ranking/option2/rank5.png);
}
.sec-tablepress.column_table.rank_table.rankIcon2 tr.row-1 td.column-7 .rank-icon {
background-image: url(img/ranking/option2/rank6.png);
}
.sec-tablepress.column_table.rank_table.rankIcon2 tr.row-1 td.column-8 .rank-icon {
background-image: url(img/ranking/option2/rank7.png);
}
.sec-tablepress.column_table.rank_table.rankIcon2 tr.row-1 td.column-9 .rank-icon {
background-image: url(img/ranking/option2/rank8.png);
}
.sec-tablepress.column_table.rank_table.rankIcon2 tr.row-1 td.column-10 .rank-icon {
background-image: url(img/ranking/option2/rank9.png);
}
.sec-tablepress.column_table.rank_table.rankIcon2 tr.row-1 td.column-11 .rank-icon {
background-image: url(img/ranking/option2/rank10.png);
}
.sec-tablepress.column_table.rank_table.rankIcon2 tr.row-1 td.column-12 .rank-icon {
background-image: url(img/ranking/option2/rank11.png);
}
.sec-tablepress.column_table.rank_table.rankIcon2 tr.row-1 td.column-13 .rank-icon {
background-image: url(img/ranking/option2/rank12.png);
}
.sec-tablepress.column_table.rank_table.rankIcon2 tr.row-1 td.column-15 .rank-icon {
background-image: url(img/ranking/option2/rank13.png);
}
.sec-tablepress.column_table.rank_table.rankIcon2 tr.row-1 td.column-16 .rank-icon {
background-image: url(img/ranking/option2/rank14.png);
}
.sec-tablepress.column_table.rank_table.rankIcon2 tr.row-1 td.column-17 .rank-icon {
background-image: url(img/ranking/option2/rank15.png);
}
// ランキングアイコン(オプション1)1位~10位
.sec-tablepress.column_table.rank_table.rankIcon3 tr.row-1 td.column-2 .rank-icon {
background-image: url(img/ranking/option3/rank1.png);
}
.sec-tablepress.column_table.rank_table.rankIcon3 tr.row-1 td.column-3 .rank-icon {
background-image: url(img/ranking/option3/rank2.png);
}
.sec-tablepress.column_table.rank_table.rankIcon3 tr.row-1 td.column-4 .rank-icon {
background-image: url(img/ranking/option3/rank3.png);
}
.sec-tablepress.column_table.rank_table.rankIcon3 tr.row-1 td.column-5 .rank-icon {
background-image: url(img/ranking/option3/rank4.png);
}
.sec-tablepress.column_table.rank_table.rankIcon3 tr.row-1 td.column-6 .rank-icon {
background-image: url(img/ranking/option3/rank5.png);
}
.sec-tablepress.column_table.rank_table.rankIcon3 tr.row-1 td.column-7 .rank-icon {
background-image: url(img/ranking/option3/rank6.png);
}
.sec-tablepress.column_table.rank_table.rankIcon3 tr.row-1 td.column-8 .rank-icon {
background-image: url(img/ranking/option3/rank7.png);
}
.sec-tablepress.column_table.rank_table.rankIcon3 tr.row-1 td.column-9 .rank-icon {
background-image: url(img/ranking/option3/rank8.png);
}
.sec-tablepress.column_table.rank_table.rankIcon3 tr.row-1 td.column-10 .rank-icon {
background-image: url(img/ranking/option3/rank9.png);
}
.sec-tablepress.column_table.rank_table.rankIcon3 tr.row-1 td.column-11 .rank-icon {
background-image: url(img/ranking/option3/rank10.png);
}
/* PRページここから */
/*
.pr_last_head {
font-size: 2rem;
font-weight: 700;
line-height: 1.25;
text-align: center;
padding: 1.6rem;
border-top: 3px solid $black;
border-bottom: 3px solid $black;
background: $gray;
@include mq() {
font-size: 2.4rem;
}
@include mq('lg') {
font-size: 2.8rem;
}
}
.pr_point {
padding: 1.6rem;
font-size: 2rem;
font-weight: 700;
line-height: 1.25;
text-align: center;
position: relative;
@include mq() {
font-size: 2.4rem;
}
@include mq('lg') {
font-size: 2.8rem;
}
&:after {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 7px;
background: -webkit-repeating-linear-gradient(-45deg, rgba($black, 0.6), rgba($black, 0.6) 3px, #fff 3px, #fff 6px);
background: repeating-linear-gradient(-45deg, rgba($black, 0.6), rgba($black, 0.6) 3px, #fff 3px, #fff 6px);
}
&2 {
text-align: center;
font-size: 2.8rem;
font-weight: 700;
margin-bottom: 3rem;
padding: 1rem;
}
}
*/
.pr-main {
background: rgba($base, 0.05);
}
.ppt {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
p {
width: 96%;
margin: 2%;
@media screen and (max-width:768px) {
width: 96%;
order: 2;
}
}
.pr_img {
width: 46%;
margin: 2%;
@media screen and (max-width:768px) {
width: 96%;
order: 1;
}
}
}
.pr-page {
.spacer {
max-width: 1140px;
}
p {
margin-bottom: 1.6rem;
}
.ppt {
margin-bottom: 2rem;
.pr_txt {
width: 96%;
margin: 2%;
order: 2;
@include mq() {
width: 46%;
order: unset;
}
}
}
.pr-main {
.spacer {
max-width: 900px;
}
}
}
.pr-title {
word-break: break-all;
}
.pr+.footer-totop-btn {
bottom: 110px;
}
/* PRページここまで */
/* PR特集ページタイプ02ここから */
.pr-main2_1 {
position: relative;
&:after {
position: absolute;
top: 100%;
left: 0;
right: 0;
margin: auto;
width: 0;
height: 0;
border-style: solid;
border-width: 50px 50px 0 50px;
border-color: $gray transparent transparent transparent;
content: "";
}
}
.pr3box {
display: flex;
flex-wrap: wrap;
justify-content: center;
&-lead {
text-align: center;
font-size: 2.2rem;
font-weight: 700;
@include mq() {
font-size: 3.2rem;
}
@include mq(lg) {
font-size: 3.8rem;
}
}
&-card {
width: 96%;
margin: 2%;
padding: 1.6rem;
background: $white;
@include mq() {
width: 29.3%;
}
&.pr4box {
width: 98%;
margin: 1%;
@include mq(sm) {
width: 48%;
}
@include mq() {
width: 23%;
}
}
}
&-ttl {
font-weight: 700;
font-size: 1.8rem;
text-align: center;
}
&-img {
margin-bottom: 1rem;
}
&-under {
font-weight: 700;
text-align: center;
font-size: 2.2rem;
@include mq() {
font-size: 2.4rem;
}
@include mq(lg) {
font-size: 2.8rem;
}
}
}
.solution {
background: rgba(255, 255, 255, 0.2);
}
.pr3box img {
width: 100%;
}
/*===========
inview
===========*/
.fadeIn_up {
opacity: 0;
transform: translate(0, 15%);
transition: 0.6s;
}
.fadeIn_up.is-show {
transform: translate(0, 0);
opacity: 1;
}
/* PR特集ページタイプ02ここまで */
/*=================
スクロールヒント
=================*/
.scroll-hint-icon-wrap {
z-index: 10;
}
/*===========
MV高さ設定
===========*/
.mv.autoHeight {
height: auto !important;
background: transparent;
.mvInner {
padding: 0;
}
}
/*--------------------------------
検索機能
--------------------------------*/
.nxrc-list *, .nxrc-search-form * {
list-style: none;
margin: 0;
padding: 0;
color: inherit;
border: 0;
box-sizing: border-box;
transition: all 0.3s ease;
}
.nxrc-list .btn-wrap {
margin-top: 2rem;
}
.nxrc-search-form {
padding-top: 2rem;
}
.nxrc-title {
display: block;
font-size: 1.2em;
}
.nxrc-search-form table, .nxrc-title {
margin-bottom: 20px;
}
.nxrc-excerpt {
margin-bottom: 10px;
}
.nxrc-search-form table {
margin-bottom: 0;
}
.nxrc-list li, .nxrc-search-form {
margin-bottom: 0px;
}
.nxrc-search-form input, .nxrc-search-form select {
vertical-align: middle;
}
.nxrc-fields th, .nxrc-links, .nxrc-search-button, .nxrc-search-form th {
text-align: center;
}
.nxrc-fields th, .nxrc-links, .nxrc-search-button, .nxrc-search-form caption, .nxrc-search-form th, .nxrc-title {
font-weight: 700;
}
.nxrc-excerpt, .nxrc-fields {
font-size: 0.8em;
}
.nxrc-list .nxrc-excerpt a {
color: #777;
}
.nxrc-list .nxrc-excerpt a:link, .nxrc-list .nxrc-excerpt a:visited {
color: #777;
}
.nxrc-fields, .nxrc-search-button button, .nxrc-search-form table {
width: 100%;
}
.nxrc-link {
display: inline-block;
width: 40%;
}
.nxrc-fields th {
width: 20%;
background: #f5f5f5;
color: #1e1e1e;
font-size: 12px;
border: 1px solid #ddd;
}
.nxrc-search-form th {
width: 20%;
background: #f5f5f5;
color: #1e1e1e;
font-size: 14px;
}
.nxrc-fields td {
font-size: 12px;
border: 1px solid #ddd;
}
.nxrc-search-form td {
font-size: 14px;
}
.nxrc-search-button button {
display: flex;
justify-content: center;
align-items: center;
max-width: 500px;
width: 90%;
margin: 0 auto;
padding: 16px 12px;
font-size: 18px;
font-weight: 700;
font-family: YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif;
color: #ffffff;
border-radius: 400px;
cursor: pointer;
}
.nxrc-link:hover, .nxrc-search-button button:hover {
text-decoration: none;
opacity: 0.5;
}
.nxrc-fields, .nxrc-search-form table {
border-spacing: 0;
}
.nxrc-search-form td, .nxrc-search-form th {
padding: 10px;
}
.nxrc-fields td, .nxrc-fields th {
padding: 10px;
vertical-align: middle;
}
.nxrc-search-form select {
padding: 12px;
border: 1px solid #ddd;
border-radius: 4px;
-moz-appearance: menulist;
-webkit-appearance: menulist;
}
.nxrc-search-form input[type="checkbox"], .nxrc-search-form input[type="radio"] {
width: 1em;
}
.nxrc-list li {
position: relative;
padding: 16px;
background: rgba(255, 255, 255, 0.9);
border-radius: 4px;
overflow: hidden;
box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.1);
}
.nxrc-list li:first-child .search-wrap {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 6px solid #FFCA28;
z-index: 1;
box-sizing: border-box;
pointer-events: none;
}
.nxrc-list li:first-child .search-wrap:before {
position: absolute;
top: 0;
left: 0;
width: 100px;
height: 100px;
background: url(img/recommend.svg) center no-repeat;
background-size: 100%;
content: "";
}
.nxrc-title {
position: relative;
margin-bottom: 20px;
padding: 0 12px 20px 12px;
color: #333 !important;
font-size: 22px;
}
.nxrc-title:after {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 10px;
content: "";
background-image: -webkit-repeating-linear-gradient(135deg, #ccc, #ccc 1px, transparent 2px, transparent 5px);
background-image: repeating-linear-gradient(-45deg, #ccc, #ccc 1px, transparent 2px, transparent 5px);
background-size: 7px 7px;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.nxrc-title:before {
position: absolute;
bottom: 0;
top: 0;
left: 5px;
width: 12px;
height: 12px;
background: url(../img/angles-right.svg) center no-repeat;
background-size: 100%;
margin: auto;
content: "";
}
.nxrc-fields {
background: #ffffff;
}
.nxrc-fields tr:not(:first-child) th {
border-top: dotted 1px #ddd;
}
.nxrc-search-form {
padding: 30px;
background: #f9f9f9;
border-radius: 4px;
margin: 0 auto 40px;
box-sizing: border-box;
}
.nxrc-search-form tr:not(:first-child) th {
border-top: solid 1px #ddd;
}
.nxrc-search-form-content {
padding: 40px;
background: #ffffff;
border: 1px solid #eee;
}
.nxrc-search-form caption {
font-size: 20px;
margin: auto;
padding: 1rem 2rem;
color: #ffffff;
background: #444;
}
.nxrc-search-form caption span, .nxrc-search-form caption img {
display: inline-block;
}
.nxrc-search-form caption img {
margin-right: 6px;
}
.flexin {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.search-img {
display: block;
width: 320px;
position: relative;
overflow: hidden;
}
.search-img img {
display: block;
width: 100%;
height: auto;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
margin: auto;
transform: scale(1);
}
.search-txt {
width: calc(100% - 340px);
}
@media screen and (max-width: 768px) {
.search-img {
width: 100%;
height: auto;
margin-bottom: 10px;
}
.search-img img {
width: 100%;
height: auto;
position: static;
}
.search-txt {
width: 100%;
}
.nxrc-list li {
width: 90%;
margin: auto;
}
.nxrc-title {
font-size: 18px;
}
}
.nxrc-search-form td label {
margin-right: 10px;
}
.nxrc-search-form {
position: relative;
max-width: 700px;
background: none !important;
}
.nxrc-search-form a:link {
color: #ffffff;
}
.nxrc-search-form td {
padding: 14px;
}
.nxrc-search-form caption {
border-radius: 0;
}
.nxrc-search-form select {
max-width: 320px;
}
.nxrc-search-form label {
display: inline-block;
margin: 4px !important;
}
.nxrc-search-form input[type="radio"] {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
display: none;
opacity: 0;
width: 1px;
position: absolute;
height: 1px;
}
.nxrc-search-form input[type="radio"] + span {
position: relative;
display: inline-block;
vertical-align: middle;
cursor: pointer;
padding: 1rem 1rem 1rem 3rem;
border-radius: 4px;
font-weight: 500;
font-size: 1.6rem;
}
.nxrc-search-form input[type="radio"] + span::before, .nxrc-search-form input[type="radio"] + span::after {
position: absolute;
content: "";
display: block;
border-radius: 50%;
top: 0;
bottom: 0;
margin: auto 10px auto 0;
box-sizing: border-box;
}
.nxrc-search-form input[type="radio"] + span::before {
width: 23px;
height: 23px;
background: #ffffff;
border: 2px solid #333333;
left: 0;
}
.nxrc-search-form input[type="radio"]:checked + span::before {
border: 2px solid #333;
}
.nxrc-search-form input[type="radio"] + span::after {
width: 7px;
height: 7px;
background: #999999;
left: 7.8px;
opacity: 0;
}
.nxrc-search-form input[type="radio"]:checked + span::after {
background: #0070bd;
}
.nxrc-search-form input[type="radio"]:checked + span::after {
opacity: 1;
}
@media (max-width: 650px) {
.nxrc-search-form input[type="radio"] + span {
padding: 10px 11px 8px 30px;
}
}
.nxrc-search-form table {
background: #ffffff;
}
.nxrc-search-form-content {
margin-bottom: 20px;
padding: 20px;
background: #ffffff;
border-radius: 8px;
}
.nxrc-search-form .checknox-wrap {
display: inline-block;
position: relative;
padding: 10px 11px 8px 30px;
background: #f9f9f9;
margin-bottom: 12px;
cursor: pointer;
font-size: 12px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
font-weight: 400;
border-radius: 4px;
}
.nxrc-search-form .checknox-wrap input {
display: none;
font-weight: 500;
}
.nxrc-search-form .checknox-wrap .checkmark {
position: absolute;
top: 13px;
left: 9px;
height: 14px;
width: 14px;
background: #ffffff;
border: 2px solid #999999;
box-sizing: border-box;
border-radius: 4px;
}
.nxrc-search-form .checknox-wrap .checkmark:after {
content: "";
position: absolute;
display: none;
left: 2px;
top: -3px;
width: 5px;
height: 10px;
border: 2px solid #ffffff;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}
.nxrc-search-form .checknox-wrap input:checked + .checkmark {
background-color: #0070bd;
border: 2px solid #0070bd;
}
.nxrc-search-form .checknox-wrap input:checked + .checkmark:after {
display: block;
}
.nxrc-list a:link, .nxrc-list a:hover, .nxrc-list a:active, .nxrc-list a:visited {
color: #ffffff;
}
.nxrc-list li + li{
margin-top: 30px;
}
.nxrc-search-button img {
margin-left: 8px;
}
.nxrc-search-form {
width: 95%;
}
@media screen and (max-width: 768px) {
.nxrc-search-form {
width: auto;
}
}
@media screen and (max-width: 480px) {
.nxrc-link {
display: inline-block;
width: 85%;
margin: 10px;
}
.nxrc-search-form th, .nxrc-search-form td {
display: block;
width: 100%;
padding: 4px;
}
.nxrc-list li {
border-width: 2px;
}
}
.nxrc-title a {
color: #333 !important;
}
.search-block {
background: #fff !important;
}
.search-result {
max-width: 900px;
margin: 0 auto;
}
.search-result--header {
font-size: 20px;
font-weight: 700;
line-height: 1.2;
}
.search-result--header span {
font-size: 150%;
color: #d00;
}
.search-result th, .search-result td {
padding: 1rem;
font-size: 1.6rem;
}
.search-result .nxrc-fields th {
background: #444444;
color: #ffffff;
}
.search-totop {
width: 100%;
display: block;
max-width: 320px;
margin: auto;
padding: 1rem 0;
text-align: center;
background: #444;
color: #ffffff;
box-sizing: border-box;
border-radius: 40px;
border: 2px solid #444;
position: relative;
transition: 0.2s;
}
.search-totop:hover {
background: #ffffff;
color: #444;
transition: 0.2s;
}
@media screen and (max-width: 768px) {
.nxrc-fields th, .nxrc-fields td {
width: auto;
font-size: 12px;
}
.nxrc-fields th {
width: 40%;
}
.nxrc-fields td {
width: 60%;
}
.nxrc-search-form caption {
font-size: 18px;
}
}
.nxrc-list li th {
width: auto;
}
.nxrc-fields {
table-layout: fixed;
}
/*検索ボックス--------------------------------------------------*/
.sec-search {
background-color: #EBF7FF;
}
.kensaku-space,
.nxrc-search-form {
margin: 0 auto;
margin-top: 0 !important;
max-width: 80rem;
width: 100%;
}
.nxrc-search-form {
border-radius: 0;
margin: 0 auto;
padding: 0;
}
.nxrc-search-form-content {
background: none;
border: 0;
border-radius: unset;
margin: 0;
padding: 0;
}
.nxrc-search-form table {
background: none;
}
.nxrc-search-form table tr {
margin-bottom: 0.5rem;
display: table;
}
.nxrc-search-form tr:last-of-type {
margin-bottom: 0;
}
.nxrc-search-form table tr th,
.nxrc-search-form table tr td {
display: table-cell;
padding: 1rem;
position: relative;
vertical-align: middle !important;
white-space: unset !important;
}
.nxrc-search-form table tr th {
border-top: 0 !important;
color: #333;
font-size: 1.6rem;
font-weight: 500 !important;
width: 15rem;
}
.nxrc-search-form table tr td {
width: calc(100% - 15rem);
}
.nxrc-search-form .nxrc-search-form-content .checknox-wrap {
background: none;
font-size: 1.6rem;
line-height: 1.3;
padding: 1rem 1rem 1rem 3rem;
}
.nxrc-search-form .nxrc-search-form-content .checknox-wrap .checkmark {
top: 0.9rem;
left: 0;
height: 2.4rem;
width: 2.4rem;
background: #FFF;
border: 2px solid #333;
}
.nxrc-search-form .nxrc-search-form-content .checknox-wrap input:checked + .checkmark {
background-color: #ECCC1A;
border: 2px solid #333;
}
.nxrc-search-form .nxrc-search-form-content .checknox-wrap .checkmark::after {
border-color: #333;
left: 0.6rem;
top: 0.2rem;
width: 0.8rem;
height: 1.2rem;
}
.nxrc-search-button {
margin-top: 3rem;
}
@media only screen and (max-width: 768px) {
.nxrc-search-form table tr {
display: block;
margin-bottom: 2rem;
}
.nxrc-search-form table tr th {
background: none;
color: unset;
display: block;
margin-bottom: 1rem;
text-align: left;
width: 100%;
}
.nxrc-search-form table tr td {
display: flex;
flex-wrap: wrap;
padding: 0;
width: 100%;
}
.nxrc-search-form .nxrc-search-form-content .checknox-wrap {
border-radius: unset;
margin: 0 !important;
min-width: 50%;
}
.nxrc-search-form table tr th {
border-bottom: 0.3rem solid #333;
padding:1remm;
}
.nxrc-search-form table tr th::before {
background: #333;
border-radius: 0.25rem;
content: '';
height: calc(100% - 0.5rem);
left: 0;
position: absolute;
top: 0;
width: 0.5rem;
}
}
/*検索結果ページ*/
.search-block {
background: #efefef;
margin-top: 0;
}
.search-block .sectionTtl {
color: #333;
font-size: 2rem;
font-weight: 700;
}
.search-result {
max-width: unset;
}
.search-result .nxrc-fields {
margin-top: 2rem;
}
.search .nxrc-list li {
background: #fff;
border: 0;
border-radius: 0;
box-shadow: unset;
padding: 2rem;
width: 100%;
border: 4px solid #333;
}
.nxrc-list li:first-child {
border: none !important;
}
.search .nxrc-list li .nxrc-title {
border-bottom: 0.3rem solid #333;
font-size: 2rem;
font-weight: 600;
letter-spacing: 0.05em;
line-height: 1.3;
padding: 1rem;
text-align: center;
}
.search .nxrc-list li .nxrc-title::before,
.search .nxrc-list li .nxrc-title::after {
display: none;
}
.search .search-txt {
background: none;
}
.search .nxrc-excerpt {
margin-bottom: 2rem;
}
.search .nxrc-excerpt a {
color: #4285F4 !important;
text-decoration: underline;
}
.search .nxrc-fields {
border: 0.1rem solid #CCC;
}
.search .nxrc-fields th {
background: #eb6100;
border-bottom: 0.1rem solid #FFF;
color: #fff;
font-weight: 500;
}
.search .nxrc-fields td {
border-bottom: 0.1rem solid #CCC;
}
.search .nxrc-fields tr:last-of-type th,
.search .nxrc-fields tr:last-of-type td {
border-bottom: 0;
}
@media only screen and (max-width: 768px) {
.search .flexin {
display: block;
}
.search .search-img {
margin-bottom: 2rem;
width: 100%;
}
.search .search-txt {
padding: 0;
width: 100%;
}
}
@media only screen and (min-width: 481px) {
.search .search-img {
display: flex;
height: 25rem;
justify-content: space-between;
}
.search .search-img img {
display: block;
height: 100%;
object-fit: contain;
width: 100%;
}
}
@media only screen and (max-width: 480px) {
.search .search-ttl {
font-size: 1.6rem;
padding: 1rem 0 1rem 7rem !important;
}
}
/* ボタン */
.nxrc-search-button button {
max-width: 430px;
}
.nxrc-search-button button {
position: relative;
}
.nxrc-search-button button img,
.search-totop img {
position: absolute;
right: 1.5rem;
top: 50%;
transform: translateY(-50%);
}
.free-space p,
.sec-freeContents p {
margin: 1.6rem 0;
}
/*********************************
3BOX(セレクション)
*********************************/
[class*="is-BrSearchContents-style_selectBoxes_"] .scrollArea {
display: flex;
overflow-x: auto;
flex-wrap: nowrap;
scroll-snap-type: x mandatory;
padding-bottom: 16px;
}
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box {
background-color: #fff;
padding: 20px 15px 205px;
box-sizing: border-box;
scroll-snap-align: start;
min-width: calc(1000px / 3.1);
width: calc((100% - 40px) / 2);
border: 3px solid var(--box3-primary-color);
position: relative;
}
.subpage [class*="is-BrSearchContents-style_selectBoxes_"] .select-box,
.single [class*="is-BrSearchContents-style_selectBoxes_"] .select-box {
min-width: calc(1000px / 2.5);
}
@media screen and (max-width: 480px) {
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box,
.subpage [class*="is-BrSearchContents-style_selectBoxes_"] .select-box,
.single [class*="is-BrSearchContents-style_selectBoxes_"] .select-box {
width: 100%;
min-width: 100%;
}
}
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box + .select-box {
margin-left: 20px;
}
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box .select-name {
display: flex;
align-items: center;
justify-content: center;
font-size: 2.2rem;
font-weight: 600;
line-height: 1.25;
margin-bottom: 12.5px;
}
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box .select-capture a {
display: block;
width: 100%;
box-sizing: border-box;
}
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box img:not(img.rank-icon) {
display: block;
width: 100%;
height: 200px;
object-fit: cover;
object-position: center top;
margin: 0 !important;
}
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box .select-quote {
display: block;
font-size: 10px;
text-align: right;
line-height: 1;
margin: 5px 5px 5px auto !important;
color: #999;
cursor: pointer;
overflow-y: hidden;
overflow-x: auto;
white-space: nowrap;
padding: 0 3px 3px;
}
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box .select-txt {
min-height: var(--select-box-content-height);
margin: 12.5px 0;
}
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box .select-txt.select-points li {
font-size: 16px;
font-weight: 600;
margin: 0 !important;
padding: 0 0 0 25px !important;
list-style: none;
border: unset !important;
line-height: 1.4 !important;
position: relative;
}
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box .select-txt.select-points li + li {
margin-top: 10px !important;
}
[class*="is-BrSearchContents-style_selectBoxes_"] .select-txt.select-points li::before {
content: "\f14a";
font-weight: 900;
font-family: 'Font Awesome 6 Free';
display: block;
color: #fff;
font-size: 20px;
line-height: 1;
color: var(--box3-points-color);
text-align: center;
position: absolute;
left: 0;
top: 1.5px;
}
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box .select-btns{
position: absolute;
bottom: 20px;
right: 0;
left: 0;
width: calc(100% - 30px);
margin: 0 auto;
}
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box [class*="select-btn_"] + [class*="select-btn_"] {
margin: 16px 0 0;
}
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box [class*="select-btn_"] a {
display: block;
width: 100%;
font-size: 16px;
display: block;
color: #fff;
width: 100%;
box-sizing: border-box;
text-decoration: none;
font-weight: 600 !important;
letter-spacing: 0.06em;
line-height: 1.4;
padding: 18px 32px;
border-radius: 100px;
border: 2px solid;
text-align: center;
transition: 0.3s;
position: relative;
}
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box [class*="select-btn_"] a i {
position: absolute;
top: 0;
bottom: 0;
right: 1.6rem;
height: 16px;
margin: auto;
}
/* ボタンマイクロコピー */
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box [class*="select-btn_"] .select-copy {
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
text-align: center;
margin-bottom: 0.5rem;
font-size: 1.4rem;
font-weight: 600;
transition: 0.3s;
}
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box [class*="select-btn_"] .select-copy::before,
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box [class*="select-btn_"] .select-copy::after {
content: "";
display: inline-block;
width: 20px;
height: 3px;
border-radius: 5px;
}
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box .select-btn_1 .select-copy::before,
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box .select-btn_1 .select-copy::after {
background-color: var(--select-box-btn1-color);
}
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box .select-btn_2 .select-copy::before,
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box .select-btn_2 .select-copy::after {
background-color: var(--select-box-btn2-color);
}
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box [class*="select-btn_"] .select-copy::before {
margin-right: 0.6rem;
-webkit-transform: rotate(50deg);
transform: rotate(50deg);
}
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box [class*="select-btn_"] .select-copy::after {
margin-left: 0.6rem;
-webkit-transform: rotate(-50deg);
transform: rotate(-50deg);
}
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box .select-btn_1 a {
background-color: var(--select-box-btn1-color);
border-color: var(--select-box-btn1-color);
color: #fff;
}
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box .select-btn_1 a:hover {
background: #fff;
color: var(--select-box-btn1-color);
}
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box .select-btn_2 a {
background-color: var(--select-box-btn2-color);
border-color: var(--select-box-btn2-color);
color: #fff;
}
[class*="is-BrSearchContents-style_selectBoxes_"] .select-box .select-btn_2 a:hover {
background: #fff;
color: var(--select-box-btn2-color);
}
/* スクロールバー */
[class*="is-BrSearchContents-style_selectBoxes_"] .scrollArea::-webkit-scrollbar {
height: 8px;
border-radius: 50px;
}
[class*="is-BrSearchContents-style_selectBoxes_"] .scrollArea::-webkit-scrollbar-track {
background-color: #efefef;
border-radius: 50px;
}
[class*="is-BrSearchContents-style_selectBoxes_"] .scrollArea::-webkit-scrollbar-thumb {
border-radius: 50px;
}
[class*="is-BrSearchContents-style_selectBoxes_"] .scrollArea::-webkit-scrollbar-thumb {
background-color: var(--select-primary-color);
}
/*********************************
3BOX(セレクション専用)
*********************************/
[class*="is-BrSearchContents-style_selectBoxes_selection"] .scrollArea {
padding-bottom: 70px;
}
[class*="is-BrSearchContents-style_selectBoxes_selection"] .select-box {
padding: 0 !important;
border: none;
background: transparent;
}
[class*="is-BrSearchContents-style_selectBoxes_selection"] .select-box .select-inner {
box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
padding: 20px 15px;
background: #fff;
box-sizing: border-box;
}
[class*="is-BrSearchContents-style_selectBoxes_selection"] .select-box .select-catch {
display: flex;
align-items: center;
justify-content: center;
min-height: 50px;
margin-bottom: 1.6rem;
text-align: center;
font-size: 1.6rem;
font-weight: 700;
color: var(--select-box-txtTitle-color);
line-height: 1.6;
}
[class*="is-BrSearchContents-style_selectBoxes_selection"] .select-box .select-topCatch {
margin: 0 0 12.5px;
padding: 20px 0;
border-radius: 8px;
background: var(--select-box-topCatch-color);
font-size: 17.5px;
line-height: 1.4;
font-weight: 700;
text-align: center;
color: #fff;
position: relative;
display: flex;
align-items: center;
justify-content: center;
transform: translateY(5px);
box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}
[class*="is-BrSearchContents-style_selectBoxes_selection"] .select-box .select-topCatch span {
display: inline-block;
margin-right: 5px;
font-size: 22.5px;
}
[class*="is-BrSearchContents-style_selectBoxes_selection"] .select-box .select-topCatch::after {
content: "";
width: 0;
height: 0;
border-style: solid;
border-width: 17px 11px 0 11px;
border-color: var(--select-box-topCatch-color) transparent transparent transparent;
position: absolute;
top: calc(100% - 2px);
left: 50%;
transform: translateX(-50%);
}
[class*="is-BrSearchContents-style_selectBoxes_selection"] .select-box .select-name {
text-align: center;
}
[class*="is-BrSearchContents-style_selectBoxes_selection"] .select-box .select-txtTitle {
text-align: center;
font-size: 18px;
font-weight: 700;
color: var(--select-box-txtTitle-color);
}
[class*="is-BrSearchContents-style_selectBoxes_selection"] .select-box .select-txt {
background: #f6f6f6;
margin: 12.5px 0 20px;
padding: 15px 10px;
}
[class*="is-BrSearchContents-style_selectBoxes_selection"] .select-box .select-txt dl,
[class*="is-BrSearchContents-style_selectBoxes_selection"] .select-box .select-txt dt,
[class*="is-BrSearchContents-style_selectBoxes_selection"] .select-box .select-txt dd {
margin: 0 !important;
padding: 0 !important;
box-sizing: border-box;
line-height: 1.4;
border: none !important;
}
[class*="is-BrSearchContents-style_selectBoxes_selection"] .select-box .select-txt dl {
display: flex;
align-items: center;
font-size: 13.5px;
margin-bottom: 10px !important;
}
[class*="is-BrSearchContents-style_selectBoxes_selection"] .select-box .select-txt dt {
width: 38%;
font-weight: bold;
text-align: left;
padding-left: 15px !important;
position: relative;
}
[class*="is-BrSearchContents-style_selectBoxes_selection"] .select-box .select-txt dt::before {
content: "";
width: 10px;
height: 10px;
background:var(--select-box-txtTitle-color);
border-radius: 50%;
position: absolute;
left: 0;
top: 5px;
}
[class*="is-BrSearchContents-style_selectBoxes_selection"] .select-box .select-txt dd {
width: 62%;
margin: 0;
text-align: left;
padding-left: 10px !important;
position: relative;
}
[class*="is-BrSearchContents-style_selectBoxes_selection"] .select-box .select-txt dd::before {
content: ":";
line-height: 1;
position: absolute;
left: 0;
top: 0;
}
[class*="is-BrSearchContents-style_selectBoxes_selection"] .select-box .select-btns {
position: static;
bottom: unset;
width: 100%;
margin: 0 0 -60px !important;
}
//基本情報短縮
.toggle-txt {
display: block;
width: fit-content;
text-align: center;
margin: 1rem auto 0;
color: #999999;
cursor: pointer;
font-size: 1.25rem;
transition: all .3s ease-in-out;
background: none;
border: none;
i {
display: inline-block;
margin-left: .5rem;
}
&:hover {
opacity: .5;
transition: opacity .3s ease-in-out;
}
}
.table table {
border-bottom: 1px solid #efefef !important;
tbody th,
tbody td {
border-bottom: none !important;
}
}
.tableToggleBtn {
display: block;
width: fit-content;
font-weight: 500;
min-width: 280px;
text-align: center;
margin: 1.6rem auto 0;
border-radius: 2px;
padding: 1.4rem 2.4rem;
line-height: 1;
background-color: $white;
color: #333;;
cursor: pointer;
font-size: 1.4rem;
transition: all .3s ease-in-out;
border: 1px solid #989898;
position: relative;
@include mq() {
font-size: 1.6rem;
}
i {
display: inline-block;
color: #989898;
position: absolute;
top: 50%;
right: 1rem;
transform: translateY(-50%);
}
}
.sec-tablepress.bg-none .tableToggleBtn {
background-color: #f3f3f3;
}
@media screen and (max-width:768px) {
.wider #rank_table {
position: relative;
width: calc(100% + 8vw);
left: -4vw;
}
}
table#tablepress-12 {
border-collapse: separate; /* borderの隙間を防ぐ */
border-spacing: 0;
width: 100%;
table-layout: fixed; /* レイアウト崩れ防止 */
td {
border: 1px solid #ddd!important; /* ボーダーを明示的に設定 */
padding: 8px;
background: white; /* 背景を指定しないとスクロール時に透ける */
vertical-align:middle;
&.column-1 {
position: sticky;
left: 1px;
z-index: 2; /* 2列目より前面にする */
background: white;
border-right: 1px solid #bbb; /* 2列目との間の隙間を防ぐ */
width:151px;
@media screen and (max-width:600px) {
width:120px!important;
}
}
&.column-2 {
position: sticky;
left: 152px; /* 1列目の幅分 */
z-index: 1;
background: white;
border-right: 1px solid #bbb; /* 3列目との隙間を防ぐ */
@media screen and (max-width:600px) {
left: 120px;
}
}
}
}