/* ************************************************** form ************************************************** */ input::placeholder, textarea::placeholder { color: #bfbfbf; } .is-placeholder{ input::placeholder, textarea::placeholder { color: #909090; } } /* ============================== text ============================== */ .c-text { font-size: 3.733333333333333vw; line-height: 1.5; background: #fff; box-sizing: border-box; width: 100%; padding: 0.6785714285714286em; border: solid 1px #e1e1e1; border-radius: 4px; box-shadow: 0px 0px 5.32px 1.68px rgba(0, 0, 0, 0.04); font-weight: bold; } @media screen and (min-width: 768px) { .c-text { font-size: 16px; padding: 1.125em; border-radius: 4px; } } /* ============================== c-selectbox ============================== */ .c-selectbox { font-size: 3.733333333333333vw; position: relative; } .c-selectbox select, .c-selectbox .inner { width: 100%; } .c-selectbox select, .c-selectbox .inner, .c-selectbox .inner .value { line-height: 10.66666666666667vw; height: 10.66666666666667vw; } .c-selectbox select { opacity: 0; z-index: 1; position: absolute; top: 0; left: 0; -webkit-appearance: none; text-align: left; } .c-selectbox .inner { box-sizing: border-box; overflow: hidden; z-index: 0; } .c-selectbox .inner .value { display: inline-block; background: #fff; max-width: 100%; white-space: nowrap; box-sizing: border-box; min-width: 140px; padding: 0 1em; /*border-radius: 1.066666666666667vw;*/ position: relative; overflow: hidden; -webkit-text-overflow: ellipsis; text-overflow: ellipsis; border: solid 1px #e1e1e1; border-radius: 4px; box-shadow: 0px 0px 5.32px 1.68px rgba(0, 0, 0, 0.04); font-weight: bold; } .c-selectbox.max .inner, .c-selectbox.max .inner .value { width: 100%; } .c-selectbox .inner .value:after { display: block; content: ""; width: 0; height: 0; border-style: solid; border-width: 1.6vw 1.066666666666667vw 0 1.066666666666667vw; border-color: #212121 transparent transparent transparent; position: absolute; top: 50%; right: 4vw; -webkit-transform: translateY(-50%); transform: translateY(-50%); } /* unselected */ .c-selectbox .inner.unselected .value { color: #bfbfbf; font-weight: bold; } .is-placeholder{ .c-selectbox .inner.unselected .value { color: #909090; } } /* select-error */ .c-selectbox .inner.select-error .value { border: 1px solid #f72525; background-color: #f7bebe; } @media screen and (min-width: 768px) { .c-selectbox { font-size: 16px; } .c-selectbox select, .c-selectbox .inner, .c-selectbox .inner .value { line-height: 60px; height: 60px; } .c-selectbox .inner .value { border-radius: 4px; min-width: 180px; } .c-selectbox .inner .value:after { border-width: 6px 4px 0 4px; right: 15px; } } /* ============================== c-checkbox ============================== */ input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; } .c-checkbox { display: inline-block; text-align: center; position: relative; padding: 10px 0; } .c-checkbox input[type="checkbox"] { font-size: 0; display: block; height: 100%; cursor: pointer; opacity: 0; z-index: 1; position: absolute; left: 0; top: 0; width: 90vw; transform: translateX(-16%); } .c-checkbox--inviaff input[type="checkbox"] { transform: translateX(-42%); } .c-checkbox input[type="checkbox"]:disabled { cursor: default; } .c-checkbox input[type="checkbox"] + label { font-size: 3.733333333333333vw; font-weight: 700; display: block; text-align: left; box-sizing: border-box; padding-left: 7.466666666666667vw; } .c-checkbox input[type="checkbox"] + label:before, .c-checkbox input[type="checkbox"] + label:after { display: block; content: ""; box-sizing: border-box; pointer-events: none; width: 6.4vw; height: 6.4vw; border-radius: 0.5333333333333333vw; position: absolute; top: 50%; left: 0; -webkit-transform: translateY(-50%); transform: translateY(-50%); } .c-checkbox input[type="checkbox"] + label:before { border: solid 1px #707070; background: #fff; } .c-checkbox input[type="checkbox"]:checked + label:after { background: url(../images/checkbox.png) no-repeat center center; background-size: 100% auto; } @media screen and (min-width: 768px) { .c-checkbox input[type="checkbox"] { width: 100%; transform: translateX(0); } .c-checkbox input[type="checkbox"] + label { font-size: 16px; padding-left: 32px; } .c-checkbox input[type="checkbox"] + label:before, .c-checkbox input[type="checkbox"] + label:after { width: 28px; height: 28px; border-radius: 2px; } } .form-pref { display: inline-block; position: relative; margin-right: 10px; flex-basis: 50%; } .form-pref select { height: 5.733333333333333vw; width: 100%; position: relative; -webkit-appearance: none; -moz-appearance: none; appearance: none; border: none; outline: none; background: transparent; } .form-pref select option:first-child { color: #bfbfbf; } .form-pref:after { display: block; content: ""; width: 0; height: 0; border-style: solid; border-width: 1.6vw 1.066666666666667vw 0 1.066666666666667vw; border-color: #212121 transparent transparent transparent; position: absolute; top: 50%; right: 4vw; -webkit-transform: translateY(-50%); transform: translateY(-50%); } .form-zip { display: flex; align-items: center; width: 100%; } .form-zip span { font-weight: bold; font-size: 3.733333333333333vw; } .form-zip input { width: 42%; margin: 0 10px; } .form-zip-note { font-size: 3vw; letter-spacing: 0; color: #333; font-weight: bold; } .form-adress { display: flex; } @media screen and (min-width: 768px) { .form-zip span { font-weight: bold; font-size: 14px; } .form-zip input { width: 29.5%; margin: 0 10px; } .form-zip-note { font-size: 14px; letter-spacing: 0; color: #333; font-weight: bold; } .form-pref select { height: 25px; width: 100%; position: relative; } .form-pref:after { border-width: 6px 4px 0 4px; right: 15px; } } /* ============================== submitボタン loading ============================== */ .entry__button { &.entry_loading { button { display: none !important; } .loading_submit { display: flex !important; } } .loading_submit { align-items: center; color: #043454; display: none; font-size: 1.5em; font-weight: 700; gap: 0 20px; justify-content: center; margin: 0 auto; max-width: 400px; .loader { aspect-ratio: 1; background: radial-gradient(farthest-side,#043454 94%,#0000) top/8px 8px no-repeat, conic-gradient(#0000 30%,#043454); border-radius: 50%; display: block; -webkit-mask: radial-gradient(farthest-side,#0000 calc(100% - 3px),#000 0); animation: l13 1s infinite linear; width: 1.5em; } @keyframes l13{ 100%{transform: rotate(1turn)} } } }