/* ===== サイト全体の変数 ===== */

:root {
  --color-text: #2c2c2c;
  --color-white: #ffffff;
  --color-ivory: #fffefc;
  --color-beige: #f7f2ea;
  --color-grey: #f9f9f9;
  --color-green: #163e3b;
  --color-gold: #b09768;
  --color-red: #db0808;
  --color-gold-light: #e4d2af;
  --gradient-gold: linear-gradient(to right, var(--color-gold) 0%, var(--color-gold-light) 50%, var(--color-gold) 100%);
  /* フォーム */
  --color-muted: #4f4f4f;
  --color-line: #d8d8d8;
  --color-field-bg: #fafafa;
  --color-req: #e8742c;
  --color-opt: #8a8a8a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "Meiryo", sans-serif;
  color: var(--color-text);
  background: var(--color-ivory);
  font-size: 17px;
  line-height: 1.8;
  padding-top: 80px;
}

@media (max-width: 750px) {
  body {
    font-size: 15px;
    line-height: 1.7;
    padding-top: 0;
    padding-bottom: 72px;
    /* 下部固定ボタンの高さ分の余白 */
  }
}

@media (min-width: 751px) {
  .sp-only {
    display: none !important;
  }
}

@media (max-width: 750px) {
  .pc-only {
    display: none !important;
  }
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.bold {font-weight: 700;}

.ta-c {text-align: center;}

.txt-s {font-size: 0.9em;}
.txt-l {font-size: 1.2em;}
.txt-xl {font-size: 1.4em;}

.txt-white {color: var(--color-white);}
.txt-red {color: var(--color-red);}

.mt-10 {margin-top: 10px !important;}
.mb-0 {margin-bottom: 0 !important;}
.pt-0 {padding-top: 0 !important;}

.txt-ul {text-decoration: underline;}

section {
  padding: 3em 0;
}

@media (max-width: 768px) {
  section {
    padding: 2em 0;
  }
}

/* セクション共通 */

.bg-green {
  background: var(--color-green);
}

.bg-beige {
  background: var(--color-beige);
}

.inner {
  width: 91%;
  max-width: 1000px;
  margin: 0 auto;
}

.txt-wrap {
  width: 91%;
  max-width: 800px;
  margin: 1em auto;
}

.txt-wrap.alter {
  font-weight: 700;
  text-align: center;
}

.w-box {
  background: var(--color-grey);
  border: 1px solid #c7c7c7;
  margin: 2em 0;
}

.w-box-inner {
  width: 90%;
  max-width: 870px;
  margin: 0 auto;
  padding: 1.5em 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

p.w-mark {
  flex: 0 0 30px;
}

p.w-txt {
  color: #a83a1b;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
}

@media (max-width: 768px) {
  p.w-txt {
    font-size: 18px;
  }
}

@media (max-width: 750px) {
  p.w-txt {
    font-size: 16px;
  }
}

.source {
  color: var(--color-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  display: inline-block;
  margin-top: 0.4em;
}

@media (max-width: 750px) {
  .source {
    font-size: 14px;
  }
}

/* ===== Header ===== */

.site-header {
  background: var(--color-white);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

@media (max-width: 750px) {
  .site-header {
    position: static;
  }
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 24px;
  transition: padding 0.3s ease;
}

@media (max-width: 750px) {
  .site-header .inner {
    padding: 8px 0;
  }

  .site-header .inner .logo {
    max-width: 40%;
  }
}

.site-header .logo img {
  max-height: 50px;
  width: auto;
  transition: height 0.3s ease;
}

.header-tel-link {
  display: block;
}

@media (min-width: 751px) {
  .site-header .inner {
    justify-content: flex-start;
  }

  .header-tel-link {
    pointer-events: none;
    cursor: default;
  }

  .header-tel {
    margin-left: auto;
  }

  .header-tel img,
  .header-web img {
    height: 50px;
    width: auto;
    margin: 0;
    transition: height 0.3s ease;
  }
}

/* スクロール時に縮小 */

.site-header.is-scrolled .inner {
  padding: 6px 24px;
}

.site-header.is-scrolled .logo img {
  height: 36px;
}

@media (min-width: 751px) {
  .site-header.is-scrolled .header-tel img,
  .site-header.is-scrolled .header-web img {
    height: 36px;
  }
}

/* ===== floating ===== */

.floating-bar {
  display: none;
}

@media (max-width: 750px) {
  .floating-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    padding: 8px 10px;
    background: rgba(90, 90, 90, 0.28);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transform: translateY(100%);
    /* 初期は画面外（下）に隠す */
    transition: transform 0.3s ease;
  }

  .floating-bar.is-visible {
    transform: translateY(0);
  }

  .floating-btn {
    display: block;
    flex: 0 1 357px;
    max-width: 357px;
    min-width: 0;
  }

  .floating-btn img {
    width: 100%;
  }
}

/* ===== caution-modal ===== */ 

.caution-modal-toggle {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  opacity: 0;
}

.caution-btn {
  display: block;
  width: 91%;
  max-width: 635px;
  margin: 10px auto 16px;
  cursor: pointer;
}

@media (min-width: 751px) {
  .caution-btn {
    position: fixed;
    top: 300px;
    right: 0;
    z-index: 900;
    width: auto;
    max-width: none;
    margin: 0;
    transform: translateY(-50%);
    transition: transform .2s ease;
  }

  .caution-btn:hover {
    transform: translateY(-50%) translateX(-5px);
  }

  .caution-btn img {
    width: 74px;
  }
}

@media (min-width: 751px) and (max-width: 1140px) {
  .caution-btn img {
    width: 58px;
  }
}

.caution-modal {
  display: none;
}

.caution-modal-toggle:checked~.caution-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 2000;
  padding: 24px;
}

@media (max-width: 750px) {
  .caution-modal-toggle:checked~.caution-modal {
    padding: 16px;
  }
}

.caution-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  cursor: pointer;
}

.caution-modal-body {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 625px;
  max-height: 90vh;
  overflow-y: auto;
  padding-bottom: 18px;
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}

.caution-modal-body img {
  width: 100%;
  border-radius: 10px 10px 0 0;
}

.caution-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  color: var(--color-muted);
  font-size: 22px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
}

.caution-modal-close:hover {
  opacity: .6;
}

.caution-modal-btn {
  display: block;
  width: fit-content;
  margin: 16px auto 0;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-muted);
  font-size: 14px;
  cursor: pointer;
}

.caution-modal-btn:hover {
  opacity: .7;
}

@media (max-width: 750px) {
  .caution-modal-body {
    max-width: 630px;
    max-height: 92vh;
    padding-bottom: 14px;
  }

  .caution-modal-close {
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    font-size: 19px;
    line-height: 28px;
  }

  .caution-modal-btn {
    margin-top: 12px;
  }
}

/* ===== contact-area ===== */

.contact-area {
  width: 96%;
  max-width: 950px;
  margin: 0 auto;
  padding: 28px 0 20px;
}

@media (max-width: 750px) {
  .contact-area {
    padding: 4px 14px 14px;
  }
}

@media (min-width: 751px) {
  .contact-area {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
  }

  .contact-area>.contact-col {
    flex: 0 1 462px;
    max-width: 462px;
    min-width: 0;
  }
}

.select-btn-tel {
  position: relative;
  display: block;
  overflow: hidden;
  transition: transform .15s ease;
  -webkit-mask-image: url(../images/cta_btn_tel_pc.png);
  mask-image: url(../images/cta_btn_tel_pc.png);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.select-btn-tel picture {
  display: block;
}

@media (max-width: 750px) {
  .select-btn-tel {
    -webkit-mask-image: url(../images/cta_btn_tel_sp.png);
    mask-image: url(../images/cta_btn_tel_sp.png);
  }
}

.select-btn-tel::after {
  content: "";
  position: absolute;
  top: -10%;
  left: 0;
  width: 26%;
  height: 120%;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .35) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-150%) skewX(-18deg);
  animation: btn-shine 3s ease-in-out infinite;
}

@keyframes btn-shine {
  0% {
    transform: translateX(-150%) skewX(-18deg);
  }

  14% {
    transform: translateX(500%) skewX(-18deg);
  }

  100% {
    transform: translateX(500%) skewX(-18deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .select-btn-tel::after {
    animation: none;
    opacity: 0;
  }
}

.tel-modal-toggle {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  opacity: 0;
}

.tel-btn-label {
  display: block;
  pointer-events: none;
}

.tel-btn-label .select-btn-tel {
  pointer-events: auto;
}

@media (min-width: 751px) {
  .tel-btn-label {
    pointer-events: auto;
    cursor: pointer;
  }

  .tel-btn-label .select-btn-tel {
    pointer-events: none;
  }

  .tel-btn-label:hover .select-btn-tel,
  .contact-col:hover {
    transform: translateY(-2px);
  }
}

.tel-modal {
  display: none;
}

@media (min-width: 751px) {
  .tel-modal-toggle:checked~.tel-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 2000;
  }

  .tel-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    cursor: pointer;
  }

  .tel-modal-body {
    position: relative;
    z-index: 1;
    width: 92%;
    max-width: 460px;
    padding: 34px 28px 26px;
    background: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
    text-align: center;
  }

  .tel-modal-close {
    position: absolute;
    top: 6px;
    right: 14px;
    font-size: 26px;
    line-height: 1;
    color: var(--color-muted);
    cursor: pointer;
  }

  .tel-modal-close:hover {
    opacity: .6;
  }

  .tel-modal-ttl {
    font-size: 15px;
    color: var(--color-muted);
  }

  .tel-modal-num {
    margin-top: 8px;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--color-green);
    cursor: text;
    -webkit-user-select: all;
    user-select: all;
  }

  .tel-modal-sub {
    display: inline-block;
    margin-top: 12px;
    padding: 4px 16px;
    border-radius: 999px;
    background: var(--color-beige);
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text);
  }

  .tel-modal-note {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--color-line);
    font-size: 12px;
    color: var(--color-muted);
  }
}

.contact-area-note {
  text-align: center;
  font-size: 15px;
  color: #d60a0a;
}

@media (max-width: 750px) {
  .contact-area-note {
    font-size: 11px;
  }
}

.cta-btm p.txt-wrap {
  margin-top: 0.5em;
  font-size: 13px;
}

@media (min-width: 751px) {
  .cta-btm p.txt-wrap {
    font-size: 15px;
    text-align: center;
    margin-bottom: 30px;
  }
}
/* ===== Form ===== */

#form.form-area {
  max-height: 0;
  padding-bottom: 0;
  /* 畳んでいる間は下余白も消す */
  overflow: hidden;
  visibility: hidden;
  scroll-margin-top: 90px;
}

#form.form-area:target {
  max-height: none;
  padding-bottom: 48px;
  overflow: visible;
  visibility: visible;
}

@media (max-width: 750px) {
  #form.form-area {
    scroll-margin-top: 12px;
  }
}

.form-close {
  text-align: center;
  margin-top: 16px;
}

.form-close a {
  color: var(--color-muted);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 2px;
}

.form-close a:hover {
  opacity: .7;
}

.form-area {
  padding: 0 14px 48px;
}

.form-area.top-gap {
  padding-top: 2.5em;
}

.form-wrap {
  width: 96%;
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  color: var(--color-text);
}

.form-head {
  background: var(--color-green);
  color: var(--color-white);
  text-align: center;
  padding: 20px 20px 18px;
}

@media (max-width: 750px) {
  .form-head {
    padding: 16px 20px 14px;
  }
}

.form-head h1 {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 750px) {
  .form-head h1 {
    font-size: 18px;
  }
}

.form-head p {
  font-size: 12.5px;
  margin-top: 4px;
  color: #cfe0d8;
}

.form-body {
  padding: 10px 50px 30px;
}

@media (max-width: 750px) {
  .form-body {
    padding: 0 20px 20px;
  }
}

.form-body .field {
  padding: 22px 0;
  border-bottom: 1px solid #ececec;
}

.form-body .field:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.form-body .label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 13px;
}

.form-body .num {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  background: var(--color-green);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-body .badge {
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: .5px;
}

.form-body .badge.req {
  background: #fdecdf;
  color: var(--color-req);
}

label {
  cursor: pointer;
}

label input {
  accent-color: var(--color-green);
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.form-body .note {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 8px;
}

.form-body select,
.form-body input[type=text],
.form-body input[type=tel],
.form-body input[type=email],
.form-body textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--color-line);
  border-radius: 7px;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-field-bg);
}

.form-body textarea {
  line-height: 1.6;
  resize: vertical;
}

.form-body select:focus,
.form-body input:focus,
.form-body textarea:focus {
  outline: none;
  border-color: var(--color-green);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(22,62,59,.12);
}

.form-body .name-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 750px) {
  .form-body .name-cols {
    grid-template-columns: 1fr;
  }
}

.form-body .stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-body ::placeholder {
  color: #b3b3b3;
}

.form-body .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.form-body .chips label {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border: 1px solid var(--color-line);
  border-radius: 7px;
  font-size: 15px;
  transition: all .15s;
}

.form-body .chips label:hover {
  border-color: var(--color-green);
}

.form-body .chips label input {
  width: 15px;
  height: 15px;
}

.form-body .contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 750px) {
  .form-body .contact-grid {
    grid-template-columns: 1fr;
  }
}

.form-body .contact-grid .cg-label {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-body .cg-note {
  font-size: 11px;
  color: var(--color-muted);
  margin-top: 5px;
}

.form-body .cg-label .cg-label-sub {
  font-size: 11px;
  font-weight: 400;
  color: var(--color-muted);
}

.btn-img {
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity .15s,transform .05s;
  margin-top: 18px;
}

.btn-img:hover {
  opacity: .9;
}

.btn-img:active {
  transform: translateY(1px);
}

.btn-img img {
  width: 700px;
}

.privacy {
  text-align: center;
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.9;
}

/* ===== 共通カードレイアウト ===== */

.card-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
}

.card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-white);
  box-sizing: border-box;
}

/* ===== 共通グリッド ===== */

.grid {
  display: grid;
}

.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ===== First view ===== */

.fv {
  background: var(--color-ivory);
  padding: 0;
}

.fv .fv-img {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 751px) and (max-width: 1040px) {
  .fv .fv-img {
    width: 96%;
  }
}

.fv .cta-btm {
  margin: 1em 0;
}

/* ===== Contents ===== */

.sec01 .txt-wrap {
  color: var(--color-white);
}

.sec01 .point-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 2em;
}

@media (max-width: 750px) {
  .sec01 .point-row {
    gap: 6px;
    margin-bottom: 2em;
  }
}

.sec01 .point-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--color-grey);
  padding: 1em 0 1.2em;
}

.sec01 .point-card p {
  width: 86%;
  max-width: 260px;
  margin: 0 auto;
  text-align: justify;
}

.sec01 .stat {
  background: var(--color-grey);
}

.sec01 .stat .stat-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 2em 0;
}

@media (max-width: 750px) {
  .sec01 .stat .stat-inner {
    width: 91%;
  }
}

.sec01 .stat-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin: 2em 0 0;
}

.sec01 .stat-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid #9c9c9c;
  text-align: justify;
  padding: 0 20px;
}

.sec01 .stat-card:last-child {
  border: none;
}

.sec01 .stat-card img {
  width: 100%;
  max-width: 281px;
}

.sec01 .stat-card .stat-src {
  display: block;
  margin-top: 0.5em;
  font-size: 0.85em;
  color: var(--color-muted);
  line-height: 1.5;
}

@media (max-width: 750px) {
  .sec01 .stat-row {
    flex-direction: column;
    gap: 1.5em;
    margin: 1em 0 0;
  }

  .sec01 .stat-card {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    text-align: left;
    border-right: none;
    border-bottom: 1px solid #9c9c9c;
    padding: 0 0 1.5em;
  }

  .sec01 .stat-card picture {
    flex: 0 0 40%;
    display: flex;
    justify-content: center;
  }

  .sec01 .stat-card img {
    width: 100%;
  }

  .sec01 .stat-card p {
    line-height: 1.5;
  }

  .sec01 .stat-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* sec01：比較表 */

.sec01 .compare {
  margin-top: 3em;
}

.sec01 .table-wrap table thead th {
  background: var(--color-white);
  color: var(--color-text);
  text-align: center;
  border-bottom: 2px solid var(--color-green);
}

@media (min-width: 751px) {
  .sec01 .table-wrap table tr > *:nth-child(2),
  .sec01 .table-wrap table tr > *:nth-child(3) {
    width: 37%;
  }

  /* 見出しの背景を各列のbodyに合わせる */
  .sec01 .table-wrap table thead th:nth-child(1) {
    background: #f2f4f3;
  }

  .sec01 .table-wrap table thead th:nth-child(3) {
    background: #fbf0e2;
  }
}

@media (max-width: 750px) {
  .sec01 .compare {
    margin-top: 2em;
  }

  .sec01 .table-wrap table tbody th {
    background: var(--color-white);
    color: var(--color-green);
    border-bottom: 2px solid var(--color-green);
  }

  /* 他サービス側のラベルが長いため、ラベル欄を広げる */
  .sec01 .table-wrap tbody td::before {
    flex: 0 0 9.5em;
  }
}

.sec02 .row {
  margin-top: 2em;
}

.sec02 .row p {
  margin-bottom: 1.5em;
}

@media (max-width: 750px) {
  .sec02 .txt-wrap.alter.txt-xl {
    font-size: clamp(14px, calc(6px + 2.13vw), 22px);
  }
}

.sec03 .txt-wrap.alter.txt-l {
  margin-bottom: 2em;
}

.sec03 .row .box {
  border: 1px solid #c4c3bf;
  margin-top: 28px;
  padding-bottom: 1.5em;
}

.sec03 .row .box h3 {
  width: 86%;
  margin-top: -52px;
}

@media (min-width: 751px) and (max-width: 900px) {
  .sec03 .row .box h3 {
    margin-top: -32px;
  }
}

@media (max-width: 750px) {
  .sec03 .row .box h3 {
    margin-top: 0;
  }
}

.sec03 .row .box p {
  width: 91%;
  margin: 0 auto;
  text-align: justify;
}

@media (max-width: 750px) {
  .sec03 .row {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 1em;
  }

  .sec03 .row .box {
    margin-top: 0;
    padding: 18px 0;
  }
}

.sec04 .row,
.sec05 .row {
  margin-top: 2em;
}

.sec04 .row .box {
  margin-top: 28px;
  padding-bottom: 1.5em;
}

.sec04 .row .box h3 {
  width: 80%;
  max-width: 195px;
  margin-top: -22px;
  margin-bottom: 10px;
}

.sec04 .row .box p {
  width: 86%;
  max-width: 281px;
  margin: 0 auto;
  text-align: justify;
}

@media (max-width: 750px) {
  .sec04 .row,
  .sec05 .row {
    flex-direction: column;
    gap: 16px;
    margin-top: 1.5em;
  }

  .sec04 .row .box {
    display: grid;
    grid-template-columns: 38% 1fr;
    grid-template-areas: "title title" "icon  desc";
    column-gap: 16px;
    align-items: center;
    text-align: left;
    margin-top: 24px;
    padding: 14px 20px 18px;
  }

  .sec04 .row .box h3 {
    grid-area: title;
    width: 50%;
    max-width: 195px;
    margin: -36px auto 12px;
  }

  .sec04 .row .box p:has(picture) {
    grid-area: icon;
    width: 100%;
    max-width: none;
    margin: 0;
    align-self: center;
  }

  .sec04 .row .box p:not(:has(picture)) {
    grid-area: desc;
    width: 100%;
    max-width: none;
    margin: 0;
  }
}

.sec05 .row .box {
  padding: 1em 0 1.5em;
}

.sec05 .row .box p {
  width: 86%;
  max-width: 260px;
  margin: 0 auto;
  text-align: justify;
}

.sec05 .row .box p + p {
  margin-top: 0.8em;
}

@media (max-width: 750px) {
  .sec05 .row .box {
    display: grid;
    grid-template-columns: 1fr 42%;
    grid-template-areas: "title photo" "desc  photo";
    column-gap: 12px;
    align-items: center;
    text-align: left;
    padding: 18px;
  }

  .sec05 .row .box h3 {
    grid-area: title;
    width: auto;
    max-width: 150px;
    margin: 0 0 10px;
    justify-self: start;
  }

  .sec05 .row .box h3 img {
    margin: 0;
  }

  .sec05 .row .box p:not(:has(picture)) {
    grid-area: desc;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .sec05 .row .box p:has(picture) {
    grid-area: photo;
    align-self: center;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .sec05 .row .box p:has(picture) img {
    width: 100%;
  }
}

/* Table */

.table-wrap {
  background: var(--color-white);
  overflow-x: auto;
  margin-top: 2em;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #e0e0e0;
  font-size: 15px;
  min-width: 640px;
}

.table-wrap table thead th {
  background: var(--color-green);
  color: var(--color-white);
  text-align: left;
  font-weight: bold;
  padding: 16px 20px;
}

.table-wrap table td,
.table-wrap table tbody th {
  padding: 16px 20px;
  border-bottom: 1px solid #e0e0e0;
  text-align: left;
  vertical-align: middle;
}

.table-wrap table tbody th {
  background: #f2f4f3;
  font-weight: bold;
  white-space: nowrap;
}

.table-wrap table .highlight {
  color: var(--color-green);
  font-weight: 700;
  background: #fbf0e2;
}

.sec06 .table-wrap table .highlight {
  color: #cf781a;
}

@media (min-width: 751px) {
  .sec05 .table-wrap table tr > *:nth-child(2),
  .sec05 .table-wrap table tr > *:nth-child(3) {
    width: 27%;
  }

  .sec06 .table-wrap table tr > *:nth-child(2),
  .sec06 .table-wrap table tr > *:nth-child(3) {
    width: 24%;
  }

  .sec07 .table-wrap table tr > *:nth-child(2),
  .sec07 .table-wrap table tr > *:nth-child(3) {
    width: 38%;
  }
}

@media (max-width: 750px) {
  .table-wrap {
    overflow-x: visible;
    background: transparent;
    margin-top: 1.5em;
  }

  .table-wrap table {
    display: block;
    min-width: 0;
    border: none;
  }

  .table-wrap thead {
    display: none;
  }

  .table-wrap tbody {
    display: block;
  }

  .table-wrap tbody tr {
    display: block;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 14px;
    background: var(--color-white);
  }

  .table-wrap table tbody th {
    display: block;
    background: var(--color-green);
    color: var(--color-white);
    text-align: center;
    white-space: normal;
    padding: 10px 14px;
  }

  .table-wrap tbody td {
    display: flex;
    gap: 10px;
    align-items: baseline;
    padding: 9px 14px;
    border-bottom: 1px solid #eee;
    text-align: left;
    line-height: 1.5;
  }

  .table-wrap tbody td:last-child {
    border-bottom: none;
  }

  .table-wrap tbody td::before {
    content: attr(data-label);
    flex: 0 0 8.5em;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-muted);
  }

  .table-wrap tbody td.highlight {
    background: #fbf0e2;
  }

  .table-wrap tbody td.highlight::before {
    color: #c07a1e;
  }

  .sec07 .table-wrap tbody td::before {
    flex-basis: 6.5em;
  }
}

@media (max-width: 750px) {
  .sec06 .txt-wrap.alter.txt-l {
    font-size: clamp(16px, calc(6px + 2.13vw), 22px);
  }
}

.sec08 .txt-wrap,
.sec09 .txt-wrap,
.sec10 .txt-wrap {
  color: var(--color-white);
}

.sec08 .caution-box {
  background: var(--color-white);
  border: 3px solid var(--color-red);
  margin-bottom: 3em;
  padding-bottom: 1em;

  --ttl-rise: calc(3.3684% + 1.5px);
  margin-top: var(--ttl-rise);
}

.sec08 .caution-box h2 {
  margin-top: calc(var(--ttl-rise) * -1);
}

.sec08 .caution-box h2 picture {
  display: block;
}

.sec08 .caution-box h2 img {
  width: 100%;
}

@media (max-width: 750px) {
  .sec08 .caution-box {
    --ttl-rise: calc(10% + 1.5px);
  }
}

.sec08 .caution-box .caution-box-inner {
  max-width: 850px;
  width: 91%;
  margin: 0 auto;
  padding: 1em 0;
}

@media (min-width: 751px) {
  .sec08 .caution-box-inner img {
    float: right;
    width: 280px;
    margin: 0 0 12px 24px;
  }

  .sec08 .caution-box-inner p::after {
    content: "";
    display: block;
    clear: both;
  }
}

.sec08 .box-row {
  gap: 20px;
  margin-top: 2em;
}

.sec08 .box-col {
  background: var(--color-grey);
  padding: 1.5em 1em 1.5em 2em;
}

.sec08 .box-col h3 {
  margin-bottom: 0.5em;
}

.sec08 .box-col .align {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.sec08 .box-col .align p.img {
  flex: 0 0 95px;
  align-self: flex-end;
}

@media (max-width: 750px) {
  .sec08 .box-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
  }

  .sec08 .box-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--color-white);
    border: 1.5px solid var(--color-green);
    padding: 16px 12px;
  }

  .sec08 .box-col h3 {
    font-size: 17px;
    text-align: center;
    margin-bottom: 0.8em;
  }

  .sec08 .box-col .align {
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
  }

  .sec08 .box-col .align p.img {
    order: -1;
    flex: none;
    align-self: center;
    margin-bottom: 12px;
  }

  .sec08 .box-col .align p.txt {
    width: 100%;
    text-align: justify;
  }
}

.sec09 .box {
  font-size: 16px;
  background: var(--color-grey);
  margin: 2em 0;
  padding: 34px 25px 20px;
}

.sec09 .box .steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.sec09 .box .step {
  flex: 1;
  text-align: center;
  margin-bottom: 10px;
}

.sec09 .box .step p {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  text-align: left;
}

.sec09 .box .step .note {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: normal;
}

.sec09 .box .arrow {
  flex-shrink: 0;
  align-self: center;
}

.sec09 .box .arrow img {
  width: 18px;
}

@media (max-width: 750px) {
  .sec09 .box {
    padding: 16px;
  }

  .sec09 .box .steps {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .sec09 .box .step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
    margin-bottom: 0;
  }

  .sec09 .box .step picture {
    flex: 0 0 42%;
    align-self: center;
  }

  .sec09 .box .step picture img {
    width: 100%;
  }

  .sec09 .box .step p {
    margin: 0;
    align-self: center;
  }

  .sec09 .box .arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 110px;
    height: 30px;
    margin: 6px 0;
  }

  .sec09 .box .arrow img {
    width: auto;
    height: 14px;
  }
}

.voice-row {
  display: flex;
  gap: 20px;
  margin: 1.5em 0 2em;
}

@media (max-width: 750px) {
  .voice-row {
    flex-direction: column;
  }
}

.voice-card {
  flex: 1;
  background: var(--color-grey);
  padding: 24px;
}

.voice-card img + p {
  margin-top: 20px;
}

.sec11 .cost {
  margin: 1.5em 0 2em;
}

@media (max-width: 750px) {
  .sec11 .cost {
    margin: 1em 0 0.5em;
  }
}

.sec12 .row {
  margin: 1.5em 0 2em;
}

.sec12 .row .box {
  margin-top: 28px;
  padding: 0 24px 30px;
}

.sec12 .row .box h3 {
  margin-top: -28px;
  margin-bottom: 10px;
}

.sec12 .row .box p {
  margin: 0 auto;
  text-align: justify;
}

@media (max-width: 750px) {
  .sec12 .row {
    flex-direction: column;
  }

  .sec12 .row .box {
    margin-top: 14px;
  }

  .sec12 .row .box h3 {
    margin-top: -14px;
  }
}

.sec13 .box-row {
  gap: 20px;
  margin: 2em 0;
}

.sec13 .box-col {
  text-align: justify;
  background: var(--color-white);
  padding: 1.25em 1.5em 2em;
}

.sec13 .box-col h3 {
  text-align: center;
  margin: 0.5em 0;
}

.sec13 .txt-wrap p + p {
  margin-top: 1em;
}

@media (max-width: 750px) {
  .sec13 .box-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 1.5em 0 1em;
  }

  .sec13 .box-col {
    padding: 1.25em 1em 2em;
  }

  .sec13 .box-col h3 {
    font-size: 17px;
  }
}

@media (min-width: 751px) and (max-width: 900px) {
  .sec15 .box-row {
    gap: 20px 24px;
    padding: 1.5em 1em;
  }
}

.sec14 .box-row {
  gap: 24px;
}

.sec14 .box-col {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  text-align: justify;
  background: var(--color-white);
  border: 3px solid;
  border-image: var(--gradient-gold) 1;
  padding: 18px 20px;
}

.sec14 .box-col img.avatar {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 750px) {
  .sec14 .box-row {
    grid-template-columns: 1fr;
  }
}

.sec15 .box-row {
  gap: 40px 32px;
  background: var(--color-white);
  border: 1px solid var(--color-green);
  margin: 2em 0;
  padding: 2em 2.5em;
}

@media (max-width: 750px) {
  .sec15 .box-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
    padding: 1.5em 1.2em;
    margin: 1.5em 0 1em;
  }
}

.sec16 .txt-wrap,
.sec17 .txt-wrap {
  color: var(--color-white);
}

.sec16 .row {
  margin: 2em 0;
}

.sec16 .row .box {
  padding: 0.75em 1em 2em;
}

.sec16 .row .box p {
  max-width: 270px;
  text-align: justify;
  margin-top: 0.8ex;
}

@media (max-width: 750px) {
  .sec16 .row {
    flex-direction: column;
    gap: 16px;
    margin: 1.5em 0;
  }

  .sec16 .row .box {
    display: grid;
    grid-template-columns: 1fr 42%;
    grid-template-areas: "title photo" "desc  photo";
    column-gap: 12px;
    align-items: center;
    text-align: left;
    padding: 18px;
  }

  .sec16 .row .box h3 {
    grid-area: title;
    width: auto;
    max-width: 200px;
    margin: 0 0 10px;
    justify-self: start;
  }

  .sec16 .row .box h3 img {
    margin: 0;
  }

  .sec16 .row .box > picture {
    grid-area: photo;
    align-self: center;
  }

  .sec16 .row .box p {
    grid-area: desc;
    max-width: none;
    text-align: left;
    margin: 0;
  }
}

.sec18 .box-row {
  gap: 20px;
  margin: 2em 0;
}

@media (max-width: 750px) {
  .sec18 .box-row {
    grid-template-columns: 1fr;
    margin: 1.5em 0;
  }
}

.sec18 .box-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--color-white);
  border: 4px solid;
  border-image: var(--gradient-gold) 1;
  padding: 1.5em 2em 0.3em;
}

.sec18 .box-col p {
  margin-bottom: 1em;
}

.sec18 .box-col .author {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--color-gold-light);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  color: var(--color-green);
  font-size: 15px;
}

.sec18 .box-col .icon {
  width: 18px;
  margin: 0;
}

.faq .faq-list {
  margin: 2em 0;
}

.faq details {
  border-bottom: 1px solid #b5a78b;
  padding: 1.5em 0;
}

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-green);
  line-height: 1.5;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "\FF0B";
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background: var(--color-gold);
  color: var(--color-white);
  font-size: 18px;
  font-weight: normal;
  line-height: 30px;
  text-align: center;
}

.faq details[open] summary::after {
  content: "\2715";
}

.faq details p {
  margin: 14px 0 0;
  line-height: 1.9;
}

@media (max-width: 750px) {
  .faq .inner {
    padding: 0 20px;
  }

  .faq .faq-list {
    margin: 1em 0;
  }

  .faq summary {
    font-size: 16px;
  }
}

.sec19 .sec19-img {
  margin: 2em 0;
}

.sec19 .txt-wrap {
  margin-bottom: 2em;
}

.last-text.txt-wrap {
  border: 1px solid #d9d9d9;
  padding: 1em 2em;
}

/* ===== Footer ===== */

.site-footer {
  padding: 48px 16px 28px;
}

.footer-inner {
  width: 91%;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
}

.footer-nav a {
  font-size: 14px;
  color: var(--color-green);
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-copy {
  width: 91%;
  max-width: 1000px;
  margin: 24px auto 0;
  text-align: center;
  font-size: 12px;
  color: var(--color-opt);
}

/* ===== utility（プライバシーポリシーなど） ===== */

.utility {
  h2 {
    text-align: center;
  }

  h3 {
    margin: 1em 0 0.5em;
  }

  ul,
  ol {
    margin-bottom: 1em;
    list-style-position: inside;
  }

  p {
    margin-bottom: 0.75em;
  }

  li {
    margin-bottom: 0.5em;
  }
}

/* thanks */

@media (min-width: 751px) {
  .thanks p {
    text-align: center;
  }
}

/* ===== 運営会社 ===== */

.info-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--color-line);
  font-size: 15px;
}

.info-table th,
.info-table td {
  border: 1px solid var(--color-line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}

.info-table th {
  width: 30%;
  background: var(--color-beige);
  font-weight: 700;
  white-space: nowrap;
}
/* セル内の箇条書き（会社概要の事業内容など） */

.info-table ul {
  margin-bottom: 0;
  padding-left: 1.2em;
  list-style-position: outside;
}

.info-table li:last-child {
  margin-bottom: 0;
}

@media (max-width: 750px) {
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    white-space: normal;
    border-bottom: none;
  }
}

/* ===== お問い合わせ ===== */

.form-btn {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 24px auto 0;
  padding: 16px 24px;
  background: var(--color-green);
  color: var(--color-white);
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity .2s, transform .05s;
}

.form-btn:hover {
  opacity: .9;
}

.form-btn:active {
  transform: translateY(1px);
}

@media (max-width: 750px) {
  .form-btn {
    font-size: 16px;
    padding: 14px 20px;
  }
}
