/* ==============================
   COLOMO FAQ
================================= */

:root {
  --faq-main: #a8696c;
  --faq-main-light: #e6b9bb;
  --faq-bg: #fbf8f6;
  --faq-card: #ffffff;
  --faq-sub: #77716f;
  --faq-line: #eadfdb;
  --faq-q-bg: #f5ebe8;
  --faq-a-bg: #faf7f5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: var(--black);
  font-family:
    "Yu Gothic",
    "YuGothic",
    "Hiragino Kaku Gothic ProN",
    sans-serif;
}


/* ========================================
   
======================================== */

.faq {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 80px 0 120px;
}

.faq-category {
  margin-top: 88px;
}

.faq-category:first-child {
  margin-top: 0;
}


.faq-page {
  background: #fff;
}

.faq-page main {
  overflow: hidden;
}

.faq-page img {
  display: block;
  height: auto;
}


/* ------------------------------
   faq_fv__visual
-------------------------------- */

:has(.sub-fv--faq) .sub-fv::after {
  content: none;
}

.faq_fv__visual {
    margin: 0 auto;
    position: relative;
}

.faq_fv__visual img {
	width: 100%;
	min-height: 300px;
	object-fit: cover;
	object-position: 27%;
}

.faq_fv__text {
    padding: 0 18px;
    border-radius: 10px;
    margin: 0 auto 0;
    position: relative;
}

.faq_fv__text h3 {
	color: var(--brown);
	font-size: 18px;
	font-weight: 600;
	margin: 24px auto 0;
}

.faq_fv__text p {
    margin: 12px auto 0;
    font-weight: 500;
    color: var(--black);
    padding: 0 0 10px;
    border-bottom: 1px solid var(--rose);
}

.faq_fv__notes {
    font-size: 14px;
    padding: 0 18px;
    color: var(--black);
}

/* ------------------------------
   category heading
-------------------------------- */

.faq-category__head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;

  margin-bottom: 28px;
  padding: 22px 30px;

  background: var(--faq-main-light);
  border-radius: 2px;
  overflow: hidden;
}


/* 右側：3重リング */
.faq-category__head::after {
  content: "";
  position: absolute;

  top: -72px;
  right: -48px;

  width: 190px;
  height: 190px;

  border: 2px solid rgba(168, 105, 108, .32);
  border-radius: 50%;

  box-shadow:
    0 0 0 23px var(--faq-main-light),
    0 0 0 26px rgba(168, 105, 108, .20),
    0 0 0 50px var(--faq-main-light),
    0 0 0 53px rgba(168, 105, 108, .12);

  pointer-events: none;
}


/* 01 ─── */
.faq-category__number {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  gap: 10px;

  flex: 0 0 auto;

  font-family: var(--garamond);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;

  letter-spacing: .12em;
  color: #8f5f62;
}


/* ナンバー横の短いライン */
.faq-category__number::after {
  content: "";
  display: block;

  width: 28px;
  height: 1px;

  background: rgba(143, 95, 98, .55);
}


/* カテゴリ名 */
.faq-category__title {
  position: relative;
  z-index: 1;

  margin: 0;

  font-family:
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    serif;

  font-size: 24px;
  font-weight: 400;
  letter-spacing: .1em;

  color: #fff;
  white-space: nowrap;
}


/* ------------------------------
   accordion
-------------------------------- */

.faq-list {
  /* カテゴリ帯があるので上線はなし */
}

.faq-item {
  border-bottom: 1px solid var(--faq-line);
  background: var(--faq-card);
}


/* デフォルトの三角を消す */
.faq-item summary {
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}


.faq-question {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr 36px;
  gap: 20px;
  align-items: center;

  min-height: 96px;
  padding: 20px 22px 20px 10px;

  cursor: pointer;

  transition:
    background-color .35s ease,
    color .35s ease;
}

.faq-question:hover {
  background: var(--faq-bg);
}


/* Q */
.faq-q {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  border-radius: 50%;
  background: var(--faq-q-bg);

  font-family: var(--garamond);
  font-size: 22px;

  color: var(--faq-main);
}

.faq-question__text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .035em;
}


/* ＋アイコン */
.faq-toggle {
  position: relative;
  display: block;

  width: 28px;
  height: 28px;

  margin-left: auto;
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;

  top: 50%;
  left: 50%;

  width: 15px;
  height: 1px;

  background: var(--faq-main);

  transform: translate(-50%, -50%);
  transition: transform .35s ease;
}

.faq-toggle::after {
  transform:
    translate(-50%, -50%)
    rotate(90deg);
}


/* OPEN時 ＋ → − */
.faq-item[open] .faq-toggle::after {
  transform:
    translate(-50%, -50%)
    rotate(0deg);
}

.faq-item[open] > .faq-question {
  color: var(--faq-main);
}


/* ------------------------------
   answer
-------------------------------- */

.faq-answer {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 20px;

  padding: 4px 70px 34px 10px;

  color: var(--black);
}
.faq-answer a.link {
    color: var(--brown);
    font-weight: 500;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--rose);
}

.faq-a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  border-radius: 50%;
  background: var(--faq-main);

  font-family: var(--garamond);
  font-size: 21px;

  color: #fff;
}


.faq-answer__body {
  padding: 4px 0 0;
  font-size: 15px;
  line-height: 2;
  /* letter-spacing: .035em; */
}

.faq-answer__body p {
  margin: 0 0 1em;
  font-weight: 500;
}

.faq-answer__body p:last-child {
  margin-bottom: 0;
}


/* 注釈 */
.faq-note {
  margin-top: 18px;
  padding: 16px 20px;

  border-radius: 8px;
  background: var(--faq-bg);

  font-size: 13px;
  line-height: 1.8;
  color: var(--faq-sub);
}


/* ------------------------------
   回答内画像
-------------------------------- */

.faq-answer__image {
  width: 100%;
  max-width: 680px;
  margin: 28px auto;
}

.faq-answer__image img {
  display: block;
  width: 100%;
  height: auto;
}


/* ==============================
   SP
================================= */

@media (max-width: 767px) {

  .faq {
    width: calc(100% - 32px);
    padding: 52px 0 80px;
  }

  .faq-category {
    margin-top: 64px;
  }


  /* category heading */

  .faq-category__head {
    gap: 14px;

    margin-bottom: 18px;
    padding: 18px 20px;
  }


  /* 01 ── */
  .faq-category__number {
    gap: 8px;
    font-size: 14px;
  }

  .faq-category__number::after {
    width: 20px;
  }


  /* 通常のカテゴリは1行キープ */
  .faq-category__title {
    font-size: 20px;
    white-space: nowrap;
  }


  /* 6番など長いカテゴリだけ折り返しOK */
  .faq-category__head--wrap {
    align-items: flex-start;
  }

  .faq-category__head--wrap .faq-category__number {
    margin-top: 7px;
  }

  .faq-category__head--wrap .faq-category__title {
    min-width: 0;
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: anywhere;
  }


  /* SP：3重リング */
  .faq-category__head::after {
    top: -55px;
    right: -42px;

    width: 145px;
    height: 145px;

    border-width: 2px;

    box-shadow:
      0 0 0 18px var(--faq-main-light),
      0 0 0 21px rgba(168, 105, 108, .20),
      0 0 0 39px var(--faq-main-light),
      0 0 0 42px rgba(168, 105, 108, .12);
  }


  /* accordion */

  .faq-question {
    grid-template-columns: 34px 1fr 26px;
    gap: 12px;

    min-height: 80px;
    padding: 18px 4px;
  }

  .faq-q,
  .faq-a {
    width: 34px;
    height: 34px;

    font-size: 18px;
  }

  .faq-question__text {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.65;
  }

  .faq-toggle {
    width: 24px;
    height: 24px;
  }

  .faq-toggle::before,
  .faq-toggle::after {
    width: 13px;
  }


  /* answer */

  .faq-answer {
    grid-template-columns: 34px 1fr;
    gap: 12px;

    padding: 4px 4px 26px;
  }

  .faq-answer__body {
    font-size: 16px;
    line-height: 1.9;
  }

  .faq-note {
    padding: 13px 15px;
    font-size: 12px;
  }


  /* answer image */

  .faq-answer__image {
    margin: 22px auto;
  }

}

/*レスポンシブ（min-width:781px）*/

@media (min-width:781px) {
	.faq_fv__text {
		max-width: 510px;
		position: absolute;
		top: 50%;
		right: 2%;
		translate: 0 -50%;
		background: rgba(255,255,255,0.9);
		padding: 20px 18px 10px;
	}

	.faq_fv__text h3 {
		font-size: min(24px,2vw);
		margin: 0 auto;
	}

	.faq_fv__text p {
		margin: 0 auto;
		border: none;
		padding: 0 0 20px;
		font-size: min(22px,1.8vw);
	}

	.faq_fv__notes {
		width: min(1200px, calc(100% - 48px));
		text-align: right;
		margin: 10px auto 0;
	}

	.faq-category__title {
		font-size: 28px;
	}

	.faq-category__number {
		font-size: 18px;
	}

	.faq-question__text {
		font-size: 20px;
	}

	.faq-answer__body p {
		font-size: 20px;
	}
}

@media (min-width:781px) and (max-width:1366px) {
	
	.faq_fv__text {
		right: 5%;
	}
	
}

.faq-answer__image picture {
  display: block;
}
