@charset "utf-8";

/*::::::::::::::::::::::::::::::::: 
 common
:::::::::::::::::::::::::::::::::::*/
:root {
  --section: 0;

  --base_width: 375px;
  --base_color: #56411c;
  --base_bg: #fbf7f0;

  --font_jp: "Zen Kaku Gothic New", sans-serif;
  --font_eng: "Libre Caslon Text", serif;
  --icons: "Material Symbols Outlined";

  --transition: 0.3s;

  --black: #1f1f1f;
  --white: #fff;
  --gray: #c8c8c8;
  --c_Re: #d7263d;
  --c_Re2: #e50112;
  --c_Gr: #3baa8a;
  --c_Ye: #fff428;
  --c_Or: #db4813;
  --c_Br: #faf0d1;
  --c_Br2: #f0e2c8;
  --c_Bl: #0033cc;
}

@media (max-width: 520px) {
  :root {
    --section: 0;
    --base_width: 100%;
  }
}

/* objedt-fit */
.of_cont img,
img.of_cont {
  object-fit: contain;
}

body {
  font-weight: 400;
  font-size: 1.5rem;
}

body:before {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: url(../images/pc_bg.jpg) no-repeat top center / cover;
}
body:after {
  position: fixed;
  top: 10px;
  right: 0;
  z-index: 1;
  content: "RAKUSAIZEN";
  display: block;
  color: var(--c_Br);
  font-family: var(--font_eng);
  font-size: 11.4rem;
  writing-mode: vertical-rl;
  opacity: 0.6;
}

/*::::::::::::::::::::::::::::::::: 
parts
:::::::::::::::::::::::::::::::::::*/

/* tit */
.tit_eng {
  padding: 5px 0;
  background: var(--base_color);
  color: var(--white);
  font-family: var(--font_eng);
  text-align: center;
  font-size: 2rem;
}

.tit_A {
  padding: 5px 0;
  background: var(--c_Or);
  color: var(--white);
  text-align: center;
  font-size: 2.7rem;
  font-weight: bold;
}

.tit_B {
  margin-bottom: -1em;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
  color: var(--c_Ye);
  font-size: 1.5rem;
  transform: translateY(-1em);
  font-weight: 500;
}
.tit_B:before {
  content: "＼";
}
.tit_B:after {
  content: "／";
}

.tit_C {
  position: relative;
  margin: 70px 0 55px;
  padding: 5px 0;
  border-top: 3px dotted var(--c_Or);
  border-bottom: 3px dotted var(--c_Or);
  color: var(--c_Or);
  font-size: 2.5rem;
  text-align: center;
  font-weight: bold;
  letter-spacing: -2px;
}
.tit_C:before {
  position: absolute;
  bottom: 115%;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  display: block;
  aspect-ratio: 38/31;
  width: 38px;
  height: auto;
  margin: 0 auto 5px;
  background: url(../images/pic07.png) no-repeat center / contain;
}
.tit_C:after {
  content: "●　●";
  display: block;
  width: 1em;
  font-size: 0.9rem;
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
}

.tit_D {
  position: relative;
  padding: 5px 0;
  border-radius: 50px;
  background: var(--c_Gr);
  color: var(--white);
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
}
.tit_D:after {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  --hen: 13px;
  background: var(--c_Gr);
  height: calc(tan(60deg) * var(--hen) / 2);
  width: var(--hen);
  clip-path: polygon(0 0, 100% 0, 50% 100%); /*下*/
}

.tit_E {
  display: block;
  color: var(--white);
  font-size: 2.8rem;
  font-weight: bold;
  text-align: center;
}

.tit_F {
  font-size: 2rem;
}
.tit_F:before {
  content: "● ";
  color: var(--c_Gr);
}

/* btn */
.btn_A {
  margin: 25px 0;
}

.btn_C {
  display: grid;
  grid-template-columns: 1fr 1em;
  align-items: center;
  background: var(--white);
  border: 4px solid #f69682;
  border-radius: 50px;
  color: var(--c_Re2);
  padding: 15px;
  font-weight: 600;
}
.btn_C:after {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--c_Re2);
  border-left: 2px solid var(--c_Re2);
  transform: rotate(135deg);
}

/* indent */
.t_i {
  font-size: 1.2rem;
}

/*::::::::::::::::::::::::::::::::: 
 Left
:::::::::::::::::::::::::::::::::::*/

.pc_L {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  padding: 50px 0 0 5vw;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
}

.pc_L .logo {
  display: block;
  aspect-ratio: 55/320;
  width: 55px;
  height: auto;
}
.pc_L .logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pc_L nav {
  color: var(--base_color);
}

.pc_L .list-nav {
  display: flex;
  flex-flow: column;
  line-height: 1.3;
  gap: 20px;
  margin: 20px 0 0;
}

.pc_L .list-sns {
  display: flex;
  gap: 15px;
  margin: 40px 0 20px;
}

.pc_L svg {
  width: 30px;
  height: 30px;
  fill: var(--base_color);
}

@media screen and (max-width: 620px) {
  .pc_L .list-nav {
    display: none;
  }
}

/*::::::::::::::::::::::::::::::::: 
Main
:::::::::::::::::::::::::::::::::::*/
main {
  width: var(--base_width);
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  overflow: visible;
  z-index: 5;
  color: var(--base_color);
  background-color: var(--base_bg);

  z-index: 2;
}

article {
  overflow: hidden;
}

@media screen and (max-width: 870px) {
  main {
    margin: 0 0 0 auto;
  }
}

/**=============================== 
 ヘッダー
=============================== **/

header {
  background: var(--white);
  min-height: 50px;

  display: flex;
  align-items: center;
  padding: 0 0 0 15px;
}

/**--- ハンバーガーメニュー ---**/
.hamburger {
  position: fixed;
  top: 0;
  right: calc((100% - var(--base_width)) / 2);
  display: flex;
  height: 50px;
  width: 50px;
  justify-content: center;
  align-items: center;
  z-index: 90;
  background: color-mix(in srgb, var(--white) 30%, var(--white) 30%);
}

#hamburger-check {
  display: none;
}

/* タップされる前 open */
.hamburger span,
.hamburger span:before,
.hamburger span:after {
  content: "";
  display: block;
  height: 2px;
  width: 24px;
  border-radius: 3px;
  background-color: var(--c_Re);
  position: absolute;
}

.hamburger span:before {
  bottom: 8px;
}

.hamburger span:after {
  top: 8px;
}

/* タップされたとき close */
#hamburger-check:checked ~ .hamburger span {
  background-color: rgba(255, 255, 255, 0);
}

#hamburger-check:checked ~ .hamburger span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#hamburger-check:checked ~ .hamburger span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* 開いた globalnav */
header nav .gnav {
  width: var(--base_width);
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  position: fixed;
  top: -100%;
  left: 0;
  right: 0;
  /*leftの値を変更してメニューを画面外へ*/
  z-index: 80;
  background: var(--c_Or);
  color: var(--white);
  transition: var(--transition);
  /*アニメーション設定*/
  margin: 0 auto;
  text-align: center;
}

header nav .gnav figure {
  width: 230px;
  margin: 60px auto 60px;
}

header nav .gnav .list-nav {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 0 0 30px;
}

header nav .gnav .list-sns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 0;
}

header nav .gnav .list-sns svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
}

#hamburger-check:checked ~ .gnav {
  top: 0;
}

header .fixed {
  width: var(--base_width);
  display: block;
  position: fixed;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 auto;
  text-align: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

header .fixed.show {
  opacity: 1;
  visibility: visible;
  transition: 1s;
}

header .fixed img {
  width: 90%;
}

@media screen and (max-width: 870px) {
  .hamburger {
    right: 0;
  }
  header .fixed {
    left: auto;
    right: 0;
    transform: none;
  }
}

/*----------------------------------------
 main
----------------------------------------*/

/*
  hero
----------------------------------------*/
.sec-hero {
  width: 100%;
}

.sec-hero .txt {
  position: absolute;
  top: 44px;
  left: 50%;
  z-index: 5;
  transform: translateX(-50%);
  width: 90%;
  text-align: center;
}

.sec-hero .txt i {
  display: block;
  width: 230px;
  margin: 0 auto 50px;
}

.sec-hero .txt h1 {
  margin-left: 15px;
  visibility: hidden;
}

/*
  about
----------------------------------------*/
.sec-about {
  width: 100%;
}

.box-read {
  padding: 10px 0 90px;
  background: var(--c_Or);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.box-read:after {
  position: absolute;
  bottom: 0;
  left: -5%;
  content: "";
  display: block;
  aspect-ratio: 375/60;
  width: 110%;
  height: auto;
  background: var(--base_bg);
  -webkit-mask: var(--mask);
  mask: var(--mask);
  --mask: url(../images/bg01.svg) center center / contain no-repeat;
  transform: scaleY(-1);
}

.bnr-01 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 15px 0;
}

.bnr-01 h2 {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to top right, var(--c_Gr));
  flex: none;
  aspect-ratio: 1/1;
  width: 80px;
  height: auto;
  padding: 10px;
  border-radius: 0 20px 0 20px;
  font-size: 2.4rem;
  line-height: 1.3;
  font-weight: 600;
}

.bnr-01 dl {
  color: var(--white);
  line-height: 1;
}

.bnr-01 dt {
  font-weight: 500;
  font-size: 1.3rem;
  margin: 0 0 8px;
}
.bnr-01 dd :is(b, small) {
  font-weight: bold;
  color: var(--c_Ye);
}
.bnr-01 dd b {
  font-family: var(--font_eng);
  font-size: 5.8rem;
  line-height: 1;
}
.bnr-01 dd small {
  font-size: 3rem;
}
.bnr-01 dd i {
  font-size: 1.8rem;
}

.text-about {
  position: relative;
  padding: 15px;
  color: var(--white);
  text-align: center;
  line-height: 1.8;
}

/*
  
----------------------------------------*/
.list-about {
  justify-content: center;
  gap: 20px;
  margin: 0 auto;
  display: flex;
  text-align: center;
}

.list-about h3 {
  margin: 8px 0;
  line-height: 1.4;
  font-weight: bold;
}

.bnr-02 {
  position: relative;
  display: flex;
  flex-flow: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(100%, 90vw);
  margin: 20px auto;
  padding: 15px;
  border: 4px solid var(--c_Or);
  border-radius: 14px;
  background: var(--white);
}

.bnr-02 h2 {
  width: 100%;
  font-size: 2.8rem;
  text-align: center;
  font-weight: bold;
}

.bnr-02 em {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1/1;
  width: 85px;
  height: auto;
  border-radius: 50vw;
  background: var(--c_Re2);
  color: var(--white);
  font-size: 2.2rem;
  line-height: 1.3;
  font-weight: bold;
}

.bnr-02 dl {
  line-height: 1;
}
.bnr-02 dl dt {
  font-weight: 500;
  margin: 0 0 8px;
}
.bnr-02 dd {
  position: relative;
}
.bnr-02 dd :is(b, small) {
  color: var(--c_Re2);
  font-weight: 700;
}
.bnr-02 dd b {
  font-family: var(--font_eng);
  font-size: 6rem;
  font-weight: normal;
  letter-spacing: -1px;
}
.bnr-02 dd small {
  font-size: 3rem;
}
.bnr-02 dd i {
  position: absolute;
  top: 1em;
  right: 0;
  font-size: 1rem;
}

/*----------------------------------------
  スライド
----------------------------------------*/

#infinity-slide {
  margin: 10px auto 40px;
}

/**------------------------------ 
wp post
 ------------------------------**/
.sec-post {
  width: 100%;
  padding-bottom: 30px;
  background: var(--c_Be1);
}

.sec-post dl {
  margin: 20px 0 40px;
}

.sec-post dl dd {
  padding: 25px 0 0;
}

#card-slide li {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  border: 1px solid var(--c_Or);
  background: var(--white);
}
#card-slide picture {
  aspect-ratio: 325/214;
  width: 100%;
  height: auto;
}
#card-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#card-slide h3 {
  position: relative;
  padding: 20px;
  color: var(--c_Or);
  font-size: 1.6rem;
  font-weight: bold;
  border-bottom: 1px solid var(--c_Or);
}
#card-slide h3:before,
#card-slide h3:after {
  position: absolute;
  bottom: -1px;
  content: "";
  height: 1px;
  width: 20px;
  background: var(--white);
}
#card-slide h3:before {
  left: 0;
}
#card-slide h3:after {
  right: 0;
}

#card-slide p {
  padding: 15px 20px;
  background: var(--c_Be2);
  font-family: var(--font_sans);
  font-weight: 500;
  line-height: 1.5;
}

#card-slide .splide__arrow--prev {
  left: -1em;
}

#card-slide .splide__arrow--next {
  right: -1em;
}

#card-slide .splide__arrow {
  background: var(--base_color);
}
#card-slide .splide__arrow svg {
  width: 0.9em;
  height: 0.9em;
  fill: var(--white);
}

/**------------------------------ 
trial
 ------------------------------**/
.sec-trial {
  width: 100%;
  background: var(--c_Or);
  padding-bottom: 60px;
  margin: 80px 0 0;
}
.sec-trial:before {
  content: "";
  display: block;
  width: 300px;
  height: 300px;
  background: var(--c_Or);
  border-radius: 100vw;
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.bnr-03 {
  width: 90%;
  margin: 20px auto;
  padding: 20px;
  border-radius: 15px;
  background: var(--white);
}

.bnr-03 h3 {
  padding: 8px;
  background: var(--base_color);
  color: var(--white);
  font-family: var(--font_sans);
  font-weight: bold;
  font-size: 1.8rem;
  text-align: center;
}

.bnr-03 .bnr {
  text-align: left;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  margin: 20px 0 0;
}
.bnr-03 .bnr em {
  flex: none;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--c_Gr);
  color: var(--white);
  aspect-ratio: 1/1;
  font-size: 1.8rem;
  width: 80px;
  height: auto;
  border-radius: 5px;
}

.bnr-03 dl {
  line-height: 1;
}
.bnr-03 dl dt {
  margin: 0 0 5px;
  font-weight: 500;
}
.bnr-03 dd {
  position: relative;
}
.bnr-03 dd :is(b, small) {
  color: var(--c_Re2);
  font-weight: 400;
}
.bnr-03 dd b {
  font-family: var(--font_eng);
  font-size: 5.8rem;
  letter-spacing: -1px;
}
.bnr-03 dd small {
  font-size: 3rem;
}
.bnr-03 dd i {
  font-size: 1rem;
  position: absolute;
  top: 1em;
  right: 0;
}

/**------------------------------ 
commit
 ------------------------------**/
.sec-commit {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: -50px 0 0;
  padding: 1px 0;
  border-radius: 45px 45px 0 0;
  background: var(--base_bg);
}

.list-commit {
  margin: 15px auto 10px;
}
.list-commit li {
}

.list-commit li + li {
  margin: 40px 0 0;
}

.list-commit li figure {
  position: relative;
  width: 87%;
  margin: 0 0 0 auto;
}

.list-commit li figure img {
  border: 3px solid var(--c_Or);
  border-right: none;
  border-radius: 35px 0 0 35px;
}

.list-commit li figure figcaption {
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  color: var(--c_Gr);
  font-family: var(--font_eng);
  font-size: 2rem;
  writing-mode: vertical-rl;
  white-space: nowrap;
}

.list-commit li:nth-child(even) figure {
  margin: 0 auto 0 0;
}

.list-commit li:nth-child(even) figure img {
  border: 3px solid var(--c_Or);
  border-left: none;
  border-radius: 0 35px 35px 0;
}

.list-commit li:nth-child(even) figure figcaption {
  position: absolute;
  top: 50%;
  right: auto;
  left: 100%;
}

.list-commit h3 {
  color: var(--c_Or);
  font-size: 2rem;
  margin: 15px 0 10px;
  font-weight: bold;
}
.list-commit .text-container {
  font-weight: 500;
  position: relative;
}

.list-commit .text-container .more {
  color: var(--c_Bl);
  cursor: pointer;
}

.list-commit :is(h3, .text-container) {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

/**------------------------------ 
chin
 ------------------------------**/
.sec-chin {
  width: 100%;
  overflow: hidden;
}
.sec-chin:before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 35px;
  border-radius: 0 0 40px 40px;
  background: var(--base_bg);
}

.infi-text {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  --width: 16.2em; /* 1文の表示の幅 */
  width: 100%;
  padding: 20px 0;
  background: var(--white);
  overflow: hidden;
  line-height: 1;
  color: var(--c_Or);
  font-family: var(--font_eng);
  font-size: 2.6rem;
  white-space: nowrap;
}

.infi-text p {
  display: flex;
  justify-content: flex-start;
  animation: scrollingText 35s linear infinite;
}

.infi-text-inner {
}

.infi-text-inner b {
  color: var(--c_Gr);
  font-size: 1.2em;
}

@keyframes scrollingText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-1 * (100% - 375px)));
  }
}

/**------------------------------ 
voice
 ------------------------------**/
.sec-voice {
  padding: 10px 0 50px;
}

.list-voice {
  padding: 1px 0 0;
  margin: -30px auto 0;
}

.list-voice li {
  position: relative;
  margin: 120px 0 0;
  padding: 20px;
  border: 3px solid var(--c_Or);
  border-radius: 15px;
  background: var(--white);
}

.list-voice figure {
  width: 100%;
}

.list-voice figure img {
  position: absolute;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
  aspect-ratio: 1/1;
  width: 124px;
  height: auto;
  object-fit: cover;
  border-radius: 50vw;
  border: 3px solid var(--c_Or);
  display: block;
  margin: 0 auto;
}

.list-voice figure figcaption {
  padding: 20px 0 10px;
  border-radius: 10px;
  background: var(--c_Gr);
  color: var(--white);
  font-family: var(--font_sans);
  font-weight: bold;
  text-align: center;
  font-size: 1.5rem;
}

.list-voice h3 {
  margin: 15px 0 0;
  color: var(--c_Or);
  font-size: 1.7rem;
  font-weight: bold;
  text-align: center;
}
.list-voice p {
  font-family: var(--font_sans);
  font-weight: 500;
  margin: 10px 0 0;
}

/**------------------------------ 
howto
 ------------------------------**/
.sec-howto {
  width: 100%;
  background: var(--c_Br2);
  padding-bottom: 60px;
}

.list-howto {
  margin: 30px auto 0;
}

.list-howto li {
  counter-increment: li;
  display: grid;
  grid-template-columns: 110px 1fr;
  grid-template-rows: 30px auto;
  grid-template-areas:
    "i dl"
    "fig dl";
  align-items: start;
  gap: 10px 20px;
  border: 2px solid var(--c_Or);
  border-radius: 10px;
  background: var(--white);
  padding: 20px;
}

.list-howto li + li {
  margin: 20px auto 0;
}

.list-howto i {
  grid-area: i;
  display: block;
  background: var(--c_Gr);
  padding: 5px;
  color: var(--white);
  font-size: 1.5rem;
  border-radius: 50px;
  text-align: center;
  line-height: 1;
  letter-spacing: 1px;
}
.list-howto i:after {
  content: counter(li);
}
.list-howto figure {
  grid-area: fig;
}

.list-howto figure img {
  border-radius: 8px;
}

.list-howto dl {
  grid-area: dl;
}

.list-howto dl dt {
  margin: 0 0 8px;
  font-size: 1.8rem;
  font-weight: bold;
}
.list-howto dl dd {
  color: var(--black);
  font-weight: 500;
}

/**------------------------------ 
faq
 ------------------------------**/
.sec-faq {
  padding-top: 10px;
  padding-bottom: 30px;
}

/**--- toggle ---**/

.toggle {
  display: none;
}

.toggle + .click + .open {
  height: 0;
  overflow: hidden;
  transition: var(--transition);
}
.toggle:checked + .click {
  border-bottom: 2px dotted var(--c_Or);
  padding-bottom: 10px;
}
.toggle:checked + .click + .open {
  /*開閉時*/
  height: auto;
  padding: 10px 0;
  transition: var(--transition);
}
.toggle:checked + .click::after {
  transform: rotate(180deg);
}

.list-faq {
  margin: 30px auto 0;
}

.list-faq li {
  border: 2px solid var(--c_Or);
  border-radius: 10px;
  background: var(--white);
  padding: 15px;
}

.list-faq li + li {
  margin: 20px auto 0;
}

.list-faq .click {
  display: flex;
  gap: 10px;
  width: 100%;
  padding: 0 2em 0 0;
  position: relative;
}
.list-faq .click span {
  padding-top: 3px;
  font-weight: bold;
}

.list-faq .click:before {
  content: "Q.";
  color: var(--c_Or);
  font-size: 1.6rem;
  font-weight: bold;
}

.list-faq .click:after {
  content: "▼";
  font-size: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  background: var(--c_Or);
  color: var(--white);
  border-radius: 50px;
  position: absolute;
  top: 0.5em;
  right: 0;
}

.list-faq .open:before {
  content: "A.";
  color: var(--c_Gr);
  font-size: 1.6rem;
  font-weight: bold;
}

.list-faq .open {
  display: flex;
  gap: 10px;
  width: 100%;
  padding: 0;
}

.list-faq .open p {
  color: var(--black);
  font-weight: 500;
}

/**------------------------------ 
cta
 ------------------------------**/
.sec-cta {
  width: 100%;
  /* padding-top: 30px; */
  padding-top: 0px;
}

.sec-cta .text-form {
  background: var(--c_Or);
  color: var(--white);
  padding: 1px 5% 40px;
}

.sec-cta .text-form h3 {
  font-size: 2rem;
}

.sec-cta .text-form > p {
  font-weight: 500;
  margin: 10px 0;
}

/**---  ---**/

.progressTracker {
  display: flex;
  justify-content: center;
  font-size: 1.3rem;
  margin: 30px auto;
  gap: 5px 18px;
}

.progressTracker li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border: 1px solid var(--base_color);
  border-radius: 5px;
  background: var(--white);
  color: var(--base_color);
  text-align: center;
  line-height: 1.3;
  font-weight: bold;
}
.progressTracker li + li:before {
  position: absolute;
  top: 50%;
  left: -16px;
  transform: rotate(45deg) translateY(-50%);
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--base_color);
  border-right: 2px solid var(--base_color);
}
.progressTracker li.current {
  border: 1px solid var(--c_Gr);
  background: var(--c_Gr);
  color: var(--white);
}

form {
  width: min(100%, 90vw);
  margin: 40px auto;
  font-weight: bold;
}

form dl {
  margin-bottom: 30px !important;
}

form dl dt {
  font-size: 1.1em;
  margin-bottom: 10px;
}

form .box {
  display: flex;
  gap: 10px;
}

form .box .box_l {
  flex: 1;
}

/* 基本的なフォーム要素のスタイル */
form :is(input[type="text"], input[type="email"], input[type="tel"], textarea) {
  width: 100%;
  border: none;
  border-bottom: 2px solid var(--gray);
  background: var(--white);
  margin: 5px 0 20px;
  padding: 12px;
  border-radius: 4px;
  color: var(--base_color);
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

form :is(input[type="text"], input[type="email"], input[type="tel"], textarea):focus {
  outline: none;
  border-bottom-color: var(--c_Gr);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* セレクトボックスのカスタマイズ */
form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  border: none;
  border-bottom: 2px solid var(--gray);
  background: var(--white)
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6"><path d="M0,0 L12,0 L6,6 Z" fill="%231f1f1f"/></svg>')
    no-repeat;
  background-position: right 12px center;
  margin: 5px 0 20px;
  padding: 12px;
  border-radius: 4px;
  color: var(--base_color);
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

form select:focus {
  outline: none;
  border-bottom-color: var(--c_Gr);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

form .flow select {
  width: auto;
  min-width: 100px;
  margin-right: 10px;
  flex: 0 0 auto;
}

/* ラジオボタンとチェックボックスのカスタマイズ */
form :is(input[type="radio"], input[type="checkbox"]) {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

form label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 5px 0 !important;
  transition: all 0.2s ease;
  user-select: none;
  border-radius: 4px;
  position: relative;
}

form label:hover {
  color: var(--c_Gr);
}

/* ラジオボタンのカスタマイズ */
form input[type="radio"] + label::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid var(--gray);
  border-radius: 50%;
  background-color: var(--white);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

form input[type="radio"]:checked + label::before {
  border-color: var(--c_Gr);
  border-width: 6px;
  animation: pulse 0.4s ease;
}

/* チェックボックスのカスタマイズ */
form input[type="checkbox"] + label::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid var(--gray);
  border-radius: 4px;
  background-color: var(--white);
  transition: all 0.2s ease;
  box-sizing: border-box;
}

form input[type="checkbox"]:checked + label::before {
  border-color: var(--c_Gr);
  background-color: var(--c_Gr);
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="10" viewBox="0 0 12 10"><path d="M1,5 L4,8 L11,1" stroke="white" stroke-width="2" fill="none"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  animation: pulse 0.4s ease;
}

/* フォーカス状態の視覚的フィードバック */
form :is(input[type="radio"], input[type="checkbox"]):focus + label {
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

/* ラベルのレイアウト */
form .flow {
  display: flex;
  flex-flow: wrap;
  gap: 12px 24px;
  margin: 10px 0 20px;
}

form .column {
  display: flex;
  flex-flow: row wrap;
  gap: 4px 30px !important;
  margin: 10px 0 15px !important;
  width: 100%;
  justify-content: flex-start;
  align-items: center;
}

/* ボタングループ */
.button-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  margin-bottom: 20px;
  width: 100%;
}

/* フォーム要素の幅を修正 */
.button-group form {
  width: 100%;
  margin: 0;
}

/* 戻るボタン */
.button-group .form_btn.edit {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 14px 32px;
  background-color: #777;
  color: white;
  text-align: center;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  font-family: var(--font_sans);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.button-group .form_btn.edit:hover {
  background-color: #555;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* 次へボタン */
.button-group button[form="ORDER_FORM"],
.button-group .form_btn.large {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 16px 40px;
  background-color: var(--c_Gr);
  color: white;
  text-align: center;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  font-family: var(--font_sans);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(229, 1, 18, 0.2);
  min-width: 250px;
}

.button-group button[form="ORDER_FORM"]:hover,
.button-group .form_btn.large:hover {
  background-color: color-mix(in srgb, var(--c_Gr) 100%, var(--black) 5%);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(229, 1, 18, 0.3);
}

/* PC表示用のスタイル */
@media screen and (min-width: 768px) {
  .button-group {
    flex-direction: column;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* 完了画面 */
.completion-message {
  text-align: center;
  margin: 30px 0;
  line-height: 1.8;
  color: #333;
}

.completion-message p {
  margin-bottom: 15px;
  color: #333;
}

.order-summary {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  max-width: 400px;
  margin: 30px auto;
  text-align: left;
  color: #333;
}

.order-summary dl {
  display: flex;
  margin-bottom: 10px;
  color: #333;
}

.order-summary dt {
  width: 130px;
  color: #666;
}

.order-summary dd {
  flex: 1;
  font-weight: 600;
  color: #333;
}

/* スマホ表示時の調整 */
@media screen and (max-width: 520px) {
  .confirmation-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 5px;
  }

  .confirmation-item dt {
    width: 100%;
    margin-bottom: 8px;
    font-size: 0.9em;
    color: #666;
  }

  .confirmation-item dd {
    width: 100%;
    font-size: 1.1em;
    padding-left: 15px;
  }

  .button-group {
    flex-direction: column;
    gap: 15px;
  }

  form .form_btn.edit,
  form .form_btn.complete {
    width: 100%;
  }

  .order-summary dl {
    flex-direction: column;
  }

  .order-summary dt {
    width: 100%;
    margin-bottom: 3px;
  }

  .price-item dt {
    font-size: 1em !important;
  }

  .price-item {
    padding: 15px 10px !important;
  }
}

/* 価格表示エリアのスタイル */
.price-summary {
  background: var(--white);
  color: #333;
  border: 2px solid var(--c_Gr);
  border-radius: 8px;
  padding: 20px;
  margin: 25px 0;
  text-align: center;
  position: relative;
}

.price-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c_Gr);
  color: var(--white);
  padding: 2px 15px;
  font-size: 0.9em;
  border-radius: 15px;
  font-weight: bold;
  white-space: nowrap;
}

.price-summary p {
  margin: 5px 0;
  font-size: 1em;
  line-height: 1.5;
  color: #333;
}

.price-summary p strong {
  font-size: 1.1em;
  display: block;
  margin-bottom: 8px;
  color: #333;
}

.total-price {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--c_Re2);
}

.highlight-price {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--c_Gr);
}

/* 確認画面の価格情報 */
.price-item {
  margin-top: 8px;
  font-weight: bold;
}

/* お申込み内容の表示スタイル */
#order_summary {
  text-align: left;
  line-height: 1.6;
  margin-top: 10px;
}

#order_summary p {
  margin: 5px 0;
  color: #333;
}

/* 完了ボタン */
.button-group .form_btn.complete {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 16px 40px;
  background-color: var(--c_Gr);
  color: white;
  text-align: center;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: bold;
  font-family: var(--font_sans);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  min-width: 250px;
}

.button-group .form_btn.complete:hover {
  background-color: color-mix(in srgb, var(--c_Gr) 100%, var(--black) 5%);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* 郵便番号入力ボタン */
form .form_btn_zip {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0 20px;
  background-color: var(--c_Gr);
  color: white;
  text-align: center;
  border-radius: 3px;
  font-size: 1em;
  cursor: pointer;
  min-width: 72px;
  height: 40px;
  box-sizing: border-box;
}

form .form_btn_zip.large {
  min-width: 250px;
  margin: 0 auto;
}

/* 郵便番号入力フォーム */
form .box .box_l input[type="text"] {
  height: 40px;
  box-sizing: border-box;
  width: 100%;
  padding: 0 12px;
  margin: 0;
  vertical-align: middle;
}

/* 確認画面のスタイル改善 */
.confirmation-section {
  background: var(--white);
  border-radius: 10px;
  padding: 25px;
  margin: 30px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--c_Gr) 10%, var(--white) 10%);
}

.confirmation-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--c_Gr);
}

.confirmation-title {
  font-size: 1.25em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--c_Gr);
  padding-left: 18px;
  position: relative;
  letter-spacing: 0.05em;
}

.confirmation-title:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: var(--c_Gr);
  border-radius: 50%;
}

.confirmation-content {
  padding: 0 10px;
}

.confirmation-item {
  display: flex;
  border-bottom: 1px solid #f0f0f0;
  padding: 15px 5px;
  align-items: flex-start;
}

.confirmation-item:last-child {
  border-bottom: none;
}

.item-label {
  font-weight: bold;
  width: 35%;
  min-width: 120px;
  color: #555;
  padding-right: 0;
  font-size: 1em;
  text-align: left;
}

.item-value {
  flex: 1;
  font-size: 1.15em;
  color: #333;
  text-align: left;
  padding-left: 0;
}

.price-item {
  background-color: color-mix(in srgb, var(--c_Gr) 10%, var(--white) 100%);
  border-radius: 8px;
  margin-top: 15px !important;
  padding: 18px 12px !important;
  border: 1px dashed color-mix(in srgb, var(--c_Gr) 50%, var(--white) 50%);
}

.price-item .item-label {
  color: var(--c_Re) !important;
  font-size: 1.1em !important;
}

.price-item .item-value .highlight-price {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--c_Re2);
}

/* スマホ表示時の調整 */
@media screen and (max-width: 520px) {
  .confirmation-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 5px;
  }

  .item-label {
    width: 100%;
    margin-bottom: 8px;
    font-size: 0.9em;
    color: #666;
    padding-right: 0;
  }

  .item-value {
    width: 100%;
    font-size: 1.1em;
    padding-left: 0;
  }

  .price-item .item-label {
    font-size: 1em !important;
  }

  .price-item {
    padding: 15px 10px !important;
  }
}

/**------------------------------ 
meal kit
 ------------------------------**/
.sec-mealkit {
  width: 100%;
  padding-top: 30px;
  padding-bottom: 20px;
  background: var(--c_Re2);
  color: var(--white);
  text-align: center;
}

.sec-mealkit h2 {
  margin: 15px 0 20px;
  font-family: var(--font_sans);
  font-weight: 500;
}

.copyright {
  margin: 30px auto 0;
  font-size: 1.3rem;
  text-align: center;
}

/* フォーム自動入力項目のスタイル - 改善版 */
form .auto-filled {
  margin-bottom: 15px;
  opacity: 0.9;
}

form .auto-filled dt {
  font-weight: 600;
  margin-bottom: 8px;
  color: #666;
  padding-left: 5px;
  border-left: 3px solid #ccc;
}

form .display-value {
  padding: 12px 15px;
  background-color: #f9f9f9;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
}

form .readonly-value {
  font-size: 1em;
  color: #333;
  font-weight: 500;
  display: block;
  width: 100%;
  line-height: 1.4;
}

/* 読み取り専用表示スタイル */
form .read-only-display {
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
}

form .read-only-display dt {
  font-size: 0.9em;
  color: #777;
  margin-bottom: 2px;
  font-weight: normal;
  padding-left: 0;
  border-left: none;
}

form .read-only-display .display-value {
  background-color: transparent;
  border: none;
  border-radius: 0;
  padding: 4px 0;
  min-height: auto;
  box-shadow: none;
  border-bottom: 1px dotted #ccc;
}

form .read-only-display .readonly-value {
  color: #222;
  font-weight: 500;
  font-size: 1.1em;
}

/* 読み取り専用表示項目とフォーム入力項目の視覚的な区別 */
form .read-only-display + .required-input.highlight {
  margin-top: 25px; /* 間隔を空けて区別する */
  position: relative;
}

form .read-only-display + .required-input.highlight:before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #ccc, transparent);
}

/* 番地・建物名の強調表示 */
form .required-input.highlight {
  margin-bottom: 25px;
  position: relative;
}

form .required-input.highlight:before {
  content: "";
  position: absolute;
  top: -8px;
  left: -8px;
  right: -8px;
  bottom: -8px;
  border: 2px solid var(--c_Re2);
  border-radius: 8px;
  pointer-events: none;
  z-index: 1;
}

form .required-input.highlight dt {
  font-weight: 700;
  position: relative;
  z-index: 2;
}

form .required-input.highlight dd {
  position: relative;
  z-index: 2;
}

form .highlight-input {
  border: 1px solid #ddd !important;
  background-color: #fff !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

form .highlight-input:focus {
  border-color: var(--c_Re) !important;
  box-shadow: 0 0 0 2px rgba(229, 1, 18, 0.15) !important;
}

form .input-notice {
  color: var(--c_Re2);
  font-size: 0.85em;
  margin-top: 5px;
  font-weight: 600;
}

/* 確認画面での自動入力項目の表示スタイル */
.auto-filled-item .item-label {
  color: #666;
  font-weight: normal;
}

.auto-filled-item .item-value {
  color: #555;
  background-color: #f9f9f9;
  padding: 8px 12px;
  border-radius: 4px;
}

/* 確認画面での番地・建物名の強調表示 */
.highlight-item {
  position: relative;
  padding: 5px 0;
}

.highlight-item:before {
  content: "";
  position: absolute;
  top: -5px;
  left: -12px;
  right: -12px;
  bottom: -5px;
  border: 2px solid var(--c_Re2);
  border-radius: 8px;
  pointer-events: none;
  opacity: 0.7;
}

.highlight-item .item-label {
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.highlight-item .item-value {
  position: relative;
  z-index: 2;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 8px 12px;
  border-radius: 4px;
}

.highlight-value {
  font-weight: 600;
}

/* 表示専用データエリア */
.address-display-area {
  background-color: #f8f8f8;
  border-radius: 6px;
  padding: 12px 15px 8px;
  margin-bottom: 25px;
  position: relative;
}

.address-display-area:before {
  content: "自動入力";
  position: absolute;
  top: -8px;
  left: 10px;
  background: #f0f0f0;
  color: #777;
  font-size: 0.75em;
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
}

/* 読み取り専用表示スタイル */
form .read-only-display {
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
}

form .read-only-display dt {
  font-size: 0.9em;
  color: #777;
  margin-bottom: 2px;
  font-weight: normal;
  padding-left: 0;
  border-left: none;
}

form .read-only-display .display-value {
  background-color: transparent;
  border: none;
  border-radius: 0;
  padding: 4px 0;
  min-height: auto;
  box-shadow: none;
  border-bottom: 1px dotted #ccc;
}

form .read-only-display .readonly-value {
  color: #222;
  font-weight: 500;
  font-size: 1.1em;
}

/* 入力項目との区別を強調 */
.required-input.highlight {
  position: relative;
  z-index: 2;
}

/* シンプルな表示のためのスタイル */
.simple-display {
  margin: 15px 0 25px;
  color: white;
}

.simple-display .display-label {
  font-size: 0.9em;
  margin-bottom: 2px;
  opacity: 0.9;
}

.simple-display .display-value {
  font-size: 1.1em;
  margin-bottom: 15px;
  line-height: 1.3;
}

/* 入力項目との区別を強調 */
.required-input.highlight {
  margin-top: 5px;
}

/* 表示のみのスタイル - シンプル版 */
.display-only {
  margin-bottom: 12px;
}

.display-only dt {
  color: white;
  font-size: 0.9em;
  margin-bottom: 4px;
  font-weight: normal;
}

.display-only dd {
  color: white;
  font-size: 1.1em;
  background: transparent;
  border: none;
  padding: 0 0 5px;
}

.display-only dd span {
  display: block;
  line-height: 1.3;
}

/* 入力欄の強調表示 */
.required-input.highlight {
  margin-top: 15px;
}

/* 非表示要素用クラス */
.hidden {
  display: none;
}

/* 追加フィールド用スタイル */
#referral_detail_container:not(.hidden),
#other_detail_container:not(.hidden) {
  margin-top: 10px;
}

/* 支払い方法関連のスタイル */
#credit_card_details {
  margin-top: 15px;
  padding: 15px;
  background-color: #f5f5f5 !important;
  border-radius: 5px;
  transition: all 0.3s ease;
  color: #333 !important; /* 明示的に黒系の文字色を指定 */
  border: 1px solid #e0e0e0;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

#credit_card_details p {
  margin-bottom: 15px;
  font-size: 0.9em;
  line-height: 1.5;
  color: #333 !important; /* 明示的に黒系の文字色を指定 */
}

#credit_card_details p strong {
  font-weight: bold;
  color: #333 !important; /* 明示的に黒系の文字色を指定 */
}

.card-selection {
  display: flex;
  flex-wrap: nowrap; /* 横並びを強制 */
  gap: 15px;
  margin-top: 10px;
  justify-content: flex-start; /* 左寄せで配置 */
}

.radio-wrapper.card-type {
  display: flex;
  align-items: center;
  background-color: #fff;
  padding: 8px 15px;
  border-radius: 4px;
  border: 1px solid #ddd;
  transition: all 0.2s ease;
  min-width: 120px; /* 最小幅を設定して横幅を確保 */
  flex: 0 0 auto; /* サイズを固定して伸縮しないように */
  margin: 5px 10px 5px 0;
}

.radio-wrapper.card-type:hover {
  border-color: #999;
  background-color: #f9f9f9;
}

.radio-wrapper.card-type input[type="radio"]:checked + label {
  font-weight: bold;
  color: var(--c_Re);
}

.radio-wrapper.card-type label {
  display: flex;
  align-items: center;
  white-space: nowrap; /* テキストの改行を防止 */
  font-size: 1em; /* フォントサイズを明示的に指定 */
  color: #333 !important; /* 明示的に黒系の文字色を指定 */
  padding: 0 5px;
}

.radio-wrapper.card-type label img {
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

/* カードタイプのチェックマークを調整 */
.radio-wrapper.card-type input[type="radio"] + label::before {
  margin-right: 8px;
}

@media screen and (max-width: 520px) {
  .card-selection {
    flex-direction: row; /* 横並びを維持 */
    flex-wrap: wrap; /* 必要に応じて折り返し */
    gap: 10px;
    justify-content: flex-start; /* 左寄せで配置 */
    width: 100%;
  }
  
  .radio-wrapper.card-type {
    min-width: 130px; /* モバイル用に最小幅を調整 */
    flex: 0 0 calc(50% - 15px); /* 半分の幅から間隔を引いた値 */
    box-sizing: border-box; /* ボックスモデルを調整 */
  }
  
  #credit_card_details {
    padding: 12px;
  }
}
