@charset "UTF-8";

/* ========================================
   Typography & Section Layout
======================================== */
.kaku {
  font-family: "zen-kaku-gothic-new", sans-serif;
  font-weight: 400;
}

.en {
  font-size: 96px;
  font-weight: 900;
  line-height: 108%;
}

section {
  padding: 80px;
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
}

h2::before {
  content: "";
  width: 32px;
  height: 1px;
  background-color: #47413a;
}


/* ========================================
   Sections（背景・レイアウト）
======================================== */

/* mv */
.flex-start {
  align-items: flex-start;
  margin: 0 !important;
  width: fit-content;
}

/* about */
.about {
  background-image: url(img/about.png);
  background-size: cover;
}

/* detail */
/* アイコンのスタイリング（＋とー） */
.acc-icon {
  position: absolute;
  right: 0; /* 位置は微調整してね */
  width: 20px;
  height: 20px;
}
.acc-icon::before, .acc-icon::after {
  content: "";
  position: absolute;
  background-color: #333;
  transition: all 0.3s ease;
}
/* 横棒 */
.acc-icon::before {
  top: 50%; left: 0;
  width: 100%; height: 1px;
  transform: translateY(-50%);
}
/* 縦棒（＋の時だけ見える） */
.acc-icon::after {
  top: 0; left: 50%;
  width: 1px; height: 100%;
  transform: translateX(-50%);
}

/* 開いた時のアニメーション（縦棒を消してマイナスに） */
.js-accordion-item.is-active .acc-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

/* コンテンツの初期状態（隠す） */
.accordion-content {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
}

/* 最初から開いておきたい場合用のクラス（任意） */
.js-accordion-item.is-active .accordion-content {
  height: auto;
}

/* --- 追加・修正分 --- */

/* 通常時（閉じている時）は余白なし、または最小限に */
.js-accordion-trigger {
  margin-bottom: 0; 
  transition: margin-bottom 0.3s ease; /* 動きを滑らかにするなら */
}

/* 開いた時（is-active）だけ、h3の下に余白を作る */
.js-accordion-item.is-active .js-accordion-trigger {
  margin-bottom: 24px; /* mg-4 相当の数値（1.5rem〜2rem程度）に調整してね */
}

/* 念のためコンテンツ内の余白もリセット */
.accordion-content .flexbox {
  padding-top: 0;
}


.tooth {
  width: 48px;
}

.howto a {
  width: 432px;
  height: 432px;
}

.howto a:hover img {
  display: none;
}

.howto a:nth-child(1):hover {
  background-image: url(img/d1_h.png);
  background-size: cover;
}

.howto a:nth-child(2):hover {
  background-image: url(img/d2_h.png);
  background-size: cover;
}
.howto a:nth-child(3):hover {
  background-image: url(img/d3_h.png);
  background-size: cover;
}

.howto a:nth-child(4):hover {
  background-image: url(img/d4_h.png);
  background-size: cover;
}

.howto a:nth-child(5):hover {
  background-image: url(img/d5_h.png);
  background-size: cover;
}

.detail .item .wrap {
  gap: 16px 32px;
}

/* fee */
.fee {
  background-image: url(img/fee.png);
  background-size: cover;
}

.fee h2::before {
  background-color: #ffffff;
}

.fee .title , .news .title {
  max-width: 100%;
  width: 360px;
}
/* news */
.news .en,
.colum .en {
  color: rgba(167, 167, 167, 0.4);
}

.news .text{
	width:100%;
}

/* colum */

.colum {
  background-image: url(img/colum.png);
  background-size: cover;
}

/* info */
dt {
  width: 30%;
}

dd {
  width: calc(70% - 16px);
}

dt,
dd {
  border-bottom: solid 1px #cdc9c1;
  font-family: "zen-kaku-gothic-new", sans-serif;
  padding: 0px 8px 16px 8px;
}

/* footer */
.sns {
  width: 36px;
  display: block;
}

/* 下層 */
.contact {
  background-image: url(img/contact.png);
  background-size: cover;
}

/* ========================================
   Responsive : max-width 1199px（SP）
======================================== */

@media screen and (max-width: 1199px) {
  section {
    padding: 40px 16px;
    box-sizing: border-box;
  }

  .en {
    font-size: 48px;
  }

  /* mv & 背景SP */
  .mv {
    background-image: url(img/fv_sp.png);
  }

  h2 {
    font-style: normal;
    font-size: 40px;
    font-weight: 600;
  }

  .howto a {
    width: 300px;
    height: 300px;
  }
	
	.news .text .btn_w{
		display:block;
		margin:0 auto;
	}
}

/* ========================================
   Responsive : min-width 1200px（PC）
======================================== */

@media screen and (min-width: 1200px) {
  .inner {
    max-width: 1200px;
    margin: 0 auto;
  }

  /* flow cards 並び */
  .about img ,
	.about .text{
    width: calc((100% - 80px) / 2);
  }

  .info .calendor_outer,
  .info .text {
    width: calc((100% - 16px) / 2);
  }
}
