@charset "UTF-8";
@import url("https://fonts.googleapis.com/earlyaccess/notosansjapanese.css");
@import url("https://fonts.googleapis.com/css?family=Lato:400,700&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  background:
    /* 下部の白い霞 */
    linear-gradient(
      to bottom,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.3) 60%,
      rgba(255,255,255,0.9) 100%
    ),
    /* 中央が明るい放射グラデーション */
    radial-gradient(
      circle at center,
      #eaf6fd 0%,
      #cfeaf8 45%,
      #b8ddf2 70%,
      #9ccbe8 100%
    );
  background-size: cover;
  background-repeat: no-repeat;
  color: #3A4A5A;
  /* font-family: "Noto Sans Japanese", sans-serif, "Meiryo",
    "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro"; */
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  list-style: none;
  padding-left: 0;
  font-family:
    "Zen Old Mincho",
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    "Yu Mincho",
    "YuMincho",
    serif;
}
body.m_fixed_sns {
  padding-bottom: 75px;
}

article,
aside,
footer,
header,
nav,
section,
main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
a,
p,
span,
em,
small,
strong,
sub,
sup,
mark,
del,
ins,
strike,
abbr,
dfn,
blockquote,
q,
cite,
code,
pre,
ol,
ul,
li,
dl,
dt,
dd,
div,
section,
article,
main,
aside,
nav,
header,
hgroup,
footer,
img,
figure,
figcaption,
address,
time,
audio,
video,
canvas,
iframe,
details,
summary,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  border: 0;
  margin: 0;
  padding: 0;
  list-style: none; /* リストの点（・）を非表示 */
  padding-left: 0; /* 左余白を削除 */
}

a {
  color: inherit;
  outline: none;
	text-decoration: none;
}

img {
  border: none;
  height: auto;
  max-width: 100%;
  vertical-align: top;
  width: 100%;
}

code,
kbd,
pre,
samp {
  font-family: monospace, sans-serif;
  font-size: inherit;
}
li::marker {
  font-size: 13px;
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
}

.header-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
}


.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
  display: none;
}
/* ***************************

共通 


*****************************/

.floating {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.is-sp{display: none;}
#contents {
  background:
    /* 下部の白い霞 */
    linear-gradient(
      to bottom,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.3) 60%,
      rgba(255,255,255,0.9) 100%
    ),
    /* 中央が明るい放射グラデーション */
    radial-gradient(
      circle at center,
      #eaf6fd 0%,
      #cfeaf8 45%,
      #b8ddf2 70%,
      #9ccbe8 100%
    );
  background-size: cover;
  background-repeat: no-repeat;
}

.section-title-wrap {
  text-align: center;
}


h1.section-title,
h2.section-title {
  font-family: "Zen Old Mincho", serif;
  font-weight: bold;
  font-size: 51px;
  line-height: 1;
  letter-spacing: 0.1em;
  text-align: center;
  position: relative;
  display: inline-block;
}


h3.section__first-message {
  font-size: 30px;
  line-height: 65px;
  text-align: center;
  letter-spacing: 0.1em;
  margin-bottom: 100px;
  font-weight: normal;
}

/* ​大切なこどもたち・孫たちへ感謝・想いを伝えたい。 */
h3.section-heading {
  font-size: 25px;
  line-height: 2;
    text-align: center;
    letter-spacing: 0.01em;
    margin-bottom: 50px;
    font-weight: 600;
}


h5.summary-title {
  color: #fff;
  background-color: #1f3a5f;
  padding: 10px 30px;
  font-size: 30px;
}
.summary {
  border: 1px solid #1f3a5f;
  margin-top: 50px;
}
.summary__contents {
  padding: 25px;
  background: rgba(255, 255, 255, 0.85);
}

.message__wrap .page-text {
  margin-bottom: 1.8em; /* ← ここで余白調整（1行以上の余白） */
  line-height: 1.8; /* 行間も少し広げると綺麗 */
}

.message__wrap .page-text:last-child {
  margin-bottom: 0; /* 最後の段落は余白なし */
}

p.page-text {
  font-style: normal;
  font-weight: 300;
  font-size: 20px;
  line-height: 40px;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
  text-align: start;
}



/* ========================================
  Concept Section
======================================== */



/* ========================================
movie Section
======================================== */
.movie-section {
  padding: 100px 0;
  background-color: #eef8fc;
  background-image: url("../img/movie-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.movie-section__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 65px 50px;
  background-color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(31, 72, 112, 0.12);
}

.movie-section__heading {
  text-align: center;
  margin-bottom: 40px;
}

.movie-section__ornament {
  display: block;
  width: 48px;
  height: 2px;
  margin: 0 auto 24px;
  background-color: #9cc7df;
}

.movie-section__title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1f3a5f;
  line-height: 1.5;
}

.movie-section__lead {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.9;
  color: #4a5b6e;
}

.movie-section__video-wrap {
    max-width: 420px;
    margin: 0 auto;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(31, 72, 112, 0.2);
    background: rgba(255, 255, 255, 0.72);
}

.movie-section__video {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    background: #000;
}

.movie-section__caption {
  margin-top: 24px;
  text-align: center;
  font-size: 15px;
  line-height: 1.8;
  color: #6b7a8a;
}

@media screen and (max-width: 768px) {
  .movie-section {
    padding: 64px 0;
  }

  .movie-section__inner {
    padding: 40px 20px;
    border-radius: 18px;
  }

  .movie-section__heading {
    margin-bottom: 28px;
  }

  .movie-section__title {
    font-size: 22px;
  }

  .movie-section__lead {
    font-size: 14px;
  }

  .movie-section__video-wrap {
        max-width: min(86vw, 360px);
        border-radius: 18px;
    }

  .movie-section__caption {
	 font-size: 13px;
        line-height: 1.5;
  }
}

/* ========================================
about Section
======================================== */
.about {
  background-image: url("../img/about-bg-sky.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

/* about 移植コンテンツ（TOP） */
.about-lead {
  text-align: center;
  font-family: "Zen Old Mincho", serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #3b4a5a;
  margin: 0 0 28px;
}

.about-lead-text {
  text-align: center;
  margin-bottom: 64px;
}

.about-worry-list {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 72px;
}

.about-worry-card {
  width: calc((100% - 96px) / 5);
  max-width: 480px;
  background: #ffffff;
  border-radius: 14px;
  padding: 15px 10px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(59, 74, 90, 0.08);
}

.about-worry-card__icon {
  font-size: 50px;
  line-height: 1;
  margin-bottom: 15px;
}

.about-worry-card p {
  font-size: 15px;
  line-height: 1.5;
  color: #3b4a5a;
}

@media screen and (max-width: 768px) {
  .about-lead {
    font-size: 20px;
  }

  .about-worry-list {
    flex-direction: column;
    align-items: center;
  }

  .about-worry-card {
    width: 80%;
  }

}

/****************************

plan

*************************/

.plan-box-wrap {
  display: flex;
  justify-content: space-around;
}

.plan-contents-area {
  padding: 25px;
}

ul.plan {
  border-bottom: 0.5px solid rgba(102, 102, 102, 0.3);
  margin: 0 auto;
  line-height: 1.5;
  font-size: 20px;
}
span.tax{
  font-size: 16px;
  text-align: end;
}

ul.plan li {
  margin-bottom: 15px;
}

.plan-box {
  background: #ffffff;
  border: 1px solid #afafaf;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
}
.plan-name {
  font-size: 30px;
  padding: 25px 0;
  color: #fff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  text-align: center;
  font-weight: 600;
}

.plan__self {
  background-color: #ffb0bc;
}
.plan__standard {
  background-color: #8479df;
}
.plan__premium {
  background-color: #d3b200;
}

.plan__btn-self:hover {
  background-color: #FFF;
  border: 1.5px solid #ffb0bc;
  color: #ffb0bc;
  font-weight: bold;
}
.plan__btn-standard:hover {
  background-color: #FFF;
  border: 1.5px solid #8479df;
  color: #8479df;
  font-weight: bold;
}
.plan__btn-premium:hover {
  background-color: #fff;
  border: 1.5px solid #d3b200;
  color: #d3b200;
  font-weight: bold;
}


p.plan-price {
  padding: 25px;
  text-align: center;
  font-size: 24px;
}
span.tax {
  font-size: 14px;
}

/* テキスト部分 */

span.jp {
  font-size: 50px;
  font-weight: bold;
  line-height: 1;
}
span.en {
  font-family: serif;
  color: #a4d4ad;
}

.quote-box {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  line-height: 1.8;
  font-size: 18px;
  font-weight: 700;
  margin-top: 25px;
}

/* 左上と右下にL字の装飾 */
.quote-box::before,
.quote-box::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  border: 1px solid #84c59b;
}

.quote-box::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.quote-box::after {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.mt-50 {
  margin-top: 50px;
}

.o-1 {
  order: 1;
}
.highlight {
  color: #ff8ac0;
}
/* ボタン */
/* ボタンのスタイル */
.buttonRound {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 300px;
  padding: 5px 10px;
  font-size: 20px;
  color: #fff;
  text-align: center;
  overflow-wrap: anywhere;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 500;
}

@media (any-hover: hover) {
  .buttonRound {
    transition: background-color 0.2s;
  }
}

/****************

流れ

***************/

/* =========================
   Flow Section
========================= */



/* =========================
   Responsive
========================= */

@media (max-width: 768px) {
  .flow-item:not(:last-child)::after {
    left: 20px;
    font-size: 20px;
  }
}


/*******************************************

流れ 改

*******`***********/

/****************
  Flow
****************/
.flow{
  padding: 110px 0 130px;
}

/* 全体幅 */
.flow-list{
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}

/* ステップ（縦ラインを引くため） */
.flow-step{
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  align-items: start;
  position: relative;
}

/* 左の縦ライン */
.flow-step::before{
  content:"";
  position:absolute;
  left: 36px;               /* 72px の真ん中 */
  top: 0;
  bottom: -52px;            /* 次のステップまで伸ばす */
  width: 2px;
  background: rgba(31,59,92,0.18);
}

/* 最後はライン不要 */
.flow-item:last-child .flow-step::before{
  display:none;
}

/* 各アイテム間 */
.flow-item{
  margin-bottom: 52px;
  position: relative;
}

/* 番号バッジ（左） */
.flow-badge{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  border: 2px solid rgba(31,59,92,0.25);
  background: #fff;
  color: #1f3b5c;
  position: sticky;
  top: 90px; /* スクロール時に少し付いてくる（不要なら消してOK） */
}

/* カード */
.flow-box{
  position: relative;
  padding: 34px 40px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #b8b8b8;
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
}

/* 交互に濃色 */
.flow-item.dark .flow-box{
  background: #1f3b5c;
  color:#fff;
  border-color: rgba(255,255,255,0.18);
}

/* 濃色の番号バッジも反転 */
.flow-item.dark .flow-badge{
  background: #1f3b5c;
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}

.flow-box h3{
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: .05em;
  position: relative;
  padding-left: 16px;
}

/* 左アクセントライン */
.flow-box h3::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  width:4px;
  height:20px;
  background:#1f3b5c;
  border-radius:2px;
}

/* ダークカード時は色反転 */
.flow-item.dark .flow-box h3::before{
  background:#fff;
}

/* 本文 */
.flow-box p{
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: inherit;
  opacity: .92;
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px){
  .flow{
    padding: 0;
  }

  .flow-step{
    grid-template-columns: 56px 1fr;
    gap: 16px;
  }

  .flow-step::before{
    left: 28px;
    bottom: -40px;
  }

  .flow-badge{
    width: 44px;
    height: 44px;
    font-size: 14px;
    top: 70px;
  }

  .flow-box{
    padding: 22px 18px;
    border-radius: 18px;
  }

  .flow-box h3{
    font-size: 16px;
  }

  .flow-box p{
    font-size: 14px;
  }
}

@media (max-width: 480px){
  .flow-step{
    grid-template-columns: 48px 1fr;
  }
  .flow-step::before{
    left: 24px;
  }
}

/***************************

  FAQ（簡略・最終）

  *****************************/

/* ===== Base ===== */
.faq-container{max-width:900px;margin:0 auto}

/* Tabs */
.faq-tabs{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin:0 0 50px}
.faq-tab{
  border: none;
  justify-content: center;
  padding: 10px 26px;
  font-size: 20px;
  color: #1f3a5f;
  border-radius: 30px;
  background: rgba(255, 255, 255, .6);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  text-decoration: none;
  transition: background .3s, color .3s, transform .2s;
  width: 50%;
  margin: 0 auto;
}

.faq-tab:hover{background:rgba(31,58,95,.08);transform:translateY(-1px)}
.faq-tab.is-active{background:#1f3a5f;color:#fff}

.faq-group{display:none;scroll-margin-top:140px}
.faq-group.is-active{display:block}

/* Group title */
.faq-group-title{
  margin:0 0 18px;font-size:16px;font-weight:700;color:#1f3a5f;letter-spacing:.06em;
  position:relative;padding-left:14px
}
.faq-group-title::before{
  content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);
  width:4px;height:18px;background:#1f3a5f;border-radius:2px
}

/* Item */
.faq-item{
  background:rgba(255,255,255,.65);border-radius:14px;margin-bottom:20px;overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.05);border:1px solid #b8b8b8
}
.faq-question{
  width:100%;display:flex;align-items:center;gap:16px;padding:22px 24px;
  background:transparent;border:0;cursor:pointer;font-size:16px;text-align:left;
  transition:background .3s
}
.faq-question:hover{background:rgba(0,0,0,.03)}

.faq-icon{
  width:50px;height:50px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:#fff;flex-shrink:0;font-size:25px;font-weight:100
}
.faq-icon.q{background:#1f3a5f}
.faq-icon.a{background:#ff8ac0}

.faq-text{flex:1;min-width:0;font-weight:500;color:#333;word-break:break-word}
.toggle-btn{font-size:26px;line-height:1;color:#999;flex-shrink:0;transition:color .3s}
.faq-item.active .toggle-btn{color:#1f4b8f}

/* ===== Answer（最終：flexで揃える。JSでmax-height制御） ===== */
.faq-answer{
  display:flex;
  align-items: center;
  gap:16px;
  max-height:0;
  overflow:hidden;
  padding:0 24px;              /* ←質問と同じ左右 */
  color:#555;line-height:1.8;
  transition:max-height .35s ease,padding .35s ease
}

.faq-item.active .faq-answer{padding:22px 24px 27px}
.faq-answer p{
  margin:0;
  min-width:0;
  word-break:break-word
}

/* A + 本文：同じアニメ（Yのみ） */
.faq-answer .faq-icon.a,
.faq-answer p{
  opacity:0;
  transform:translateY(10px);
  transition:opacity .35s ease,transform .35s ease
}
.faq-item.active .faq-answer .faq-icon.a,
.faq-item.active .faq-answer p{
  opacity:1;
  transform:translateY(0)
}
.contact-section .faq-item.active .faq-answer{
  max-height:1000px !important;
}
/* ===== Mobile ===== */
@media (max-width:600px){
  .faq-container{width:100%;margin:20px auto}

  /* タブ：横スクロール */

  .faq-tabs::-webkit-scrollbar{height:6px}
  .faq-tabs::-webkit-scrollbar-thumb{background:rgba(31,58,95,.18);border-radius:999px}
  .faq-tab{white-space:nowrap;padding:12px 18px;font-size:14px;border-radius:999px}

  .faq-item{border-radius:16px;margin-bottom:14px}
  .faq-question{padding:16px 16px;gap:12px}

  .faq-icon{width:40px;height:40px;font-size:18px}
  .toggle-btn{font-size:22px}

  /* 回答：スマホは縦積み */
  .faq-answer{padding:0 16px}
  .faq-item.active .faq-answer{padding:16px 16px 18px}

  .faq-answer .faq-icon{margin:0 0 10px 0}
  .faq-answer p{font-size:15px;line-height:1.9}
  .contact-section .faq-item.active .faq-answer{
    max-height:1000px !important;
  }
}





/************************************************


企業情報


************************/
/* ===== 企業情報セクション ===== */
.access {
  background: linear-gradient(180deg, #eef6fb 0%, #f7fbfe 100%);
  padding: 100px 0;
}

.access .inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== タイトル ===== */
.section-title-wrap {
  margin-bottom: 60px;
}

.section-title {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #3b4a5a;
  position: relative;
  padding-left: 24px;
}
/* ===== レイアウト ===== */
.access-wrap {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 60px;
  align-items: start;
}

/* ===== 企業情報テーブル ===== */
.access-table {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  padding: 40px;
  border: 0.5px solid #b8b8b8;
}

.access-table .row {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 10px;
  padding: 20px 0;
  border-bottom: 1px solid #dbe6ee;
}

.access-table .th {
  font-weight: 600;
  color: #1e3b5f;
  letter-spacing: 0.05em;
}

.access-table .td {
  color: #333;
  line-height: 1.8;
}

/* ===== 地図 ===== */
.access-img {
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.map-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.map-wrap iframe {
  width: 100%;
  height: 250px;
  border: none;
  display: block;
}

/* =========================================
  企業情報：スマホをもっと見やすく（追記推奨）
========================================= */

/* タブレット以下：余白と文字を最適化 */
@media (max-width: 900px) {

  .access .inner {
    padding: 0 16px;
  }

  .section-title-wrap {
    margin-bottom: 32px;
  }

  .section-title {
    font-size: 22px;
    padding-left: 0;
    letter-spacing: 0.04em;
  }

  .access-table {
    padding: 18px;
    border-radius: 14px;
    border: none;
  }

  /* 2列→余白増やす（900px帯はまだ2列でもOK） */
  .access-table .row {
    grid-template-columns: 88px 1fr;
    gap: 12px;
    padding: 16px 0;
  }

  .access-table .td {
    font-size: 15px;
    line-height: 1.9;
  }

  .map-wrap iframe {
    height: 280px;
  }
}

/* スマホ：1項目をカード化して縦積み */
@media (max-width: 600px) {
  .access {
    padding: 56px 0;
  }

  .access-wrap {
    display: block;
  }

  .access-table {
    padding: 14px;
    background: rgba(255, 255, 255, 0.75);
  }

  /* 行をカード化 */
  .access-table .row {
    display: block;               /* ← gridをやめる */
    padding: 14px 12px;
    border-bottom: none;          /* 下線よりカードの方が見やすい */
    background: #fff;
    border: 1px solid #1e3b5f;
    border-radius: 12px;
    margin-bottom: 12px;
  }

  .access-table .row:last-child {
    margin-bottom: 0;
  }

  /* 見出しを「ラベル」っぽく */
  .access-table .th {
    text-align: center;
      display: inline-block;
      font-size: 14px;
      font-weight: 700;
      color: #ffffff;
      letter-spacing: 0.06em;
      padding: 1px 10px;
      border-radius: 999px;
      background: #1e3b5f;
      margin-bottom: 10px;
  }

  /* 内容をしっかり読ませる */
  .access-table .td {
    font-size: 15px;
    line-height: 1.5;
    color: #24313f;
    word-break: break-word;
  }

  /* 地図も縦長にしすぎず見やすく */
  .access-img {
    padding: 12px;
    border-radius: 16px;
    margin-top: 25px;
  }

  .map-wrap iframe {
    height: 240px;
  }
}

/*************************************************************

問い合わせフォーム 

*************************************************************/

.mainvisual-title.is-page-contact::before {
  content: "\f0e0";
}

label {
  display: block;
}

.entry-content-contact {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
}

.entry-content-contact.inner {
  width: 880px;
  padding-top: 60px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 21px;
  align-items: center;
  justify-content: center;
  padding: 80px 64px;
  background: #fff;
  border: 1px solid #e2e2e2;
}

.form__fields {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
}

.form__privacy {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.form__privacy-text {
  font-size: 16px;
  line-height: 1.6;
  color: #3a4247;
}

.form__privacy-text a {
  font-weight: 600;
  text-decoration-line: underline;
  outline: initial;
  transition: opacity 0.3s;
}

.form__privacy-text a:hover {
  opacity: 0.6;
}

.form__privacy-text a:focus-visible {
  outline: solid 1px #989898;
}

.form-field {
  display: flex;
  gap: 30px;
  align-items: center;
  width: 100%;
  width: 100%;
    padding: 10px;
    font-size: 16px;
    font-weight: 300;
    color: #333;

} 
.wpcf7-validates-as-required{border: 1px solid #e2e2e2;}

.form-field--flex-start {
  align-items: flex-start;
}

.form-field__head {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
  align-items: center;
  width: 210px;
  padding-left: 10px;
  font-size: 18px;
  font-weight: 600;
}

.form-field--flex-start .form-field__head {
  margin-top: 0.4em;
}

.form-field__label {
  font-weight: 600;
}

.form-field__tag {
  display: inline-block;
    padding: 0px 8px;
    font-size: 13px;
    color: #fff;
    text-align: center;
    background: #ff8ac0;
    border-radius: 5px;
}

.form-field__tag__2 {
  display: inline-block;
  padding: 0px 8px;
  font-size: 13px;
  color: #fff;
  text-align: center;
  background-color: #9fd4a8;
  border-radius: 5px;
}

.form-field__item {
  flex-grow: 1;
}

.form-text {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  font-weight: 300;
  color: #333;
  border: 1px solid #e2e2e2;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  font-size: 16px;
  color: #bababa;
}

input:focus-visible,
textarea:focus-visible {
  outline: solid 1px #989898;
}

.from-radio {
  display: flex;
  gap: 20px;
  padding-left: 8px;
}

input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

input[type="radio"]:checked + span::after {
  opacity: 1;
}

input[type="radio"] + span {
  position: relative;
  padding: 10px 10px 10px 28px;
  cursor: pointer;
}

input[type="radio"]:focus-visible + span {
  outline: solid 1px #989898;
}

input[type="radio"] + span::before,
input[type="radio"] + span::after {
  position: absolute;
  top: 50%;
  content: "";
  border-radius: 50%;
  transform: translateY(-50%);
}

input[type="radio"] + span::before {
  left: 0;
  width: 24px;
  height: 24px;
  border: 1px solid #e2e2e2;
  transition: border-color 0.3s;
}

input[type="radio"] + span::after {
  left: 7px;
  width: 10px;
  height: 10px;
  background: #868686;
  opacity: 0;
}

.form-select {
  width: 100%;
  padding: 12px 30px 12px 10px;
  font-size: 16px;
  appearance: none;
  cursor: pointer;
  background: #fff;
  background: url(../img/select-arrow.svg) no-repeat center right 10px/25px auto;
  border: 1px solid #e2e2e2;
  transition: border-color 0.3s;
}

.form-select:focus-visible {
  outline: solid 1px #989898;
}

.form-textarea {
  width: 100%;
  height: 180px;
  padding: 10px;
  font-size: 16px;
  background: #fff;
  border: 1px solid #e2e2e2;
  transition: border-color 0.3s;
}

.form-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.form-checkbox:checked + span::after {
  opacity: 1;
}

.form-checkbox + span {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  line-height: 1.6;
  color: #3a4247;
  cursor: pointer;
  user-select: none;
}

.form-checkbox:focus-visible + span::before {
  border-width: 2px;
}

.form-checkbox + span::before {
  width: 20px;
  height: 20px;
  border: 1px solid #989898;
  border-radius: 1px;
  transition: border-color 0.3s;
}

.form-checkbox + span::after {
  width: 20px;
  height: 20px;
  background: url(../img/check-icon.png) no-repeat center center/contain;
  opacity: 0;
}

.form-checkbox + span::before,
.form-checkbox + span::after {
  position: absolute;
  top: 50%;
  left: 0;
  content: "";
  transform: translateY(-50%);
}

.form-btn {
  display: inline-block;
    min-width: 350px;
    letter-spacing: 5px;
    cursor: pointer;
    background-color: #1f3a5f;
    border: none;
    transition: opacity 0.3s;
    padding: 5px 10px;
    font-size: 25px;
    color: #fff;
    text-align: center;
    border-radius: 999px;
    font-weight: 500;
}

.form-btn:hover {
  color: #1f3a5f;
  border: 1px solid #1f3a5f;
  background-color: #fff;
}


 .wpcf7-list-item {
    margin: 0 30px 0 0;
}

.wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  padding: 3px 10px;
  font-size: 13px;
  line-height: 1.6;
  color: #1f3a5f;
  background: rgb(31 58 95 / 9%);
  border-radius: 8px;
  font-weight: 400;
  width: 350px;
  font-weight: bold;
}

@media screen and (max-width: 767px) {

  .form-btn { 
    border-radius: 999px;
    padding: 5px 0;
	  width: 100%;
        border-radius: 999px;
        padding: 5px 0;
        font-size: 18px;
}
  .entry-content-contact.inner {
    padding-block: 33px;
  }

  .wp-block-spacer {
    height: 44px !important;
  }

  .form {
    padding: 40px 13px 30px;
  }

  .form__fields {
    gap: 5px;
  }
  .form-text {
    padding: 5px 10px;
  }
  input{
    padding: 5px 10px;
  }
  .form {
    gap: 20px;
  }
  input[type="radio"] + span::before {
    height: 15px;
    width: 15px;
}

  .form__privacy {
    gap: 14px;
  }

  .form__privacy-text {
    line-height: 1.8;
    text-align: left;
  }

  .form-field {
    flex-direction: column;
    gap: 5px;
    align-items: start;
    padding: 5px;
  }

  .form-field--radio {
    gap: 15px;
  }

  .form-field__item {
    width: 100%;
  }

  .from-radio {
    gap: 10px;
  }

  .wpcf7-not-valid-tip {
    width: 80%;
    padding: 1px 5px;
    font-size: 11px;
}

.form-field__tag {
  font-size: 10px;
}

.form-field__head {
  gap: 5px;
  font-size: 14px;
}

.faq-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 25px;
}


}

/* 確認画面 */
.form-confirm {
  width: 100%;
}

.confirm-text {
  padding: 10px;
  font-size: 16px;
  color: #333;
  background: #f7f7f7;
  border: 1px solid #e2e2e2;
}

/* 確認画面ボタン */
.form-confirm-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.form-btn.is-back {
  background: #9aa3ab;
}

.cf7-real-submit {
  position: absolute;
  left: -9999px;
}

/* =========================
   確認画面（カッコよく）
========================= */
.form-confirm{
  background: rgba(255,255,255,0.75);
  border: 1px solid #d7d7d7;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.form-confirm__title{
  font-size: 22px;
  letter-spacing: .04em;
  margin: 0 0 18px;
  padding-bottom: 14px;
}

.form-confirm__list{
  display: grid;
  gap: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.65);
}

/* 1行を「ラベル | 値」の2カラムに */
.form-confirm__row{
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 16px 18px;
  align-items: start;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.form-confirm__row:last-child{
  border-bottom: none;
}

.form-confirm__label{
  font-size: 13px;
  letter-spacing: .06em;
  color: #6b7280; /* グレー */
  font-weight: 600;
  padding-top: 2px;
}

.form-confirm__value{
  font-size: 16px;
  color: #111827;
  font-weight: 600;
  line-height: 1.8;
  word-break: break-word;
}

/* ボタンエリア */
.form-confirm__buttons{
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 18px;
  padding-top: 18px;
}

/* 送信・戻るボタンの見た目（既存 .form-btn を活かして上品に） */
.form-confirm__buttons .form-btn{
      min-width: 200px;
    border-radius: 999px;
    padding: 5px 10px;
    font-weight: 700;
    letter-spacing: .02em;
}

.form-confirm__buttons .is-back{
  background: transparent;
  border: 1px solid rgba(31,58,95,0.35);
  color: #1f3a5f;
}

.form-confirm__buttons .is-back:hover{
  background: rgba(31,58,95,0.06);
}

/* 送信ボタン（CF7 submitにも効かせる） */
.form-confirm__buttons input[type="submit"].form-btn,
.form-confirm__buttons .form-btn--submit{
  background: #1f3a5f;
  border: 1px solid #1f3a5f;
  color: #fff;
}

.form-confirm__buttons input[type="submit"].form-btn:hover,
.form-confirm__buttons .form-btn--submit:hover{
  filter: brightness(1.05);
}

/* スマホは縦並びに切り替え */
@media (max-width: 640px){
  .form-confirm{
    padding: 18px;
  }
  .form-confirm__row{
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .form-confirm__buttons{
    flex-direction: column;
    align-items: stretch;
  }
  .form-confirm__buttons .form-btn{
    width: 100%;
  }
}



.about-story-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
  gap: 0;
  margin-bottom: 24px;
  padding: 0;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(31, 58, 95, 0.06);
  box-shadow: 0 14px 38px rgba(31, 58, 95, 0.06);
}

.about-story-card__body {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-story-card__body h2 {
  width: fit-content;
  margin: 0 0 26px;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.1em;
  color: #1f3a5f;
}

.about-story-card__body h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 18px;
  background: #d3b200;
}

.about-story-card__body p {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: #24384f;
}

.about-story-card__image {
  min-height: 300px;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
}

.about-story-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  object-position: center;
}

/* 2枚目：画像左・テキスト右 */
.about-story-card--reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.about-story-card--reverse .about-story-card__image {
  order: 1;
}

.about-story-card--reverse .about-story-card__body {
  order: 2;
}

/* スマホ */
@media screen and (max-width: 767px) {
  .about-story-card,
  .about-story-card--reverse {
    grid-template-columns: 1fr;
    margin-bottom: 22px;
    border-radius: 16px;
  }

  .about-story-card__body,
  .about-story-card--reverse .about-story-card__body {
    order: 1;
    padding: 10px;
  }

  .about-story-card__image,
  .about-story-card--reverse .about-story-card__image {
    order: 2;
    min-height: 220px;
  }

  .about-story-card__image img {
    min-height: 220px;
  }

  .about-story-card__body h2 {
    font-size: 25px;
    letter-spacing: 0.08em;
  }

  .about-story-card__body p {
    font-size: 15px;
    line-height: 1.5;
  }
}


@media screen and (max-width: 900px) {
  .about-story-card,
  .about-story-card--reverse {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .about-story-card--reverse .about-story-card__body,
  .about-story-card--reverse .about-story-card__image {
    order: initial;
  }

}

@media screen and (max-width: 600px) {
  .about-story-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .about-story-card__body h2 {
    font-size: 25px;
  }

  .about-story-card__body p {
    font-size: 15px;
  }

  .about-story-card__image,
  .about-story-card__image img {
    min-height: 220px;
  }
}

.about-story-card__image {
  position: relative;
  overflow: hidden;
}

/* 1枚目：画像が右 → 左端をぼかす */
.about-story-card:not(.about-story-card--reverse) .about-story-card__image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 180px;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,0.85) 25%,
    rgba(255,255,255,0.45) 60%,
    rgba(255,255,255,0) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* 2枚目：画像が左 → 右端をぼかす */
.about-story-card--reverse .about-story-card__image::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  width: 180px;
  height: 100%;
  background: linear-gradient(
    to left,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,0.85) 25%,
    rgba(255,255,255,0.45) 60%,
    rgba(255,255,255,0) 100%
  );
  z-index: 2;
  pointer-events: none;
}


.plan-table tbody th i {
  margin-right: 10px;
  width: 22px;

  text-align: center;

  color: #7f93b6;
  font-size: 15px;
}


/*******

表

*******/


.plans__inner {
  max-width: 980px;
}

.plan-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 45px rgba(31,58,95,.08);
}

.plan-table th,
.plan-table td {
  border: 1px solid rgba(31,58,95,.08);
}

.plan-table thead th {
  padding: 22px 16px;
  text-align: center;
  vertical-align: middle;
}

.plan-table .bg_w {
  width: 32%;
  background: rgba(255,255,255,.72);
}

.plan-table .plan {
  width: 22.66%;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .08em;
  white-space: nowrap;
}

.plan-table .plan .plan-head {
  display: block;
}


.plan--pink {
  background: linear-gradient(180deg, #f37b97 0%, #ef6b88 100%);
}

.plan--purple {
  background: linear-gradient(180deg, #8b7ee0 0%, #7b6fd3 100%);
}

.plan--gold {
  background: linear-gradient(180deg, #d6b600 0%, #c9ab00 100%);
}

.plan-table tbody th {
  padding: 15px;
    text-align: left;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .03em;
    color: #243d66;
    background: rgba(255, 255, 255, .74);
}

.plan-table tbody td {
  padding: 10px 16px;
  text-align: center;
  background: rgba(255,255,255,.62);
}

.circle,
.cross,
.triangle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  line-height: 1;
}

.cross {font-size: 41px;}


.circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: #243d66;
}

.cross {
  color: rgba(36,61,102,.32);
}

/* SP */
@media screen and (max-width: 767px) {
  .plans {
    padding: 64px 0;
  }

  .plans__inner {
    width: calc(100% - 24px);
  }

  .plan-table {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-radius: 18px;
  }

  .plan-table thead th {
    padding: 10px 4px;
    vertical-align: middle;
  }

  .plan-table .bg_w {
    width: 40%;
  }

  .plan-table .plan {
    width: 20%;
    font-size: 13px;
    white-space: normal;
  }

  .plan-table .plan .plan-head {
    display: block;
    writing-mode: horizontal-tb;
    -webkit-writing-mode: horizontal-tb;
  }

  .plan-table .plan .plan-head--chars {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    height: 100%;
    font-size: 13px;
    line-height: 1;
    letter-spacing: normal;
  }

  .plan-table tbody th {
    padding: 10px 10px;
    font-size: 13px;
  }

  .plan-table tbody td {
    padding: 10px 4px;
  }

  .circle {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .cross {
    font-size: 16px;
  }

  .triangle {
    font-size: 16px;
  }
}




/* =========================
   Plan Page Renewal
========================= */
.plan-page {
  background:
    linear-gradient(180deg, rgba(234, 248, 255, 0.98) 0%, rgba(255,255,255,0.98) 42%, rgba(235,248,255,0.96) 100%);
  color: #1f3a5f;
}

.plan-page .inner {
  width: min(1120px, calc(100% - 40px));
  max-width: 1120px;
  margin: 0 auto;
}


.plan-select {
  padding: 40px 0 90px;
}

.plan-select .section-title {
  color: #1f3a5f;
}

.plan-select__lead {
  margin-top: 20px;
  text-align: center;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.08em;
  color: #344861;
}

.plan-card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 54px;
}

.plan-card {
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(31,58,95,0.08);
  box-shadow: 0 22px 55px rgba(31,58,95,0.1);
}

.plan-card__visual {
  min-height: 150px;
  padding: 30px 28px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.plan-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.28);
  pointer-events: none;
}

.plan-card__title,
.plan-card__subtitle {
  position: relative;
  z-index: 1;
}

.plan-card__title {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #1f3a5f;
}

.plan-card__subtitle {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #344861;
}

.plan-card--self .plan-card__visual {
  background:
    linear-gradient(135deg, rgba(255,190,205,0.85), rgba(255,245,248,0.5)),
    url("../img/plan-self-bg.jpg");
}

.plan-card--standard .plan-card__visual {
  background:
    linear-gradient(135deg, rgba(178,168,239,0.85), rgba(248,247,255,0.5)),
    url("../img/plan-standard-bg.jpg");
}

.plan-card--premium .plan-card__visual {
  background:
    linear-gradient(135deg, rgba(230,207,73,0.85), rgba(255,252,230,0.5)),
    url("../img/plan-premium-bg.jpg");
}

.plan-card__body {
  padding: 30px 28px 34px;
}

.plan-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-card__list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.8;
  color: #344861;
}

.plan-card__list li::before {
  content: "○";
  position: absolute;
  left: 0;
  top: 0;
  color: #7fb3d5;
  font-size: 13px;
}

.plan-card__price {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 34px;
  color: #1f3a5f;
}

.plan-card__price-main {
  font-size: 34px;
  letter-spacing: 0.04em;
  line-height: 1;
}

.plan-card__price-tax {
  font-size: 13px;
  color: #66798d;
}

.plan-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  margin-top: 26px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.08em;
  font-size: 15px;
  box-shadow: 0 12px 26px rgba(31,58,95,0.12);
}

.plan-card--self .plan-card__btn {
  background: linear-gradient(135deg, #ff8da5, #f6a8ba);
}

.plan-card--standard .plan-card__btn {
  background: linear-gradient(135deg, #7f73db, #9f96ee);
}

.plan-card--premium .plan-card__btn {
  background: linear-gradient(135deg, #c9aa00, #dfc743);
}

.plan-select__note {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
  color: #66798d;
}

/* オプション以降は触らず、見出しだけ変更 */
.page-title {
  position: relative;
	display: block;
    font-size: clamp(34px, 5vw, 45px);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.12em;
    color: #243b63;
    padding-bottom: 22px;
    margin-bottom: 38px;
    text-align: center;
}


/* shortcode側をidで受けるだけ。デザインは既存を維持 */
#simulator {
  scroll-margin-top: 100px;
}

/* Responsive */
@media screen and (max-width: 900px) {
  .plan-card-list {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }
}

@media screen and (max-width: 600px) {
  .plan-page .inner {
    width: calc(100% - 28px);
  }

  .plan-select {
    padding: 34px 0 64px;
  }

  .plan-card__visual {
    min-height: 130px;
    padding: 24px 22px;
  }

  .plan-card__body {
    padding: 26px 22px 30px;
  }

  .plan-card__price-main {
    font-size: 30px;
  }

  h4.page-title {
    margin: 42px auto 24px;
    padding: 15px 20px;
  }

  .about-story-card:not(.about-story-card--reverse) .about-story-card__image::after {
    background: none;
  }
  
  /* 2枚目：画像が左 → 右端をぼかす */
  .about-story-card--reverse .about-story-card__image::after {
    background: none;
  }
  
}

/************************************

料金シュミレーター

*********************************/
/* 全体 */
.price-simulator {
  max-width: 820px;
  margin: 60px auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  border: 1px solid #b8b8b8;
}

/* タイトル */
.price-simulator h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
  padding-left: 14px;
 border-left: 5px solid #1e3b5fbf;
  color: #1f3a5f;
}

/* 各フィールド */
.field {
  margin-bottom: 32px;
}

/* ラベル */
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #444;
}

/* セレクトボックス */
#planSelect {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #fff;
}

/* セクション説明 */
.field p {
  font-weight: 600;
  margin-bottom: 12px;
  color: #1f3a5f;
}

/* チェックボックス */
.field input[type="checkbox"] {
  margin-right: 8px;
  transform: scale(1.1);
}

.field label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 15px;
}

/* 数値入力 */
#extraPages {
  width: 120px;
  padding: 10px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

/* 合計金額 */
.total {
  margin-top: 40px;
  padding: 28px;
  background: linear-gradient(135deg, #f3f7fb, #e9f1f8);
  border-radius: 12px;
  text-align: center;
  font-size: 18px;
	font-weight: 400;
}

/* 金額 */
#totalPrice {
  display: inline-block;
  margin-left: 6px;
  font-size: 36px;
  font-weight: 700;
  color: #1f3a5f;
}

/* 注意書き */
.note {
  margin-top: 24px;
  font-size: 13px;
  line-height: 1.8;
  color: #666;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .price-simulator {
    padding: 40px 20px;
  }

  #totalPrice {
    font-size: 30px;
  }
}

/* オプション表示（名称・金額・補足の区別） */
.price-simulator .sim-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.price-simulator .sim-option__text {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1px 10px;
}

.price-simulator .sim-option__name {
  font-weight: 700;
}

.price-simulator .sim-option__price {
  font-size: 0.9em;
  font-weight: 600;
  color: #1f3a5f;
  white-space: nowrap;
}

.price-simulator .sim-option__note {
  flex-basis: 100%;
  font-size: 0.8em;
  color: #666;
}

@media (max-width: 768px) {
  .price-simulator .sim-option__price {
    flex-basis: 100%;
  }
}



/* FV */

.sp_fv,
.pc_fv {
  width: 100%;
  height: auto;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  width: 100%;
}

blockquote,
q {
  quotes: none;
}

blockquote::after,
blockquote::before,
q::after,
q::before {
  content: "";
  content: none;
}

form {
  margin: 0;
  padding: 0;
}


.archive-head {
  border-top: 3px solid #d81f32;
  margin-bottom: 56px;
  padding: 28px 0 0;
}

.archive-head.m_description {
  margin-bottom: 70px;
}

.archive-lead {
  color: #d81f32;
  font-family: "Lato", sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.archive-title {
  font-family: "HiraKakuPro-W6", "ヒラギノ角ゴ Pro W6", "Meiryo", "Meiryo",
    "Noto Sans Japanese", sans-serif;
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 18px;
}

.archive-title.m_category::before {
  color: #d81f32;
  content: "\f02d";
  font-family: "Font Awesome 5 Free", sans-serif;
  font-size: 26px;
  font-weight: 900;
  margin-right: 8px;
}

.archive-title.m_search span {
  color: #d81f32;
}

.archive-title.m_search::before {
  color: #d81f32;
  content: "\f002";
  font-family: "Font Awesome 5 Free", sans-serif;
  font-size: 26px;
  font-weight: 900;
  margin-right: 8px;
}

.archive-description {
  font-size: 14px;
  line-height: 1.4;
}

.inner {
  margin: 0 auto;
  max-width: 100%;
  padding: 100px 0 100px 0;
  width: 1100px;
}

#content > .inner {
  display: flex;
  padding: 100px 0;
}

#primary {
  width: 65.45455%;
}

#secondary {
  margin-left: auto;
  width: 30.90909%;
}

.breadcrumb {
  color: #8d8d8d;
  font-size: 12px;
  margin-bottom: 14px;
}

.breadcrumb .home::before {
  content: "\f015";
  font-family: "Font Awesome 5 Free", sans-serif;
  font-weight: 900;
  margin-right: 10px;
}

.breadcrumb a {
  text-decoration: none;
  transition: all 0.3s ease 0s;
}

.breadcrumb a:hover {
  opacity: 0.6;
}

.breadcrumb i {
  margin-left: 15px;
  margin-right: 15px;
}

/* .s-btn:hover {
  background: #00aca0;
} */

.drawer {
  display: none;
}

.drawer-icon {
  color: #1f3b5c;
  cursor: pointer;
  font-size: 30px;
  position: absolute;
  right: 20px;
  text-align: center;
  top: 80px;
  z-index: 41;
}
span.drawer-close{color: #fff;}
.drawer-open {
  display: block;
}

.m_checked .drawer-open {
  display: none;
}

.drawer-close {
  display: none;
}

.m_checked .drawer-close {
  display: block;
}

.drawer-content {
  background:#1f3b5c;
  height: 100vh;
  left: 0;
  opacity: 0;
  overflow: auto;
  padding: 100px 16px 16px;
  position: fixed;
  text-align: left;
  top: 0;
  transition: all 0.3s ease 0s;
  visibility: hidden;
  width: 100%;
  z-index: 40;
}

.m_checked .drawer-content {
  opacity: 1;
  visibility: visible;
}

.drawer-nav li a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 6px solid transparent;
  color: #fff;
  display: block;
  font-size: 16px;
  padding: 20px 12px 24px 0;
  text-decoration: none;
}

.entries {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.entry-item {
  background: #fff;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.16);
  display: block;
  margin-bottom: 50px;
  margin-right: 40px;
  text-decoration: none;
  transition: all 0.3s ease 0s;
  width: calc(50% - 40px / 2);
}

.entry-item:hover {
  box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.16);
}

.entry-item:nth-child(2n),
.entry-item:last-child {
  margin-right: 0;
}

.entry-item-img {
  text-align: center;
}

.entry-item-body {
  padding: 20px;
}

.entry-item-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.entry-item-published {
  color: #808080;
  font-size: 12px;
  margin-top: 4px;
}

.entry-item-published::before {
  content: "\f073";
  font-family: "Font Awesome 5 Free", sans-serif;
  font-weight: 400;
  margin-right: 8px;
}

.entry-item-tag {
  background: #d81f32;
  color: #fff;
  display: block;
  font-size: 12px;
  margin-right: 15px;
  padding: 3px 14px 2px;
}

.entry-item-title {
  font-family: "HiraKakuPro-W6", "ヒラギノ角ゴ Pro W6", "Meiryo", "Meiryo",
    "Noto Sans Japanese", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.42;
  margin-bottom: 14px;
}

.entry-item-excerpt {
  color: #454545;
  font-size: 14px;
  line-height: 1.71429;
}

.entries.m_horizontal {
  margin-bottom: 62px;
}

.entries.m_horizontal .entry-item {
  display: flex;
  margin-bottom: 30px;
  margin-right: 0;
  padding: 20px;
  width: 100%;
}

.entries.m_horizontal .entry-item:last-child {
  margin-bottom: 0;
}

.entries.m_horizontal .entry-item .entry-item-img {
  width: 36.02941%;
}

.entries.m_horizontal .entry-item .entry-item-body {
  padding: 0 0 0 20px;
  width: 63.97059%;
}

.entries.m_block .entry-item {
  width: 100%;
  margin-right: 0;
}

.entries.m_block .entry-item .entry-item-body {
  padding: 20px;
  width: 100%;
}

.entries.m_block .entry-item .entry-item-published {
  font-size: 14px;
}

.entries.m_block .entry-item .entry-item-tag {
  font-size: 14px;
}

.entries.m_block .entry-item .entry-item-title {
  font-size: 20px;
}

.entries.m_block .entry-item .entry-item-excerpt {
  font-size: 16px;
}

.entry {
  background: #fff;
  box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.16);
  padding: 40px 40px 12px;
}

.entry-label {
  display: inline-block;
  margin-bottom: 18px;
}

.entry-label a {
  background: #d81f32;
  color: #fff;
  display: block;
  font-size: 12px;
  padding: 4px 16px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease 0s;
}

.entry-label a:hover {
  opacity: 0.6;
}

.entry-title {
  font-family: "HiraKakuPro-W6", "ヒラギノ角ゴ Pro W6", "Meiryo", "Meiryo",
    "Noto Sans Japanese", sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 18px;
}

.m_page .entry-title {
  margin-bottom: 34px;
}

.entry-meta {
  align-items: center;
  display: flex;
  margin-bottom: 18px;
}

.entry-published,
.entry-updated {
  color: #808080;
  font-size: 12px;
}

.entry-published::before,
.entry-updated::before {
  content: "\f073";
  font-family: "Font Awesome 5 Free", sans-serif;
  font-weight: 400;
  margin-right: 8px;
}

.entry-updated {
  margin-left: 27px;
}

.entry-updated::before {
  content: "\f1da";
  font-weight: 900;
}

.entry-img {
  text-align: center;
}

.entry-tag-items {
  border-top: 1px solid #e2e2e2;
  display: flex;
  flex-wrap: wrap;
  padding: 20px 0;
}

.entry-tag-head {
  background: #808080;
  border-radius: 3px;
  color: #fff;
  font-family: "HiraKakuPro-W6", "ヒラギノ角ゴ Pro W6", "Meiryo", "Meiryo",
    "Noto Sans Japanese", sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  margin-right: 15px;
  padding: 6px 15px 0;
}

.entry-tag-head::before {
  content: "\f02b";
  font-family: "Font Awesome 5 Free", sans-serif;
  font-weight: 900;
  margin-right: 5px;
}

.entry-tag-item {
  margin-bottom: 10px;
  margin-right: 15px;
}

.entry-tag-item:last-child {
  margin-right: 0;
}

.entry-tag-item a {
  border: 1px solid #e2e2e2;
  border-radius: 3px;
  color: #808080;
  display: block;
  font-size: 14px;
  padding: 6px 18px 5px;
  text-decoration: none;
  transition: all 0.3s ease 0s;
}

.entry-tag-item a:hover {
  background: #808080;
  border-color: #808080;
  color: #fff;
}

span.tag__2 {
  background-color: #9fd4a8;
}

.entry-body {
  margin-top: 32px;
  padding-bottom: 44px;
}

.m_page .entry-body {
  padding-bottom: 12px;
}

.entry-body h2 + p,
.entry-body h3 + p,
.entry-body h4 + p,
.entry-body h5 + p,
.entry-body h6 + p {
  margin-top: 0;
}

.entry-body h2 {
  background: #ebebeb;
  border-radius: 3px;
  border-top: 6px solid #d81f32;
  font-family: "HiraKakuPro-W6", "ヒラギノ角ゴ Pro W6", "Meiryo", "Meiryo",
    "Noto Sans Japanese", sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 38px;
  margin-top: 79px;
  padding: 24px 20px;
  position: relative;
  text-align: left;
}

.entry-body h2::after {
  border: 5px solid transparent;
  border-top: 15px solid #ebebeb;
  content: "";
  height: 0;
  left: 24px;
  position: absolute;
  top: 100%;
  width: 0;
}

.entry-body h3 {
  border-bottom: 3px solid #d81f32;
  font-family: "HiraKakuPro-W6", "ヒラギノ角ゴ Pro W6", "Meiryo", "Meiryo",
    "Noto Sans Japanese", sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 24px;
  margin-top: 84px;
  padding-bottom: 14px;
}

.entry-body h4 {
  font-family: "HiraKakuPro-W6", "ヒラギノ角ゴ Pro W6", "Meiryo", "Meiryo",
    "Noto Sans Japanese", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 16px;
  margin-top: 82px;
  padding-left: 42px;
  position: relative;
}

.entry-body h4::before {
  color: #d81f32;
  content: "\f00c";
  font-family: "Font Awesome 5 Free", sans-serif;
  font-size: 26px;
  font-weight: 900;
  left: 0;
  position: absolute;
  top: -8px;
}

.entry-body h5 {
  font-family: "HiraKakuPro-W6", "ヒラギノ角ゴ Pro W6", "Meiryo", "Meiryo",
    "Noto Sans Japanese", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 27px;
  margin-top: 60px;
}

.entry-body h6 {
  font-family: "HiraKakuPro-W6", "ヒラギノ角ゴ Pro W6", "Meiryo", "Meiryo",
    "Noto Sans Japanese", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 1em;
  margin-top: 2em;
}

.entry-body p {
  line-height: 1.875;
  margin-top: 30px;
}

.entry-body ul {
  list-style-type: disc;
  margin-bottom: 1em;
  padding-left: 20px;
}

.entry-body ol {
  list-style-type: decimal;
  margin-bottom: 1em;
  padding-left: 20px;
}

.entry-body li {
  line-height: 1.6;
  margin-bottom: 0.4em;
  margin-top: 0.4em;
}

.entry-body blockquote {
  background: #eee;
  line-height: 1.6;
  margin-bottom: 1em;
  margin-top: 1em;
  padding: 1em;
}

.entry-body blockquote > :first-child {
  margin-top: 0;
}

.entry-body blockquote > :last-child {
  margin-bottom: 0;
}

.entry-body q {
  background: #eee;
  display: inline-block;
  padding-left: 0.2em;
  padding-right: 0.2em;
  vertical-align: middle;
}

.entry-body strong,
.entry-body b {
  font-family: "HiraKakuPro-W6", "ヒラギノ角ゴ Pro W6", "Meiryo", "Meiryo",
    "Noto Sans Japanese", sans-serif;
  font-weight: 600;
}

.entry-body a {
  color: #1592e6;
  font-family: "HiraKakuPro-W6", "ヒラギノ角ゴ Pro W6", "Meiryo", "Meiryo",
    "Noto Sans Japanese", sans-serif;
  font-weight: 600;
  transition: all 0.3s ease 0s;
}

.entry-body a:hover {
  opacity: 0.6;
}

.entry-body img {
  vertical-align: middle;
}

.entry-body .entry-btn {
  margin: 1em 0;
  text-align: center;
}

.entry-body .entry-btn .btn {
  color: #fff;
  font-family: "HiraKakuPro-W6", "ヒラギノ角ゴ Pro W6", "Meiryo", "Meiryo",
    "Noto Sans Japanese", sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.entry-body .entry-btn .btn:hover {
  opacity: 1;
}

.entry-links {
  margin-top: 32px;
  text-align: center;
}

.entry-links .post-page-numbers {
  background: #fff;
  border: 1px solid #666;
  display: inline-block;
  height: 30px;
  line-height: 30px;
  margin-left: 8px;
  margin-right: 8px;
  min-width: 30px;
  text-align: center;
}

.entry-links .post-page-numbers.current {
  background: #666;
  color: #fff;
}

.entry-links .post-page-numbers:first-child {
  margin-left: 0;
}

.rss-date {
  color: #666;
  font-size: 14px;
}

.rssSummary {
  color: #666;
  font-size: 14px;
}

.search-form {
  position: relative;
}

.screen-reader-text {
  position: absolute;
  top: 0;
  z-index: -1;
}

.search-field {
  padding-right: 70px;
  width: 100%;
}

.search-submit {
  -webkit-transform: translateY(-50%);
  background: transparent;
  box-shadow: none;
  color: #e2e2e2;
  font-size: 26px;
  padding: 0;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.tagcloud {
  padding: 4px;
}

.tag-cloud-link {
  transition: all 0.3s ease 0s;
}

.tag-cloud-link:hover {
  opacity: 0.6;
}

.entry-404 {
  padding-bottom: 85px;
  text-align: center;
}

.entry-404-head {
  color: #f0cdd0;
  font-family: "Lato", sans-serif;
  font-size: 80px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 36px;
}

.entry-404-head span::after {
  content: " ";
}

.entry-404-lead {
  color: #808080;
  font-family: "HiraKakuPro-W6", "ヒラギノ角ゴ Pro W6", "Meiryo", "Meiryo",
    "Noto Sans Japanese", sans-serif;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 24px;
}

.entry-404-lead .m_sp {
  display: none;
}

.entry-404-content {
  color: #808080;
}

.entry-404-btn {
  margin-top: 58px;
}

.entry-404-btn .btn {
  background: #ebebeb;
  color: #8d8d8d;
}

.entry-404-btn .btn:hover {
  background: #ccc;
  opacity: 1;
}

#footer-menu {
  background: #162842;
}

#footer-menu > .inner {
  padding-bottom: 42px;
  padding-top: 54px;
}


.footer-nav {
  text-align: center;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav li {
  margin-bottom: 10px;
  margin-right: 32px;
  padding: 0 4px;
  text-decoration: none;
}

.footer-nav li:last-child {
  margin-right: 0;
}

.footer-nav li a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease 0s;
}

.footer-nav li a:hover {
  opacity: 0.6;
}


#footer {
  background: #162842;
}

#footer > .inner {
  padding-bottom: 20px;
  padding-top: 18px;
}

.copy {
  color: #fff;
  font-family: "Lato", sans-serif;
  font-size: 12px;
  margin-bottom: 2px;
  text-align: center;
}

.by {
  color: #fff;
  font-family: "Lato", sans-serif;
  font-size: 11px;
  text-align: center;
}

.by a {
  text-decoration: none;
  transition: all 0.3s ease 0s;
}

.by a:hover {
  opacity: 0.6;
}

.floating {
  bottom: 100px;
  display: none;
  position: fixed;
  right: 28px;
  z-index: 30;
}

.floating a {
  background: #6a6a6a;
  border-radius: 50%;
  color: #fff;
  display: block;
  font-size: 20px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  text-decoration: none;
  width: 60px;
}

.floating a:hover {
  opacity: 0.6;
}

img.h_logo {
  width: 100px;
  height: auto;
}
.header-logo {
  line-height: 1.2;
}

.header-logo a {
  color: #fff;
  font-family: "Lato", sans-serif;
  font-size: 36px;
  text-decoration: none;
  transition: all 0.3s ease 0s;
}

.header-logo a:hover {
  opacity: 0.6;
}

.header-sub {
  color: #fff;
  font-family: "HiraKakuPro-W6", "ヒラギノ角ゴ Pro W6", "Meiryo", "Meiryo",
    "Noto Sans Japanese", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.71429;
  margin-top: 10px;
  padding: 0 38px;
}

.header-nav > .inner {
  padding: 0;
}

.header-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.header-nav li {
  margin-right: 100px;
}

.header-nav li:last-child {
  margin-right: 0;
}

.header-nav li > a {
  color: #000;
  display: block; 
  font-family: "Noto Sans Japanese", sans-serif, "HiraKakuPro-W6",
    "ヒラギノ角ゴ Pro W6", "Meiryo", "Meiryo";
  transition: all 0.3s ease 0s;
  font-weight: normal;
  text-decoration: none;
  transition: all 0.3s ease 0s;
}

.header-nav li > a:hover {
  opacity: 0.6;
}

#mv > .inner {
  height: 600px;
  padding-bottom: 0;
  padding-top: 0;
}

#pickup {
  background: #f4f4f4;
}

#pickup > .inner {
  padding-bottom: 20px;
  padding-top: 40px;
}

.pickup-items {
  display: flex;
}

.pickup-item {
  display: block;
  margin-right: 40px;
  text-decoration: none;
  transition: all 0.3s ease 0s;
  width: calc(33.33333333% - 40px * 2 / 3);
}

.pickup-item:hover {
  opacity: 0.6;
}

.pickup-item:last-child {
  margin-right: 0;
}

.pickup-item-img {
  position: relative;
  text-align: center;
}

.pickup-item-body {
  padding: 20px 0;
}

.pickup-item-title {
  font-family: "HiraKakuPro-W6", "ヒラギノ角ゴ Pro W6", "Meiryo", "Meiryo",
    "Noto Sans Japanese", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.pickup-item-tag {
  background: #d81f32;
  color: #fff;
  font-size: 12px;
  line-height: 1.1;
  padding: 6px 14px;
  position: absolute;
  right: 0;
  text-decoration: none;
  top: 0;
}

@media screen and (max-width: 1099px) {
  .inner {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media screen and (max-width: 767px) {
  body.m_fixed_sns {
    padding-bottom: 67px;
  }

  .archive-head {
    margin-bottom: 40px;
    padding-top: 26px;
  }

  .archive-head.m_description {
    margin-bottom: 92px;
  }

  .archive-lead {
    margin-bottom: 8px;
  }

  .archive-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .inner {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 50px;
        padding-bottom: 50px;
  }

  #content > .inner {
    display: block;
    padding-top: 40px;
  }

  #primary {
    margin-bottom: 70px;
    width: 100%;
  }

  #secondary {
    width: 100%;
  }

  .breadcrumb {
    margin-bottom: 14px;
  }

  .drawer {
    display: block;
  }

  .entries {
    display: block;
  }

  .entry-item {
    margin-bottom: 27px;
    margin-right: 0;
    width: 100%;
  }

  .entry-item:last-child {
    margin-bottom: 0;
  }

  .entries.m_horizontal {
    margin-bottom: 40px;
  }

  .entries.m_horizontal .entry-item {
    margin-bottom: 20px;
    padding: 10px;
  }

  .entries.m_horizontal .entry-item .entry-item-img {
    width: 45.06173%;
  }

  .entries.m_horizontal .entry-item .entry-item-body {
    padding-left: 12px;
    width: 54.93827%;
  }

  .entries.m_horizontal .entry-item .entry-item-published {
    font-size: 10px;
  }

  .entries.m_horizontal .entry-item .entry-item-tag {
    font-size: 10px;
    margin-right: 8px;
  }

  .entries.m_horizontal .entry-item .entry-item-title {
    font-size: 12px;
    margin-bottom: 0;
  }

  .entries.m_horizontal .entry-item .entry-item-excerpt {
    display: none;
  }

  .entries.m_horizontal {
    margin-bottom: 40px;
  }

  .entries.m_horizontal .entry-item {
    margin-bottom: 20px;
    padding: 10px;
  }

  .entries.m_block .entry-item .entry-item-published {
    font-size: 12px;
  }

  .entries.m_block .entry-item .entry-item-tag {
    font-size: 12px;
  }

  .entries.m_block .entry-item .entry-item-title {
    font-size: 18px;
  }

  .entries.m_block .entry-item .entry-item-excerpt {
    font-size: 14px;
  }

  .entry {
    padding: 10px;
  }

  .entry-label a {
    font-size: 11px;
    padding: 4px 14px;
  }

  .entry-title {
    font-size: 24px;
    line-height: 1.41667;
  }

  .entry-published,
  .entry-updated {
    font-size: 11px;
  }

  .entry-updated {
    margin-left: 18px;
  }

  .entry-tag-items {
    padding-top: 24px;
  }

  .entry-tag-head {
    padding: 6px 15px 0;
  }

  .entry-tag-item a {
    padding: 4px 16px 3px;
  }

  .entry-body {
    padding-bottom: 24px;
  }

  .entry-body h2 {
    font-size: 20px;
    margin-top: 80px;
    padding: 27px 17px;
  }

  .entry-body h3 {
    font-size: 20px;
  }

  #toc_container {
    padding: 20px 20px;
  }

  #toc_container .toc_title {
    margin-bottom: 18px;
  }

  #toc_container > ul > li {
    margin-bottom: 30px;
  }

  #toc_container > ul > li > ul {
    margin-top: 12px;
  }

  .related-item {
    margin-right: 30px;
    width: calc(50% - 30px * 1 / 2);
  }

  .related-item:nth-child(2n) {
    margin-right: 0;
  }

  .widget {
    margin-bottom: 57px;
  }

  .entry-404 {
    padding-bottom: 0;
    padding-top: 18px;
  }

  .entry-404-head {
    font-size: 40px;
    margin-bottom: 36px;
  }

  .entry-404-head span {
    display: block;
  }

  .entry-404-head span::after {
    display: none;
  }

  .entry-404-lead {
    font-size: 20px;
    margin-bottom: 34px;
  }

  .entry-404-lead .m_sp {
    display: block;
  }

  .entry-404-content {
    font-size: 12px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .entry-404-btn {
    margin-top: 62px;
  }

  #footer-menu > .inner {
    padding-bottom: 56px;
    padding-top: 54px;
  }


  .footer-nav ul {
    display: block;
    text-align: center;
  }

  .footer-nav li {
    margin-bottom: 12px;
    margin-right: 0;
  }

  .footer-nav li:last-child {
    margin-bottom: 0;
  }


  .floating {
    bottom: 92px;
    right: 16px;
  }

  .header-logo {
    margin-bottom: 8px;
    text-align: left;
  }

  .header-logo a {
    font-size: 26px;
  }

  .header-sub {
    font-size: 10px;
    margin-top: 0;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
  }

  .header-nav {
    display: none;
  }

  #mv > .inner {
    height: 400px;
  }

  #pickup > .inner {
    padding-bottom: 40px;
    padding-top: 40px;
  }

  .pickup-items {
    display: block;
  }

  .pickup-item {
    display: flex;
    margin-bottom: 20px;
    margin-right: 0;
    width: 100%;
  }

  .pickup-item:last-child {
    margin-bottom: 0;
  }

  .pickup-item-img {
    width: 42.40688%;
  }

  .pickup-item-body {
    padding-bottom: 0;
    padding-top: 0;
    width: 57.59312%;
  }

  .pickup-item-title {
    font-size: 16px;
    padding-left: 15px;
  }
}

/* custom */
.mainvisual {
  height: 230px;
  background: #f4f4f4;
}

@media screen and (max-width: 767px) {
  .mainvisual {
    height: 147px;
  }
}

.mainvisual .inner {
  padding-top: 0;
  padding-bottom: 0;
  position: relative;
  height: inherit;
}

.mainvisual-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}

.mainvisual-title {
  font-size: 42px;
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  .mainvisual-title {
    font-size: 28px;
  }
}

.mainvisual-title::before {
  color: #d81f32;
  content: "\f02d";
  font-family: "Font Awesome 5 Free", sans-serif;
  font-weight: 900;
  margin-right: 8px;
}

#content.content-work .inner {
  padding-top: 30px;
}

@media screen and (max-width: 767px) {
  #content.content-work .inner {
    padding-top: 16px;
  }
}

#content.content-work #primary {
  width: 100%;
}

@media screen and (max-width: 767px) {
  #content.content-work #primary {
    margin-bottom: 0;
  }
}

#content.content-work .entry-label {
  margin-bottom: 8px;
}

@media screen and (max-width: 767px) {
  #content.content-work .entry-label {
    margin-bottom: 14px;
  }
}

.entry-work-content {
  width: 62%;
  padding-right: 40px;
  line-height: 2.25;
}

@media screen and (max-width: 1099px) {
  .entry-work-content {
    width: 58%;
    padding-right: 20px;
  }
}

@media screen and (max-width: 767px) {
  .entry-work-content {
    width: 100%;
    padding-right: 0;
    line-height: 1.875;
  }
}

.entry-work-table {
  width: 38%;
  /* 384 / 1020 * 100%; */
  margin-left: auto;
}

@media screen and (max-width: 1099px) {
  .entry-work-table {
    width: 42%;
  }
}

@media screen and (max-width: 767px) {
  .entry-work-table {
    width: 100%;
    margin-top: 20px;
    margin-left: 0;
  }
}

.entry-work-table table {
  border-color: #707070;
}

.entry-work-table th,
.entry-work-table td {
  padding: 8px 16px;
  border-color: #707070;
  font-size: 14px;
  word-break: break-all;
}

.entry-work-table th {
  width: 43%;
  text-align: center;
  color: #fff;
  font-weight: 700;
  background: #999;
}

@media screen and (max-width: 767px) {
  .entry-work-table th {
    width: 120px;
  }
}

.entry-work-btn {
  text-align: center;
  margin-top: 70px;
}

@media screen and (max-width: 767px) {
  .entry-work-btn {
    margin-top: 40px;
  }
}

@media screen and (max-width: 767px) {
  a.h-btn {
    display: none;
  }
  img.h_logo {
    width: 80px;
  }
}
/** *************************************************************

レスポンシブ 

************************************************************************/

@media screen and (max-width: 767px) {
  .is-sp{display: block;}
  /*************************
  
  共通
  
  ***********************/
h1.section-title,
h2.section-title {
    font-size: 31px;
    line-height: 1.3;
    letter-spacing: 1px;
    margin: 0;
}


  h1.section-title:before,
  h2.section-title:before {
    height: 70%;
  }
  h1.section-title:before,
  h2.section-title:before {
    width: 3px;
}

  h3.section-heading {
    font-size: 18px;
    letter-spacing: 0.05em;
    margin-bottom: 25px;
    line-height: 1.7;
  }

  p.page-text {
    font-size: 16px;
    line-height: 1.5;
  }


h3.section__first-message {
  font-size: 18px;
  text-align: center;
  letter-spacing: 0.05em;
  color: #666666;
  font-weight: normal;
  margin-bottom: 25px;
  line-height: 1.8;
}

  h4.page-title {
        width: 100%;
        color: #fff;
        text-align: center;
        font-size: 20px;
        margin: 0 auto 50px;
        padding: 10px 5px;
}

h5.summary-title {
  color: #fff;
  background-color: #1f3a5f;
  padding: 5px 10px;
  font-size: 20px;
}

.summary__contents {
  padding: 15px 10px;
}
.buttonRound{
  padding: 5px 0;
  margin: 0 auto;
  font-size: 18px;
  font-weight: bold;
  width: 90%;
}



/***********************

top


***************************/

/* PLAN */

.plan-box-wrap {
 display: block;
}
.plan-box {
  width: 100%;
}
.plan-name {
  font-size: 25px;
  padding: 15px 0;
}
.plan-contents-area {
  padding: 30px 15px;
}
ul.plan {
  line-height: 1.5;
  font-size: 16px;
  padding: 0 10px;
}
.plans__inner{
  padding: 50px 10px;
}

/*************

プラン

*********************/
.plan-title {
  font-size: 24px;
  padding: 15px 0;
}
.plan-sub {
  font-size: 15px;
  padding: 10px 0;
}
.plan-content {
  padding: 25px 10px;
}
.plan-heading {
  margin-bottom: 15px;
  padding: 0px 20px;
  font-size: 18px;
}
.plan-list {
  list-style: disc;
  padding-left: 15px;
  line-height: 1.8; 
  font-size: 14px;
}
.plan-price-wrap {
  margin-top: 26px;
  justify-content: start;
}

.plan-price-label {
  padding: 0px 20px;
  font-size: 18px;
  margin-right: 10px;
}

.plan-table {
  font-size: 16px;
  margin-top: 25px;
}

.plan-price-value {
  font-size: 24px;
}
.plan-table thead th {
  font-size: 20px;
  padding: 15px 5px;
}

.plan-table .plan .plan-head__main {
  font-size: inherit;
}

.circle {
  font-size: 30px;
}

.cross {
  font-size: 30px;
}

.triangle {
  font-size: 30px;
}

.plan-table th, .plan-table td {
  padding: 5px 0px;
  font-size: 16px;
}
.plan-table tbody th {

  font-size: 14px;
}
table {
  table-layout: auto;
  width: 100%;
}

.plan__btn {
  padding: 5px 0;
  margin: 0 auto;
  font-size: 18px;
  font-weight: bold;
  width: 90%;
}
.plan-box:not(:first-of-type){
  margin-top: 50px;
}

}



/****************************   


スマホ

*************************/

@media screen and (max-width: 767px) {

  html {
    margin-top: 0px !important;
}
.page-fv {
 margin: 0;
}
img.profile-img {
  height: 200px;
}

  .page-fv__text {
    left: 50%;
    font-size:25px;
    padding: 0 10px;
    text-align: center;
    width: 100%;
}
.drawer-icon {
  font-size: 30px;
  position: absolute;
  right: 30px;
  text-align: center;
  top: 15px;
  z-index: 41;
}
.faq-tab {
  font-size: 15px;
  width: 80%;
        padding: 10px 0px;
}


}

/* =========================
   header adjust
========================= */

.header-logo {
  margin: 0;
  line-height: 1;
}

.header-logo a {
  display: inline-block;
}

img.h_logo {
  width: auto;
  height: 58px;
}

.header-nav > .inner {
  padding: 0 40px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.header-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 56px;
}

.header-nav li {
  margin-right: 0;
}

.header-nav li > a {
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.header-nav li > a:hover {
  opacity: 0.6;
}

@media screen and (max-width: 767px) {
  img.h_logo {
    width: auto;
    height: 42px;
  }
}

.header-nav {
  position: relative;
  padding: 50px 0;
}

/* =========================
   header logo / nav align
========================= */

.header-logo {
  margin: 0;
  line-height: 1;
}

.header-logo a {
  display: inline-flex;
  align-items: center;
}

img.h_logo {
  width: auto;
  height: 86px;
}

.header-nav {
  position: relative;
  z-index: 1000;
  padding: 0;
}

.header-nav > .inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px 40px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 120px;
}

.header-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 56px;
}

.header-nav li {
  margin-right: 0;
}

.header-nav li > a {
  display: block;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.header-nav li > a:hover {
  opacity: 0.6;
}


.site-header {
  position: relative;
  background: #fff;
  z-index: 1000;
}

.site-header__inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  margin: 0;
  line-height: 1;
  flex-shrink: 0;
}

.header-logo a {
  display: inline-flex;
  align-items: center;
}

img.h_logo {
  display: block;
  width: auto;
  /* height: 125px; */
}

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

.header-nav > .inner {
  padding: 0;
  width: auto;
  max-width: none;
  margin: 0;
  min-height: auto;
  display: block;
}

.header-nav ul,
.header-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 56px;
}

.header-nav li {
  margin-right: 0;
}

.header-nav li > a {
  display: block;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.header-nav li > a:hover {
  opacity: 0.6;
}


html {
  margin-top: 0px !important;
}


@media screen and (max-width: 767px) {
  .site-header {
}
img.h_logo {
  height: 85px;
}
.header-logo{
  z-index: 1000000000000000000000;
}


}

/* =========================
   Mobile Drawer Complete
========================= */

/* 開閉アイコン */
.drawer-icon {
  color: #ffffff;
  font-size: 24px;
  position: absolute;
  right: 20px;
  top: 18px;
  z-index: 41;
}

.drawer-open,
.drawer-close {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 6px 18px rgb(0 0 0 / 24%);
}

/* 初期状態は「開く」だけ表示 */
.drawer-open {
  display: inline-flex;
  color: #1e3b5f;
}

.drawer-close {
  display: none;
}

/* メニューを開いた時だけ「閉じる」を表示 */
.m_checked .drawer-open {
  display: none;
}

.m_checked .drawer-close {
  display: inline-flex;
}

/* ドロワー本体 */
.drawer-content {
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 28%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0) 30%),
    linear-gradient(180deg, #28486f 0%, #1f3b5c 55%, #18314d 100%);
  height: 100vh;
  left: 0;
  opacity: 0;
  overflow: auto;
  padding: 110px 24px 40px;
  position: fixed;
  text-align: left;
  top: 0;
  transition: all 0.35s ease;
  visibility: hidden;
  width: 100%;
  z-index: 40;
}

/* 開いた時 */
.m_checked .drawer-content {
  opacity: 1;
  visibility: visible;
}

/* ナビ余白 */
.drawer-nav {
  margin-top: 24px;
}

/* リスト全体 */
.drawer-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* 各項目 */
.drawer-nav li {
  position: relative;
}

/* 区切り線 */
.drawer-nav li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.08) 0%,
    rgba(255,255,255,0.28) 20%,
    rgba(255,255,255,0.18) 80%,
    rgba(255,255,255,0.06) 100%
  );
}

/* リンク */
.drawer-nav li a {
  position: relative;
    display: block;
    border-bottom: none;
    border-left: none;
    color: rgba(255, 255, 255, 0.96);
    font-family: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.6;
    padding: 15px 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* 最初の項目だけ余白少し調整 */
.drawer-nav li:first-child a {
  padding-top: 24px;
}

/* hover / focus */
.drawer-nav li a:hover,
.drawer-nav li a:focus {
  color: #ffffff;
  padding-left: 18px;
}

.drawer-nav li a:hover::before,
.drawer-nav li a:focus::before {
  width: 22px;
}

/* 現在ページ */
.drawer-nav .current-menu-item > a,
.drawer-nav .current_page_item > a,
.drawer-nav .current-page-ancestor > a {
  color: #ffffff;
}

.drawer-nav .current-menu-item > a::before,
.drawer-nav .current_page_item > a::before,
.drawer-nav .current-page-ancestor > a::before {
  width: 22px;
}

/* ヘッダーのロゴを前面に */

.company {
  display: flex;
  align-items: center;
  gap: 12px;
}

.company img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
}


/* =========================
   PC header hover upgrade
========================= */
@media screen and (min-width: 768px) {
  .header-nav li > a {
    position: relative;
    display: inline-block;
    color: #2f3f52;
    font-family:
      "Zen Old Mincho",
      "Hiragino Mincho ProN",
      "Yu Mincho",
      serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1;
    text-decoration: none;
    padding: 10px 2px;
    transition:
      color 0.32s ease,
      transform 0.32s ease,
      text-shadow 0.32s ease;
  }

 
  /* hover時 */
  .header-nav li > a:hover {
    color: #1f3a5f;
    transform: translateY(-2px);
    text-shadow: 0 6px 18px rgba(31, 58, 95, 0.12);
  }

  .header-nav li > a:hover::after {
    width: 100%;
  }

  /* 現在ページ */
  .header-nav .current-menu-item > a,
  .header-nav .current_page_item > a,
  .header-nav .current-page-ancestor > a {
    color: #1f3a5f;
  }

  .header-nav .current-menu-item > a::after,
  .header-nav .current_page_item > a::after,
  .header-nav .current-page-ancestor > a::after {
    width: 100%;
  }
}

/* =========================
   FAQ contact CTA
========================= */

.faq-contact-cta {
  margin: 56px auto 0;
  padding: 32px 24px;
  max-width: 760px;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 58, 95, 0.10);
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(31, 58, 95, 0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.faq-contact-cta__lead {
  margin: 0;
  color: #2f3f52;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.faq-contact-cta__button {
  margin: 22px auto 0;
  min-width: 280px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 999px;
  background: #1f3a5f;
  color: #fff;
  text-decoration: none;
  font-family:
    "Zen Old Mincho",
    "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(31, 58, 95, 0.18);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    opacity 0.3s ease;
}

.faq-contact-cta__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(31, 58, 95, 0.24);
  background: #27486f;
}

.faq-contact-cta__button:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(31, 58, 95, 0.18),
    0 16px 30px rgba(31, 58, 95, 0.24);
}

.faq-contact-cta__button-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.faq-contact-cta__button:hover .faq-contact-cta__button-arrow {
  transform: translateX(4px);
}

@media screen and (max-width: 767px) {
  .faq-contact-cta {
    margin-top: 40px;
    padding: 24px 16px;
    border-radius: 18px;
  }

  .faq-contact-cta__lead {
    font-size: 14px;
    line-height: 1.8;
  }

  .faq-contact-cta__button {
    width: 100%;
    min-width: 0;
    padding: 15px 20px;
    font-size: 15px;
  }
}



/* FAQ全体は最初非表示 */
.top-faq .faq-container {
  display: none;
}

/* タブが押されたら表示 */
.top-faq .faq-container.is-visible {
  display: block;
}

/* カテゴリ切替 */
.top-faq .faq-group {
  display: none;
}

.top-faq .faq-group.is-active {
  display: block;
}

/* 回答は最初閉じる */
.top-faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}


/* =========================
   FV
========================= */

.fv {
  width: 100%;
  background: #dfeef8;
}

.fv-picture {
  display: block;
  width: 100%;
}

.fv-image {
  display: block;
  width: 100%;
  height: auto;
}

/* PCでFV全体を1画面内にできるだけ収める */
@media screen and (min-width: 768px) {
  .fv {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: #dfeef8;
  }

  .fv-picture {
    width: 105%;
  }

  .fv-picture img {
    display: block;
    width: 105%;
    height: auto;
    /* max-height: calc(100vh - 110px);  */
    object-fit: contain;
  }
}


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

/* ヘッダーをFV上に重ねる */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
}

/* 内側レイアウト */
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

/* ロゴ */
.header-logo {
  margin: 0;
  line-height: 1;
  flex-shrink: 0;
}

.header-logo a {
  display: inline-block;
}

img.h_logo {
  width: auto;
  height: 86px;
  display: block;
}

/* PCメニュー */
.header-nav {
  margin-left: auto;
}

.header-nav .header-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}

.header-nav .header-list li {
  margin: 0;
}

.header-nav .header-list li a {
  color: #ffffff;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  transition: opacity 0.3s ease;
}

.header-nav .header-list li a:hover {
  opacity: 0.75;
}

/* ドロワーはPCでは非表示 */
.drawer {
  display: none;
}

/* ======================================
   TOPページのPCだけロゴ非表示
====================================== */
@media screen and (min-width: 768px) {
  body.home .header-logo,
  body.blog .header-logo {
    display: none;
  }

  body.home .site-header__inner,
  body.blog .site-header__inner {
    justify-content: center;
	  padding: 50px 0;
	  width: 1100px;
  }

  body.home .header-nav,
  body.blog .header-nav {
    margin-left: 0;
  }

  body.home .header-nav .header-list,
  body.blog .header-nav .header-list {
    justify-content: center;
  }
}

/* ======================================
   固定ページのPCはロゴ表示
====================================== */
@media screen and (min-width: 768px) {
  body.page .header-logo {
    display: block;
  }

  body.page .site-header__inner {
   justify-content: space-around;
        width: 1100px;
  }

  body.page .header-nav {
    margin-left: auto;
  }

  body.page .header-nav .header-list {
    justify-content: flex-end;
  }
}

/* ======================================
   スマホ
====================================== */
@media screen and (max-width: 767px) {
  .site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
  }

  .site-header__inner {
    align-items: center;
  }

  .header-nav {
    display: none;
  }

  .drawer {
    display: block;
    margin-left: auto;
  }

  img.h_logo {
    height: 60px;
    width: auto;
  }
}

/* ===============================
  初期状態（FV上）
=============================== */

/* ロゴ完全非表示（TOPのみ） */
@media screen and (min-width: 768px) {
  body.home .header-logo {
    display: none;
  }
}

/* ===============================
  スクロール後
=============================== */

/* 白ヘッダー */
.site-header.is-scrolled {
  position: fixed;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* ロゴ復活 */
@media screen and (min-width: 768px) {
  body.home .site-header.is-scrolled .header-logo {
    display: block;
  }
}

/* メニュー色変更 */
.site-header.is-scrolled .header-nav a {
  color: #1f3a5f;
  text-shadow: none;
}

/* 初期メニュー（白） */
.header-nav a {
  color: #fff;
}

@media screen and (min-width: 768px) {
  /* TOPの最初だけロゴ非表示 */
  body.home .site-header .header-logo {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  /* スクロール後にロゴ表示 */
  body.home .site-header.is-scrolled .header-logo {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

/* 固定ページのみヘッダー分の余白 */
body.page .site-main,
body.page #content {
  padding-top: 100px;
}


/* =========================
   FV
========================= */
.fv {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.fv-picture,
.fv-picture source,
.fv-image {
  display: block;
  width: 100%;
  /* height: 100%; */
}

.fv-image {
  object-fit: cover;
  object-position: center;
}



/* =========================
   SP
========================= */
@media screen and (max-width: 767px) {
  .fv {
    height: 100svh;
    min-height: 600px;
  }

  .fv-text {
    max-width: calc(100% - 32px);
    padding: 10px 18px;

    font-size: 18px;
    line-height: 1.8;
    letter-spacing: 0.08em;
    white-space: normal;

    border-radius: 20px;
  }

  .fv-text::before {
    border-radius: 20px;
  }
}

.fv {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* 背景 */
.fv-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fv-logo img {
  width: 100%;
  height: auto; /* ←これ絶対 */
}

/* =========================
   FV キャッチコピー（超ナチュラル雲ver）
========================= */
/* 雲のムラ（極薄） */
.fv-text::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at 30% 50%, rgba(255,255,255,0.18) 0, transparent 45%),
    radial-gradient(circle at 70% 55%, rgba(255,255,255,0.12) 0, transparent 50%);

  pointer-events: none;
}

/* 上だけほんのり光（かなり弱く） */
.fv-text::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.12) 0%,
    rgba(255,255,255,0) 60%
  );

  pointer-events: none;
}

/********* FV スマホ調整***************/

@media screen and (max-width: 767px) {
  .header-logo {
    display: none;
  }
}


/* ロゴ基本（非表示） */
.drawer-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

/* ロゴサイズ */
.drawer-logo img {
  width: 110px;
  height: auto;
}

/* メニュー開いたら表示 */
.menu-open .drawer-logo {
  opacity: 1;
  transform: translateY(0);
} 


/* =========================
   FV
========================= */
.fv {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 700px;
  overflow: hidden;
}

.fv-picture,
.fv-image {
  display: block;
  width: 100%;
  height: 100%;
}

.fv-image {
  object-fit: cover;
  object-position: center center;
}

/* 鳩・ロゴ・キャッチの基準ボックス */
.fv-contents {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(90vw, 980px);
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.fv-logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* 鳩はロゴに対して右上 */
.pigeon-img {
  position: absolute;
  top: -6%;
  right: 6%;
  width: min(22vw, 260px);
  z-index: 3;
}

.pigeon-img img {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================
   tablet
========================= */
@media screen and (max-width: 1024px) {
  .fv {
    min-height: 640px;
  }

  .fv-contents {
    width: min(92vw, 760px);
  }

  .fv-logo {
    width: min(46vw, 420px);
  }

  .pigeon-img {
    top: -10%;
    right: 2%;
    width: min(24vw, 210px);
  }

  .fv-text {
    margin-top: 30px;
    font-size: clamp(22px, 3.2vw, 34px);
    padding: 12px 28px;
  }
}

/* =========================
   mobile
========================= */
@media screen and (max-width: 767px) {
  .fv {
    height: 100dvh;
    min-height: 580px;
  }

  .fv-image {
    object-fit: cover;
    object-position: center center;
  }

  .fv-contents {
    width: 92vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .fv-logo {
    width: min(78vw, 360px);
  }

  .pigeon-img {
    top: -18%;
    right: 1%;
    width: min(34vw, 150px);
  }

  .fv-text {
    margin-top: 24px;
    padding: 10px 18px;
    font-size: clamp(16px, 5vw, 26px);
    letter-spacing: 0.08em;
    line-height: 1.6;
    max-width: 92%;
  }
}

/* =========================
   small mobile
========================= */
@media screen and (max-width: 480px){
  .fv {
    min-height: 520px;
  }

  .fv-logo {
    width: 82vw;
  }

  .pigeon-img {
    top: -16%;
    right: 0;
    width: 34vw;
  }

  .fv-text {
    margin-top: 20px;
    font-size: 15px;
    padding: 8px 14px;
  }
}


/* FV全体 */
.fv {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}

/* 背景 */
.fv-picture,
.fv-image {
  display: block;
  width: 100%;
  height: 100%;
}

.fv-image {
  object-fit: cover;
  object-position: center;
}

/* 中央コンテナ（ここが超重要） */
.fv-contents {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  display: flex;
  flex-direction: column;
  align-items: center;

  width: auto; /* ←ここが重要 */
  z-index: 2;
}

/* ロゴ（完全中央） */
.fv-logo {  
  width: min(35vw, 600px);
}


/* 鳩（ロゴ基準で配置） */
.pigeon-img {
  position: absolute;
  top: -5%;
  right: -20%;
  width: min(20vw, 200px);
}

.pigeon-img img {
  width: 100%;
  height: auto;
}

/* キャッチ */
.fv-text {
  padding: 12px 40px;
  font-size: clamp(24px, 2.5vw, 40px);
  color: #3b4a5a;
  backdrop-filter: blur(3px);
  text-align: center;
  margin-top: -30px;
  letter-spacing: 0.2em;
}


/* =========================
   FV
========================= */
.fv {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
}

.fv-picture,
.fv-image {
  display: block;
  width: 100%;
  height: 100%;
}

.fv-image {
  object-fit: cover;
  object-position: center center;
}

.fv-contents {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fv-logo {
  position: relative;
  width: 100%;
}

.fv-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.pigeon-img {
  position: absolute;
  top: -15%;
  right: -2%;
  width: 150px;
  z-index: 3;
}

.pigeon-img img {
  display: block;
  width: 100%;
  height: auto;
}

.fv-text {
  position: static;
	 font-family: 
    "Hiragino Maru Gothic ProN",
    "ヒラギノ丸ゴ ProN",
    "Yu Gothic Rounded",
    "游ゴシック体",
    "Noto Sans JP",
    sans-serif;
  padding: 8px 18px;
  width: auto;
  text-align: center;
  white-space: nowrap;
  writing-mode: horizontal-tb;
  font-size: 25px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  -webkit-backdrop-filter: blur(2px);
  border-radius: 999px;
  box-shadow: none;
  width:100%;
	color: #3b4a5a;
}

.fv-text::before,
.fv-text::after {
  display: none;
}

@media screen and (min-width: 768px) {
  .fv {
    min-height: 700px;
  }

  .fv-contents {
    top: 55.5%;
    width: min(90vw, 980px);
    max-width: none;
  }

  .fv-logo {
    width: min(35vw, 560px);
    max-width: none;
  }

  .pigeon-img {
    top: -10%;
    right: 20%;
    width: min(20vw, 200px);
  }

  .fv-text {
    margin-top: -25px;
    font-size: clamp(24px, 2.5vw, 38px);
    padding: 10px 30px;
    max-width: 90%;
  }
}

.drawer-open,
.drawer-close {
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  flex-shrink: 0;
}



.privacy-box {
  margin-top: 40px;
  padding: 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e5e5e5;
}

.privacy-box__title {
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: 700;
  color: #3b4a5a;
}

.privacy-box__content {
  height: 260px;
  overflow-y: auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: #fafafa;

  font-size: 14px;
  line-height: 2;
  color: #555;
}

.privacy-box__agree {
  margin-top: 20px;
  font-size: 14px;
}

.privacy-box__agree label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.privacy-box__agree input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

/* =========================
   PLAN SECTION
========================= */

.js-plan-section {
  width: 100%;
}

.plan-box-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
}

.plan-box {
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(31, 58, 95, 0.1);
  box-shadow: 0 18px 42px rgba(31, 58, 95, 0.12);
}

/* 上部ヘッダー */
.plan-name {
  position: relative;
  min-height: 132px;
  margin: 0;
  padding: 30px 26px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: hidden;
  writing-mode: horizontal-tb;
}

.plan-name span {
  position: relative;
  z-index: 2;
  color: #243b5c;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  writing-mode: horizontal-tb;
}

.plan-name::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.8;
  pointer-events: none;
}

.plan-name::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -48px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  opacity: 0.45;
  filter: blur(3px);
}

/* 自撮り */
.plan__self {
  background: linear-gradient(135deg, #fde5ec 0%, #f7b6c8 100%);
}

.plan__self::before {
  background:
    radial-gradient(circle at 82% 20%, rgba(244, 138, 168, 0.42) 0%, transparent 26%),
    radial-gradient(circle at 96% 72%, rgba(255, 255, 255, 0.88) 0%, transparent 36%);
}

.plan__self::after {
  background: rgba(244, 138, 168, 0.3);
}

/* スタンダード */
.plan__standard {
  background: linear-gradient(135deg, #ece9ff 0%, #aaa0ff 100%);
}

.plan__standard::before {
  background:
    radial-gradient(circle at 82% 20%, rgba(125, 113, 232, 0.38) 0%, transparent 26%),
    radial-gradient(circle at 96% 72%, rgba(255, 255, 255, 0.86) 0%, transparent 36%);
}

.plan__standard::after {
  background: rgba(125, 113, 232, 0.28);
}

/* プレミアム */
.plan__premium {
  background: linear-gradient(135deg, #fff6cc 0%, #e6d36b 100%);
}

.plan__premium::before {
  background:
    radial-gradient(circle at 82% 20%, rgba(207, 176, 0, 0.34) 0%, transparent 26%),
    radial-gradient(circle at 96% 72%, rgba(255, 255, 255, 0.86) 0%, transparent 36%);
}

.plan__premium::after {
  background: rgba(207, 176, 0, 0.25);
}

/* 本文 */
.plan-contents-area {
  padding: 34px 30px 30px;
}

ul.plan {
  margin: 0;
  padding: 0 0 28px;
  border-bottom: 1px solid rgba(31, 58, 95, 0.12);
  font-size: 16px;
  line-height: 1.8;
}

ul.plan li {
  margin-bottom: 10px;
  color: #3c4b61;
}

ul.plan li::before {
  content: "・";
}

/* 価格 */
.plan-price {
  margin: 0;
  padding: 34px 0 22px;
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  color: #243b5c;
}

.tax {
  margin-left: 6px;
  font-size: 14px;
  font-weight: 400;
}

/* ボタン */
.plan__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: 82%;
  max-width: 260px;
  margin: 0 auto;
  padding: 10px 18px;
  border-radius: 999px;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(31, 58, 95, 0.12);
}

.plan__btn-self {
  background: linear-gradient(135deg, #f48aa8, #ef7193);
}

.plan__btn-standard {
  background: linear-gradient(135deg, #8f83ee, #7569da);
}

.plan__btn-premium {
  background: linear-gradient(135deg, #d8ba00, #c4a600);
}

/* SP */
@media screen and (max-width: 767px) {
  .plan-box-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .plan-name {
    min-height: 108px;
    padding: 24px 22px;
  }

  .plan-name span {
    font-size: 23px;
  }

  .plan-contents-area {
    padding: 28px 24px;
  }

  ul.plan {
    font-size: 15px;
	  line-height: 1.5;
  }

  .plan-price {
    font-size: 30px;
  }
	
	/* 合計金額 */
.total {
  margin-top: 30px;
  padding: 15px;
  font-size: 14px;
}
	
}

.option-note {
	color: #1e3b5f;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: .06em;
    text-align: center;
    margin-top: 25px;
}

.option-price {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  color: #7b8da3;
  letter-spacing: .04em;
}

/* =========================
   OPTION TABLE SP 完全版
========================= */

@media screen and (max-width: 767px) {
  section.option {
    padding: 56px 0;
    overflow: hidden;
  }

  section.option .plans__inner {
    width: calc(100% - 24px);
    max-width: none;
    margin: 0 auto;
    padding: 0;
  }

  section.option .plan-table {
    display: table;
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 18px;
  }

  section.option .plan-table .bg_w {
    width: 40%;
    min-width: 0;
  }

  section.option .plan-table .plan {
    width: 20%;
    min-width: 0;
    padding: 15px 4px;
    font-size: 13px;
    line-height: 1.5;
    white-space: normal;
  }

  section.option .plan-table .plan .plan-head {
    display: block;
    writing-mode: horizontal-tb;
    -webkit-writing-mode: horizontal-tb;
  }

  section.option .plan-table .plan .plan-head--chars {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    height: 100%;
    font-size: 13px;
    line-height: 1;
    letter-spacing: normal;
  }

  section.option .plan-table tbody th {
    width: 40%;
        min-width: 0;
        padding: 10px 5px;
        font-size: 13px;
        line-height: 1.3;
        letter-spacing: 0.01em;
        text-align: left;
        word-break: break-word;
  }

  section.option .option-price {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    line-height: 1.5;
    color: #7b8da3;
  }

  section.option .plan-table tbody td {
    width: 20%;
    padding: 12px 2px;
    text-align: center;
  }

  section.option .circle {
    width: 24px;
    height: 24px;
    font-size: 17px;
  }

  section.option .cross {
    font-size: 40px;
  }

  section.option .triangle {
    font-size: 17px;
  }

  section.option .plan-table th,
  section.option .plan-table td {
    border-right: 1px solid rgba(31, 58, 95, 0.1);
    border-bottom: 1px solid rgba(31, 58, 95, 0.1);
  }

.price-simulator label.is-included {
  opacity: 0.65;
}

.price-simulator h2 {
    border-left: 3px solid #1e3b5fbf;
    font-size: 20px;
    padding-left: 10px;
    margin-bottom: 15px;
}
.field label {
    display: flex;
    align-items: center;
    gap: 1px;
    font-size: 14px;
}

#planSelect {
    padding: 5px 15px;
    font-size: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background: #fff;
}

.price-simulator label.is-included::after {
  content: "プランに含まれます";
  margin-left: auto;
  font-size: 12px;
  color: #1f3a5f;
}
}


.plan-option-section {
  background: url("http://masamura-testsite.com/wp-content/uploads/2026/05/ChatGPT-Image-2026年5月31日-15_26_25.png") center center / cover no-repeat;
  position: relative;
}

.plan-option-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.30);
  pointer-events: none;
}

.plan-option-section > * {
  position: relative;
  z-index: 2;
}

#simulator{
	background: url("http://masamura-testsite.com/wp-content/uploads/2026/05/ChatGPT-Image-2026年5月31日-15_41_21.png") center center / cover no-repeat;
}

#form-section{
	background: url("http://masamura-testsite.com/wp-content/uploads/2026/05/ChatGPT-Image-2026年5月31日-16_03_16.png") center center / cover no-repeat;
}

/* お問い合わせ見出し・説明文 */
.form-section__heading {
  text-align: center;
  margin-bottom: 32px;
}

.form-section__heading h2 {
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: 0.08em;
  color: #1f3a5f;
}

.form-section__lead {
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555;
}


/* ============================================================
   Kotonoha TOPページ アニメーション
   「やさしい・静か・あたたかい・大切な想いを未来へ」
============================================================ */

/* ----------------------------------------------------------
   FV: キーフレーム定義
---------------------------------------------------------- */

/* 背景画像: ゆっくりズームイン */
@keyframes ktn-fv-zoom {
  from {
    transform: scale(1.06);
    opacity: 0.75;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* フェードインのみ（opacity） */
@keyframes ktn-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* フェードアップイン（opacity + translateY） */
@keyframes ktn-fade-up-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 上下浮遊（鳩） */
@keyframes ktn-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* ----------------------------------------------------------
   FV: 各要素アニメーション
---------------------------------------------------------- */

/* 背景画像: ゆっくりズームイン */
.fv-image {
  animation: ktn-fv-zoom 2.4s ease-out both;
}

/* 鳩: フェードイン → ゆっくり上下浮遊（transformを分離して競合回避） */
.pigeon-img {
  animation:
    ktn-fade-in 1.8s ease-out both,
    ktn-float   6s  ease-in-out 1.8s infinite;
}

/* ロゴ: 少し遅れてフェードアップイン */
.fv-logo {
  animation: ktn-fade-up-in 1.6s ease-out 0.8s both;
}

/* キャッチコピー: さらに遅れてフェードアップイン */
.fv-text {
  animation: ktn-fade-up-in 1.6s ease-out 1.5s both;
}

/* ----------------------------------------------------------
   スクロールアニメーション共通クラス
   JS の IntersectionObserver が .is-inview を付与する
---------------------------------------------------------- */

.js-fade,
.js-fade-up {
  opacity: 0;
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.js-fade-up {
  transform: translateY(28px);
}

/* 表示状態（JS が付与） */
.js-fade.is-inview,
.js-fade-up.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------------------------
   プランカード: ホバー浮き上がり
   ※ JS アニメーション完了後も hover が効くよう
     transition は既存 .plan-box に追記
---------------------------------------------------------- */

.plan-box {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.plan-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 60, 120, 0.13);
}

/* ----------------------------------------------------------
   料金シミュレーター: 金額更新アニメーション
---------------------------------------------------------- */

@keyframes ktn-price-flash {
  from {
    opacity: 0.2;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

#totalPrice.is-updated {
  display: inline-block;
  animation: ktn-price-flash 0.45s ease-out both;
}

/* =========================
   FV 登場アニメーション
   「奥からジワーっと浮かび上がる」上品な演出
========================= */

/* --- キーフレーム定義 --- */

/* 背景: 拡大・暗め・ぼかしから通常へ */
@keyframes fv-bg-reveal {
  from {
    transform: scale(1.07);
    filter: brightness(0.75) blur(10px);
    opacity: 0.55;
  }
  to {
    transform: scale(1);
    filter: brightness(1) blur(0px);
    opacity: 1;
  }
}

/* ロゴ: 奥から近づくように scale + opacity */
@keyframes fv-logo-appear {
  from {
    opacity: 0;
    transform: scale(0.88);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* 鳩: ふわっと出現 */
@keyframes fv-pigeon-appear {
  from {
    opacity: 0;
    transform: scale(0.90);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* 鳩: 出現後のゆっくり浮遊（内側の img に適用） */
@keyframes fv-pigeon-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* テキスト: 奥からにじむように */
@keyframes fv-text-appear {
  from {
    opacity: 0;
    transform: scale(0.93);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px);
  }
}

/* --- 各要素へ適用 --- */

/* 背景画像: すぐ開始 / 4.5s でゆっくり正常化 */
.fv .fv-image {
  animation: fv-bg-reveal 4.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* ロゴ: 0.8s 遅れてじわり出現 */
.fv .fv-logo {
  animation: fv-logo-appear 3.0s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s both;
}

/* 鳩: 1.8s 遅れてふわっと出現 */
.fv .pigeon-img {
  animation: fv-pigeon-appear 2.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.8s both;
}

/* 鳩の内側 img: 出現後 4.4s から無限浮遊（コンテナと transform を分離） */
.fv .pigeon-img img {
  animation: fv-pigeon-float 7.0s ease-in-out 4.4s infinite;
}

/* テキスト: 2.8s 遅れて最後ににじみ出現 */
.fv .fv-text {
  animation: fv-text-appear 2.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 2.8s both;
}

/* アクセシビリティ: モーション軽減設定時はアニメーション無効 */
@media (prefers-reduced-motion: reduce) {
  .fv .fv-image,
  .fv .fv-logo,
  .fv .pigeon-img,
  .fv .pigeon-img img,
  .fv .fv-text {
    animation: none;
    filter: none;
    opacity: 1;
    transform: none;
  }
}

/* =========================
   OPTION TABLE PC/タブレット幅
   ヘッダー文字はみ出し修正（768px 以上のみ適用）
========================= */
@media screen and (min-width: 768px) {
  /* white-space: nowrap を解除し、フォントをビューポート追随に */
  .plan-table .plan {
    white-space: normal;
    font-size: clamp(15px, 1.8vw, 24px);
    line-height: 1.5;
    letter-spacing: 0.06em;
  }

  .plan-table .plan .plan-head__sub {
    font-size: clamp(11px, 1.2vw, 14px);
    letter-spacing: 0.06em;
  }

  /* 左右パディングをビューポートに追随させて余白を確保 */
  .plan-table thead th {
    padding-left: clamp(8px, 1.2vw, 16px);
    padding-right: clamp(8px, 1.2vw, 16px);
  }
}

/* ========================================
  Header Design - Transparent Navy
======================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: linear-gradient(
    90deg,
    rgba(3, 18, 45, 0.42) 0%,
    rgba(8, 45, 95, 0.34) 45%,
    rgba(3, 18, 45, 0.42) 100%
  );
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 22px rgba(0, 20, 60, 0.12);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.header-list > li > a {
  display: block;
  padding: 15px;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-shadow: 0 2px 10px rgba(0, 20, 60, 0.55);
  transition: color 0.3s ease, opacity 0.3s ease;
}

.header-list > li > a:hover {
  color: #f1d98c;
}

.header-list > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-50%);
}

/* FVに重ねる */
body {
  padding-top: 0;
}

.admin-bar .site-header {
  top: 0px;
}

@media screen and (max-width: 767px) {
  .site-header {
    background: linear-gradient(
      90deg,
      rgba(3, 18, 45, 0.72) 0%,
      rgba(8, 45, 95, 0.62) 100%
    );
  }

  .site-header__inner {
    height: 64px;
    padding: 0 18px;
  }

  .header-nav {
    display: none;
  }
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* ========================================
  Header separator reset
  お問い合わせ右側の縦線対策
======================================== */

/* 既存の ::after 縦線を一旦すべて無効化 */
.header-list > li::after,
.header-list > li:not(:last-child)::after,
.header-nav .header-list > li::after,
.header-nav .header-list > li:not(:last-child)::after {
  content: none !important;
  display: none !important;
}

/* メニュー間の縦線だけ border-left で付け直す */
.header-nav .header-list > li + li {
  border-left:  none !important;
}

/* 最後の右側には絶対に線を出さない */
.header-nav .header-list > li:last-child {
  border-right: none !important;
}
/* ========================================
  SP Drawer Fix
  スマホ時：バーを消してアイコン1つだけ表示
======================================== */

@media screen and (max-width: 767px) {
  /* ヘッダーの横長バーを完全に消す */
  .site-header {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
    height: 0 !important;
    min-height: 0 !important;
  }

  .site-header__inner {
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
  }

  .header-logo,
  .header-nav {
    display: none !important;
  }

  /* ドロワー自体は表示 */
  .drawer {
    display: block !important;
  }

  /* アイコン位置 */
  .drawer-icon {
    position: fixed !important;
    top: 18px !important;
    right: 18px !important;
    z-index: 10001 !important;
    width: 58px;
    height: 58px;
  }

  /* アイコン共通デザイン */
  .drawer-open,
  .drawer-close {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    color: #fff;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0, 20, 60, 0.22);
    font-size: 28px;
  }

  /* 通常時：ハンバーガーだけ表示 */
  .drawer-open {
    display: flex !important;
  }

  .drawer-close {
    display: none !important;
  }

  /* 開いた時：×だけ表示 */
  .drawer.is-open .drawer-open {
    display: none !important;
  }

  .drawer.is-open .drawer-close {
    display: flex !important;
  }

  body {
    padding-top: 0 !important;
  }
}

/* WordPress管理バーがある時 */
@media screen and (max-width: 782px) {
  .admin-bar .drawer-icon {
    top: 35px !important;
  }
}

/* ========================================
  FV Renewal
======================================== */

.fv {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dff4ff;
}

.fv-picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.fv-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* 背景の上に淡い光を重ねる */
.fv::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      circle at center,
      rgba(255, 255, 255, 0.42) 0%,
      rgba(255, 255, 255, 0.18) 38%,
      rgba(255, 255, 255, 0) 68%
    ),
    linear-gradient(
      to bottom,
      rgba(5, 35, 80, 0.1) 0%,
      rgba(255, 255, 255, 0) 28%,
      rgba(255, 255, 255, 0.08) 100%
    );
}

/* FV中身 */
.fv-contents {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-left: 0;
}

/* 鳩 */
.pigeon-img {
  position: absolute;
  top: 115px;
  width: min(15vw, 220px);
  z-index: 3;
  filter: drop-shadow(0 18px 30px rgba(31, 58, 95, 0.18));
  animation: fvPigeonFloat 4.5s ease-in-out infinite;
}

.pigeon-img img {
  display: block;
  width: 100%;
  height: auto;
}

/* ロゴ */
.fv-logo {
  position: relative;
  z-index: 2;
  width: min(40vw, 450px);
  filter: drop-shadow(0 18px 35px rgba(31, 58, 95, 0.14));
}

.fv-logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* ロゴ背面の発光 */
.fv-logo::before {
  content: "";
  position: absolute;
  inset: -55px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.58) 38%,
    rgba(255, 255, 255, 0.18) 58%,
    rgba(255, 255, 255, 0) 74%
  );
  filter: blur(12px);
}

/* メインコピー */
.fv-text {
  position: relative;
  margin-top: 0;
  color: #1f3a5f;
  font-size: clamp(20px, 4.2vw, 45px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.16em;
  text-align: center;
  text-shadow:
    0 2px 10px rgba(255, 255, 255, 0.95),
    0 10px 26px rgba(31, 58, 95, 0.12);
    padding: 0;
}

/* サブコピー */
.fv-lead {
  margin-top: 18px;
  color: rgba(31, 58, 95, 0.78);
  font-size: clamp(15px, 1.4vw, 20px);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.12em;
  text-align: center;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9);
}

/* ボタンエリア */
.fv-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 25px;
}

/* ボタン共通 */
.fv-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  height: 45px;
  padding: 0 34px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease,
    color 0.35s ease;
}

/* 矢印 */
.fv-button span {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 1px;
  margin-left: 14px;
  background: currentColor;
}

.fv-button span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

/* 左ボタン */
.fv-button--primary {
  color: #fff;
  background: linear-gradient(135deg, #b99b55 0%, #c9ab63 100%);
  box-shadow: 0 14px 30px rgba(120, 88, 32, 0.18);
}

/* 右ボタン */
.fv-button--secondary {
  color: #1f3a5f;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(185, 155, 85, 0.7);
  box-shadow: 0 14px 30px rgba(31, 58, 95, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* hover */
.fv-button:hover {
  transform: translateY(-3px);
}

.fv-button--primary:hover {
  box-shadow: 0 18px 36px rgba(120, 88, 32, 0.25);
}

.fv-button--secondary:hover {
  background: rgba(255, 255, 255, 0.92);
}

/* 鳩の浮遊 */
@keyframes fvPigeonFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

/* ========================================
  Tablet
======================================== */

@media screen and (max-width: 1024px) {
  .fv-contents {
    padding: 120px 24px 70px;
  }

  .pigeon-img {
    top: 95px;
    right: 48px;
    width: 170px;
  }

  .fv-logo {
    width: min(52vw, 380px);
  }

  .fv-text {
    margin-top: 30px;
    font-size: clamp(32px, 4.5vw, 54px);
    letter-spacing: 0.12em;
  }

  .fv-buttons {
    margin-top: 30px;
  }
}

/* ========================================
  SP
======================================== */

@media screen and (max-width: 767px) {
  .fv {
    min-height: 100svh;
  }

  .fv-contents {
    min-height: 100svh;
    padding: 100px 20px 60px;
  }

  .pigeon-img {
    top: 100px;
    right: 20px;
    width: 130px
  }

  .fv-logo {
    width: min(80vw, 350px);
  }

  .fv-logo::before {
    inset: -30px;
    filter: blur(8px);
  }

  .fv-text {
    margin-top: 28px;
    font-size: clamp(28px, 8vw, 42px);
    line-height: 1.45;
    letter-spacing: 0.08em;
  }

  .fv-lead {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 0.06em;
  }

  .fv-buttons {
    width: 100%;
    flex-direction: column;
    gap: 14px;
    margin-top: 28px;
  }

  .fv-button {
    width: min(100%, 320px);
    min-width: initial;
    height: 40px;
    padding: 0 24px;
    font-size: 14px;
  }
}


/* =========================
   Office Banner
========================= */

.office-banner {
  padding: 56px 0;
}

.office-banner__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
  margin-top: 15px;
}

.office-banner__item {
  display: block;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.office-banner__item img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 767px) {
  .office-banner {
    padding: 40px 0;
  }

  .office-banner__list {
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 80%;
    margin: 0 auto;
  }
}

span.sub-title{
    font-size: 21px;
    font-weight: 400;
    letter-spacing: .05em;
}

section.option{
  text-align: center;
}

.office-banner__lead{
  text-align: center;
  margin: 100px 50px 0;
  font-size: 18px;
}

.office-banner__name {
  margin-bottom: 5px;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-align: center;
  color: #1f3a5f;
}
.c-img{
  width: 40%;
  margin: 0 auto;
	margin-bottom: 25px;
}
@media screen and (max-width: 767px) {
  span.sub-title {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: .01em;
}
.office-banner__name {
  margin-bottom: 1px;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-align: center;
  color: #1f3a5f;
}
.office-banner__lead {
  text-align: center;
  margin: 50px 1px 25px 1px;
  font-size: 16px;
}
.is-pc{
  display: none;
}
}
span.familly{font-size: 13px;}
@media screen and (max-width: 767px) {
.c-img{
  width: 80%;
  margin: 0 auto;
	margin-bottom: 25px;
}
	
	.option-note {
    color: #1e3b5f;
    font-size: 13px;
    line-height: 1.3;
    letter-spacing: .03em;
    text-align: center;
    margin-top: 15px;
}
	
	.about-worry-card p {
    font-size: 16px;
    line-height: 1.3;
}
	
	.about-worry-card__icon {
    font-size: 45px;
    margin-bottom: 15px;
}
	
}

.drawer-icon {
  display: none;
}

/* ============================================
   お知らせ（NEWS）セクション
   ============================================ */
.news-section {
  padding: 100px 0;
  background: url("../img/news-bg.webp") no-repeat center center / cover;
}

.news-section__sub-title {
  display: block;
  margin-bottom: 8px;
  color: #8a99ab;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.news-list {
  max-width: 1100px;
  margin: 0 auto;
}

.news-item {
  border-bottom: 1px solid rgba(59, 74, 90, 0.15);
  background: rgba(255, 255, 255, 0.72);
  width: 85%;
  margin: 0 auto;
}

.news-item:first-child {
  border-top: 1px solid rgba(59, 74, 90, 0.15);
}

.news-item__link {
  display: grid;
  grid-template-columns: 100px 150px 120px 1fr;
  gap: 24px;
  align-items: center;
  padding: 25px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.3s ease;
}

.news-item__link:hover {
  background-color: rgba(59, 74, 90, 0.04);
}

.news-item__date {
  font-size: 14px;
  color: #3b4a5a;
  letter-spacing: 0.08em;
}

.news-item__cat {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 85px;
    padding: 3px 15px;
    border-radius: 999px;
    background: rgb(59 74 90);
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 0.06em;
}

.news-item__thumb img {
  display: block;
  width: 120px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
}

.news-item__noimage {
  display: flex;
  width: 120px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  justify-content: center;
  align-items: center;
  background: rgba(59, 74, 90, 0.06);
  color: #8a99ab;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.news-item__body {
  min-width: 0;
}

.news-item__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: #3b4a5a;
}

.news-item__excerpt {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: #6b7280;
}

.news-empty {
  text-align: center;
  color: #6b7280;
}

@media screen and (max-width: 768px) {
  .news-section {
    padding: 64px 0;
  }

  .news-item__link {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 20px;
  }

  .news-item__date {
    font-size: 13px;
  }

  .news-item__cat {
    justify-self: start;
    padding: 2px 0;
  }

  .news-item__thumb img,
  .news-item__noimage {
    width: 80%;
    height: auto;
    margin: 0 auto;
  }

  .news-item__title {
    font-size: 15px;
  }
}

/* ============================================
   投稿詳細（single）ページ
   ============================================ */
.single-page {
  padding: 120px 0 100px;
}

.single-page .inner {
  max-width: 880px;
  margin: 0 auto;
}

.single-page .single-article {
  padding: 56px 56px 48px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(31, 58, 95, 0.08);
}

.single-page .single-breadcrumb {
  margin-bottom: 28px;
  font-size: 0.85rem;
  color: #7a8794;
}

.single-page .single-breadcrumb a {
  color: #1f3a5f;
  text-decoration: none;
}

.single-page .single-breadcrumb span {
  margin: 0 6px;
}

.single-page .single-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
  color: #6b7280;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.single-page .single-cat {
  display: inline-flex;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(31, 58, 95, 0.08);
  color: #1f3a5f;
  font-size: 0.8rem;
}

.single-page .single-title {
  margin: 0 0 32px;
  color: #1f3a5f;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.5;
  font-weight: 500;
}

.single-page .single-thumb {
  margin-bottom: 40px;
}

.single-page .single-thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.single-page .single-content {
  color: #333;
  font-size: 1rem;
  line-height: 2;
}

.single-page .single-content p {
  margin-bottom: 1.6em;
}

.single-page .single-content a {
  color: #1f3a5f;
}

.single-page .single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.single-page .single-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(31, 58, 95, 0.14);
}

.single-page .single-nav a {
  color: #1f3a5f;
  text-decoration: none;
}

.single-page .single-nav__next {
  margin-left: auto;
  text-align: right;
}

.single-page .single-back {
  margin-top: 32px;
  text-align: center;
}

.single-page .single-back a {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 999px;
  background: rgba(31, 58, 95, 0.08);
  color: #1f3a5f;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: background-color 0.3s ease;
}

.single-page .single-back a:hover {
  background: rgba(31, 58, 95, 0.14);
}

@media screen and (max-width: 768px) {
  .single-page {
    padding: 88px 0 72px;
  }

  .single-page .inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .single-page .single-article {
    padding: 32px 22px;
    border-radius: 20px;
  }

  .single-page .single-meta {
    flex-wrap: wrap;
    gap: 12px;
  }

  .single-page .single-nav {
    flex-direction: column;
  }

  .single-page .single-nav__next {
    margin-left: 0;
    text-align: left;
  }
}

