@charset "utf-8"; $defalt-font-color: #444; html { font-size: 62.5%; } body { font-family: "Noto Sans JP","ヒラギノ角ゴ Pro","Hiragino Kaku Gothic Pro","游ゴシック体","Yu Gothic",YuGothic,"メイリオ","Meiryo","Roboto",sans-serif; font-weight: 400; font-style: normal; font-size: 1.6rem; line-height: 1.875; color: $defalt-font-color; font-feature-settings: "palt"; letter-spacing: 0.05em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; @media screen and (max-width: 1080px){ font-size: 1.4rem; } } /* :::::::::::::::::::::::::: tag ::::::::::::::::::::::::: */ section { padding: 60px 0; } @media screen and (max-width: 820px) { section { padding: 40px 0; } } a { color: $defalt-font-color; cursor: pointer; transition: 1s; &:hover{ opacity: 0.8; } } img { max-width: 100%; height: auto; } /* :::::::::::::::::::::::::: class ::::::::::::::::::::::::: */ .inner { max-width: 1000px; margin: 0 auto; padding: 0 12px; } .inner02 { max-width: 1300px; margin: 0 auto; padding: 0 12px; } /*--- text ---*/ .text-center { text-align: center; } .text-right { text-align: right; } .text-left { text-align: left; } .text-capitalize { text-transform: capitalize; } .text-uppercase { text-transform: uppercase; } .text-bold { font-weight: bold; } .text-en { font-size: 1.4rem; } .text-lead { margin-bottom: 80px; font-family: ryo-gothic-plusn, sans-serif; font-size: 1.6rem; font-weight: 400; text-align: center; } @media screen and (max-width:768px) { .text-en { font-size: 1.3rem; } .text-lead { margin-bottom: 40px; font-size: 1.5rem; text-align: left; } } /*--- device size ---*/ .upper-452{ display: block; @media screen and (max-width: 452px){ display: none; } } .upper-420{ display: block; @media screen and (max-width: 420px){ display: none; } } .pc-s, .tb, .tb-820, .tb-740, .sp-l, .sp { display: none; } .only-pc { display: block; } @media screen and (max-width: 1280px) { .pc-s { display: block; } } @media screen and (max-width: 900px) { .only-pc { display: none; } .tb { display: block; } } @media screen and (max-width: 820px) { .tb-820 { display: block; } } @media screen and (max-width: 740px) { .tb-740 { display: block; } } @media screen and (max-width: 580px) { .sp-l { display: block; } } @media screen and (max-width: 438px) { .sp { display: block; } } /*--- flex system ---*/ .flex, .flex-2, .flex-2-reverse, .flex-3, .flex-4, .flex-5, .flex-6 { margin: 0; padding: 0; display: flex; flex-wrap: wrap; flex-direction: row; align-items: flex-start; align-content: flex-start; justify-content: space-around; } .flex-3{ justify-content: flex-start; } .flex-order-1 { order: 1; } .flex-order-2 { order: 2; } .flex-order-3 { order: 3; } .flex-order-4 { order: 4; } .flex-order-5 { order: 5; } .flex-2-reverse { flex-direction: row-reverse; } .flex-cell { margin: 0 0 4% 0; padding: 0; flex: 0 1 auto; flex-grow: 0; flex-shrink: 1; } .flex-2 .flex-cell { flex-basis: 48%; max-width: 48%; } .flex-2-reverse .flex-cell { flex-basis: 48%; max-width: 48%; } .flex-3 .flex-cell { flex-basis: 31.3333%; max-width: 31.3333%; margin-right: 2%; &:last-of-type{ margin-right: 0; } } .flex-4 .flex-cell { flex-basis: 23%; max-width: 23%; } @media screen and (max-width: 980px) { .flex-3 .flex-cell{ flex-basis: 48%; max-width: 48%; margin-right: 2%; &:nth-child(even){ margin-right: 0 } &:last-of-type{ margin-right: 0; } } .flex-4 .flex-cell { flex-basis: 48%; max-width: 48%; } } @media screen and (max-width: 768px) { .flex, .flex-2, .flex-2-reverse, .flex-3, .flex-4, .flex-5, .flex-6 { display: block; } .flex-2 .flex-cell, .flex-2-reverse .flex-cell, .flex-3 .flex-cell, .flex-4 .flex-cell { display: block; flex-basis: 100%; max-width: 100%; margin: 0 auto; } img.flex-cell{ width: 80%; } .flex-2 .flex-cell:first-of-type, .flex-2-reverse .flex-cell:first-of-type { margin-bottom: 20px; } .flex-3 .flex-cell:nth-of-type(-n+2) { margin-bottom: 20px; } .flex-3 .flex-cell:last-of-type{ margin-bottom: 40px; } .flex-4 .flex-cell:nth-of-type(-n+3) { margin-bottom: 20px; } } @media screen and (max-width: 480px) { img.flex-cell{ width: 100%; } } /*--- 余白 ---*/ .mb-20 { margin-bottom: 20px; } .mb-30{ margin-bottom: 30px; } .mb-40 { margin-bottom: 40px; } .mb-60 { margin-bottom: 60px; } .mb-80 { margin-bottom: 80px; } .mb-100 { margin-bottom: 100px; } .mb-160 { margin-bottom: 160px; } .mt-60{ margin-top: 60px; } .mr-1em{ margin-right: 1em; } @media screen and (max-width: 1080px) { .mb-20{ margin-bottom: 10px; } .mb-30{ margin-bottom: 16px; } .mb-40 { margin-bottom: 20px; } .mb-60 { margin-bottom: 30px; } .mb-80 { margin-bottom: 40px; } .mb-100 { margin-bottom: 50px; } .mb-160 { margin-bottom: 80px; } .mt-60{ margin-top: 30px; } }