@charset "UTF-8";
:root {
  --site-width: 1170px;
  --main-color: #9c292e;
  --sub-color: #B09B47;
  --font-color: #393939;
  --danger: #dc3545;
  --success: #28a745;
  /* PDF 1920幅基準のタイプスケール */
  --fs-h2: clamp(28px, 3.333vw, 64px);       /* 64pt セクション主見出し */
  --fs-title: clamp(24px, 2.5vw, 48px);       /* 48pt キャッチ／お問い合わせ等 */
  --fs-title-md: clamp(22px, 2.083vw, 40px);  /* 40pt 中見出し・強調リード */
  --fs-eyebrow: clamp(18px, 1.667vw, 32px);   /* 32pt サブタイトル */
  --fs-lead: clamp(15px, 1.25vw, 24px);       /* 24pt サブリード（必要時のみ） */
  --fs-h3: clamp(15px, 0.75rem + 1.2vw, 24px); /* content2〜6 リード（h3） */
  --fs-body: 1rem;                            /* ベース本文 */
  --fs-small: 0.85rem;                        /* 補足 */
  --lh-tight: 1.3;
  --lh-normal: 1.5;
  --lh-loose: 1.7;
}

html,body {
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  color: #393939;
  font-size: 14px;
  line-height: var(--lh-normal);
  text-spacing-trim: space-all;
}

a {
  color: #393939;
}
a:hover {
  color: #9a7e4f;
  cursor: pointer;
}
h1,h3,h4,h5 {
  font-weight: bold;
  line-height:1.5;
}
h2 {
  font-weight: 900;
  line-height: 1.5;
}
.main-visual-layouts {
  width: 100%;
  background-image: url('../img/bg-top.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  min-height: 100vh;
  z-index: 0;
}
.main-visual-layouts:after {
  background-image: url('../img/bg-top-cloud.png');
  display: block;
  background-size: cover;
  background-position: center bottom;
  background-repeat: repeat-x;
  content: "";
  position: absolute;
  width: 100%;
  padding-top: 11.25%;
  bottom: 0;
  z-index: -1;
}
@media (max-width: 767px) {
  .main-visual-layouts {
    background-size: auto 100%;
    background-position: center top;
  }
}
.main-visual-body {
  width: 98%;
  max-width: var(--site-width);
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-container {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  height: auto;
  padding: 1.5rem 0 0;
  display: flex;
  justify-content: start;
  align-items: center;
}
.kanxashi-logo {
  width: 140px;
}
.layout-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 4vw, 4rem);
  width: 100%;
  max-width: var(--site-width);
  margin: 0 auto;
  padding: 0;
  min-height: 0;
  height: auto;
}

.site-title-content {
  color: #1a1a1a;
  width: 100%;
  max-width: 460px;
  text-align: center;
}
.yo-jin-bo-logo {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 2.4rem;
  display: block;
}
.btn.btn-fv-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86%;
  max-width: 340px;
  min-height: 56px;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  background: #9c292e;
  border: 2px solid #fff;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.18);
  color: #fff;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: bold;
  letter-spacing: 0.06em;
  text-decoration: none;
  line-height: var(--lh-tight);
}
.btn.btn-fv-apply:hover {
  color: #fff;
  background: #861f24;
  transform: translateY(2px);
  box-shadow: none;
  transition: all 0.25s;
}
/*
.layout-flex {
  outline: solid 1px #000;
}
.site-title-content {
  outline: solid 1px red;
}
.character-container {
  outline: solid 1px blue;
}
*/
.character-container {
  width: 600px;
}
.character-container .character {
  width: 100%;
}
@media (max-width: 991px) {
  .main-visual-layouts,
  .main-visual-body {
    min-height: 100vh;
    min-height: 100dvh;
  }
  .main-visual-body {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .layout-flex {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 0;
    width: 100%;
    margin: 0 auto;
  }
  .site-title-content {
    order: 2;
    width: 400px;
    max-width: 90%;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .site-title-content .site-logo {
    margin: 0;
    width: 100%;
  }
  .yo-jin-bo-logo {
    max-width: 300px;
    margin-top: 0;
    margin-bottom: 1.4rem;
  }
  .character-container {
    order: 1;
    width: min(260px, 62vw);
    max-width: 90%;
    margin: 0 auto;
    line-height: 0;
  }
  .logo-container {
    padding: 0.75rem 0 0;
  }
  .kanxashi-logo {
    width: 110px;
  }
}

@media screen and (min-device-width: 767px) {
    a[href^="tel:"] {
        pointer-events: none; /* クリック（タップ）を無効化 */
        cursor: default;      /* カーソルを矢印に戻す */
    }
}

@media (max-width: 767px) {
  .main-visual-body {
    width: 94%;
  }
  .layout-flex {
    padding: 0;
  }
  .site-title-content {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
  .yo-jin-bo-logo {
    width: 64%;
    max-width: 240px;
    margin-bottom: 1.2rem;
  }
  .btn.btn-fv-apply {
    width: 72%;
    max-width: 260px;
    min-height: 48px;
    font-size: clamp(0.95rem, 3.6vw, 1.1rem);
  }
}
@media (max-width: 576px) {
  body {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }
}


/*******************************
           Section
********************************/
section {
  width: 98%;
  height: 100%;
  max-width: var(--site-width);
  /*overflow: hidden;*/
  margin: 0 auto;
  padding: 6% 0;
}
section.layout-flex {
  width: 100%;
  height: auto;
  padding: 0;
}
@media (max-width: 767.98px) {
  section {
    width: 94%;
    padding: 3rem 0;
  }
  section.layout-flex {
    width: 100%;
    padding: 0;
  }
}

/*******************************
           Scroll Nav
********************************/
.nav-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
}
.scroll-nav {
  background-color: #fff;
}
.is-fixed {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 6px 6px 0 rgba(0, 0, 0, 0.2);
}
.navbar-nav {
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  margin-left: auto;
  margin-right: 0;
}
.navbar-expand-lg .navbar-nav {
  justify-content: flex-end;
}
.navbar-expand-lg .navbar-nav .nav-link {
  padding: 0.5rem 1.2rem;
  font-size: 1.02rem;
  line-height: var(--lh-tight);
}
.nav-item {
  text-align: center;
  font-weight: bold;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.nav-item:last-child {
  border: none;
}
.nav-link {
  color: #393939;
}
.nav-link:hover {
  color: var(--main-color);
}
.yojinbo-navbar-logo {
  display: block;
  max-width: 130px;
  height: auto;
}
.navbar-brand {
  margin-right: 1rem;
  padding: 0;
}
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse {
    flex-grow: 1;
    justify-content: flex-end;
  }
}
.navbar-toggler {
  margin-left: auto;
  border: none;
  padding: 0.25rem;
}
.navbar-toggler:focus,
button.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}
.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(156,41,46,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0.45rem 0.55rem;
    font-size: 0.87rem;
  }
}
@media (max-width: 991.98px) {
  .yojinbo-navbar-logo {
    display: block;
    max-width: 110px;
  }
  .nav-item {
    width: 100%;
    border: none;
    padding: 0.85rem 0;
    border-bottom: solid 1px #ccc;
  }
  .nav-wrapper {
    padding: 0 0.75rem;
  }
  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0.95rem 0.85rem;
    font-size: 1.02rem;
    text-align: left;
    justify-content: flex-start;
    width: 100%;
  }
}

/*******************************
           Content1
********************************/
#content1 {
  width: min(96%, var(--site-width, 1170px));
  margin: 0 auto;
  padding: 0 0 3rem;
}

ul.howto {
  padding: 0;
  margin: 4rem 0 0;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(1rem, 3vw, 2rem);
}

ul.howto li {
  flex: 1 1 0;
  max-width: 320px;
  min-width: 0;
}

.character-container-topic {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.character-container-topic::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background-color: #f4dbdb;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.character-container-topic img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
}

.img-howto {
  position: relative;
  width: 100%;
  container-type: inline-size;
}

.img-howto img {
  display: block;
  width: 100%;
  height: auto;
}

.howto-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  font-size: clamp(15px, 6.2cqw, 24px);
  font-weight: bold;
  line-height: var(--lh-normal);
  text-align: left;
  margin: 0;
  padding: clamp(0.9rem, 9cqw, 2.5rem) clamp(0.6rem, 6cqw, 2rem) clamp(0.6rem, 6cqw, 2rem) clamp(1.6rem, 15cqw, 4.5rem);
  display: block;
}

.strong-point {
  color: #ab2232;
}

/* タブレット: 3カラム維持、余白を詰める */
@media (max-width: 991px) {
  #content1 {
    width: min(94%, 960px);
  }

  ul.howto {
    margin-top: 3rem;
    gap: 0.75rem;
  }

  ul.howto li {
    max-width: none;
  }
}

/* スマホ: 項目は縦積み、各項目内はキャラ｜吹き出しの横並び */
@media (max-width: 767px) {
  #content1 {
    width: 94%;
    padding-bottom: 2rem;
  }

  ul.howto {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    margin-top: 2.5rem;
  }

  ul.howto li {
    --howto-char-size: 300px;
    --howto-gap: 0.75rem;
    --howto-bubble-max: 260px;
    width: 100%;
    max-width: none;
    flex: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--howto-gap);
  }

  /* キャラ固定 → テキスト枠は残り幅（上限あり） */
  .character-container-topic {
    flex: 0 0 var(--howto-char-size);
    width: var(--howto-char-size);
    max-width: none;
    margin: 0;
  }

  .img-howto {
    flex: 0 0 auto;
    width: min(var(--howto-bubble-max), calc(100% - var(--howto-char-size) - var(--howto-gap)));
    max-width: var(--howto-bubble-max);
    min-width: 0;
    margin-top: 0;
  }

  .howto-text {
    font-size: clamp(12px, 8cqw, 15px);
    /* 余白はPCと同じ cqw 比率を維持 */
  }
}

@media (max-width: 575.98px) {
  ul.howto {
    gap: 1.25rem;
  }

  ul.howto li {
    --howto-char-size: 200px;
    --howto-gap: 0.5rem;
  }
}

/*******************************
           Content2
********************************/
.content2-wrapper {
  width: 100%;
  background-color: #08122a;
  position: relative;
  padding-top: 10%;
}
.content2-wrapper:before {
  background-image: url('../img/cloud/cloud_white.png');
  display: block;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  content: "";
  position: absolute;
  width: 100%;
  height: calc(100vw * 220 / 1920);
  top: 0;
  left: 0;
  z-index: 1;
}

.content2-content {
  color: #fff;
  position: relative;
  z-index: 2;
}

.content2-content-sub-title-big {
  font-size: var(--fs-title-md) !important;
  font-weight: 900 !important;
  line-height: var(--lh-tight);
  border-bottom: solid 1px #fff;
  padding-bottom: 2rem;
}

.content2-content-slide {
  max-width: 1190px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 767.98px) {
  .content2-wrapper {
    padding-top: 16%;
    padding-bottom: 2rem;
  }
  .content2-content-sub-title-big {
    padding-bottom: 1.2rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
  .content2-content h2,
  .content2-content h3,
  .content2-content p {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/*******************************
           Content3 & Content6
********************************/
.content3-wrapper,
.content6-wrapper {
  background-image: url('../img/bg_yellow.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  padding-top: 10%;
  padding-bottom: 12%; /* 下の雲の分を確保 */
  overflow: hidden;
}
.content3-wrapper:before,
.content3-wrapper:after,
.content6-wrapper:before,
.content6-wrapper:after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: calc(100vw * 220 / 1920);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 1;
}
/* content3上: 紺(#08122a) → 黄 */
.content3-wrapper:before {
  top: 0;
  background-image: url('../img/cloud/cloud_navy.png');
  background-position: center top;
}
/* content3下: 黄 → 灰(#f4f2f1) */
.content3-wrapper:after {
  bottom: 0;
  background-image: url('../img/cloud/content3_bottom.png');
  background-position: center bottom;
}
/* content6上: 灰(#f4f2f1) → 黄 */
.content6-wrapper:before {
  top: 0;
  background-image: url('../img/cloud/cloud_gray.png');
  background-position: center top;
}
/* content6下: 黄 → 白/FAQ */
.content6-wrapper:after {
  bottom: 0;
  background-image: url('../img/cloud/content3_bottom.png');
  background-position: center bottom;
}
.content3-content,
.content6-content {
  position: relative;
  z-index: 2;
}
.content3-content-title {
  /* デザインPDF: 48pt / W8 */
  font-size: var(--fs-title);
  font-weight: 900;
  text-align: center;
  color: #08122a;
  margin: 0 auto 1.5rem;
  letter-spacing: 0.04em;
  line-height: var(--lh-tight);
  padding: 0 0.5rem;
  max-width: 28em;
}
.content3-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 2rem);
  max-width: 1100px;
  width: 92%;
  margin: 0 auto 3.2rem;
}
.content3-brand-center {
  flex: 0 1 380px;
  max-width: 380px;
  width: 100%;
  align-self: flex-end;
  margin-top: 0;
  /* キャラ高さの約20%（膝あたり）だけ足元より上げる。幅は .content3-brand-nio の 22% / 最大220px に合わせる */
  margin-bottom: calc(0.8rem + min(79px, calc(22% * 1200 / 666 * 0.2)));
}
.content3-brand-logo {
  display: block;
  width: 100%;
  height: auto;
}
.content3-brand-nio {
  flex: 0 1 220px;
  max-width: 220px;
  width: 22%;
  height: auto;
  object-fit: contain;
  align-self: flex-end;
}
.content3-content-img {
  max-width: 562px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.content3-content-list {
  list-style: none;
  padding: 0;
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 562px));
  justify-content: center;
  column-gap: 1.2rem;
  row-gap: 2.2rem;
  width: 92%;
  max-width: calc(562px * 2 + 1.2rem);
}
.content3-content-list li {
  text-align: center;
  margin: 0;
}
.content3-content .content3-content-sub-title {
  margin: 0 auto 0.6rem;
  color: #08122a;
  font-weight: 900;
}
.content3-content h2 {
  margin: 0 auto 0.8rem;
  color: #08122a;
  font-weight: 900;
}
.content3-content h3 {
  margin: 0 auto;
  color: #08122a;
}
.content3-content-list li p {
  margin: 1rem auto 0;
  max-width: 28em;
  font-size: clamp(14px, 1.05vw, 22px);
  font-weight: 700;
  text-align: center;
  line-height: var(--lh-loose);
  color: #1a1a1a;
}

@media (max-width: 991.98px) {
  .content3-brand {
    gap: 0.4rem;
  }
  .content3-brand-nio {
    max-width: 160px;
  }
  .content3-brand-center {
    max-width: 320px;
    /* キャラ最大160pxに合わせた膝位置 */
    margin-bottom: calc(0.8rem + min(58px, calc(22% * 1200 / 666 * 0.2)));
  }
}

@media (max-width: 767.98px) {
  .content3-wrapper,
  .content6-wrapper {
    padding-top: 16%;
    padding-bottom: 18%;
  }
  .content3-brand {
    display: grid;
    grid-template-columns: 1fr auto auto 1fr;
    justify-items: center;
    align-items: end;
    column-gap: 1.25rem;
    row-gap: 0.75rem;
    margin-bottom: 2rem;
  }
  .content3-brand-center {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 240px;
    width: 70%;
    margin: 0;
  }
  .content3-brand-nio {
    grid-row: 1;
    max-width: 140px;
    width: auto;
  }
  .content3-brand-nio-left {
    grid-column: 2;
  }
  .content3-brand-nio-right {
    grid-column: 3;
  }
  .content3-content-title {
    margin-bottom: 1rem;
    padding: 0 0.5rem;
  }
  .content3-content-list {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    width: 100%;
  }
  .content3-content-img {
    max-width: 80%;
  }
}
/*******************************
           Content4
********************************/
.content4-wrapper {
  background-color: #f4f2f1;
}

.content4-content-list {
  list-style: none;
  padding: 0;
  margin: 2rem auto 0;
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
}
.content4-content-list li {
  width: 30%;
  min-width: 0;
}
.content4-content-list img,
.content4-content-img {
  max-width: 374px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 991.98px) {
  .content4-content-list {
    gap: 1.25rem;
  }
  .content4-content-list li {
    width: calc(50% - 0.75rem);
  }
}

@media (max-width: 767.98px) {
  .content4-content-list {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .content4-content-list li {
    width: 100%;
    max-width: 360px;
  }
}
/*******************************
           Content5
********************************/
.content5-content {
  position: relative;
  z-index: 2;
}
.content5-content h2 {
  letter-spacing: -0.06em;
}
.content5-content-img {
  max-width: 1160px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.content5-content-topic-container {
  margin-top: 6rem;
  margin-bottom: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.content5-content-topic-img {
  max-width: 216px;
  width: 100%;
  height: auto;
  flex: 0 0 auto;
}
.content5-content-topic-text {
  min-width: 0;
}
.content5-content-topic-title {
  font-size: var(--fs-title);
  font-weight: 900;
  text-align: left;
  line-height: var(--lh-tight);
  margin: 0 0 0.5rem;
}
.content5-content-topic-description {
  font-size: var(--fs-lead);
  font-weight: 700;
  text-align: left;
  line-height: var(--lh-loose);
  margin: 0;
}

@media (max-width: 767.98px) {
  .content5-content-topic-container {
    flex-direction: row;
    align-items: center;
    margin-top: 3rem;
    margin-bottom: 2.5rem;
    gap: 0.75rem;
  }
  .content5-content-topic-img {
    max-width: 80px;
    width: 100%;
    flex: 0 0 auto;
  }
  .content5-content-topic-title,
  .content5-content-topic-description {
    text-align: left;
  }
}
/*******************************
           Content6 身辺警護
********************************/
#content6 {
  padding-top: 0;
}
.content6-content {
  width: min(96%, 1100px);
  margin: 0 auto;
  padding: 0.5rem 0 2rem;
  text-align: center;
}

.content6-hero {
  max-width: 1000px;
  margin: 0 auto;
}

.content6-hero-img {
  display: block;
  width: 100%;
  max-width: 1000px;
  height: auto;
  /* 黒背景を透過して金背景に乗せる */
  mix-blend-mode: screen;
  /* 足元より下の透明・余白へ見出しを重ねる（画像幅の16%） */
  margin-bottom: -16%;
}

.content6-content .content6-content-sub-title,
.content6-content > h2 {
  position: relative;
  z-index: 1;
  color: #000;
}

.content6-content .content6-content-sub-title {
  margin-top: 0.2rem;
  margin-bottom: 0.45rem;
}

.content6-content h2 {
  margin-bottom: 1.2rem;
}

.content6-shinpen {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin: 1.2rem auto 2rem;
  text-align: left;
  max-width: 1000px;
  padding-top: 4rem;
}

.content6-shinpen-title {
  flex: 0 0 auto;
  width: min(42%, 420px);
  height: auto;
  /* 黒背景を透過 */
  mix-blend-mode: screen;
}

.content6-shinpen-lead {
  flex: 1 1 auto;
  margin: 0;
  font-size: var(--fs-lead);
  font-weight: 700;
  line-height: var(--lh-loose);
  color: #1a1a1a;
  text-align: left;
}

.content6-points {
  list-style: none;
  padding: 0;
  margin: 0 auto 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1000px;
  text-align: left;
}

.content6-point {
  background: #fff;
  border-radius: 6px;
  border-left: 6px solid #9c292e;
  padding: 1.5rem 1.4rem 1.6rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.content6-point-title {
  margin: 0 0 0.75rem;
  font-size: var(--fs-eyebrow);
  font-weight: 900;
  color: #9c292e;
  text-align: left;
  line-height: var(--lh-tight);
}

.content6-point-text {
  margin: 0;
  font-size: clamp(13px, 0.9375vw, 18px);
  font-weight: 700;
  line-height: var(--lh-loose);
  color: #333;
  text-align: left;
}

.content6-note {
  margin: 0 auto;
  max-width: 1000px;
  font-size: clamp(12px, 0.833vw, 16px);
  font-weight: 700;
  line-height: var(--lh-loose);
  color: #000;
  text-align: left;
}

@media (max-width: 767.98px) {
  .content6-hero {
    max-width: 100%;
    margin-bottom: 0;
  }

  .content6-shinpen {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-top: 1rem;
  }

  .content6-shinpen-title {
    width: min(55vw, 220px);
    max-width: 100%;
    margin: 0;
    align-self: flex-start;
  }

  .content6-shinpen-lead {
    text-align: left;
  }

  .content6-points {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

}

/*******************************
    Content-common-text（PDFタイプスケール）
********************************/
.content2-content p,
.content3-content-sub-title,
.content4-content-sub-title,
.content5-content-sub-title,
.content6-content-sub-title {
  font-size: var(--fs-eyebrow);
  font-weight: bold;
  text-align: center;
  line-height: var(--lh-tight);
  margin: 0 auto 0.6rem;
}
.content2-content h2,
.content3-content h2,
.content4-content h2,
.content5-content h2,
.content6-content h2 {
  font-size: var(--fs-h2);
  font-weight: 900;
  text-align: center;
  line-height: var(--lh-tight);
  margin: 0 auto 0.8rem;
}
.content2-content h3,
.content3-content h3,
.content4-content h3,
.content5-content h3,
.content6-content h3 {
  font-size: var(--fs-lead);
  font-weight: 700;
  text-align: center;
  line-height: var(--lh-loose);
  margin: 0 auto 1.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  max-width: 42em;
}

@media (max-width: 991.98px) {
  .content2-content h3,
  .content3-content h3,
  .content4-content h3,
  .content5-content h3,
  .content6-content h3 {
    margin-bottom: 1.35rem;
  }
}

@media (max-width: 767.98px) {
  .content2-content p,
  .content3-content-sub-title,
  .content4-content-sub-title,
  .content5-content-sub-title,
  .content6-content-sub-title,
  .content2-content h2,
  .content3-content h2,
  .content4-content h2,
  .content5-content h2,
  .content6-content h2,
  .content2-content h3,
  .content3-content h3,
  .content4-content h3,
  .content5-content h3,
  .content6-content h3 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .content2-content h3,
  .content3-content h3,
  .content4-content h3,
  .content5-content h3,
  .content6-content h3 {
    margin-bottom: 1.2rem;
    line-height: 1.55;
  }
}

/*******************************
           Content7 FAQ（faq.pdf 準拠）
********************************/
.content7-wrapper {
  background: #f4f2f1;
  padding: 4.5rem 0 5rem;
}

.content7-content {
  width: min(94%, 900px);
  margin: 0 auto;
}

.content7-heading {
  display: inline-block;
  margin: 0 0 2.5rem;
  text-align: left;
}

.content7-eyebrow {
  position: relative;
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.35rem 0.9rem 0.4rem;
  background: #1a1a1a;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.2;
  border-radius: 6px;
  text-align: left;
}

/* 吹き出しのしっぽ */
.content7-eyebrow::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  bottom: -7px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 7px 0 0;
  border-color: #1a1a1a transparent transparent transparent;
}

.content7-title {
  position: relative;
  margin: 0;
  padding: 0 0 0.55rem;
  font-size: var(--fs-eyebrow);
  font-weight: 900;
  text-align: left;
  color: #1a1a1a;
  line-height: var(--lh-tight);
}

.content7-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 0.55rem;
  background: #1a1a1a;
}

.faq-list {
  margin: 0;
}

.faq-list .faq-question {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 0.75rem;
  padding: 1.1rem 3.2rem 1.1rem 1.1rem;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: none;
}

.faq-list .faq-question::before {
  content: "Q";
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #483830;
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding-bottom: 0.1em;
  box-sizing: border-box;
}

.faq-list .faq-question::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9c292e;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

/* 開いたとき: 回答と密着（重なる感じ）、影で境界を出す */
.faq-list .faq-question.is-open {
  z-index: 1;
  margin-bottom: 0;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.faq-list .faq-question.is-open::after {
  content: "−";
  color: #9c292e;
}

.faq-question-text {
  flex: 1 1 auto;
  min-width: 0;
  color: #483830;
  font-size: 1rem;
  font-weight: 700;
  line-height: var(--lh-normal);
}

.faq-list .faq-answer {
  margin: 0;
  padding: 0;
  background: #f8f0d0;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.faq-list .faq-answer.is-open {
  position: relative;
  z-index: 0;
  margin: -4px 0 0.75rem;
  border-radius: 0 0 8px 8px;
  padding-top: 4px;
}

.faq-answer-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.1rem;
}

.faq-answer-label {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #9c292e;
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-top: 0.1rem;
  padding-bottom: 0.1em;
  box-sizing: border-box;
}

.faq-answer-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1rem;
  font-weight: normal;
  line-height: var(--lh-loose);
  color: #483830;
  padding-right: 1rem;
}

@media (max-width: 767.98px) {
  .content7-wrapper {
    padding: 3rem 0 3.5rem;
  }

  .faq-list .faq-question {
    padding: 0.95rem 2.6rem 0.95rem 0.9rem;
    gap: 0.75rem;
  }

  .faq-list .faq-question::before,
  .faq-answer-label {
    width: 1.7rem;
    height: 1.7rem;
    font-size: 0.85rem;
  }

  .faq-list .faq-question::after {
    right: 0.85rem;
    font-size: 1.4rem;
  }
}

/*******************************
           Content8 姉妹サービス
********************************/
.sister-service-bg {
  position: relative;
  background-color: #f8efd0;
  background-image: url('../img/sister-bg.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  padding-top: calc(100vw * 220 / 1920 + 1.2rem);
  padding-bottom: calc(100vw * 220 / 1920 + 1.6rem);
  margin-bottom: -1px;
  overflow: hidden;
}

.sister-service-bg::before,
.sister-service-bg::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 1;
}

/* 姉妹サービス上: FAQ灰 → 黄 */
.sister-service-bg::before {
  top: 0;
  height: calc(100vw * 220 / 1920);
  background-image: url('../img/cloud/cloud_gray.png');
  background-position: center top;
}

/* 姉妹サービス下: 黄 → 白 */
.sister-service-bg::after {
  bottom: 0;
  height: calc(100vw * 220 / 1920);
  background-image: url('../img/cloud/content3_bottom_white.png');
  background-position: center bottom;
}

.sister-service-wrap {
  position: relative;
  z-index: 2;
  width: min(94%, var(--site-width));
  margin: 0 auto;
}

.sister-service-title {
  margin: 0 0 1.6rem;
  color: #1a1a1a;
  font-size: var(--fs-title-md);
  font-weight: 900;
  text-align: center;
  line-height: var(--lh-tight);
}

.sister-text {
  width: 100%;
  max-width: 726px;
  margin: 0 auto;
  padding-bottom: 1.5rem;
  text-align: center;
}

.sister-text img {
  width: 100%;
  height: auto;
}

.sister-service-lead {
  margin: 0 auto 2.5rem;
  max-width: 760px;
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: normal;
  line-height: var(--lh-loose);
  text-align: center;
}

.sister-service-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sister-service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 5%;
  padding: 1.3rem 3rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 5px 5px 0 0 rgba(156, 41, 46, 0.22);
}

.sister-service-row p {
  margin-bottom: 0;
}

.sister-service-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 26%;
  max-width: 312px;
}

.sister-service-head {
  text-align: center;
}

.sister-service-head h3 {
  margin: 0 0 0.25rem;
  color: #666;
  font-size: 1rem;
  font-weight: bold;
  line-height: var(--lh-normal);
}

.sister-service-logo img {
  width: 100%;
  height: auto;
}

.sister-service-text {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.sister-service-text p {
  color: #333;
  font-size: 1rem;
  font-weight: normal;
  line-height: var(--lh-loose);
}

.sister-service-btn {
  min-width: 220px;
  max-width: 260px;
  width: 25%;
}

.btn.btn-page-link {
  display: block;
  width: 100%;
  border-radius: 40px;
  padding: 1rem 2.2rem 1rem 1rem;
  background-color: #9c292e;
  position: relative;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: 0 4px 0 0 #6e1c20;
}

.btn.btn-page-link:hover {
  color: #fff;
  box-shadow: none;
  transition: all 0.3s;
  transform: translate3d(0, 4px, 0);
}

.btn.btn-page-link::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f08e";
  display: inline-block;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}

@media (max-width: 767.98px) {
  .sister-service-title {
    margin-bottom: 1rem;
  }

  .sister-text {
    width: 92%;
    padding-bottom: 1rem;
  }

  .sister-service-lead {
    margin-bottom: 1.75rem;
  }

  .sister-service-list {
    gap: 18px;
  }

  .sister-service-row {
    flex-direction: column;
    padding: 1.2rem 6%;
    gap: 14px;
  }

  .sister-service-logo {
    width: 100%;
    max-width: 280px;
  }

  .sister-service-btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

/*******************************
      Content9 義務化対応表
********************************/
.content9-wrapper {
  background: #fff;
  padding: 4.5rem 0 2rem;
}

.content9-content {
  width: min(94%, 1100px);
  margin: 0 auto;
  text-align: center;
}

.content9-content h2 {
  margin: 0 0 0.8rem;
  color: #1a1a1a;
  font-size: clamp(26px, 2.75vw, 50px);
  font-weight: 900;
  line-height: var(--lh-tight);
  text-align: center;
}

.content9-content h3 {
  margin: 0 0 2.5rem;
  color: #1a1a1a;
  font-size: clamp(1rem, 1.3125vw, 1.8rem);
  font-weight: normal;
  line-height: var(--lh-loose);
  text-align: center;
}

.content9-table-img {
  display: block;
  width: 100%;
  max-width: 1100px;
  height: auto;
  margin: 0 auto;
}

/*******************************
           Content10 料金
********************************/
.content10-wrapper {
  background: #fff;
  padding: 3.5rem 0 5rem;
}

.content10-content {
  width: min(94%, 1100px);
  margin: 0 auto;
  text-align: center;
}

.content10-content h2 {
  margin: 0 0 0.8rem;
  color: #1a1a1a;
  font-size: clamp(26px, 2.75vw, 50px);
  font-weight: 900;
  line-height: var(--lh-tight);
  text-align: center;
}

.content10-content h3 {
  margin: 0 0 2.5rem;
  color: #1a1a1a;
  font-size: clamp(1rem, 1.3125vw, 1.8rem);
  font-weight: normal;
  line-height: var(--lh-loose);
  text-align: center;
}

.content10-table-img {
  display: block;
  width: 100%;
  max-width: 1100px;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 767.98px) {
  .content9-wrapper {
    padding: 3rem 0 1.5rem;
  }

  .content9-content h3,
  .content10-content h3 {
    margin-bottom: 1.75rem;
  }

  .content10-wrapper {
    padding: 2.5rem 0 3.5rem;
  }
}

/*******************************
           お問い合わせフォーム
********************************/
.forms {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: #e7e7e7;
  position: relative;
}
#content-contact {
  padding-bottom: 4rem;
}
.forms:before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  margin: auto;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  border-width: 60px 80px 0 80px;
}
.topic-title {
  font-size: var(--fs-title);
  font-weight: 900;
  text-align: center;
  color: #1a1a1a;
  margin: 0 0 1rem;
  line-height: var(--lh-tight);
}
.topic5 {
  margin-bottom: 2rem;
}
.forms-text {
  margin-bottom: 2rem;
  text-align: center;
  color: #393939;
  font-size: 1rem;
  font-weight: normal;
  line-height: var(--lh-loose);
}
.forms-row {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  align-items: flex-start;
}
.forms-row > .col-md-4 {
  padding-top: 0.5rem;
}
.form-label {
  padding-right: 0.4rem;
  margin-bottom: 0;
  font-weight: bold;
}
.form-space {
  margin-bottom: 0 !important;
}
.form-check {
  display: inline-block;
  margin-right: 1.6rem;
}
.form-check-label {
  cursor: pointer;
}
#use_service .form-check,
#get_know .form-check {
  margin-bottom: 0.8rem;
}
.use-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0;
}
textarea.form-control {
  margin-bottom: 1rem;
}
textarea {
  min-height: 8rem;
}
.submit-text {
  text-align: center;
  margin-bottom: 1.2rem;
}
.submit-text a {
  display: inline-block;
  padding: 0 0.4rem;
  color: var(--main-color);
}
.btn.btn-submit {
  width: 100%;
  max-width: 300px;
  border-radius: 40px;
  padding: 1rem 2rem 1rem 1rem;
  background-color: var(--main-color);
  position: relative;
  color: #fff;
  font-weight: 700;
  border: 1px solid transparent;
  box-shadow: 0 4px 0 0 #6e1c20;
}
.btn.btn-submit:hover {
  color: #fff;
  box-shadow: none;
  transition: all 0.3s;
  transform: translate3d(0, 4px, 0);
}
.btn.btn-submit::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f061";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}
/* かんざし同様: モーダル後に該当項目へ赤文字＋枠線 */
#form-contact .validation-style .form-control-input input,
#form-contact .validation-style select.form-control,
#form-contact .validation-style textarea.form-control {
  border-color: var(--danger);
}
#form-contact .validation-style .form-control-input {
  position: relative;
}
#form-contact .validation-style .form-control-input:after {
  font-family: "Font Awesome 6 Free";
  content: "\f00d";
  font-size: 1rem;
  font-weight: bold;
  color: var(--danger);
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}
#form-contact .error-text,
.error-text {
  color: var(--danger);
  font-size: 0.8rem;
  display: block;
  margin-top: 0.35rem;
  margin-bottom: 0.85rem;
  min-height: 1.2em;
  line-height: var(--lh-normal);
}
.forms-row div:nth-child(1),
.forms-row div:nth-child(n + 15) {
  align-self: start;
}
.badge-danger {
  background-color: var(--main-color);
}

@media (max-width: 767.98px) {
  .form-check {
    margin-right: 0.8rem;
    margin-bottom: 0.6rem;
  }
  .forms-row {
    gap: 0;
  }
  .form-label {
    margin-bottom: 0.6rem;
  }
  .form-space {
    margin-bottom: 2rem !important;
  }
  .forms-row .form-space {
    margin-bottom: 0 !important;
  }
  #form-contact {
    padding: 0 4%;
  }
  .forms:before {
    border-width: 40px 50px 0 50px;
  }
}

/*******************************
                フッター
********************************/
.logo-kanxashi_logo_small {
  max-width: 132px;
}
.logo-airtrip_group {
  max-width: 163px;
}
.logo-tw100_small {
  max-width: 56px;
}
.logo-sdgs_small {
  max-width: 156px;
}
.logo-iso27001_small {
  max-width: 342px;
}
.logo-space-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.footer-logo-space {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin: 0 10px;
  padding: 3.8rem 0 0;
}
.logo-image {
  margin: 0 1rem;
  margin-bottom: 4.4rem;
  width: 100%;
}
.first-wrap,
.second-wrap,
.third-wrap {
  display: inline;
}
@media (max-width: 991px) {
  .first-wrap,
  .second-wrap {
    display: flex;
    justify-content: center;
  }
  .logo-image {
    margin-bottom: 4.4rem;
  }
  .second-wrap {
    flex-wrap: wrap;
  }
}
@media (max-width: 576px) {
  .footer-logo-space img {
    max-height: auto;
  }
}

footer {
  background-color: #4a3b32;
  padding-top: 2rem;
  padding-bottom: 2rem;
  color: #fff;
  position: relative;
}
footer a,
footer a:hover {
  color: #fff;
}
.page-top {
  background-color: #4a3b32;
  position: absolute;
  padding: 0.4rem 1rem;
  border-radius: 6px 6px 0 0;
  right: 2rem;
  top: -29px;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  height: 50px;
}
.page-top:hover {
  color: #fff;
  opacity: 0.9;
}
.img-pagetop {
  max-width: 12px;
  display: inline-block;
  margin-right: 0.6rem;
}
.footer-content {
  display: flex;
  margin: 0 2rem;
  flex-wrap: wrap;
}
.footer-left,
.footer-right {
  width: 50%;
}
.term-link a {
  color: #fff;
  margin-right: 1.4rem;
}
.footer-link-blank {
  position: relative;
  color: #fff;
  margin-right: 1.4rem;
}
.footer-link-blank:after {
  position: absolute;
  font-family: "Font Awesome 6 Free";
  content: "\f08e";
  font-weight: bold;
  font-size: 0.8rem;
  top: 50%;
  right: -16px;
  transform: translateY(-50%);
}
.company-service {
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
}
.company {
  display: flex;
  align-items: center;
  margin: 0.6rem 0;
}
.company-logo {
  width: 95px;
}
.company-name {
  padding: 0;
  margin: 0 0 0 0.6rem;
  font-size: 1rem;
  font-weight: bold;
}
.company-info {
  font-size: 1rem;
  font-weight: normal;
  line-height: var(--lh-loose);
}
.term-link {
  margin: 0.6rem 0;
}
.term-link a,
.term-link a:hover {
  color: #fff;
  display: inline-block;
}
.footer-right {
  display: flex;
  justify-content: flex-end;
}
.tel-box {
  display: inline-block;
  max-width: 340px;
  text-align: right;
}
.tel-guide,
.service-time {
  display: inline-block;
  font-size: 1rem;
  font-weight: normal;
}
.tel-guide {
  font-weight: bold;
}
.img-tel {
  max-width: 252px;
  width: 100%;
  height: auto;
}
.service-time {
  margin-top: 0.6rem;
}
.footer-copyright {
  width: 100%;
  text-align: center;
  padding: 1rem 0 0;
  font-size: var(--fs-small);
}

@media (max-width: 767px) {
  .footer-content {
    margin: 0 .5rem;
  }
  .footer-left,
  .footer-right {
    width: 100%;
  }
  .footer-left {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .company {
    justify-content: center;
  }
  .footer-logos,
  .term-link,
  .company-info,
  .company,
  .company-service {
    width: 100%;
    text-align: center;
  }
  .tel-box,
  .service-time {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  .tel-box {
    text-align: center;
  }
  .service-time {
    margin-top: .6rem;
  }
  .tel-guide {
    display: block;
  }
  .footer-right {
    display: block;
    padding-top: 2rem;
    text-align: center;
  }
  .page-top {
  }
}

/*******************************
           モーダル
********************************/
.modal-dialog-fluid {
  width: auto;
  max-width: 520px;
}
.modal-content {
  padding: 2.5rem;
  border: none;
  border-radius: 8px;
}
.modal-body {
  padding-bottom: 0;
}
.modal-body .message,
.custom-modal-title {
  text-align: center;
  font-size: 1.1428571428571rem;
  line-height: 1.7;
}
.modal-footer {
  border: 0;
  padding-top: 2.5rem;
  justify-content: center;
}
.modal.show.modal-stack {
  padding: 1rem !important;
}
.modal-title {
  display: none;
}
.modal-header .close {
  padding: 0;
  opacity: 1;
}
.modal-header .close:focus {
  outline: none !important;
}
.custom-modal-body .fa-solid {
  padding: 0;
}
.custom-modal-body .modal-icon {
  text-align: center;
  margin-bottom: 1rem;
}
.custom-modal-body .fa-circle-check,
.custom-modal-body .fa-triangle-exclamation {
  font-size: 5rem;
  margin-left: auto;
  margin-right: auto;
}
.custom-modal-body .fa-triangle-exclamation {
  color: var(--danger);
}
.modal-content.danger .message {
  color: var(--danger);
}
.custom-modal-body .fa-circle-check {
  color: var(--success);
}
.custom-modal-title.text-primary {
  color: var(--main-color) !important;
  font-weight: bold;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.custom-modal-title.text-danger {
  color: var(--danger) !important;
  font-weight: bold;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.modal-logo img {
  max-width: 256px;
}
.modal .btn.modal-close,
.modal .btn-outline-secondary.modal-close {
  min-width: 140px;
  padding: 0.65rem 1.5rem;
  border-radius: 40px;
  border: 2px solid var(--main-color);
  color: var(--main-color);
  background: #fff;
  font-weight: bold;
}
.modal .btn.modal-close:hover,
.modal .btn-outline-secondary.modal-close:hover {
  background: var(--main-color);
  color: #fff;
  border-color: var(--main-color);
}
.modal .btn-primary {
  background-color: var(--main-color);
  border-color: var(--main-color);
}
.modal .btn-primary:hover {
  background-color: #861f24;
  border-color: #861f24;
}
.modal .w25p {
  min-width: 25%;
}

/* show-header（申込モーダル等・かんざし同様） */
.show-header.modal-dialog {
  max-width: 800px;
}
.show-header .modal-content .modal-header .modal-title {
  display: flex !important;
  align-items: center;
}
.show-header .modal-content .modal-header .modal-title .mtitle {
  color: var(--main-color);
  display: block;
  font-weight: bold;
}
.show-header .modal-content .modal-header .modal-title .mtext {
  font-size: 0.9rem;
  margin-left: 1rem;
  display: block;
}
.show-header .error-text {
  color: var(--danger);
}
.show-header .register-forms-row {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 10px;
}
.show-header .register-forms-row.gray {
  background-color: #f5f5f5;
}
.show-header .form-address {
  display: flex;
}

.register-forms-row .error-text {
  color: var(--danger);
  font-size: 0.8rem;
  display: block;
  margin-top: 0.35rem;
  margin-bottom: 0.85rem;
  min-height: 1.2em;
  line-height: var(--lh-normal);
}
.register-forms-row select.form-control,
.register-forms-row .form-control-input {
  margin-bottom: 0;
}
.register-forms-row .align-items-start {
  margin-top: 0.6rem;
}
.register-forms-row .align-items-start + .error-text {
  margin-top: 0.35rem;
}
.register-forms-row .form-row.align-items-start {
  margin-top: 0;
}
.register-forms-row label {
  margin-bottom: 0;
}
.register-forms-row .label-name {
  padding-top: 0.4rem;
}
.register-forms-row .plan-box {
  display: flex;
}
.register-forms-row .validation-style .form-control-input input {
  border-color: var(--danger);
}
.register-forms-row .validation-style .form-control-input {
  position: relative;
}
.register-forms-row .validation-style .form-control-input:after {
  font-family: "Font Awesome 6 Free";
  content: "\f00d";
  font-size: 1rem;
  font-weight: bold;
  color: var(--danger);
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .show-header .modal-content .modal-header .modal-title {
    display: block !important;
  }
  .show-header .modal-content .modal-header .modal-title .mtitle,
  .show-header .modal-content .modal-header .modal-title .mtext {
    display: block;
  }
  .show-header .modal-content .modal-header .modal-title .mtext {
    margin-left: 0;
  }
  .register-forms-row .mb-md-2 {
    margin-bottom: 0.5rem;
  }
  .register-forms-row .form-space {
    margin-bottom: 0.35rem !important;
  }
  .register-forms-row .error-text {
    margin-top: 0.2rem;
    margin-bottom: 0.35rem;
  }
  .register-forms-row label {
    margin-bottom: 0.35rem;
  }
  .register-forms-row .label-name {
    padding-top: 0;
  }
}

@media (max-width: 576px) {
  .modal-content {
    padding: 1.5rem 1rem;
  }
  .modal-footer {
    padding-top: 1.5rem;
  }
  .show-header .register-forms-row {
    padding: 10px 5px;
  }
  .show-header .form-address {
    display: block;
  }
  .show-header .modal-content .modal-header,
  .show-header .modal-content .modal-body {
    padding: 1rem 0;
  }
  .show-header .modal-content .modal-header {
    position: relative;
    padding: 0 1.75rem 0.75rem 0;
  }
  .show-header .modal-header .close {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
  .register-forms-row .plan-box {
    display: block;
  }
  .register-forms-row.gray .form-address select.form-control,
  .register-forms-row.gray .form-address .form-control-input {
    margin-bottom: 1rem;
  }
  .custom-modal-body .fa-circle-check,
  .custom-modal-body .fa-triangle-exclamation {
    font-size: 3.5rem;
  }
}

/*******************************
  child-page / 利用規約 terms.php
********************************/
.wrapper.child-page {
  padding-top: 63px;
}
.wrapper.child-page .scroll-nav {
  margin-top: -63px;
}
.wrapper.child-page .scroll-nav.is-fixed {
  margin-top: 0;
}
.wrapper.child-page .terms-section {
  max-width: var(--site-width);
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}
@media (max-width: 767.98px) {
  .wrapper.child-page {
    padding-top: 56px;
  }
  .wrapper.child-page .scroll-nav {
    margin-top: -56px;
  }
  .wrapper.child-page .terms-section {
    padding: 1.5rem 4% 3rem;
  }
}

.breadcrumb-nav .breadcrumb {
  max-width: var(--site-width);
  width: 100%;
  background-color: #fff;
  padding: 0.75rem 1rem;
  margin: 0 auto;
}
.breadcrumb-nav .breadcrumb li {
  color: var(--font-color);
  font-size: 0.9rem;
}
.breadcrumb-nav .breadcrumb a {
  color: var(--main-color);
}
@media (max-width: 767.98px) {
  .breadcrumb-nav .breadcrumb {
    padding: 0.75rem 4%;
  }
}

.header-title {
  font-size: 2.4rem;
  text-align: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: #f4f2f1;
  color: var(--main-color);
  font-weight: 900;
  margin: 0;
  line-height: var(--lh-tight);
}
@media (max-width: 767.98px) {
  .header-title {
    font-size: 1.6rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

.line-row {
  margin-bottom: 3.5rem;
  line-height: 1.8;
}
.line-row h3 {
  color: var(--main-color);
  border-bottom: solid 2px var(--main-color);
  margin-bottom: 1rem;
  font-size: 1.35rem;
  font-weight: 900;
}
.line-row h4 {
  color: var(--main-color);
}
.line-row p {
  margin-bottom: 0.6rem;
}
.line-row ul {
  margin: 0 0 0.6rem;
  padding-left: 1.1rem;
  list-style-position: outside;
}
.line-row ul li ul,
.line-row ul li ul.number-enclosure-marker,
.line-row ul li ul.number-circle-marker {
  text-indent: -1.4em;
  padding-left: 1.4em !important;
  margin-left: 1.2rem;
}
.line-row ul.number-marker {
  list-style-type: decimal;
}
.line-row ul.alphabet-marker {
  counter-reset: alpha;
  padding-left: 0;
  margin-left: 1.2rem;
}
.line-row ul.alphabet-marker > li {
  list-style-type: none;
  counter-increment: alpha;
  text-indent: -1.4em;
  padding-left: 1.4em;
}
.line-row ul.alphabet-marker > li:before {
  content: counter(alpha, lower-alpha) "．";
}
.line-row ul.number-enclosure-marker,
.line-row ul.number-circle-marker {
  padding-left: 0 !important;
  counter-reset: cnt;
}
.line-row .number-enclosure-marker > li {
  list-style-type: none;
  counter-increment: cnt;
}
.number-enclosure-marker > li:before {
  content: "(" counter(cnt) ") ";
}
.line-row .number-enclosure-marker.parent > li {
  text-indent: -1.6rem;
  padding-left: 1.6rem;
}

.terms-table-wrap {
  margin: 0.8rem 0 0.4rem;
  overflow-x: auto;
}
.terms-hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #fff;
}
.terms-hours-table th,
.terms-hours-table td {
  border: 1px solid #d0d0d0;
  padding: 0.65rem 0.75rem;
  vertical-align: top;
  text-align: left;
}
.terms-hours-table th {
  background: #f4f2f1;
  color: var(--main-color);
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 767.98px) {
  .line-row h3 {
    font-size: 1.15rem;
  }
  .terms-hours-table {
    font-size: 0.85rem;
  }
}

.signature-box {
  padding-top: 2rem;
  padding-bottom: 3rem;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.signature {
  display: inline-block;
  width: 100%;
  text-align: right;
}
