@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; } } //ブレイクポイントを指定------ここまで //メインカラー指定 $color-pink: #ed848b; $color-blue: #007ac5; $color-yellow: #fff2cb; $color-orange: #f8ad4e; //表共通--------------------------------------- table{ width: 90%; margin: auto; margin-bottom: 3rem; margin-top: 1rem; tr{ border-top: 1px dotted #979797; th{ font-weight: normal; background: #FFF2D0; padding: 1rem; text-align: center; @include xs { width: 100%; display: block; } } td{ padding: 1rem; line-height: 1.5em; @include xs { width: 100%; display: block; } span{ font-size: 18px; font-size: 1.8rem; font-weight: 500; margin-left: 1em; } } } tr:last-child{ border-bottom: 1px dotted #979797; } } //フレーム共通--------------------------------------- .frame { background-color: #FFFFFF; border: solid 1px $color-pink; margin-bottom: 2rem; } .inner { width: 90%; margin: auto; padding-top: 2rem; @include sm { padding-top: 2rem; } @include xs { padding-left: 0.5rem; padding-right: 0.5rem; } } //見出し共通--------------------------------------- h3 { display: block; color: $color-pink; font-size: 20px; font-size: 2rem; font-weight: 500; border-bottom: 1px dotted $color-pink; padding-bottom: 1rem; margin-bottom: 1rem; } h4 { font-size: 18px; font-size: 1.8rem; color: $color-blue; font-weight: 500; &:before{ font-family: "Font Awesome 5 Free"; content: "\f138"; font-weight: 900; padding: 10px 5px 0px 10px; color: $color-blue; display: inline-block; } } //賛助会員区分と会費額------------------------------------------- #division-amount { margin-bottom: 4rem; .frame .inner{ section { table { tr { th { width: 30%; letter-spacing: 1em; @include sm { letter-spacing: 0em; } @include xs { width: 100%; display: block; } } td { padding-left: 3rem; @include sm { padding-left: 1rem; } @include xs { width: 100%; display: block; } } } } } section + section { table { tr{ th { width: 50%; letter-spacing: inherit; @include xs { width: 100%; display: block; } } td { text-align: center; @include xs { width: 100%; display: block; } } } } } } } #cooperation #donation{ margin-bottom: 4rem; @include xs { .pdf-link li:nth-child(2n) a { margin-left: 0; } .pdf-link li:nth-child(2n+1) a { margin-right: 0; } } } #donation-info{ .headline { font-size: 20px; font-size: 2rem; &::before { @include sm { height: 7rem; display: flex; align-items: center; } @include xs { height: 10rem; } } @include lg { font-size: 17px; font-size: 1.7rem; } @include md { font-size: 19px; font-size: 1.9rem; } @include sm { line-height: 2.7rem; height: 7rem; display: flex; align-items: center; } @include xs { height: 10rem; } } .inner { padding-bottom: 1.5rem; ol{ background: #EFF7FF; border-radius: 0.5rem; padding: 1rem 2rem; li{ @include xs { padding-bottom: 0.5rem; border-bottom: 1px dotted; margin-bottom: 0.5rem; } dl{ display: flex; align-items: center; width: 100%; margin: 0; @include xs { display: block; } dt{ width: 60%; text-align: left; font-weight: normal; display: flex; align-items: center; justify-content: space-between; text-indent: -1em; padding-left: 1em; @include xs { width: 100%; display: block; } &:after{ content: ""; border-top: 2.5px dotted; margin-right: 1rem; width: 30%; @include lg { width: 10%; } @include sm { width: 20%; margin-left: 1em; } @include xs { display: none; } } } dd{ width: 45%; margin: 0; @include lg { width: 60%; } @include sm { width: 50%; } @include xs { display: block; width: 100%; padding-left: 2.2em; text-indent: -0.7em; } &:before{ @include xs { content: "・・・"; display: inline-block; } } } } } li:last-child{ @include xs { border-bottom: none; } } } } }