// ブレイクポイントの初期設定 $breakpoints: ( 'xxs': 'screen and (min-width: 360px)', 'xs': 'screen and (min-width: 480px)', 'sm': 'screen and (min-width: 600px)', 'md': 'screen and (min-width: 768px)', 'lg': 'screen and (min-width: 1024px)', 'xl': 'screen and (min-width: 1200px)', 'xxl': 'screen and (min-width: 1400px)', 'wd': 'screen and (min-width: 1600px)', ) !default; @mixin mq($breakpoint: md) { @media #{map-get($breakpoints, $breakpoint)} { @content; } } // minxin設定 @mixin wrapper($inner:1200px) { width: 100%; max-width: $inner; margin: 0 auto; } // flex @mixin flex($alin:center, $justyfy:space-between) { display: flex; align-items: $alin; justify-content: $justyfy; } // 変数の設定 $white: #fff; $strong:#744343; $mild:#9A7B7B; $base:#E2C6C6; $pink:#FBD7E2; $blue:#7d969d; $gray:#CECECE; $gray-botom: #e5e5e5; $gray-light:#f9f9f9; $btn-1:#d18a8a; $yellow:#ede8d1; /*基本設定 --------------------------------------*/ .fa-solid { &.fa-user{color: $base;} } .page-numbers.current { background-color: $base !important; } /*検索*/ .nxrc-search-form { background-color: #e5e5e5; th { padding-top: 27px; padding-bottom: 0px; border-bottom: 2px solid #b3b3b3; color: #000; background-color: rgb(255, 255, 255); font-size: 17px; } td { border-bottom: 2px solid #b3b3b3; } } .kensaku-space img { width: 2rem; } .box { border: none; } html { font-size: 62.5%; } body { font-family: 'Noto Sans JP', serif; margin: 0px; overflow-x: hidden; color:$strong; line-height: 1.6; font-size: 1.4rem; letter-spacing: 1.2px; @include mq('xs') { font-size: 1.6rem; line-height: 2; } } p { line-height: 1.4; @include mq() { line-height: 1.6; } } a { display: inline-block; text-decoration: none; } a:hover { opacity: .7; transition: all.3s ease-in-out; } img { width: 100%; -o-object-fit: cover; object-fit: cover; } h2,h3,h4,h5 { line-height: 1.4; } body { font-family: "Noto Sans JP" ; } h2 { background-color:#744343; color: #FFF; font-family: '游明朝', serif; font-weight: 500; letter-spacing: 0.05em; line-height: 1.8; padding: 2rem; font-size: 2rem; } .link { margin-top: 2rem; font-size: 12px !important; } /* イエローライン */ .yellow_line.active { background-position: -100% 120%; } .yellow_line { background-image: -webkit-linear-gradient(left, transparent 50%, #fcff1e 50%); background-image: -moz-linear-gradient(left, transparent 50%, #fcff1e 50%); background-image: -ms-linear-gradient(left, transparent 50%, #fcff1e 50%); background-image: -o-linear-gradient(left, transparent 50%, #fcff1e 50%); background-image: linear-gradient(left, transparent 50%, #fcff1e 50%); background-repeat: repeat-x; background-size: 200% 50%; background-position: 0 0.5em; transition: all 2s ease; font-weight: bold; } /*----------メインカラ一括変更▼----------*/ .footer .bg, //フッター .footerNav-list, //フッターメニュー .sidebarPost-wrapper h4, //サイドバーのタイトル .section-ttl, //メインタイトル .btn_official, //公式ボタン .list-btn, //一覧用のボタン .genrePost .tag li, //3選詳細のタグ .tablePicup table tr th, .burgerBtn, //ハンバーガーボタン .menu-content, //ハンバーガーボタンが開いた時の背景 .burger-musk, //ハンバーガーボタンが開いた時の全画面背景 .postList .contentsMain ul .text h3:before, //関連記事一覧のタイトル // ボーダーの変更 .section-sub-ttl, .main .mainContent .read h2, //TOP導入文 .sidebarPost-wrapper { //サイドバーの点線 border-color: $mild; } // カラー変更 .menu-content .menu li:after { color:$mild; } //詳細変更 /*----------メインカラ一括変更▲----------*/ /*------TOPの各軸のレイアウト--------*/ .genreBox { position: relative; width: 100%; h3{ color: $mild; } h5 {//おすすめポイントのタイトル text-align: center; span { border-bottom: 2px solid $mild; display: inline-block; letter-spacing: 0.05em; padding-bottom: 1rem; font-family:游明朝 ; font-size: 20px; margin-bottom:2rem ; margin-top: 5rem; font-weight: bold; @include mq() { margin-top: 10rem; } } } .point-box { text-align: center; margin-bottom: 2rem; border: $base 2px dotted; padding: 2rem; border-radius: 1rem; span { border-bottom: 2px solid $base; display: inline-block; letter-spacing: 0.05em; font-family:游明朝 ; font-size: 20px; margin-bottom:2rem ; font-weight: bold; } } .review { width: 100%; margin: 1%; border-radius: 2rem; margin-bottom: 30px; background-color:#F9F9F9; padding: 1.6rem; @include mq() { width: 47.5%; } .review-title { border-bottom:#E2C6C6 2px dotted; color:$strong; display: block; font-family: 游明朝; font-size: 2rem; font-weight: 700; letter-spacing: 0.05em; line-height: 1.3; margin: 0 auto 1.2rem auto; width: 98%; padding: 1rem; } .review-coment { padding: 0rem 2rem; } } .review-in { justify-content: center; align-items: stretch; flex-wrap: wrap; @include mq() { display: flex; } } } // 1軸目 .fontawesome-user:before { content: "\f007"; font-family: 'Font Awesome 5 Free'; font-style: normal; font-weight: 900; color:$base ; margin-right: 1rem; } .instagram ul { @include mq() { grid-gap: 6rem; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } } // 2軸目 // 3軸目 //3軸一覧のボタンの色を変更する // 各軸のパーマリンクがid名です。(3軸記事詳細ページ) // 1軸目 #photowedding { //各見出しの背景色 .genrePost { .time { //公開日と更新日 margin-bottom: 1rem; transform: translateY(3px); @include mq() { margin-bottom: 0; span { i { color: $white; } } } } } .btn-wrapper { //ボタンカラー .btn:first-child { background-color: $btn-1; } } } .contentsMain .pointBox ul li { //強み h4 { border-bottom: 2px solid #E2C6C6; display: inline-block; letter-spacing: 0.05em; font-family: 游明朝; font-size: 20px; margin-bottom: 2rem; font-weight: bold; color:$strong; } } .contentsMain .reviews { //口コミコンテンツ li { h4 { border-bottom: #E2C6C6 2px dotted; color: $strong; display: block; font-family: 游明朝; font-size: 2rem; font-weight: 700; letter-spacing: 0.05em; line-height: 1.3; margin: 0 auto 1.2rem auto; width: 98%; padding: 1rem; } .ttl { &:before { content: ""; font-family: "Font Awesome 5 Free"; font-style: normal; font-weight: 900; color: #E2C6C6; margin-right: 1rem; } } } } .contentsMain {//口コミコンテンツ h5 {//おすすめポイントのタイトル span { border-bottom: $strong 3px solid; color: $strong; display: block; font-family: 游明朝,serif; font-size: 2.2rem; font-weight: bold; letter-spacing: 0.05em; line-height: 1.3; margin: 0 auto 1.2rem auto; width: 98%; padding: 1rem; } } .review { width: 100%; margin: 1%; border-radius: 2rem; margin-bottom: 30px; background-color: #F9F9F9; padding: 1.6rem; .review-title { border-bottom: #E2C6C6 2px dotted; color: $strong; display: block; font-family: 游明朝; font-size: 2rem; font-weight: 700; letter-spacing: 0.05em; line-height: 1.3; margin: 0 auto 1.2rem auto; width: 98%; padding: 1rem; } .quote { margin-bottom: 2rem; } } .comment { .title { background: none; color: #744343; letter-spacing: 0.05em; padding: 0rem 0rem 0rem 1rem; border-left: solid 10px #e2c6c6; border-bottom: none; font-size: 20px; margin-bottom: 1rem; } } } // 3軸目 #seijinshiki { //各見出しの背景色 .genrePost { .time { //公開日と更新日 margin-bottom: 1rem; transform: translateY(3px); @include mq() { margin-bottom: 0; span { i { color: $white; } } } } } .contentsMain .pointBox ul li { //強み h4 { display: block; background: none; color: $strong; } } .contentsMain .reviews { //口コミコンテンツ li { h4 { background: none; color: $strong; } } } } /*----------3軸テーマカラ一括変更▲----------*/ /*共通設定 --------------------------------------*/ .instagram-media { min-width: 0px !important; }//インスタ埋め込みコード .section-wrapper { padding: 3rem 0; &:first-child { padding-top: 6rem; } &:last-child { padding-bottom: 6rem; } @include mq('md') { padding: 6rem 0; &:first-child { padding-top: 12rem; } &:last-child { padding-bottom: 12rem; } } &.related { background-color: $gray-botom; } } .content { margin: 0 auto; padding: 0 4vw; max-width: 650px; margin: 0 auto; @include mq('md') { max-width: 1320px; padding: 0 4vw; } .contents-wrapper { .btn_official { margin-bottom: 2rem; @include mq() { margin-bottom: 0rem; } } } } /*タイトル --------------------------------------*/ .section-ttl { background-color:$strong; font-size: 2rem; padding: 1rem; color: $white; text-align: center; margin-bottom: 20px; line-height: 1.6; @include mq('xs') { font-size: 2.4rem; padding: 1.5rem; } @include mq() { font-size: 3rem; padding: 5rem; margin-bottom: 30px; } } .section-sub-ttl { font-size: 2rem; margin-bottom: 2rem; padding-bottom: .5rem; line-height: 1.4; @include mq('md') { font-size: 2.4rem; } @include mq('xl') { font-size: 2.2rem; margin-bottom: 3rem; line-height: 1.6; } } /*ボタン --------------------------------------*/ .btn-wrapper { margin-top: 3rem; @include mq() { position: absolute; bottom: 20px; left: 0; @include flex(center, center); flex-wrap: wrap; margin-top: 3rem; } } .single .btn-wrapper { margin: 3rem auto; } .btn-1{ box-shadow: 3px 5px 10px rgb(0 0 0 / 30%); align-items: center; border-radius: 1.5rem; display: flex; font-weight: 500; height: 6rem; justify-content: center; position: relative; background: $btn-1; font-size: 2rem; padding: 1rem; color:$white; margin-top: 2rem; margin-bottom: 2rem; &::after { //ボタンのアイコン content: '\f0da'; font-family: 'Font Awesome 5 Free'; font-weight: 900; right: 2rem; position: absolute; top: 20%; @include mq() { top: 1.1rem; } } &:hover { text-decoration: none; opacity: 0.5; } &:hover::after { transition: all.3s ease-in-out; } @include mq() { margin-top: 0rem; margin-bottom: 0rem; } } .relatedPost_text { .btn-1 { width: 100%; margin-top: 2rem; } } .btn, //ボタン .btn_official { //公式ボタン display: block; max-width: 100%; width: 100%; font-size: 1.9rem; color: $white; text-align: center; padding: 1rem; transition: all.3s; position: relative; border-radius: 1.5rem; margin-top: 2rem; @include mq() { font-size: 2rem; max-width: 315px; padding: 1rem; } &::after { content: ''; background-size: contain; background-position: center center; width: 15px; height: 15px; position: absolute; top: 50%; right: 20px; transform: translateY(-40%); transition: all.3s ease-in-out; @include mq() { width: 18px; height: 18px; } } } .btn { box-shadow: 3px 5px 10px rgb(0 0 0 / 30%); &::after { //ボタンのアイコン content: '\f0da'; font-family: 'Font Awesome 5 Free'; font-weight: 900; right: 2rem; position: absolute; top: 1.8rem; } &:hover::after { transition: all.3s ease-in-out; } } .btn_official { //公式ボタンのアイコン margin-left: 0!important; &::after { content: '\f0da'; font-family: 'Font Awesome 5 Free'; font-weight: 900; right: 2rem; position: absolute; top: 1.8rem; } } .btn_official { background: $blue; } .bg-01 { background: $btn-1; } /*記事一覧・関連記事・関連企業のボタン --------------------------------------*/ .list-btn { border-radius: 30px; padding: .5rem; color: $white; display: block; text-align: center; margin-left: auto; margin-top: 3rem; display: block; color: $white; position: relative; transition: all.3s ease-in-out; @include mq('md') { } @include mq('xl') { position: absolute; bottom: 0; right: 0; } &:after { content: "\f0da"; font-family: "Font Awesome 5 Free"; font-weight: 900; right: 2rem; position: absolute; top: 1.1rem; @include mq() { width: 15px; height: 15px; top: 1.1rem; } } &:hover::after { right: 10px; transition: all.3s ease-in-out; } } .clr-wh{ color: $white; } // マージン .btn-ml { @include mq() { margin-left: 3rem; } } .btn-mb { margin-bottom: 2rem; @include mq() { margin-bottom: 0; } } // 画像サイズ .time, .genrePost .time { display: block; font-size: 1.4rem; font-weight: normal; margin-bottom: 1rem; text-align: right; span { display: block; } @include mq() { @include flex(center,end ); } } .time { span { &:last-child { @include mq() { padding-left: 1rem; } } } } .genrePost .time { @include mq() { @include flex(center, ); color: $white; text-align: center; margin-left: auto; max-width: 380px; border-radius: 5px 5px 0 0; padding: .5rem 1rem; } } /* パンくず --------------------------------------*/ .pankuz { .inner { font-size: 1.2rem; padding: 1rem 4vw; @include mq() { font-size: 1.4rem; padding: 1rem 6rem; } } } /* HEADER --------------------------------------*/ .header { display: flex; align-items: center; width: 100%; height: 80px; background: $white; @include mq() { height: 100px; } } .header-inner { width: 100%; margin: 0 auto; padding: 0 3vw; @include mq('md') { padding: 0 6rem; } a { display: block; text-align: left; } } // パンくず .pankuz { background-color: $gray; } /* FOOTER --------------------------------------*/ .footer { .bg_inner { max-width: 1200px; margin: 0 auto; padding: 3rem 4vw; box-sizing: border-box; @include mq() { padding: 6rem 3rem; } ul li a i { display: inline-block; margin-right: .5rem; } } a { color: $white; } } .footerNav { border-bottom: 2px solid $mild; @include mq() { border-top: 2px solid $mild; } } .footerNav-list { max-width: 1200px; margin: 0 auto; @include mq() { @include flex(); } li { width: 100%; padding: 1rem; border-top: 2px solid $mild; text-align: center; &:first-child { border-left: 2px solid $mild; } @include mq() { border-top: 0; border-bottom: 0; border-right: 2px solid $mild; padding: 1rem; &:last-child { border-bottom: 0; } } a { display: block; width: 100%; color: $strong; font-size: 1.6rem; @include mq('md') { font-size: 2rem; } span { display: block; font-size: 1.2rem; margin-top: -.5rem; } } } } // 各記事エリア .selections, .recommend, .list, .colum { margin-bottom: 3rem; h3 { font-size: 2rem; background-color: $white; padding: 1rem; margin-bottom: 2rem; @include mq() { font-size: 2.4rem; margin-bottom: 2rem; } i { padding-right: 1rem } } ul { @include flex(center, static); flex-wrap: wrap; li { margin-bottom: 1rem; padding-left: 1rem; @include mq() { margin-bottom: 2rem; margin-right: 2rem; padding-left: 1rem; } } } } // 3選記事のみブロック要素に .selections { margin-bottom: 3rem; li { display: block; width: 100%; margin-bottom: 1rem; &:last-child { margin-bottom: 3rem; } @include mq() { margin-bottom: 2rem; } } } .colum { //コラム記事 margin-bottom: 6rem; } // 免責事項 .disclaimer { font-size: 1.4rem; margin-bottom: 6rem; h4 { font-size: 1.4; font-weight: bold; background-color: $white; padding: .5rem; width: 100%; border-radius: 5px; max-width: 250px; text-align: center; margin: 0 auto; font-size: 2rem; position: absolute; left: 50%; transform: translate(-50%,-50%); z-index: 2; } p { position: relative; color: $white; padding: 3rem 1.5rem 1.5rem; box-sizing: border-box; border: 4px solid $white; border-radius: 5px; } } .footerBtm{ margin-bottom: 1rem; text-align: center; a { color: $white; font-weight: 700; } } // コピーライト .Copyright { color: $white; text-align: center; font-size: 1.2rem; a { text-align: center; color: $white; } } // 固定バナー .footer-banner { position: fixed; bottom: 0; left: 0; padding: 4px 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: 99; } .footer-banner-txt{ display: block; max-width: 1200px; width: 85%; font-size: 15px; justify-content: space-between; -ms-align-items: center; align-items: center; box-sizing: border-box; line-height: 1.4; text-align: center; } .btn-wrap { margin: 22px 0 14px; } a.btn-f { font-size: 1.6rem; padding: .5rem 2rem 1rem; color: $white; background: #c52929; box-shadow: 0 5px 0 #880e0e; width: 100%; position: relative; @include mq('md') { font-size: 2.2rem; padding: 1.5rem 2.5rem; width: 60%; } span { font-size: 1.4rem; font-weight: bold; position: absolute; top: -15px; left: calc(50% - 38%); display: block; width: 77%; padding: .5rem; color: #c52929; border: 2px solid #c52929; border-radius: 0.5rem; background: $white; box-shadow: 0 3px 3px rgb(0 0 0 / 20%); @include mq('md') { top: -11px; padding: 1rem; } } i { position: absolute; top: 68%; right: 2%; transform: translateY(-50%); transition: all.3s ease-in-out; } &:hover { i { right: 3%; transition: all.3s ease-in-out; } } } #wpfront-scroll-top-container { background-color:#afafaf; border-radius: 100%; color: $white !important; display: block; font-size: 20px; width: 40px; height: 40px; line-height: 2; position: fixed; bottom: 1.5rem !important; right: 1.5rem !important; text-align: center; z-index: 9999; @include mq('md') { font-size: 30px; width: 60px; height: 60px; } } /*メインビジュアル --------------------------------------*/ .mv { background-position: center center; background-repeat: no-repeat; background-size: cover; width: 100%; height: 450px; position: relative; @include mq('xs') { height: 500px; } @include mq() { height: 600px; } } .ttl-back { position: relative; top: 9rem; background-color: #fff; height: 36vw; width: 80vw; @include mq('xxs') { top: 6rem; height: 32vw; width: 85vw; } @include mq('lg') { height: 13vw; width: 45vw; top: 11rem; } } .top-bg { //TOPのメインビジュアル background-image: url(img/top-bg.png); background-size: 100% auto; background-repeat: no-repeat; background-position: right; background-color:#F9F9F9; @include mq() { background-image: url(img/top-bg.png); background-size: 95% auto; height: 97vh; } @include mq(xl) { background-image: url(img/top-bg-pc.png); background-size: 85% auto; height: 97vh; } } .mv.catList-bg, .mv.post-bg, .mv.search-bg, .mv.archive-bg { align-items: center; background-position: right bottom; background-repeat: no-repeat, no-repeat; display: flex; justify-content: left; background-color: #F9F9F9; background-size: 90% auto; @include mq() { background-size: 70% cover; } .mv-inner { .mv-ttl { background: #FFF; color: #9A7B7B; font-family: '游明朝', serif; font-size: 2.8rem; font-weight: 600; left: unset; letter-spacing: 0.05em; line-height: 1.3; padding: 3rem 1.5rem 3rem 1.5rem; position: relative; top: -99px; text-align: left; transform: unset; width: 90%; @include mq() { font-size: 3.9rem; padding: 3rem 1.5rem 3rem 6rem; width: 55%; } }} } .catList-bg { //カテゴリ一覧ページのメインビジュアル background-image: url(img/sp-article.png); @include mq() { background-image: url(img/pc-article.png); background-size: 85% auto; } } .archive-bg { //アーカイブページのメインビジュアル background-image: url(img/sp-article.png); @include mq() { background-image: url(img/pc-article.png); } } .post-bg { //投稿ページのメインビジュアル background-image: url(img/sp-article.png); @include mq() { background-image: url(img/pc-article.png); } } .page-bg { //固定ページのメインビジュアル background-image: url(img/sp-article.png); @include mq() { background-image: url(img/pc-article.png); } } .search-bg { //検索画面のメインビジュアル background-image: url(img/sp-article.png); @include mq() { background-image: url(img/pc-article.png); } position: relative; z-index: 1; &::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: $strong; opacity: .7; z-index: 2; } } .mv-ttl { width: 100%; position: absolute; text-align: center; top: 50%; left: 50%; transform: translate(-50%,-50%); color: #fff; font-size: 2.4rem; z-index: 3; @include mq('sm') { font-size: 3.2rem; } @include mq('md') { font-size: 5rem; } } /* TOPページ --------------------------------------*/ .img-bottom { margin-bottom: 2rem; } .read-img1 { width: 100%; height: 12vw; background-image: url(img/sp-hana1-min.png); background-repeat: no-repeat; } .read-img2 { background-size: cover; width: auto; height: 35vw; background-image: url(img/sp-hana2.png); background-repeat: no-repeat; } .main { .read { // 導入文 background-color: $white; box-sizing: border-box; position: relative; padding: 5rem 1.5rem; line-height: 2rem; @include mq() { padding: 4% 8%; } h2 { // 導入文のタイトル text-align: center; font-size: 2rem; margin-bottom: 2rem; border-bottom: 2px solid; padding-bottom: .5rem; border-bottom: 1px solid #000; @include mq('md') { font-size: 2.4rem; border-bottom: 3px solid; padding-bottom: 1rem; } @include mq() { font-size: 3rem; border-bottom: 5px solid; margin-bottom: 3rem; } } } } .ring { background-image: url(img/icon-ring.png); position: absolute; background-repeat: no-repeat; background-size: 8rem auto; height: 117px; width: 50%; left: 40%; top: -52px; @include mq('') { position: absolute; background-repeat: no-repeat; width: 80px; top: -52px; margin: auto; left: 0px; right: 0px; } } // TOP3軸レイアウト .genre3Top { ul { display: block; @include mq('lg') { @include flex(static,); } li{ width: 100%; max-width: 100%; padding: 1rem; box-sizing: border-box; margin-bottom: 2rem; transition: all.3s; &:last-child { margin-bottom: 0; } @include mq('xs') { margin-bottom: 3rem; } @include mq('lg') { max-width: 380px; margin-bottom: 0; margin-right: 2rem; &:last-child { margin-right: 0; } } a { display: flex; align-items: center; background-color: $white; padding: 1.5rem; font-size: 2rem; min-height: 100px; line-height: 1.6; @include mq() { font-size: 2.4rem; min-height: 126px; } } } } } // 3軸各3社紹介エリア .instagram { text-align: center; } .genreMid { h2 { //軸のタイトル font-size: 2rem; font-weight: bold; margin-bottom: 2rem; text-align: center; @include mq('xs') { font-size: 2.4rem; } @include mq() { font-size: 3rem; margin-bottom: 3rem; } } .genreBox { //各社の大枠 padding: 4vw; background-color: $white; box-sizing: border-box; margin-bottom: 10rem; &:last-child { margin-bottom: 0; } @include mq() { padding: 2rem; margin-bottom: 0; } h3 { // 会社名 font-size: 2rem; font-weight: bold; margin-bottom: 2rem; @include mq('xs') { font-size: 2rem; } @include mq() { font-size: 2.2rem; min-height: 62px; } &::before{ content: ''; display: inline-block; width: 3px; height: 20px; vertical-align: -9%; margin-right: 1rem; @include mq('xs'){ height: 24px; } @include mq() { width: 4px; height: 27px; margin-right: 1rem; } } } h4 { // おすすめポイントのタイトル font-size: 1.8rem; line-height: 1.4; padding: 1rem 2rem; width: 100%; margin-bottom: 2rem; color: $white; @include mq('sm') { font-size: 2rem; } @include mq() { font-size: 2rem; } } } table { // 基本情報 display: block; width: 100%; margin: 1.5rem 0; @include mq() { margin: 3rem 0; } thead { display: block; width: 100%; tr { display: block; th { //基本情報のタイトル font-size: 16px; line-height: 1.4; display: block; width: 100%; margin-bottom: 1rem; border-bottom: 2px dashed $strong; color: $strong; text-align: left; font-weight: bold; &:before { content: '\f05a'; font-family: 'Font Awesome 5 Free'; font-weight: 900; margin-right: .5rem; } @include mq('xs'){ margin-bottom: 2rem; } @include mq() { } } } } tbody { //基本情報の中身 width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); grid-gap: 1rem; @include mq() { grid-template-columns: repeat(auto-fit, minmax(550px, 1fr)); grid-gap: 1rem; } tr { display: block; @include mq() { @include flex(center,start ); } } th { //基本情報の見出し display: block; font-size: 1.6rem; width: 125px; text-align: center; color: $white; font-weight: normal; padding: 0.3rem; margin-bottom: 0.3rem; @include mq() { font-size: 1.5rem; margin-bottom: 0; } i { margin-right: .5rem; } } td { //基本情報の中身 margin-left: 1rem; @include mq('sm') { display: block; width: 100%; font-size: 1.5rem; } } } } } // 下層ページのコンテンツ .bottomContent { h2 { @extend .section-ttl; } h3 { @extend .section-sub-ttl; } p { margin-bottom: 2rem; &:last-child { margin-bottom: 0; } @include mq() { margin-bottom: 3rem; } } } /* その他リスト --------------------------------------*/ .otherList { .bg { background-color: #E5E5E5; } h2 { @extend .section-ttl; } .content { max-width: 1200px; margin: 0 auto; padding: 0 4vw 3rem; @include mq('sm') { padding: 3rem 3rem 6rem; } } //アコーディオンパネル .ac-list { @include mq('sm') { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); grid-gap: 3rem; display: grid; } @include mq() { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); grid-gap: 2rem; margin: 0 auto; } } .ac-item { margin-bottom: 2rem; @include flex(center, flex-start); width: 100%; max-width: 560px; height: 70px; background-color: $white; padding: 0 1.5rem; position: relative; @include mq('sm') { height: 80px; max-width: 100%; padding: 0 2rem; } .ac-ttl { font-size: 1.6rem; cursor: pointer; @include mq('sm') { font-size: 2rem; } span { position: absolute; right: 20px; z-index: 1; transform: rotate(0deg); transition: all.3s; } } .ac-contents { display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: $white; padding: 0 1.5rem 1rem; box-sizing: border-box; text-align: center; z-index: 9; &Inner { padding: 2rem; @include mq('sm') { padding: 1rem 2rem 3rem; } p { text-align: left; } } .btn-wrapper { margin-top: 2rem; a { @extend .btn; max-width: 100%; padding: .5rem; background-color: $strong; } } } } .ac-ttl.open { transition: all.3s; span { transform: translateY(5px) rotate(-180deg); transition: all.3s; } } } .fa-chevron-down:before { background-color: $btn-1; color:$white; padding: 1rem; } /* 3選記事ボトムコンテンツ --------------------------------------*/ #Bottom { padding: 10rem 0 15rem 0; background-color: #e5e5e5; margin-bottom:0rem !important; } // TOP3軸レイアウト /* 2カラムレイアウト --------------------------------------*/ .contents-wrapper { @include mq('lg') { @include flex(static, ) } } .contentsMain { //記事本文 width: 100%; max-width: 100%; margin-bottom: 3rem; @include mq('xs') { margin-bottom: 6rem; } @include mq('lg') { max-width: 850px; margin-bottom: 6rem; } } /* カテゴリー覧 --------------------------------------*/ .postList { .contentsMain { //記事本文 ul { margin-bottom: 3rem; background-color: $gray-light; padding: 2rem; @include mq('sm') { margin-bottom: 6rem; } @include mq('lg') { @include flex(static,start ); margin-bottom: 6rem; } .thumbnail { //記事のサムネイル画像 img { width: 100%; height: 250px; margin-bottom: 2rem; @include mq('lg') { margin-bottom: 0; width: 300px; } } } .text { //記事のテキスト部分 @include mq() { position: relative; padding-left: 3rem; } h3 { //記事のタイトル font-family: 游明朝; font-size: 2rem; line-height: 1.4; font-weight: bold; margin-bottom: 2rem; border-left: solid 10px $base; padding-left: 1rem; @include mq() { line-height: 1.5; font-size: 2.4rem; } &::before { content: ''; display: inline-block; width: 4px; height: 20px; margin-right: 1rem; vertical-align: -9%; @include mq() { height: 25px; } } } } } } } .contentsSidebar { // サイドバー max-width: 100%; display: none; @include mq('lg') { display: block; max-width: 370px; margin-left: 3rem; } } .sidebarPost-wrapper { margin-bottom: 3rem; h4 { font-size: 2rem; color: $white; padding: 1rem; margin-bottom: 2rem; i { margin-right: 1rem; } } li { margin-bottom: 1rem; border-bottom: 2px dashed; padding: 0 1rem; a { display: block; position: relative; i { font-size: 10px; display: block; position: absolute; right: 0; top: 50%; transform: translateY(-50%); } } } } /* 3選記事詳細の共通設定 --------------------------------------*/ .genrePost { .contentsMain h4 { font-size: 1.6rem; padding:.5rem 1rem; margin-bottom: 1rem; color: $white; @include mq('md') { font-size: 2rem; } } .caption { h3 { // 3選記事詳細のリード文 font-size: 2rem; margin-bottom: 3rem; line-height: 1.4; font-weight: bold; } } .read { padding: 2rem; border: 4px solid ; border-radius: 5px; box-sizing: border-box; margin-bottom: 3rem; @include mq('xs') { margin-bottom: 6rem; } @include mq('md') { padding: 3rem; } p { margin-bottom: 0 } } h3 { @extend .section-sub-ttl; } p { margin-bottom: 2rem; } .tag { display: block; width: 100%; margin-bottom: 3rem; @include mq('xl') { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0; position: absolute; bottom: 0; transform: translateY(-50%); } li { font-size: 1.4rem; width: 100%; color: $white; padding: .5rem; text-align: center; border-bottom: 2px solid $white; @include mq('xl') { padding: 1rem; max-width: 350px; border-bottom: 0px; border-right: 2px solid $white; } &:last-child { border-right: 0; } } } .genreBox { background-color: $gray; padding: 4vw; box-sizing: border-box; margin-bottom: 3rem; @include mq('md') { margin-bottom: 6rem; padding: 3rem; } &:last-child { margin-bottom: 0 } h3 { font-size: 2rem; padding: 1rem 2rem; font-weight: normal; margin-bottom: 3rem; @include mq() { font-size: 2.4rem; } } .caption { //特徴と会社名 text-align: center; h3 { font-size: 2rem; @include mq() { font-size: 2.4rem; } span { display: block; font-size: 1.2rem; } } } } } .genreBox { p { font-size: 16px; } .instagram { ul { grid-gap: 2rem; } } } .tableGenre { //テーブル table { tr { td { @include mq() { margin-top: 0; } i { margin-right: .5rem; } &:first-child { display: block; color: $white; padding: .5rem; text-align: center; width: 100%; max-width: 100%; @include mq() { min-width: 150px; max-width: 150px; } } } } } } /* 3選記事・おすすめ企業の共通設定- --------------------------------------*/ .tablePicup, .tableGenre { //テーブル .table-ttl { @extend .section-sub-ttl; &:before { content: '\f05a'; font-family: 'Font Awesome 5 Free'; font-size: 25px; font-weight: 900; margin-right: .5rem; } } table { width: 100%; margin-bottom: 3rem; @include mq() { margin-bottom: 6rem; } tr { display: block; margin-bottom: 10px; &:last-child { margin-bottom: 0; } @include mq() { display: flex; align-items: center; } th { display: block; padding: .5rem; text-align: center; width: 100%; max-width: 100%; color: $white; @include mq() { min-width: 150px; max-width: 150px; } i { margin-right: .5rem; } } td { display: block; padding: .5rem; text-align: left; @include mq('md') { padding: 0; padding-left: 2rem; } } } } } .strongBox, .pointBox, .reviews { margin-bottom: 3rem; @include mq() { margin-bottom: 6rem; } h3 { text-align: center; } } .tableGenre { text-align: center; } .genreBox h3 { span { color: $strong; border-bottom: 2px solid #9A7B7B; display: inline-block; letter-spacing: 0.05em; padding-bottom: 1rem; font-family: 游明朝; font-size: 20px; margin-bottom: 0rem; margin-top: 3rem; font-weight: bold; } } .pointBox ul, .reviews ul { li { padding: 1.5rem; box-sizing: border-box; background-color: $white; margin-bottom: 3rem; border: 4px solid; border-radius: 5px; @include mq('md') { padding: 2rem; } &:last-child { margin-bottom: 0; } p { margin-bottom: 0; text-align: left; } } } .pointBox ul li .ttl , .reviews ul li .ttl { margin-bottom: 1.5rem; padding: 0 ; padding-bottom: 1rem; @include mq('md') { font-size: 2.4rem; margin-bottom: 2rem; } i { margin-right: .5rem; } } .quote { display: block; margin-top: 3rem; text-align: right; @include mq('md') { margin-top: 6rem; } a { color: blue; text-decoration: underline; } } .genreMid .genreBox { position: relative; @include mq() { padding-bottom: 180px; } h3 { font-size: 20px; @include mq() { font-size: 30px; } } } /* 記事の詳細ページ共通設定 --------------------------------------*/ .timestamp { margin-left: 20px; } .mainImg { //記事詳細のメイン画像の共通設定 position: relative; img { height: 300px; @include mq('xl') { margin-bottom: 3rem; height: 400px; } } } .article { .mainImg { //記事詳細のメイン画像の設定 img { margin-bottom: 2rem; @include mq('md') { margin-bottom: 3rem; } } } h3 { @extend .section-sub-ttl; } p { margin-bottom: 2rem; } .instagram { margin-bottom: 2rem; ul { grid-gap: 2rem; } } } /* 関連記事 --------------------------------------*/ .related { h2 { @extend .section-ttl; } .grid { .grid-item { margin-bottom: 8rem; @include mq() { display: flex; justify-content: space-between; height: 250px; } .relatedPost_thumbnail { width: 100%; margin-bottom: 2rem; @include mq() { max-width: 400px; width: 40%; } img { height: 200px; @include mq() { height: 250px; } @include mq() { height: 100%; } } } .relatedPost_text { width: 100%; @include mq() { position: relative; padding-left: 3rem; width: 65%; } h3 { @extend .section-sub-ttl; } } } } } .company-list { grid-gap: 6rem; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); li { position: relative; img { height: 250px; margin-bottom: 2rem; @include mq('md') { height: 300px; } } h3 { @extend .section-sub-ttl; font-size: 2rem; } p { @include mq() { min-height: 105px ; } } } @include mq() { display: grid; } } /* articleページ ----------------------------------------------------------*/ .pager { margin: 0 auto; text-align: center; .page-numbers { margin-right: 1.5rem; &:last-child { margin-right: 0; } } .page-numbers.current { color: $white; padding: 1rem 1.5rem; } .next, .prev { font-size: 30px; vertical-align: -9%; } } /* 個別ページ ----------------------------------------------------------*/ .page { h3 { @extend .section-sub-ttl; } p { margin-bottom: 3rem; } } /* サイトマップ ----------------------------------------------------------*/ .home-item { margin-bottom: 2rem; font-size: 2rem; } #sitemap_list { li { &:before { font-family: 'Font Awesome 5 Free'; font-size: 20px; font-weight: 900; display: inline-block; margin-right: .5rem; } } .home-item:before { content: '\f015'; color: $strong; } .cat-item { a { border-bottom: 2px solid $strong; margin-left: 3rem; &:before { content: '\f303'; font-family: 'Font Awesome 5 Free'; font-size: 20px; font-weight: 900; display: inline-block; margin-right: .5rem; color: $strong; } } } .post-item { margin-left: 3rem; a { &:before { content: '\f105'; } } } .page_item { &:before { content: '\f15b' ; color: $strong; } a { border-bottom: 2px solid $strong; } } } /* 問合せページ ----------------------------------------------------------*/ .formWrapper { margin-top: 6rem; align-items: flex-start; justify-content: space-between; } .nxrc-search-button img { width: 2rem; } .subpage { max-width: 1000px; width: 100%; padding: 0rem 4rem; } .search-ttl{ background-color: $white; border-bottom: 5px solid $base; margin-bottom: 3rem; text-align: center; &:before { left: 40%; background: $mild; } } .wpcf7-form p { margin-bottom: 2rem; &:last-child { margin-bottom: 0; } } input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required { width: 100% !important; padding: .5rem; box-sizing: border-box; border: solid 1px #CCC; } input.wpcf7-form-control.wpcf7-text.wpcf7-email.wpcf7-validates-as-required.wpcf7-validates-as-email { width: 100% !important; padding: .5rem; box-sizing: border-box; border: solid 1px #CCC; } input.wpcf7-form-control.wpcf7-text { width: 100% !important; padding: .5rem; box-sizing: border-box; border: solid 1px #CCC; } textarea.wpcf7-form-control.wpcf7-textarea { width: 100% !important; border: solid 1px #CCC; } input.wpcf7-form-control.wpcf7-submit { display: block; margin: 0 auto; letter-spacing: 2; width: 199px; height: 50px; background-color: $btn-1; color: $white; text-align: center; margin-top: 3rem; transition: all.3s ease-in-out; border-radius: 2rem; @include mq('md') { margin-top: 6rem; } &:hover { opacity: 0.7; transition: all.3s ease-in-out; } } .searchandfilter input[type="checkbox"], input[type="radio"], input[type="text"], select, .meta-range, .chosen-container { margin-left: 0px !important; } /* 404ページ ----------------------------------------------------------*/ .notFound { h3 { @extend .section-sub-ttl; } p { span { display: block; margin-bottom: 3rem; &:last-child { margin-bottom: 0; } } } } /* ハンバーガーメニュー ---------------------------------*/ .burgerBtn_wrapper { position: fixed; right: 1.5rem; z-index: 9999; } .burgerBtn{ position: relative;/*ボタン内側の基点となるためrelativeを指定*/ width: 50px; height:50px; cursor: pointer; } /*ボタン内側*/ .burgerBtn { span{ display: inline-block; transition: all .4s;/*アニメーションの設定*/ position: absolute; left: 14px; height: 2px; border-radius: 2px; background: $white; &:nth-of-type(1) { top:15px; width: 45%; } &:nth-of-type(2) { top:23px; width: 35%; } &:nth-of-type(3) { top:31px; width: 20%; } } &.active span:nth-of-type(1) { top: 18px; left: 18px; transform: translateY(6px) rotate(-135deg); width: 30%; } &.active span:nth-of-type(2) { opacity: 0; } &.active span:nth-of-type(3){ top: 30px; left: 18px; transform: translateY(-6px) rotate(135deg); width: 30%; } } .menu-content { width: 87vw; height: 100vh; position: fixed; top: 0%; left:-150%; z-index: 998; transition: all.2s ease-in-out; @include mq() { width: 56vw; } &.active { left: 0; transition: all.2s ease-in-out; } .menu { margin: 0 auto; padding: 12rem 6vw 0; width: 100%; max-width: 500px; position: relative; li { text-align: left; margin-bottom: 2rem; position: relative; a { color: $white; vertical-align: 20%; &::after { content: ''; display: block; color: $strong; height: 1px; background-color: $white; width: 15px; transition: all.2s ease-in-out; } &:hover::after { width: 100%; transition: all.2s ease-in-out; } } } } } .burger-musk { width: 0; height: 0; position: fixed; opacity: .7; top: 0%; z-index: 997; &.active { width: 100vw; height: 100vh; } } /* 目次のレイアウト */ #toc_container { padding: 1.5rem; box-sizing: border-box; border-radius: 10px; margin: 0 auto 3rem; @include mq('md') { padding: 2rem; margin: 0 auto 6rem; } } #toc_container .toc_title { font-size: 1.8rem; font-weight: bold; text-align: center; margin-bottom: 0; margin:0; margin-bottom: 2rem; @include mq('md') { font-size: 2.2rem; } } #toc_container .toc_title:before { content: '\f03a'; font-family: 'Font Awesome 5 Free'; font-size: 1.4rem; color: $mild; width: 18px; height: 18px; padding: .5rem; margin-right: .5rem; border-radius: 50%; font-weight: 900; height: 100%; @include mq('md') { font-size: 2rem; width: 30px; height: 30px; margin-right: .7rem; padding: 1rem; } } #toc_container .toc_list { width: 90%; margin: 0 auto; @include mq('md') { width: 80%; } @include mq('xl') { width: 70%; } } #toc_container .toc_list li { font-family: 游明朝; font-weight: 900; margin-bottom: 1rem; position: relative; @include mq('md') { margin-bottom: 1.5rem; } } #toc_container .toc_list li a { font-size: 1.4rem; line-height: 1.4; position: relative; @include mq('md') { font-size: 1.6rem; } } #toc_container .toc_list li a:before { content: '\f0da'; font-family: 'Font Awesome 5 Free'; color: #744343; font-weight: 900; position: absolute; background-color:white; left: -1.5rem; @include mq('md') { width: 10px; height: 10px; left: -1.5rem; top: 0rem; } } #toc_container .toc_list li a:hover { opacity: .7; text-decoration: underline; transition: all.3s; }