////////// mixin $breakpoints: ( "m": "screen and (max-width: 690px)", "pc": "screen and (min-width: 691px)", ) !default; @mixin mq($breakpoint: m) { @media #{map-get($breakpoints, $breakpoint)} { @content; } } @function _get_vw($size, $viewport: 375) { $rate: calc(100 / $viewport); @return $rate * $size * 1vw; } @mixin font-vw($font_size: 10, $viewsize: 375) { font-size: $font_size * 1px; font-size: _get_vw($font_size, $viewsize); } ////////// color $col-ora: #ea6119; ////////// common br.activeSmp { @include mq(pc) { display: none; } } ////////// #mainbox { @include mq(m) { padding: 0 20px; } } .el_btn { font-family: "F+UD-ニューロダン DB"; display: flex; justify-content: center; align-items: center; font-weight: bold; text-align: center; color: #fff !important; border-radius: 100vh; background: $col-ora; border: 1px solid $col-ora; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); transition: all 0.4s ease; position: relative; box-sizing: border-box; &::after { display: block; content: url(../img/products/lineup/komeko/komeko_arr_wh.svg); position: absolute; top: 50%; transform: translateY(-50%); right: 24px; line-height: 0; } &:hover { background: #fff; color: $col-ora !important; &::after { content: url(../img/products/lineup/komeko/komeko_arr_or.svg); } } } .un_komeko_recipe { margin-bottom: 74px; @include mq(m) { padding: 0 15px; margin-bottom: 50px; } &__lead { display: flex; justify-content: center; align-items: center; gap: 15px; font-weight: bold; line-height: 1.4; text-align: center; margin-bottom: 20px; @include mq(m) { align-items: flex-end; font-size: 18px; } &::before, &::after { display: block; line-height: 0; position: relative; } &::before { content: url(../img/products/lineup/komeko/komeko_ico_01.svg); } &::after { content: url(../img/products/lineup/komeko/komeko_ico_02.svg); bottom: -2px; } } &__btn { width: 100%; max-width: 500px; margin: 0 auto; a { font-size: 20px; min-height: 60px; @include mq(m) { @include font-vw(18, 410); min-height: 56px; } } } } .un_komeko_outline { background: #f9f7eb; padding: 50px 75px; border-radius: 40px; margin-bottom: 60px; box-sizing: border-box; @include mq(m) { width: 100vw; margin: 0 calc(50% - 50vw) 40px; padding: 9.7vw 10.9vw; } &__hl { margin-bottom: -28px; position: relative; z-index: +1; @include mq(m) { margin-bottom: 15px; } .__ttl { width: 100%; max-width: 390px; margin: 0 auto 30px; @include mq(m) { width: 77vw; margin-bottom: 20px; } } .__lead { width: 100%; max-width: 296px; margin: 0 auto; @include mq(m) { width: 59vw; } } } &__cont { display: flex; justify-content: center; gap: 25px; margin: 50px; @include mq(m) { flex-direction: column; align-items: center; gap: 0; margin: 0 auto 10px; } dl { background-image: url(../img/products/lineup/komeko/komeko_bg_rice.png); background-repeat: no-repeat; background-position: center; background-size: contain; aspect-ratio: 554 / 833; height: 420px; padding: 72px 40px 40px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 10px; @include mq(m) { padding: 0 35px; justify-content: center; } dt { display: flex; flex-direction: column; align-items: center; gap: 12px; @include mq(m) { } figure { img { height: 74px; width: auto; @include mq(m) { height: auto; } } } p { display: flex; justify-content: center; align-items: center; min-height: 2.8em; margin: 0; font-size: 20px; font-weight: bold; color: $col-ora; line-height: 1.4; @include mq(m) { min-height: unset; } } } dd { p { margin: 0; font-weight: bold; line-height: 1.57; @include mq(m) { } } &.__toRecipe { @include mq(m) { } p { display: flex; justify-content: center; align-items: center; gap: 14px; position: relative; margin-bottom: 3px; @include mq(m) { } &::before, &::after { display: block; content: ""; background: #000; width: 1px; height: 20px; @include mq(m) { } } &::before { transform: rotate(-30deg); } &::after { transform: rotate(30deg); } } a { justify-content: unset; padding-left: 40px; font-size: 16px; width: 230px; min-height: 40px; position: relative; left: -6px; @include mq(m) { // width: 230px; margin: 0 calc(50% - 115px); @include font-vw(16, 410); } &::after { right: 16px; @include mq(m) { } } } } } } } &__points { display: flex; flex-direction: column; gap: 50px; @include mq(m) { width: 90vw; margin: 0 calc(50% - 45vw); } dl { position: relative; @include mq(m) { } &::before { display: block; content: ""; position: absolute; z-index: 100; top: -26px; left: -38px; width: 83px; aspect-ratio: 168 / 173; background-image: url(../img/products/lineup/komeko/komeko_img_point.png); background-repeat: no-repeat; background-size: contain; @include mq(m) { top: -28px; left: -9px; } } dt { display: flex; justify-content: center; align-items: center; font-weight: bold; font-size: 20px; color: $col-ora; line-height: 1.3; background: #fff; border: 2px solid $col-ora; border-radius: 10px; height: 70px; position: relative; margin-bottom: 10px; @include mq(m) { font-size: 18px; } &::before, &::after { display: block; content: ""; position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-style: solid; border-width: 15px 15px 0 15px; @include mq(m) { } } &::before { border-color: $col-ora transparent transparent transparent; } &::after { border-color: #fff transparent transparent transparent; z-index: +1; bottom: -13px; } } dd { background: #fff; border-radius: 20px; padding: 30px 40px 40px; @include mq(m) { padding: 25px 15px 35px; } table.__chigai { border-collapse: unset; border-spacing: 3px; @include mq(m) { } thead, tbody { th, td { line-height: 1.28; @include mq(m) { } &:nth-child(1) { width: 90px; border-right: 3px solid #fff; @include mq(m) { width: 19vw; } } &:nth-child(2), &:nth-child(3) { width: 170px; @include mq(m) { width: 31.2vw; } } } } thead { th { font-size: 16px; color: #fff; text-align: center; vertical-align: middle; border-radius: 5px; height: 30px; padding: 0 0.1em; @include mq(m) { } &:nth-child(1) { } &:nth-child(2) { font-weight: bold; background: $col-ora; @include mq(m) { } } &:nth-child(3) { background: #b4b4b4; } } } tbody { th, td { padding: 15px 0.1em; text-align: center; vertical-align: middle; @include mq(m) { font-size: 14px; } } th { background: #f0f0f0; white-space: nowrap; } td { &:nth-child(2) { color: $col-ora; font-weight: bold; background: rgba(234, 97, 25, 0.08); } &:nth-child(3) { background: #f9f7eb; } } tr { &:nth-child(1) { th, td { border-top: 3px solid #fff; } } } } } p.__jikyuritsu { background: rgba(234, 97, 25, 0.08); padding: 30px 40px; color: $col-ora; font-weight: bold; text-align: center; line-height: 1.8; @include mq(m) { padding: 20px 15px; line-height: 1.7; } br.activeSmp { @media screen and (min-width: 800px) and (max-width: 990px) { display: block !important; } } } } } } } .un_komeko_miryoku { width: 100%; aspect-ratio: 670 / 540; background-image: url(../img/products/lineup/komeko/komeko_bg_miryoku.png); background-repeat: no-repeat; background-size: contain; position: relative; @include mq(m) { aspect-ratio: 370 / 340; background-image: url(../img/products/lineup/komeko/komeko_bg_miryoku_smp.png); } &__btn { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: calc(100% - (85px * 2)); @include mq(m) { bottom: 20px; width: calc(100% - (15px * 2)); } .el_btn { border-radius: 100vh; background: #000; border: 1px solid #000; font-size: 20px; min-height: 60px; text-align: left; @include mq(m) { @include font-vw(16, 410); justify-content: unset; padding-left: 34px; } br { @media screen and (min-width: 409px) { display: none; } } &:hover { background: #fff; color: #000 !important; &::after { content: url(../img/products/lineup/komeko/komeko_arr_bl.svg); } } } } } // @media screen and (max-width: 480px) {} // @media screen and (max-width: 640px) {} // @media screen and (max-width: 690px) {} // @media screen and (max-width: 800px) {} // @media screen and (max-width: 960px) {} // @media screen and (max-width: 990px) {}