// Scss Document /*-------------------- 共通設定 ----------------------*/ $eng:"cormorant-garamond", serif; $ryumin:"a-otf-ryumin-pr6n", serif; $number:"adobe-garamond-pro", serif; $breakpoint-notepad: 1500px; $breakpoint-tablet: 1000px; $breakpoint-mobile: 600px; @mixin max-screen($break-point) { @media screen and (max-width: $break-point) { @content; } } @mixin min-screen($break-point) { @media screen and (min-width: $break-point) { @content; } } @mixin screen($break-point-min, $break-point-max) { @media screen and (min-width: $break-point-min) and (max-width: $break-point-max) { @content; } } * { margin: 0; padding: 0; letter-spacing: 0.1em; font-family:"ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "verdana", sans-serif; font-weight: 400; font-size: 16px; color: #3e3a39; list-style: none; text-align: center; } img { width: 100%; height: auto; } a { text-decoration: none; &.disabled { pointer-events: none; } } .pc { display: block; @include max-screen($breakpoint-tablet) { display: none; } } .sp { display: none; @include max-screen($breakpoint-tablet) { display: block; } } .fadein { opacity: 0; transform: translateY(0px); transition: all 1.5s; } .footer_copy { text-align: center; & p { font-size: 0.7em; padding-bottom: 20px; font-family: $eng; } } #global-nav { width: 100%; text-align: center; height: 50px; background: rgba(255,255,255,0.8); position: fixed; z-index: 9999; & a { max-width: 300px; & img { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); max-width: 80px; @include max-screen($breakpoint-mobile) { max-width: 70px; } } } } body { overflow-x: hidden; } /*------------------------------------------------*/ .mv { padding-top: 50px; & img { width: 100%; max-width: 1920px; margin: 0 auto; } } .lp_warapper { max-width: 1400px; margin: 0 auto; width: 90%; @include max-screen($breakpoint-tablet) { width: 100%; } } section { margin: 15% auto; @include max-screen($breakpoint-mobile) { margin: 25% auto; } } h1,h2 { font-family: $ryumin; color: #505050; } h3 { font-family: $eng; } .main-txt { margin: 15% auto; & h1 { font-size: 1.8em; line-height: 3.0; @include max-screen($breakpoint-mobile) { font-size: 1.2em; line-height: 2.5; } } & h3 { font-size: 1.2em; @include max-screen($breakpoint-mobile) { font-size: 0.9em; } } & p { font-size: 0.8em; line-height: 2.5; text-align: center; margin: 5% auto; @include max-screen($breakpoint-tablet) { width: 85%; text-align: left; line-height: 2.8; } @include max-screen($breakpoint-mobile) { font-size: 0.7em; letter-spacing: 0; line-height: 2.0; } & br { @include max-screen($breakpoint-tablet) { display: none; } } } } ul.anchor { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0; list-style: none; display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; justify-content: center; align-items: center; & li { width: 31%; -webkit-justify-content: space-between; justify-content: space-between; position: relative; overflow: hidden; margin: 0.5%; display: inline-block; @include max-screen($breakpoint-mobile) { width: 48%; } } & .model_thum { position: relative; width: 100%; padding-top: 100%; overflow: hidden; margin: 0 auto; & img { object-fit: cover; width: 100%; height: 100%; cursor: pointer; position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } & .caption { font-size: 1.2em; color: #fff; position: absolute; font-family: $eng; bottom: 10%; left: 50%; transform: translateX(-50%); width: 100%; line-height: 1.0; & span { font-size: 55%; color: #fff; font-family: $ryumin; } } & .mask { width: 100%; height: 100%; position: absolute; top: 0; left: 0; right: 0; bottom: 0; opacity: 1; background-color: rgba(0, 0, 0, 0.3); -webkit-transition: all 0.2s ease; transition: all 0.2s ease; } /*メニュー画像サイズ調整*/ & .menu_03 { height: 150%; top: 40%; } & .menu_02 { top: 85%; height: 240%; width: 150%; left: 35%; } & .menu_05 { width: 130%; height: 130%; top: 50%; left: 40%; } } } h2 { font-size: 1.5em; line-height: 1.2; margin-bottom: 3%; @include max-screen($breakpoint-mobile) { font-size: 1.3em; margin-bottom: 5%; } & span { font-family: $eng; font-size: 80%; @include max-screen($breakpoint-mobile) { font-size: 85%; } } } .keyword { margin: 5% auto; max-width: 1000px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; text-align: center; width: 100%; @include max-screen($breakpoint-mobile) { align-items: flex-start; } & a { font-size: 0.8em; position: relative; margin: 0 16px; display: block; line-height: 1; @include max-screen($breakpoint-tablet) { line-height: 3.0; } @include max-screen($breakpoint-mobile) { font-size: 0.7em; } &::after { content: ""; border-left: 1px solid #3e3a39; height: 22px; position: absolute; top: 50%; transform: rotate(25deg)translateY(-50%),; right: -8px; } &:last-child { &::after { display: none; } } &:nth-child(3) { &::after { @include max-screen($breakpoint-mobile) { display: none; } } } &:hover { color: #ccc; transition: .4s; } } } .moreBtn { max-width: 170px; text-align: center; margin: 0 auto; & a { display: block; border: 1px solid #505050; background: #fff; color: #505050; font-size: .7em; padding: 0.9em 1.0em; &:hover { } } } .listStyle { & p { font-size: 0.7em; line-height: 2.5; margin:0 auto 5%; @include max-screen($breakpoint-tablet) { width: 90%; text-align: left; } & br { @include max-screen($breakpoint-tablet) { display: none; } } } .number { margin-bottom: 2%; @include max-screen($breakpoint-mobile) { margin-bottom: 5%; } & p { font-size: 2.8em; font-style: italic; font-family: $number; letter-spacing: 1px; text-align: center; margin-bottom: 1%; line-height: 1.0; display: flex; justify-content: center; align-items: center; & span { font-size: 50%; } @include max-screen($breakpoint-mobile) { font-size: 2.2em; } } } & ul.item__list { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; max-width: 900px; margin: 0 auto 7%; width: 100%; @include max-screen($breakpoint-mobile) { margin-bottom: 12%; } & li { width: 33.3%; padding: 1.5%; @include max-screen($breakpoint-mobile) { width: 50%; } & dl { font-size: 0.7em; & dd, & dt { font-size: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } } } } } /*------------------------------------- スライダー -------------------------------------*/ .coodinate { background: #f7f7f7; padding: 5% 1%; max-width: 1200px; margin: 0 auto; @include max-screen($breakpoint-mobile) { padding: 5% 0; } } .slider { margin: 4% auto 5%; position: relative; & div { padding: 0 7px; } & img { height: auto; transform: scale(.8); transition: transform .5s; width: 100%; } & .slick-center img { transform: scale(1); } &:before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); width: 65%; height: 120%; z-index: 0; } }