@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; } } //ブレイクポイントを指定------ここまで //カラー指定 $main-color: #289c4c; $sub-color: #fabe00; section { padding-bottom: 10rem; @include md { padding-bottom: 8rem; } @include sm { padding-bottom: 6rem; } } #history h3 { &::first-letter{ color: $sub-color; } } //ul-header #ul-header { .ul-img { img { @include md { object-position: 85% center; } } } } //greeting #greeting { .ceo-img { div { height: 400px; @include sm { height: 350px; margin-bottom: 2rem; } @include xs { height: 250px; margin-bottom: 1rem; } img { width: 100%; height: 100%; object-fit: cover; } } } .ceo-text { p { font-size: 15px; font-size: 1.5rem; font-feature-settings: "palt"; } div { display: flex; align-items: center; justify-content: flex-end; margin-top: 3rem; @include md { margin-top: 2rem; } @include xs { margin-top: 1rem; } p { margin-right: 2rem; } img { width: 200px; @include md { width: 180px; } @include xs { width: 150px; } } } } } //profile #profile { dl { font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif"; width: 100%; display: grid; grid-template-columns: 130px 1fr; @include md { grid-template-columns: 100px 1fr; } @include sm { grid-template-columns: 130px 1fr; } @include xs { grid-template-columns: 1fr; } dt { width: 130px; border-bottom: solid 1px rgba(40,156,76,0.6); padding: 1.5rem 0 1.5rem 1.5rem; @include md { width: 100px; padding: 1.25rem 0 1.25rem 1rem; } @include sm { width: 130px; padding: 1.25rem 0 1.25rem 1.25rem; } @include xs { width: 100%; padding: 0 1rem; } } dd { border-bottom: solid 1px rgba(200,200,200,0.6); padding: 1.5rem 0 1.5rem 1.5rem; @include md { padding: 1.25rem 0 1.25rem 1rem; } @include sm { padding: 1.25rem 0 1.25rem 1.25rem; } @include xs { padding: 0.5rem 1rem; border-bottom: none; margin-bottom: 1.5rem; } div { display: flex; flex-wrap: nowrap; @include md { flex-wrap: wrap; } p { margin-right: 1em; margin-bottom: 0; line-height: 1.8; } } } } } //history #history { dl { font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif"; width: 100%; display: grid; grid-template-columns: 160px 1fr; @include md { margin-bottom: 2rem; } @include xs { grid-template-columns: 1fr; } dt { width: 160px; border-bottom: solid 1px rgba(250,190,0,0.6); padding: 1.25rem 0 1.25rem 1.5rem; @include xs { width: 100%; padding: 0 1rem; } } dd { border-bottom: solid 1px rgba(200,200,200,0.6); padding: 1.25rem 0 1.25rem 1.5rem; @include xs { padding: 0.5rem 1rem; border-bottom: none; margin-bottom: 1.5rem; } } } figure { &>div { @include md { display: flex; } @include xs { flex-wrap: wrap; } img { margin-bottom: 1rem; @include md { width: 50%; } @include xs { width: 100%; } } } figcaption { font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif"; text-align: center; font-size: 14px; font-size: 1.4rem; color: #4d4d4d; } } } //plant #plant { .row { margin: 0 -4rem; @include lg { margin: 0 -3rem; } @include md { margin: 0 -2rem; } &>div { padding: 0 4rem; margin-bottom: 6rem; @include lg { padding: 0 3rem; } @include md { padding: 0 2rem; } @include sm { margin-bottom: 3rem; } } } .plant-img { height: 265px; overflow: hidden; margin-bottom: 1.5rem; @include md { height: 200px; margin-bottom: 1rem; } @include sm { height: 250px; margin-bottom: 1rem; } @include xs { height: 200px; } img { width: 100%; height: 100%; object-fit: cover; } } dl { font-size: 14px; font-size: 1.4rem; letter-spacing: 0.04em; line-height: 1.75; .tel-fax { display: flex; flex-wrap: wrap; gap: 1em; a { color: #333; } } } }