@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: #8C2126; $sub-color: #C79E82; //全体のカラー設定(一括)----ここまで #header-img + div{ p{ text-align: justify; } } //worries---------------------------------------------ここから #worries{ margin-top: 8rem; h3{ border: none; padding: 0; text-align: center; color: #007193; font-size: 30px; font-size: 3rem; @include xs { font-size: 23px; font-size: 2.3rem; } } dl{ background-color: #fff; text-align: center; padding: 5rem 6rem; margin-top: -2rem; @include xs { padding: 3rem 2rem 1rem; } dd{ h4{ background-color: #007193; display: block; color: #fff; border-radius: 5rem; font-weight: 500; font-size: 23px; font-size: 2.3rem; padding: 1rem; margin: 5rem 0 3rem; @include md { margin: 3rem 0; } @include xs { font-size: 20px; font-size: 2rem; padding: 0.5rem; margin: 2rem 0 1rem; } } ul{ li{ border-right: 1px solid #007193; padding: 0 2rem; @include xs { border-right: none; padding: 1rem 2rem; } h5{ font-weight: bold; color: #007193; text-align: left; font-size: 18px; font-size: 1.8rem; @include md { margin-bottom: 1rem; } } p{ text-align: justify; margin: 0; @include md { line-height: inherit; } } &:last-child{ border-right: none; padding-right: 0; @include xs { padding: 1rem 2rem; } } &:first-child{ padding-left: 0; @include xs { padding: 1rem 2rem; } } } } } } } //cellulose-fiber--------------------------------------ここから #cellulose-fiber{ padding-bottom: 8rem; .cf-title{ text-align: center; p:nth-child(1){ display: block; font-size: 36px; font-size: 3.6rem; font-weight:bold; color: $main-color; position: relative; padding: 2rem 0 2.5rem; margin: 0; @include lg { font-size: 30px; font-size: 3rem; } @include xs { font-size: 25px; font-size: 2.5rem; line-height: normal; padding: 0 0 1.5rem; } span{ font-size: 78px; font-size: 7.8rem; @include lg { font-size: 70px; font-size: 7rem; } @include xs { font-size: 60px; font-size: 6rem; } } &::after{ content: ''; position: absolute; bottom: 0; margin-left: 4rem; display: inline-block; width: 180px; height: 125px; background-image: url("../img/cellulose-right.svg"); background-size: contain; background-repeat: no-repeat; background-position: bottom center; vertical-align: middle; @include lg { margin-left: 0; } @include md { display: none; } } & + p{ font-weight:500; font-size: 30px; font-size: 3rem; background-color: $main-color; letter-spacing: 2px; padding: 2rem 0 2.5rem; color: #fff; @include lg { font-size: 25px; font-size: 2.5rem; padding: 1.5rem 0 2rem; } @include sm { font-size: 20px; font-size: 2rem; padding: 1rem 0; } } } } div.container{ div.row{ margin-top: 5rem; @include md { margin-top: 3rem; } h3{ padding: 0; border: none; line-height: normal; @include sm { font-size: 23px; font-size: 2.3rem; } @include xs { font-size: 20px; font-size: 2rem; margin-bottom: 1rem; } } p{ text-align: justify; line-height: 3.5rem; @include sm { line-height: 2; } } } } dl{ margin-top: 5rem; @include xs { margin-top: 3rem; } dt{ font-weight:500; font-size: 30px; font-size: 3rem; background-color: $main-color; letter-spacing: 2px; padding: 1.5rem 0 2rem; color: #fff; text-align: center; @include lg { font-size: 25px; font-size: 2.5rem; padding: 1rem 0 1.5rem; } @include xs { font-size: 16px; font-size: 1.6rem; padding: 0.5rem; } } dd{ background-color: #fff; padding: 2rem 0; @include sm { padding: 2rem; } li{ padding: 2rem 5rem; @include sm { padding: 2rem; } @include xs { padding: 1.5rem 1rem; } h4{ font-size: 20px; font-size: 2rem; font-weight:bold; color: $main-color; margin-bottom: 0.5rem; svg{ margin-right: 0.5rem; } } p{ text-align: justify; margin-bottom: 0; } } } } } //merit-----------------------------------------------ここから #merit{ margin-bottom: 6rem; @include sm { margin-bottom: 4rem; } h3{ text-align: center; border: none; position: relative; padding: 0; &::before{ content: ''; position: absolute; bottom: -40%; left: 0; display: inline-block; width: 180px; height: 125px; background-image: url("../img/merit-left.svg"); background-size: contain; background-repeat: no-repeat; background-position: bottom center; vertical-align: middle; @include lg { left: -5%; } @include md { display: none; } } &::after{ content: ''; position: absolute; bottom: -40%; right: 0; display: inline-block; width: 180px; height: 125px; background-image: url("../img/merit-right.svg"); background-size: contain; background-repeat: no-repeat; background-position: bottom center; vertical-align: middle; @include lg { right: -5%; } @include md { display: none; } } } ul{ margin-top: 2rem; li{ padding-top: 0.75rem; padding-bottom: 0.75rem; dl{ border-radius: 1rem; background-color: #fff; padding: 2rem 3rem 0.5rem; margin-bottom: 1.5rem; height: 100%; dt{ display: flex; align-items: center; img{ width: 100%; @include xs { width: 310px; } } } dd{ padding-left: 2rem; h4{ font-size: 20px; font-size: 2rem; font-weight: 600; margin-bottom: 1rem; color: $main-color; } p{ text-align: justify; margin: 0; line-height: 3rem; @include md { line-height: 2; } } } } } } } //fukikomi--------------------------------------------ここから #fukikomi{ dl{ margin-bottom: 4rem; dt{ padding-right: 5rem; @include xs { padding-right: 0; } h3{ border: none; padding: 0; margin-bottom: 3rem; @include xs { margin-bottom: 2rem; } } p{ text-align: justify; line-height: 3.5rem; font-weight: normal; @include md { line-height: 2; } } } dd{ @include xs { margin-top: 1rem; } img{ width: 100%; & + img{ margin-left: 1rem; } } div.d-flex{ @include lg { overflow: hidden; justify-content: center; } div{ width: 50%; p{ font-size: 14px; font-size: 1.4rem; text-align: center; line-height: normal; margin-top: 0.5rem; } & + div{ margin-left: 1rem; } } } } } }