/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

:root {
  --color-font: #666;
  --color-font-primary: #e05275;
  --font-accent: #b7282e;
  --border: 1px solid #666;
  --border-light: 1px solid #ccc;
  --border-more-light: 1px solid #e5e5e5;
  --border-dot: 1px dotted #666;
  --border-dot-light2: 2px dotted #ccc;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  overflow-y: scroll;
}

a {
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}

a.anchor {
  display: block;
  padding-top: 100px;
  margin-top: -100px;
}

body {
  font-family: "Arial", "Noto Sans JP", sans-serif;
  color: var(--color-font);
  background: #fff;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.6;
  display: flex;
  flex-flow: column;
  min-height: 100vh;
  text-align: justify;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}
body img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

button {
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

@layer base, custom;
.sp-none {
  display: none;
}

:is(html, #fakeId) .invisible {
  display: none;
}

/*--------------------------------------
位置調整用
--------------------------------------*/
.mgn-top-4 {
  margin-top: 4px;
}

.mgn-top-8 {
  margin-top: 8px;
}

.mgn-top-12 {
  margin-top: 12px;
}

.mgn-top-16 {
  margin-top: 16px;
}

.mgn-top-20 {
  margin-top: 20px;
}

.mgn-top-24 {
  margin-top: 24px;
}

.mgn-top-28 {
  margin-top: 28px;
}

.mgn-top-32 {
  margin-top: 32px;
}

.mgn-top-36 {
  margin-top: 36px;
}

.mgn-top-40 {
  margin-top: 40px;
}

.mgn-btm-4 {
  margin-bottom: 4px;
}

.mgn-btm-8 {
  margin-bottom: 8px;
}

.mgn-btm-12 {
  margin-bottom: 12px;
}

.mgn-btm-16 {
  margin-bottom: 16px;
}

.mgn-btm-20 {
  margin-bottom: 20px;
}

.mgn-btm-24 {
  margin-bottom: 24px;
}

.mgn-btm-28 {
  margin-bottom: 28px;
}

.mgn-btm-32 {
  margin-bottom: 32px;
}

.mgn-btm-36 {
  margin-bottom: 36px;
}

.mgn-btm-40 {
  margin-bottom: 40px;
}

.br-pc {
  display: none;
}

.br-sp {
  display: inline;
}

.u-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.u-mx-auto {
  display: flex;
  margin-left: auto !important;
  margin-right: auto !important;
}

#wrap {
  position: relative;
  flex: 1;
  width: 100%;
  margin: 0 auto;
  padding-top: 60px;
}
#wrap .container {
  margin: 0 auto;
  padding: 40px 16px 80px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}
#wrap .container .section-without-gap {
  margin-bottom: -80px;
}

h2 {
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 48px;
  padding-left: 8px;
  color: #3d3d3d;
  border-left: 4px solid #3d3d3d;
}

h3 {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 24px;
  color: #3d3d3d;
}

h4 {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 4px;
}

@layer base {
  h4 {
    color: var(--color-font-primary);
  }
}
@layer custom {
  .c-dark {
    color: #3d3d3d;
  }
}
h5 {
  margin-bottom: 4px;
}

/*--------------------------------------
PC用レイアウト ここから
--------------------------------------*/
@media (min-width: 769px) {
  .sp-none {
    display: block;
  }
  .pc-none {
    display: none;
  }
  .br-pc {
    display: inline;
  }
  .br-sp {
    display: none;
  }
  #wrap {
    padding-top: 68px;
  }
  #wrap .container {
    width: 940px;
    padding: 80px 16px 160px;
    gap: 120px;
  }
  #wrap .container .section-without-gap {
    margin-bottom: -120px;
  }
}
/*--------------------------------------
ヘッダー
--------------------------------------*/
#top-head {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
#top-head #mobile-head {
  background: #fff;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  z-index: 103;
}
#top-head #mobile-head .head-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}
#top-head #mobile-head .head-menu .menu-icon {
  width: 24px;
}
#top-head h1 {
  height: auto;
  width: 150px;
}

#nav-toggle {
  cursor: pointer;
  z-index: 103;
}
#nav-toggle div {
  width: 24px;
  height: 21px;
  position: relative;
}
#nav-toggle div span {
  display: block;
  position: absolute;
  height: 1px;
  width: 100%;
  background: #3d3d3d;
  left: 0;
  transition: all 0.3s ease;
}
#nav-toggle div span:nth-child(1) {
  top: 0;
}
#nav-toggle div span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
#nav-toggle div span:nth-child(3) {
  bottom: 0;
}

#nav-toggle.active div span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
#nav-toggle.active div span:nth-child(2) {
  opacity: 0;
}
#nav-toggle.active div span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

#global-nav {
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: #fff;
  right: 0;
  transform: translate(400px);
  transition: all 0.5s;
  z-index: 102;
  position: absolute;
}
#global-nav li {
  border-bottom: var(--border-light);
}
#global-nav li a {
  display: block;
  padding: 16px;
  text-decoration: none;
}

#global-nav.open {
  transform: translateZ(0);
}

.overlay {
  content: "";
  display: block;
  width: 0;
  height: 0;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 101;
  opacity: 0;
  transition: opacity 0.5s;
}

.overlay.open {
  width: 100%;
  margin-top: 60px;
  height: 100vh;
  opacity: 1;
  position: fixed;
}

/*--------------------------------------
フッター
--------------------------------------*/
#footer {
  bottom: 0;
  left: 0;
  width: 100%;
  font-size: 1.2rem;
  padding: 0 16px 32px;
  text-align: center;
}
#footer dl.phone-number {
  padding: 16px 0;
  display: grid;
  justify-content: center;
}
#footer dl.phone-number dt {
  font-size: 1.8rem;
  font-weight: 700;
  display: grid;
  grid-template-columns: auto auto;
  place-items: center;
  justify-content: center;
  gap: 4px;
}
#footer dl.phone-number dt::before {
  content: "";
  background: url(/assets/common/navidial_color-1b7c299a749b7161840546069bf64b51218d99d11395c40e1aadf33e731275ab.svg) no-repeat center/contain;
  width: 20px;
  height: 20px;
}
#footer dl.phone-number dd:last-child {
  display: grid;
  grid-template-columns: auto 1fr;
}
#footer dl.phone-number dd:last-child::before {
  content: "※";
}
#footer .link-box {
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
}
#footer .link-box li {
  position: relative;
  border-bottom: var(--border-dot);
  text-align: left;
}
#footer .link-box li:first-child {
  border-top: var(--border-dot);
}
#footer .link-box li a {
  display: block;
  padding: 16px 8px;
  text-decoration: none;
}
#footer .link-box li a::after {
  content: "";
  position: absolute;
  right: 8px;
  display: inline-block;
  background-image: url(/assets/common/arrow-ba6f4e37c3e156e0e5e8440a64cdd0801bbee5ec92b9ebed749134cbde0dd081.svg);
  width: 10px;
  height: 10px;
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(90deg);
  top: 40%;
}
#footer address {
  font-weight: 700;
  margin-bottom: 4px;
}

/*--------------------------------------
PC用レイアウト ここから
--------------------------------------*/
@media (min-width: 769px) {
  #top-head #mobile-head {
    padding: 16px 32px;
    height: 70px;
  }
  #top-head #mobile-head .head-menu {
    gap: 32px;
  }
  #top-head h1 {
    width: 200px;
  }
  .overlay.open {
    margin-top: 70px;
  }
  #footer .link-box {
    margin-top: 8px;
    flex-direction: row;
    justify-content: center;
  }
  #footer .link-box li {
    text-align: center;
    border-bottom: none;
    border-right: var(--border-light);
  }
  #footer .link-box li:last-child {
    border-right: none;
  }
  #footer .link-box li:first-child {
    border-top: none;
  }
  #footer .link-box li a {
    display: inline;
  }
  #footer .link-box li a::after {
    content: none;
  }
}
/*--------------------------------------
文字装飾
--------------------------------------*/
.note-list {
  margin-top: 8px;
  font-size: 1.2rem;
  color: rgb(147.9, 147.9, 147.9);
}
.note-list li {
  position: relative;
  padding-left: 12px;
}
.note-list li::before {
  content: "※";
  position: absolute;
  left: 0;
  top: 0;
}

.extra-info {
  display: block;
  padding-left: 16px;
  text-indent: -16px;
}
.extra-info::before {
  content: "※";
}

.attention {
  color: var(--font-accent);
}

.must-read {
  padding: 16px;
  font-size: 1.6rem;
  background: rgb(247.8, 233.5, 234.1);
  color: var(--font-accent);
  font-weight: 700;
}

.arrow-maru {
  margin-top: 16px;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: end;
  gap: 4px;
  place-items: center;
}
.arrow-maru a {
  text-decoration: underline;
  color: var(--color-font) !important;
}
.arrow-maru::before {
  content: "";
  background: url(/assets/common/arrow_maru-5a10ada4a7f3252b251744e34cb2ddeb5b3a898beeb26ca23a9f846b7ead1a3a.svg) no-repeat center/contain;
  width: 14px;
  height: 14px;
}

.arrow-square {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  gap: 4px;
  place-items: center;
}
.arrow-square::before {
  content: "";
  background: url(/assets/common/arrow_square-1f98d096bb49796a2a0ab03c14cff8684badd3ad271d17cf3f0d371630320a46.svg) no-repeat center/contain;
  width: 16px;
  height: 16px;
}

.zipcode {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  gap: 4px;
  place-items: center;
}
.zipcode::before {
  content: "";
  background: url(/assets/common/post-4c44ab7118b726d44855762923222d6c8967b40586b0b59bf3d8495bdfdd14f4.svg) no-repeat center/contain;
  background-image: url(/assets/common/post-4c44ab7118b726d44855762923222d6c8967b40586b0b59bf3d8495bdfdd14f4.svg);
  width: 14px;
  height: 14px;
}

/*--------------------------------------
共通レイアウト
--------------------------------------*/
.cnt-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cnt-box > p {
  margin-bottom: 40px;
}
.cnt-box > p.no-margin {
  margin-bottom: 0;
}
.cnt-box > p a {
  text-decoration: underline;
  color: var(--color-font-primary);
}

ul.customer-info {
  border: var(--border-more-light);
  padding: 16px;
}
ul.customer-info li {
  margin-bottom: 4px;
}
ul.customer-info li:last-child {
  margin-bottom: 0;
}
ul.customer-info li:first-child {
  font-weight: 500;
}
ul.customer-info li.phone, ul.customer-info li.clock {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  place-items: center;
  gap: 4px;
}
ul.customer-info li.phone::before {
  content: "";
  background: url(/assets/common/phone-50ac75bfc23003e5297347d1b70bd8588da9b87957c1b86dd687a55245af7010.svg) no-repeat center/contain;
  width: 16px;
  height: 16px;
}
ul.customer-info li.clock::before {
  content: "";
  background: url(/assets/common/clock-45caf89a9ef135e24338be6f27c09de7df2eb50f431099f4f967d39818c4eb60.svg) no-repeat center/contain;
  width: 16px;
  height: 16px;
}
ul.customer-info li.customer-info-btn {
  margin-top: 48px;
}

.faq-style {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.faq-style .faq-list-group {
  padding-bottom: 32px;
  border-bottom: var(--border-dot-light2);
}
.faq-style .faq-list-group > dt,
.faq-style .faq-list-group > dd {
  position: relative;
  padding-left: 24px;
}
.faq-style .faq-list-group > dt::before,
.faq-style .faq-list-group > dd::before {
  position: absolute;
  top: 0;
  left: 0;
  font-weight: 700;
}
.faq-style .faq-list-group > dt {
  font-weight: 500;
  margin-bottom: 1.6rem;
  color: var(--color-font-primary);
  font-size: 1.6rem;
}
.faq-style .faq-list-group > dt::before {
  content: "Q.";
}
.faq-style .faq-list-group > dd::before {
  content: "A.";
  font-size: 1.6rem;
}
.faq-style .faq-list-group > dd > a {
  color: var(--color-font-primary);
}

.page-link-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 16px;
  line-height: 1;
}
.page-link-list li {
  display: flex;
  align-items: center;
  padding: 16px;
  position: relative;
}
.page-link-list li a {
  display: block;
  text-decoration: none;
}
.page-link-list li a::after {
  content: "";
  position: absolute;
  right: 16px;
  display: inline-block;
  background-image: url(/assets/common/arrow-ba6f4e37c3e156e0e5e8440a64cdd0801bbee5ec92b9ebed749134cbde0dd081.svg);
  width: 12px;
  height: 12px;
  background-size: contain;
  background-repeat: no-repeat;
}

.type-a li {
  background-color: #e5e5e5;
}
.type-a li a::after {
  transform: rotate(90deg);
}

.type-b li {
  border: var(--border-more-light);
}
.type-b li a::after {
  transform: rotate(180deg);
}

/*--------------------------------------
PC用レイアウト ここから
--------------------------------------*/
@media (min-width: 769px) {
  .page-link-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .page-link-list li {
    width: calc((100% - 8px) / 2);
  }
}
/*--------------------------------------
ボタンデザイン
--------------------------------------*/
.btn-big {
  width: 240px;
}

.btn-medium {
  width: 160px;
}

.btn-small {
  width: 120px;
}

.btn-style {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
  border-radius: 8px;
  color: #fff;
  background: #666;
  text-decoration: none;
}
.btn-style:hover, .btn-style:active {
  background: rgb(178.5, 178.5, 178.5);
}
.btn-style:hover:not(.disabled, .alpha30) {
  animation: anima-button-41 2s linear infinite;
}

@keyframes anima-button-41 {
  7% {
    transform: translateY(-15px);
  }
  15% {
    transform: translateY(0);
  }
  20% {
    transform: translateY(-7px);
  }
  25% {
    transform: translateY(0);
  }
}
.btn-delete-change {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 32px;
}

.btn-double {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.btn-in-form {
  display: block;
  width: 160px;
  padding: 16px;
  text-align: center;
  border-radius: 8px;
  color: #fff;
  background: #666;
  text-decoration: none;
}
.btn-in-form:hover, .btn-in-form:active {
  background-color: rgb(178.5, 178.5, 178.5);
}

.btn-turnstile.disabled {
  opacity: 0.3;
  pointer-events: none;
}

/*--------------------------------------
PC用レイアウト ここから
--------------------------------------*/
@media (min-width: 769px) {
  .btn-double {
    flex-direction: row-reverse;
    justify-content: center;
  }
  .btn-delete-change {
    gap: 48px;
  }
}
.current {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.current li:not(:last-of-type)::after {
  content: "";
  display: inline-block;
  background: url(/assets/common/arrow-ba6f4e37c3e156e0e5e8440a64cdd0801bbee5ec92b9ebed749134cbde0dd081.svg) no-repeat center/contain;
  width: 10px;
  height: 10px;
  transform: rotate(90deg);
  margin-left: 8px;
  opacity: 0.6;
}
.current .display-off {
  color: rgb(209.1, 209.1, 209.1);
}

/*--------------------------------------
フォームレイアウト
--------------------------------------*/
.required {
  background: #b7282e;
  color: #fff;
  font-size: 1.2rem;
  margin-left: 4px;
  padding: 2px 4px;
  border-radius: 4px;
}

input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

dl.ec-form-layout {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
dl.ec-form-layout .ec-list-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
dl.ec-form-layout .ec-list-group > dt {
  font-weight: 500;
}
dl.ec-form-layout .ec-list-group > dd input[type=radio],
dl.ec-form-layout .ec-list-group > dd input[type=checkbox] {
  margin: 0;
}
dl.ec-form-layout .ec-list-group > dd input[type=text],
dl.ec-form-layout .ec-list-group > dd input[type=email],
dl.ec-form-layout .ec-list-group > dd input[type=password],
dl.ec-form-layout .ec-list-group > dd input[type=tel],
dl.ec-form-layout .ec-list-group > dd select {
  height: 48px;
  border: var(--border-light);
  padding: 8px;
  font-size: 1.6rem;
}
dl.ec-form-layout .ec-list-group > dd input[type=text]::-moz-placeholder, dl.ec-form-layout .ec-list-group > dd input[type=email]::-moz-placeholder, dl.ec-form-layout .ec-list-group > dd input[type=password]::-moz-placeholder, dl.ec-form-layout .ec-list-group > dd input[type=tel]::-moz-placeholder, dl.ec-form-layout .ec-list-group > dd select::-moz-placeholder {
  color: #ccc;
  opacity: 1; /* Firefox 対策 */
}
dl.ec-form-layout .ec-list-group > dd input[type=text]::placeholder,
dl.ec-form-layout .ec-list-group > dd input[type=email]::placeholder,
dl.ec-form-layout .ec-list-group > dd input[type=password]::placeholder,
dl.ec-form-layout .ec-list-group > dd input[type=tel]::placeholder,
dl.ec-form-layout .ec-list-group > dd select::placeholder {
  color: #ccc;
  opacity: 1; /* Firefox 対策 */
}
dl.ec-form-layout .ec-list-group > dd input[type=password] {
  color: #3d3d3d;
  letter-spacing: 0.25em;
}
dl.ec-form-layout .ec-list-group > dd input[type=password]::-moz-placeholder {
  color: #d9d9d9;
  font-weight: normal;
  letter-spacing: normal;
  opacity: 1; /* Firefox 対策 */
}
dl.ec-form-layout .ec-list-group > dd input[type=password]::placeholder {
  color: #d9d9d9;
  font-weight: normal;
  letter-spacing: normal;
  opacity: 1; /* Firefox 対策 */
}
dl.ec-form-layout .ec-list-group > dd textarea {
  border: var(--border-light);
  padding: 8px;
  font-size: 1.6rem;
}
dl.ec-form-layout .ec-list-group > dd .full {
  width: 100%;
}
dl.ec-form-layout .ec-list-group > dd .half {
  width: 49% !important;
}
dl.ec-form-layout .ec-list-group > dd ul.box-half {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
dl.ec-form-layout .ec-list-group > dd ul.box-half li {
  width: 49%;
}
dl.ec-form-layout .ec-list-group > dd ul.box-half li input {
  width: 100%;
}
dl.ec-form-layout .ec-list-group > dd ul.box-free {
  display: flex;
  flex-direction: row;
  flex-wrap: no-wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 4px;
}
dl.ec-form-layout .ec-list-group > dd ul.box-free .input-small {
  width: 50%;
  max-width: 140px;
}
dl.ec-form-layout .ec-list-group > dd ul.address-group,
dl.ec-form-layout .ec-list-group > dd ul.mail-address-group,
dl.ec-form-layout .ec-list-group > dd ul.password-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
dl.ec-form-layout .ec-list-group > dd ul.gender-list {
  display: flex;
  gap: 48px;
}
dl.ec-form-layout .ec-list-group > dd ul.liner-stop-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
dl.ec-form-layout .ec-list-group > dd .liner-stop-message {
  background: #fafad2;
  padding: 8px;
  display: none;
  margin-top: 4px;
}
dl.ec-form-layout .ec-list-group > dd .liner_stop_area {
  display: none;
}
dl.ec-form-layout .ec-list-group > dd ul.select-date {
  display: flex;
  align-items: center;
  width: 100%;
}
dl.ec-form-layout .ec-list-group > dd ul.select-date select {
  width: 100%;
}
dl.ec-form-layout .ec-list-group > dd ul.select-date .year {
  flex-basis: 40%;
}
dl.ec-form-layout .ec-list-group > dd ul.select-date .month,
dl.ec-form-layout .ec-list-group > dd ul.select-date .day {
  flex-basis: 25%;
}
dl.ec-form-layout .ec-list-group > dd ul.select-date .slash {
  flex-basis: 5%;
  text-align: center;
}
dl.ec-form-layout .ec-list-group > dd ul.select-date .date-month,
dl.ec-form-layout .ec-list-group > dd ul.select-date .date-year {
  margin-left: 8px;
}

.table-credit-card {
  width: 100%;
  margin-top: 16px;
}
.table-credit-card thead tr {
  border-bottom: var(--border-light);
}
.table-credit-card tbody tr {
  border-bottom: var(--border-dot);
}
.table-credit-card th {
  font-weight: 500;
}
.table-credit-card th,
.table-credit-card td {
  padding: 8px 4px;
  text-align: left;
  width: 50%;
}
.table-credit-card th.choose,
.table-credit-card td.choose {
  width: 48px;
  text-align: center;
  display: none;
}
.table-credit-card td {
  font-size: 1.6rem;
}

label {
  font-size: 1.6rem;
  cursor: pointer;
}
label span {
  margin-left: 4px;
}

/*--------------------------------------
エラー表示
-------------------*/
.error-message {
  display: flex;
  flex-direction: column;
}

.error-style {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  gap: 4px;
  align-items: center;
  color: var(--font-accent);
  margin-bottom: 4px;
}
.error-style::before {
  content: "";
  background: url(/assets/common/error-2165fdeb3e33413c64a57c7229939f8f8deb44f1c6cf2da8b2c16c72d4c5ec50.svg) no-repeat center/contain;
  width: 14px;
  height: 14px;
}

.must-read .error-style::before {
  display: none;
}

input.error,
select.error,
textarea.error,
.field_with_errors input,
.field_with_errors select,
.field_with_errors textarea {
  background: rgb(247.8, 233.5, 234.1);
}

/* railsがバリデーションエラー時に足す要素によるデザイン崩れ防止*/
.field_with_errors {
  display: contents;
}

.annotation {
  color: #b7282e;
}

dl.confirmation {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
dl.confirmation .confirm-list-group {
  border-bottom: var(--border-dot);
  padding: 0 16px 16px;
}
dl.confirmation .confirm-list-group > dt {
  margin-bottom: 8px;
  font-weight: 500;
}
dl.confirmation .confirm-list-group > dd {
  font-size: 1.6rem;
}

dl.in-confirmation {
  padding-top: 8px;
  padding-left: 8px;
}
dl.in-confirmation dt {
  font-size: 1.4rem;
  font-weight: 500;
}
dl.in-confirmation dd {
  font-size: 1.6rem;
  margin-bottom: 16px;
}
dl.in-confirmation dd:last-child {
  margin-bottom: 0;
}

/*--------------------------------------
買い物かご、注文履歴関連
--------------------------------------*/
.grid-order {
  border: var(--border-light);
}
.grid-order .product {
  display: flex;
  flex-direction: row-reverse;
  border-bottom: 1px solid #ccc;
}
.grid-order .product .product-name {
  flex-basis: 70%;
  padding: 8px;
  font-weight: 700;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.grid-order .product .product-img {
  flex-basis: 30%;
  border-right: 1px dotted #ccc;
}
.grid-order .product-payment {
  display: flex;
  flex-flow: row wrap;
}
.grid-order .product-payment dt {
  flex-basis: 30%;
  padding: 8px;
  font-weight: 500;
  background: #fafad2;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
}
.grid-order .product-payment dt:last-of-type {
  border-bottom: none;
}
.grid-order .product-payment dd {
  flex-basis: 70%;
  padding: 8px;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #ccc;
}
.grid-order .product-payment dd:last-of-type {
  border-bottom: none;
}

.product-detail {
  border-bottom: 1px solid #ccc;
  padding: 8px;
  font-weight: 500;
  background: #fafad2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-order1 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.grid-order1 .item1 {
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.grid-order1 .item2 {
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.grid-order1 .item3 {
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.grid-order1 .item4 {
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.grid-order1 .item5 {
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.grid-order1 .item6 {
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.grid-order1 .item1 {
  border-right: 1px solid #ccc;
}
.grid-order1 .item2 {
  border-right: 1px solid #ccc;
}
.grid-order1 .item3 {
  border-right: 1px solid #ccc;
}
.grid-order1 .item4 {
  border-right: 1px solid #ccc;
}
.grid-order1 .item1,
.grid-order1 .item3,
.grid-order1 .item5 {
  border-bottom: 1px solid #ccc;
  background: #fafad2;
}
.grid-order1 dt {
  font-weight: 500;
}
.grid-order1 dd {
  font-size: 1.6rem;
}
.grid-order1 .item1 {
  order: 1;
}
.grid-order1 .item2 {
  order: 4;
}
.grid-order1 .item3 {
  order: 2;
}
.grid-order1 .item4 {
  order: 5;
}
.grid-order1 .item5 {
  order: 3;
}
.grid-order1 .item6 {
  order: 6;
}
.grid-order1 .item6 .full {
  width: 100%;
}

.grid-order2 {
  border: var(--border-light);
  background: #fafad2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
}
.grid-order2 dt,
.grid-order2 dd {
  padding: 8px;
  border-bottom: 1px solid #ccc;
}
.grid-order2 dt:last-of-type,
.grid-order2 dd:last-of-type {
  border-bottom: none;
}
.grid-order2 dt {
  font-weight: 500;
}
.grid-order2 dd {
  text-align: right;
  font-size: 1.6rem;
}
.grid-order2 .total-cost {
  color: var(--font-accent);
}

.quantity {
  display: flex;
  justify-content: space-around;
}
.quantity img {
  width: 24px;
  vertical-align: middle !important;
  border: var(--border-light);
  border-radius: 4px;
}
.quantity img:hover, .quantity img:active {
  opacity: 0.6;
}

select.send-interval {
  vertical-align: middle;
  border: var(--border-light);
  padding: 4px;
  font-size: 1.6rem;
}

/*--------------------------------------
購入手続き
--------------------------------------*/
ul.destination-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
ul.destination-list > li {
  padding-bottom: 48px;
  border-bottom: var(--border-dot);
}
ul.destination-list > li:first-child {
  border-bottom: var(--border-light);
}
ul.destination-list > li.selected {
  background: #fafad2;
}
ul.destination-list > li dl {
  margin-left: 24px;
}
ul.destination-list > li dl dt {
  margin-top: 16px;
  margin-bottom: 4px;
}
ul.destination-list > li dl dd {
  font-size: 1.6rem;
}

dl.payment-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
dl.payment-list .payment-list-group > dt {
  margin-bottom: 32px;
}
dl.payment-list dd ul.payment-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

dl.usable-point dt {
  font-weight: 500;
  margin-bottom: 8px;
}
dl.usable-point dd {
  margin-bottom: 16px;
}
dl.usable-point dd:last-child {
  margin-bottom: 0;
}

ul.member-point {
  font-size: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.point-input input {
  height: 48px;
  border: var(--border-light);
  padding: 8px;
  font-size: 1.6rem;
  margin-right: 8px;
}

/*--------------------------------------
定期便解約コンテンツ
--------------------------------------*/
ul.benefits {
  display: flex;
}
ul.benefits li {
  width: 33.3333333333%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
ul.benefits li img {
  width: 65% !important;
}
ul.benefits li p {
  width: 100%;
  text-align: center;
  font-size: 1.6rem;
}

ul.chkbox li {
  font-weight: 500;
  font-size: 1.6rem;
  margin-bottom: 16px;
}
ul.chkbox li input[type=checkbox] {
  display: none;
}
ul.chkbox li label {
  position: relative;
  display: inline-block;
}
ul.chkbox li label::before {
  content: "";
  display: inline-block;
  background-image: url(/assets/contact/checkmark01-cda7a23b4d72e1516c2bcaea1b42c01c7272d0f44ae629d35176ca6a4a55b19a.svg);
  width: 18px;
  height: 18px;
  vertical-align: middle;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 4px;
}
ul.chkbox li input[type=checkbox]:checked + label {
  color: var(--color-font-primary);
}
ul.chkbox li input[type=checkbox]:checked + label::before {
  color: var(--color-font-primary);
  background-image: url(/assets/contact/checkmark02-fe0f5f5e4c6b01e19eaffd0021174deb8e1fe16eef5a6daff7df796ed93c1d9e.svg);
  width: 18px;
  height: 18px;
  vertical-align: middle;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 4px;
}

.alpha30 {
  opacity: 0.3;
}

.members-number {
  margin-right: 8px;
}

/*--------------------------------------
PC用レイアウト ここから
--------------------------------------*/
@media (min-width: 769px) {
  dl.ec-form-layout {
    gap: 32px;
  }
  dl.ec-form-layout .ec-list-group {
    display: flex;
    flex-direction: row;
    gap: 0;
  }
  dl.ec-form-layout .ec-list-group > dt {
    flex: 2;
  }
  dl.ec-form-layout .ec-list-group > dd {
    flex: 3;
  }
  /*--------------------------------------
  エラー表示
  --------------------------------------*/
  .error-message_half {
    flex-direction: row;
    justify-content: space-between;
  }
  .error-message_half .error-style {
    width: 49%;
  }
  dl.confirmation .confirm-list-group {
    display: flex;
    align-items: center;
  }
  dl.confirmation .confirm-list-group > dt {
    flex: 2;
    margin-bottom: 0;
  }
  dl.confirmation .confirm-list-group > dd {
    flex: 3;
  }
  dl.in-confirmation {
    padding-top: 0;
    padding-left: 0;
  }
  .quantity {
    justify-content: center;
    gap: 32px;
  }
  /*--------------------------------------
  お得なサービス
  --------------------------------------*/
  ul.benefits {
    justify-content: center;
  }
  ul.benefits li {
    width: 306.6666666667px;
    gap: 32px;
  }
  ul.benefits li img {
    width: 30% !important;
  }
}
