@charset "UTF-8"; /* CSS Document */ //ブレイクポイントを指定------ここから $xl: 1399px; $lg: 1199px; $md: 991px; $sm: 767px; $xs: 575px; @mixin xl { @media screen and (max-width: ($xl)) { @content; } } @mixin lg { @media screen and (max-width: ($lg)) { @content; } } @mixin md { @media screen and (max-width: ($md)) { @content; } } @mixin sm { @media screen and (max-width: ($sm)) { @content; } } @mixin xs { @media screen and (max-width: ($xs)) { @content; } } //ブレイクポイントを指定------ここまで $bright-color: #b20404; $dark-color: #602121; #ul-top { background-image: url("../img/ul-top-about.jpg"); background-repeat: no-repeat; background-size: cover; background-position: center center; position: relative; height: 176px; } //greetings #greetings { background-color: #f7f1e8; padding: 8rem 0 15rem; position: relative; @include lg { padding: 7rem 0 13rem; } @include md { padding: 6rem 0 12rem; } @include sm { padding: 6rem 0 10rem; } @include xs { padding: 6rem 0 7rem; } .bg-logo { position: absolute; bottom: 8%; left: -1%; width: 74%; @include lg { bottom: 9%; left: -1.5%; } @include sm { bottom: 5%; } @include sm { bottom: 4%; width: 85%; } } .greet-box { h3 { margin-bottom: 1rem; @include lg { font-size: 24px; font-size: 2.4rem; } } p { text-align: justify; line-height: 2; font-size: 16px; font-size: 1.6rem; @include lg { line-height: 1.7; } @include md { line-height: 1.5; } } &:first-child { background-image: url("../img/about-greetings-1.jpg"); background-size: cover; background-repeat: no-repeat; background-position: center center; @include sm { height: 300px; } @include xs { height: 250px; } } &:nth-child(2) { padding: 6rem; @include lg { padding: 5rem; } @include md { padding: 3rem; } @include xs { padding: 2rem 1rem; } } // &:last-child { // background-image: url("../img/about-greetings-2.jpg"); // background-size: cover; // background-repeat: no-repeat; // background-position: center center; // } } } //feature #feature { margin-bottom: 8rem; @include sm { margin-bottom: 3rem; } .container { max-width: 1400px; padding: 0; } .feature-box { position: relative; height: 430px; @include xl { height: 380px; } @include lg { height: 340px; } @include md { height: 260px; } @include sm { height: 300px; } @include xs { height: 250px; } &:first-child { background-image: url("../img/about-feature-1.jpg"); background-size: cover; background-repeat: no-repeat; background-position: center center; } &:last-child { background-image: url("../img/about-feature-2.jpg"); background-size: cover; background-repeat: no-repeat; background-position: center center; } .vertical { writing-mode: vertical-rl; margin: 4rem 13rem; text-align: justify; @include xl { margin: 4rem 10rem; } @include lg { margin: 2rem 6rem; } @include md { margin: 2rem 4rem; } @include sm { writing-mode: inherit; margin: 2em; } @include xs { margin: 2em; } h3 { font-size: 28px; font-size: 2.8rem; font-weight: bold; letter-spacing: 0.05em; @include md { margin: 0 2rem; font-size: 24px; font-size: 2.4rem; letter-spacing: 0; } @include sm { margin: 1.5rem 0; letter-spacing: 0.05em; } @include xs { font-size: 22px; font-size: 2.2rem; } } p { line-height: 2; margin-bottom: 0; } } &:nth-child(2) { @include sm { height: auto; } .vertical { position: absolute; left: 0; @include sm { position: inherit; left: auto; } } } &:nth-child(3) { @include sm { height: auto; } .vertical { position: absolute; right: 0; @include sm { position: inherit; right: auto; } } } } } //info #info { width: 75%; margin: 0 auto 6rem; @include md { width: 85%; } @include xs { width: 100%; } .container { h2 { margin-bottom: 4rem; } dl { display: flex; flex-wrap: wrap; font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS ゴシック", sans-serif; font-family: 'Noto Sans JP'; line-height: 1; font-size: 14px; font-size: 1.4rem; width: 80%; margin: 0 auto 3rem; @include lg { width: 90%; } @include sm { width: 100%; } @include xs { line-height: 1.4; } dt { border-bottom: solid 1px rgba(178,4,4,0.5); width: 20%; font-weight: 400; padding: 0 0 1.5rem 2rem; margin-bottom: 2.2rem; @include xs { width: 25%; padding: 0 0 1rem 1rem; margin-bottom: 1.5rem; } } dd { border-bottom: solid 1px rgba(146,146,146,0.5); width: 80%; font-weight: 400; padding: 0 0 1.5rem 2rem; margin-bottom: 2.2rem; @include xs { width: 75%; padding: 0 0 1rem 1rem; margin-bottom: 1.5rem; } } } img { border: solid 2px #fff; } } }