// Scss Document /*-------------------- 共通設定 ----------------------*/ $eng:adobe-garamond-pro, serif; $s_eng:mr-eaves-modern, sans-serif; $breakpoint-notepad: 1500px; $breakpoint-tablet: 800px; $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; color: #888888; font-size: 16px; } img { width: 100%; } a { text-decoration: none; &.disabled { pointer-events: none; text-decoration: 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 .8s; } body { overflow-x: hidden; } .footer_copy { text-align: center; margin-bottom: 50px; & p { font-size: 0.7em; } } #global-nav { width: 100%; opacity: 0; text-align: center; height: 50px; background: rgba(255,255,255,0.8); position: relative; & a { max-width: 300px; & img { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); max-width: 180px; @include max-screen($breakpoint-mobile) { max-width: 120px; } } } &.m_fixed { opacity: 1; position: fixed; top: 0; z-index: 9999; transition: all .5s; } } /*--------------------------------------------*/ .mv { margin: 0 auto 10%; } section { margin: 0 auto 10%; max-width: 980px; @include max-screen($breakpoint-notepad) { width: 98%; } &.space { padding-top: 10%; @include max-screen($breakpoint-mobile) { padding-top: 25%; } } } .main-txt { text-align: center; & h1 { font-family: $eng; font-size: 1.8em; line-height: 1.2; letter-spacing: 0.2em; margin-bottom: 3%; & span { font-family: $s_eng; font-size: 50%; } } & p { font-size: 0.7em; line-height: 2.8; @include max-screen($breakpoint-mobile) { font-size: 0.6em; } } } .colormap { max-width: 865px; margin: 0 auto; } .color-img { position: relative; margin-bottom: 7%; & .colorImage { margin-top: 7%; max-width: 630px; @include max-screen($breakpoint-tablet) { width: 63%; } } & .color_name { position: absolute; max-width: 420px; top: 0; right: 0; @include max-screen($breakpoint-tablet) { width: 45%; } } } .color-img-2 { position: relative; margin-bottom: 7%; text-align: right; & .colorImage { margin-top: 7%; max-width: 630px; @include max-screen($breakpoint-tablet) { width: 63%; } } & .color_name { position: absolute; max-width: 420px; top: 0; left: 0; @include max-screen($breakpoint-tablet) { width: 45%; } } } .color-itemList { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; width: 100%; & div { width: 33.3%; padding: 1%; & img { max-width: 310px; } } }