@charset "utf-8"; @import "foundation/_setting.scss"; //========================================================================== //torituke.scss //========================================================================== .index { &__tool_pipe { padding: 50px 0 120px; background-color: #fff; @include smMax { padding: sm_vw(50) 0 sm_vw(180); } } &__ttl01 { margin-bottom: 20px; font-weight: 500; @include smMax { margin-bottom: sm_vw(40); } } &__ttl02 { margin-bottom: 20px; font-size: 20px; font-weight: 500; @include smMax { margin-bottom: sm_vw(30); line-height: 1.2; font-size: sm_vw(32); } .is-necessary { position: relative; top: -2px; margin-left: 5px; padding: 2px 6px 4px 6px; display: inline-block; font-size: 12px; color: #fff; line-height: 1; border-radius: 2px; background-color: $colorRed03; @include smMax { top: sm_vw(-2); margin-left: sm_vw(8); padding: sm_vw(6) sm_vw(12) sm_vw(6) sm_vw(12); font-size: sm_vw(20); } } .is-any { position: relative; top: -2px; margin-left: 5px; padding: 2px 6px 4px 6px; display: inline-block; font-size: 12px; color: #fff; line-height: 1; border-radius: 2px; background-color: #999; @include smMax { top: sm_vw(-2); margin-left: sm_vw(8); padding: sm_vw(6) sm_vw(12) sm_vw(6) sm_vw(12); font-size: sm_vw(20); } } + p { @include mdMin { position: absolute; top: 5px; right: 0; } @include mdMax { margin-bottom: 20px; } @include smMax { font-size: sm_vw(24); margin-bottom: sm_vw(40); } } } &__ttl03 { margin-bottom: 10px; font-size: 24px; font-weight: 500; @include smMax { margin-bottom: sm_vw(30); line-height: 1.2; font-size: sm_vw(32); } } &__searchBox { position: relative; &__list01 { display: flex; flex-wrap: wrap; @include smMin { margin: 0 -15px; } @include smMax { display: block; } li { @include smMin { width: calc(100% / 3); padding: 0 15px; &:nth-child(n+4) { margin-top: 30px; } } @include smMax { margin-right: 0; width: 100%; &:nth-child(n+2) { margin-top: sm_vw(30); } } .cat { height: 30px; font-size: 16px; font-weight: 500; color: #222; @include smMax { font-size: sm_vw(32); height: sm_vw(56); } } &.btn { margin-top: 30px; @include smMax { margin-top: sm_vw(60); .c-btn-01 { height: sm_vw(100); border-radius: sm_vw(50); } } } } } &__wrap { display: flex; flex-wrap: wrap; justify-content: center; @include smMax { display: block; } } &__imageBox { width: 520px; @include smMax { width: 100%; } } &__txtBox { @include smMin { @media screen and (min-width: 1121px) { flex: 1; padding-left: 40px; } @media screen and (max-width: 1120px) { padding-left: 0; margin-top: 40px; width: 560px; } } @include smMax { margin-top: sm_vw(60); padding-left: 0; } } &__list02 { li { display: flex; @include smMax { display: block; } + li { margin-top: 20px; @include smMax { margin-top: sm_vw(40); } } .ttl { flex: 1; padding-right: 15px; margin-top: 5px; @include smMax { margin-top: 0; padding-right: 0; } .num { display: inline-block; padding-top: 0.2em; width: 30px; height: 30px; font-size: 20px; font-weight: 500; line-height: 1; color: #fff; background-color: #666; text-align: center; vertical-align: middle; @include smMax { width: sm_vw(40); height: sm_vw(40); font-size: sm_vw(30); padding-top: 0.12em; } } .txt { display: inline-block; margin-left: 10px; font-size: 15px; font-weight: 500; vertical-align: middle; line-height: 1.33; @include smMax { margin-left: sm_vw(16); font-size: sm_vw(28); } sup { font-size: 10px; vertical-align: top; color: $colorRed03; @include smMax { font-size: sm_vw(20); } } small { font-size: 12px; font-weight: 400; color: #666; @include smMax { margin-left: sm_vw(10); font-size: sm_vw(22); } } b { color: #e60013; display: block; font-size: 12px; } } } .inputArea { position: relative; display: block; width: 260px; padding-right: 35px; @include smMax { margin-top: sm_vw(20); padding-right: sm_vw(60); width: 100%; } .p-form-input { width: 100%; } .unit { position: absolute; right: 0; top: 1.5em; font-size: 14px; @include smMax { top: 2em; font-size: sm_vw(24); } } .p-form-error { margin-top: 7px; @include smMax { margin-top: sm_vw(10); } } } &:last-child { .txt { @include smMax { vertical-align: top; } } } } } &__list03 { margin-top: 24px; @include smMax { margin-top: sm_vw(30); } li { font-size: 14px; color: $colorRed03; padding-left: 3.2em; text-indent: -3.2em; @include smMax { font-size: sm_vw(24); } } } &__tabs { margin: 30px auto 0; display: flex; align-items: center; justify-content: center; width: 460px; height: 48px; border-radius: 6px; overflow: hidden; @include smMax { margin: sm_vw(30) auto 0; width: 100%; height: sm_vw(80); } li { flex: 1; height: 100%; a { display: flex; width: 100%; height: 100%; justify-content: center; align-items: center; font-size: 15px; font-weight: 500; color: #aaa; background-color: #f2f2f2; @include smMax { font-size: sm_vw(26); } @include hover { color: #fff; } &.current { color: #fff; } } &:nth-child(1) { a { @include hover { background-color: #6b7e99; } &.current { background-color: #6b7e99; } } } &:nth-child(2) { a { @include hover { background-color: #994c5e; } &.current { background-color: #994c5e; } } } } } } .index__searchBox + .index__searchBox { margin-top: 40px; @include smMax { margin-top: sm_vw(70); } } &__resultBox { &__size { display: flex; border: 2px solid $colorBlue; @include smMax { display: block; border: none; } dt { display: flex; justify-content: center; align-items: center; padding: 15px 0; width: 250px; font-size: 18px; font-weight: 500; color: #fff; background-color: $colorBlue; @include smMax { width: 100%; padding: sm_vw(30) 0; font-size: sm_vw(30); } span { display: inline-block; margin-right: 10px; padding-top: 0.2em; width: 30px; height: 30px; font-size: 20px; font-weight: 500; line-height: 1; color: $colorBlue; background-color: #fff; text-align: center; vertical-align: middle; @include smMax { width: sm_vw(40); height: sm_vw(40); font-size: sm_vw(30); padding-top: 0.12em; } } } dd { display: flex; padding: 15px 30px; @include smMax { display: block; padding: sm_vw(30) sm_vw(40) sm_vw(30); border: 1px solid $colorBlue; } .num { position: relative; padding-right: 40px; margin-right: 30px; font-size: 28px; font-weight: 500; @include smMin { display: flex; align-items: center; } @include smMax { padding-right: 0; margin-right: 0; text-align: center; } .unit { position: absolute; right: 0; top: 1.2em; font-size: 18px; @include smMax { position: relative; top: 0; margin-left: sm_vw(8); font-size: sm_vw(24); } } } .fail { margin-right: 30px; font-size: 23px; font-weight: 500; color: #e60013; @include smMin { display: flex; align-items: center; } @include smMax { padding-right: 0; margin-right: 0; text-align: center; } } .caution { flex: 1; @include smMax { margin-top: sm_vw(25); font-size: sm_vw(24); } li { font-size: 14px; font-weight: 500; color: $colorRed03; text-indent: -1em; padding-left: 1em; @include smMax { font-size: sm_vw(24); } } } } } &__wrap01 { margin: 40px 0; display: flex; @include smMax { margin: sm_vw(60) 0; display: block; } .table01 { width: 520px; margin-right: 40px; @include smMax { width: 100%; margin: 0 0 sm_vw(60); } &:last-child { margin-right: 0; @include smMax { margin: 0; } } th { text-align: center; border-bottom: 1px solid $colorBorder; border-right: 1px solid $colorBorder; &:last-child { border-right: none; } &.th01 { padding: 17px 0; font-size: 18px; font-weight: 500; color: #fff; @include smMax { padding: sm_vw(26) 0; font-size: sm_vw(28); } } &.th02 { padding: 13px 0; font-size: 15px; font-weight: 500; width: 50%; @include smMax { padding: sm_vw(16) 0; font-size: sm_vw(26); } } } td { text-align: center; padding: 13px 0; font-size: 14px; font-weight: 400; width: 50%; border-bottom: 1px solid $colorBorder; border-right: 1px solid $colorBorder; @include smMax { padding: sm_vw(16) 0; font-size: sm_vw(26); } &:last-child { border-right: none; } } &.is-blue { th { &.th01 { background-color: #5c7599; } &.th02 { background-color: #dee3eb; } } tr:nth-child(even) { td { background-color: #f7f8fa; } } } &.is-red { th { &.th01 { background-color: #994d5e; } &.th02 { background-color: #ebdbdf; } } tr:nth-child(even) { td { background-color: #faf6f7; } } } } } &__btn01 { margin: 50px auto 0; width: 520px; @include smMax { margin-top: sm_vw(60); width: 100%; } } &__wrap02 { margin: 80px 0 50px; display: flex; @include smMax { display: block; margin: sm_vw(100) 0 sm_vw(70); } } &__imageBox { @include smMin { .tabsOuter { display: flex; .tabsInner { position: relative !important; opacity: 1 !important; width: calc(100% / 2); &:nth-child(odd) { padding-right: 20px; } &:nth-child(even) { padding-left: 20px; } } } } @include smMax { width: 100%; } .caption { margin-top: 10px; font-size: 15px; font-weight: 500; text-align: center; @include smMax { display: none; } &.is-blue { color: $colorBlue; } &.is-red { color: #9a0025; } } } &__current { padding: 30px 50px; border: 1px solid $colorBorder; @include smMax { padding: sm_vw(30) sm_vw(40) sm_vw(40) sm_vw(40); } .caution { margin-top: 15px; @include smMax { margin-top: sm_vw(20); } li { font-size: 14px; font-weight: 500; color: #e60013; text-indent: -1em; padding-left: 1em; @include smMax { font-size: 3.2vw; } } } } &__list01 { .txt { position: relative; display: inline-block; font-size: 14px; @include smMin { &::after { content: "|"; margin: 0 15px 0 20px; } &:last-child { &::after { display: none; } } } @include smMax { margin-top: sm_vw(10); display: block; font-size: sm_vw(26); } .ttl { font-weight: 500; &::after { content: ":"; } } .name { color: #666; } &.is-wide { display: flex; @include smMax { margin: sm_vw(30) 0; display: block; } &::after { display: none; } .name { flex: 1; @include smMax { display: block; } } } } } &__list02 { display: inline-block; margin-top: 20px; @include smMax { margin-top: sm_vw(20); } li { position: relative; padding-right: 40px; @include smMax { padding-right: 0; font-size: sm_vw(26); } &::before { content: ""; position: absolute; bottom: 50%; left: 0; transform: translateY(50%); width: 100%; height: 1px; background-color: $colorBorder; @include smMax { display: none; } } .txt { position: relative; padding-right: 10px; background-color: #fff; @include smMax { padding-right: 0; } } .unit { position: absolute; top: 0; left: calc(100% + 10px); display: block; width: 100%; background-color: #fff; @include smMax { position: relative; left: 0; color: #666; } &.fail { color: #e60013; font-weight: bold; } } + li { margin-top: 5px; } } } &__tabs { margin: 30px auto 0; display: flex; align-items: center; justify-content: center; width: 460px; height: 48px; border-radius: 6px; overflow: hidden; @include smMin { display: none; } @include smMax { margin: sm_vw(30) auto 0; width: 100%; height: sm_vw(80); } li { flex: 1; height: 100%; a { display: flex; width: 100%; height: 100%; justify-content: center; align-items: center; font-size: 15px; font-weight: 500; color: #aaa; background-color: #f2f2f2; @include smMax { font-size: sm_vw(26); } @include hover { color: #fff; } &.current { color: #fff; } } &:nth-child(1) { a { @include hover { background-color: #6b7e99; } &.current { background-color: #6b7e99; } } } &:nth-child(2) { a { @include hover { background-color: #994c5e; } &.current { background-color: #994c5e; } } } } } } .index__searchBox + .index__searchBox { margin-top: 40px; @include smMax { margin-top: sm_vw(70); } } .tabsOuter { position: relative; overflow: hidden; } .tabsInner { position: absolute; width: 100%; top: 0; left: 0; opacity: 0; z-index: 1; @include transition; &.active { position: relative; opacity: 1; z-index: 2; } } .btnConfirm { margin-top: 60px; width: 520px; @include smMax { margin-top: sm_vw(40); width: 100%; } } .btnBack { margin-top: 60px; width: 520px; @include smMax { margin-top: sm_vw(50); width: 100%; } } }