/* =============== Layout Tokens =============== */
body.page-template-page-common{
  --c-brand:#265ba6;
  --c-brand-d:#1f4a87;
  --c-text:#222;
  --c-muted:#666;
  --c-border:#e6e8eb;
  --c-bg:#f5f8fb;

  --radius:16px;
  --radius-lg:20px;
  --shadow:0 6px 16px rgba(0,0,0,.08);
  --shadow-sm:0 3px 10px rgba(0,0,0,.06);

  --maxw:1080px;
  --container: min(var(--maxw), 100% - 40px);
}
/* コンテナ（左右に余白を残しつつ、フレームは1120px想定） */
.l-container{
  width:var(--container);
  margin-inline:auto;
}

/* =============== Hero =============== */
.page-hero{
  background:linear-gradient(180deg, #fff, #fff);
  padding:48px 0 36px;
}
.page-hero.has-bg{
  background:
    linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.85)),
    var(--hero-bg) center/cover no-repeat;
}
.page-hero__title{
  font-size: clamp(24px, 3.2vw, 36px);
  color: var(--c-text);
  font-weight: 700;
  letter-spacing:.02em;
  margin:0 0 8px;
}
.page-hero__lead{
  color:var(--c-muted);
  font-size: clamp(14px, 1.6vw, 16px);
}

/* =============== Breadcrumb =============== */
.breadcrumb{
  margin:12px auto 24px;
  font-size:14px;
}
.breadcrumb ol{
  list-style:none;
  display:flex; gap:8px; flex-wrap:wrap; padding:0; margin:0;
}
.breadcrumb a{ color:var(--c-muted); text-decoration:none; }
.breadcrumb li+li::before{ content:"›"; color:var(--c-muted); margin:0 6px; }

/* =============== Grid =============== */
.page-grid{
    margin-bottom: 20px;
}


/* =============== Content Base =============== */
.page-content{
  background:#fff;
  border:1px solid var(--c-border);
  border-radius:var(--radius-lg);
  padding: clamp(20px, 2.6vw, 32px);
  box-shadow: var(--shadow);
}
.page-content :where(h2,h3,h4){
  color:var(--c-text);
  letter-spacing:.02em;
}
.page-content h2{
  font-size: clamp(20px, 2.6vw, 28px);
  padding-left:14px !important;
  border-left:4px solid var(--c-brand);
  margin: 28px 0 16px;
  line-height:1.35;
}
.page-content h3{
  font-size: clamp(18px, 2.2vw, 22px);
  margin: 24px 0 12px;
}
.page-content h4{
  font-size: clamp(16px, 1.9vw, 18px);
  margin: 18px 0 8px;
}
.page-content p{
  line-height:1.9;
  margin: 0 0 1.2em;
  color:#222;
}
.page-content ul, .page-content ol{
  padding-left:1.4em;
  margin: .6em 0 1.2em;
}
.page-content ul{
  list-style: disc;
}
.page-content li{ margin:.2em 0;line-height: 1.9; }

/* テーブル（よくある規約/料金表を想定） */
.page-content table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  margin: 18px 0 24px;
  font-size: 15px;
}
.page-content th, .page-content td{
  border:1px solid var(--c-border);
  padding:12px 14px;
  vertical-align:top;
}
.page-content th{
  background:#f9fbfe;
  font-weight:700;
}

/* 注意・ガイド枠 */
.notice{
  background:#fff9e8;
  border:1px solid #f3dfb6;
  border-radius:12px;
  padding:14px 16px;
  margin:16px 0;
}

/* =============== Buttons（青ボタンの視認性改善） =============== */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  text-decoration:none;
  padding: 12px 18px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:700;
  transition:.15s ease-in-out;
  line-height:1;
  box-shadow: var(--shadow-sm);
}
.btn-primary{
  background:var(--c-brand);
  color:#fff !important;
}
.btn-primary:hover,
.btn-primary:focus-visible{
  background:var(--c-brand-d);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(38,91,166,.28);
}
.btn-primary:active{
  background: #19406f;
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}
/* visitedのコントラストも維持 */
.btn-primary:visited{ color:#fff; }

.btn-outline{
  background:#fff;
  color:var(--c-brand);
  border-color:var(--c-brand);
}
.btn-outline:hover,
.btn-outline:focus-visible{
  background:#f2f6fc;
}

/* CTA 3ボタン（TOPの雰囲気に合わせる） */
.page-cta{ margin-top:28px; }
.page-cta__list{
  list-style:none; padding:0; margin:0;
  display:grid; gap:12px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px){
  .page-cta__list{ grid-template-columns:1fr; }
}

/* =============== Aside（右カラム） =============== */
.page-aside{ display:grid; gap:20px; }
.aside-box{
  background:#fff;
  border:1px solid var(--c-border);
  border-radius:14px;
  padding:18px;
  box-shadow: var(--shadow);
}
.aside-box__title{
  font-size:18px; font-weight:700; margin:0 0 10px;
}
.aside-links{ list-style:none; padding:0; margin:0; }
.aside-links li{ border-top:1px dashed var(--c-border); }
.aside-links li:first-child{ border-top:none; }
.aside-links a{
  display:block; padding:10px 4px; text-decoration:none;
  color:var(--c-brand);
}
.aside-links a:hover{ text-decoration:underline; }

/* =============== FLOW用タイムライン =============== */
/* HTML側は h3＋段落のまとまりに .flow-step を付ける想定（Gutenbergでも追加可） */
.flow-steps{
  display:grid; gap:24px;
}
.flow-step{
  position:relative;
  background:#fff;
  border:1px solid var(--c-border);
  border-radius:14px;
  padding:18px 18px 18px 54px;
  box-shadow: var(--shadow-sm);
}
.flow-step::before{
  content:"";
  position:absolute; left:18px; top:22px;
  width:18px; height:18px; border-radius:50%;
  background:var(--c-brand);
  box-shadow:0 0 0 6px rgba(38,91,166,.12);
}
.flow-step::after{
  /* PC時：右向き矢印（カード右側へ） */
  content:"";
  position:absolute; right:-18px; top:50%; transform:translateY(-50%);
  border: 10px solid transparent;
  border-left-color: var(--c-border);
}
.flow-step h3{ margin-top:0; }

/* 最後の矢印は非表示 */
.flow-step:last-child::after{ display:none; }

/* SP時：下向き矢印に切替 */
@media (max-width: 800px){
  .flow-step{
    padding:18px 18px 18px 54px;
  }
  .flow-step::after{
    right:auto; left:32px; top:auto; bottom:-18px; transform:none;
    border:10px solid transparent;
    border-top-color: var(--c-border);
  }
}

/* =============== Gutenberg 調整 =============== */
.wp-block-image img{
  border-radius:12px;
}
.wp-block-quote{
  border-left:4px solid var(--c-brand);
  margin:18px 0; padding:8px 14px;
  background:#f7faff;
}
.wp-block-columns{
  gap:24px;
}
.wp-block-button .wp-block-button__link{
  border-radius:999px;
  padding:12px 18px;
  font-weight:700;
  box-shadow: var(--shadow-sm);
  background:var(--c-brand);
}
.wp-block-button .wp-block-button__link:hover{
  background:var(--c-brand-d);
}

/* =============== 小要素 =============== */
.kbd{
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background:#f3f5f8; border:1px solid #e3e7ee; border-radius:6px;
  padding:2px 6px; font-size:90%;
}

/* =============== ユーティリティ =============== */
.mt-0{ margin-top:0 !important; }
.mt-8{ margin-top:8px !important; }
.mt-16{ margin-top:16px !important; }
.mt-24{ margin-top:24px !important; }
.mt-32{ margin-top:32px !important; }

/* Gutenberg ボタンブロックの調整 */
.wp-block-button .wp-block-button__link {
  background: var(--c-brand);
  color: #fff !important;       /* 文字色を常に白 */
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  margin: 6px 0;                /* 上下マージン追加でボタンがくっつかない */
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: background .15s ease-in-out, transform .15s ease-in-out;
}

.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus-visible {
  background: var(--c-brand-d);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(38, 91, 166, 0.28);
}

.wp-block-button .wp-block-button__link:active {
  background: #19406f;
  color: #fff !important;
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.wp-block-button .wp-block-button__link:visited {
  color: #fff !important; /* visited時も白 */
}

/* ---- AIOSEO FAQ をトグルUI化（テンプレ限定スコープ） ---- */
body.page-template-page-common .wp-block-aioseo-faq{
  border:1px solid var(--c-border);
  border-radius:14px;
  background:#fff;
  box-shadow: var(--shadow-sm);
  margin:12px 0;
  overflow:hidden;
}

/* 質問行をボタン風に */
body.page-template-page-common .wp-block-aioseo-faq .aioseo-faq-block-question{
  margin:0;
}
body.page-template-page-common .wp-block-aioseo-faq .aioseo-faq-block-question[role="button"]{
  display:flex; align-items:center; gap:10px;
  padding:16px 18px;
  font-size:16px; font-weight:700; line-height:1.5;
  cursor:pointer; user-select:none;
  outline:none; background:#fff; color:#222;
}
body.page-template-page-common .wp-block-aioseo-faq .aioseo-faq-block-question[role="button"]::before{
  content:"Q"; display:inline-grid; place-items:center;
  width:28px; height:28px; flex:0 0 28px;
  border-radius:50%;
  background:var(--c-brand); color:#fff; font-weight:700;
}

/* 右端の + アイコン（展開時に45度回転） */
body.page-template-page-common .wp-block-aioseo-faq .aioseo-faq-block-question[role="button"]::after{
  content:"+"; margin-left:auto; opacity:.6;
  transition:transform .15s ease, opacity .15s ease;
  font-size:20px; line-height:1;
}
body.page-template-page-common .wp-block-aioseo-faq .aioseo-faq-block-question[aria-expanded="true"]::after{
  transform:rotate(45deg); opacity:1;
}

/* キーボードフォーカスの視認性（青い細枠の代わりに内側リング） */
body.page-template-page-common .wp-block-aioseo-faq .aioseo-faq-block-question[role="button"]:focus-visible{
  box-shadow: 0 0 0 3px rgba(38,91,166,.25) inset;
  border-radius:10px;
}

/* 回答部 */
body.page-template-page-common .wp-block-aioseo-faq .aioseo-faq-block-answer{
  border-top:1px dashed var(--c-border);
  background:#f9fbfe;
}
body.page-template-page-common .wp-block-aioseo-faq .aioseo-faq-block-answer:not([hidden]){
  /* 開いたときのパディング */
  padding:16px 18px 18px 54px;
}
body.page-template-page-common .wp-block-aioseo-faq .aioseo-faq-block-answer > *{
  margin:0 0 0.8em;
}
body.page-template-page-common .wp-block-aioseo-faq .aioseo-faq-block-answer::before{
  content:"A";
  position:relative; top:0; left:-36px;
  display:inline-grid; place-items:center;
  width:28px; height:28px; margin-right:8px;
  border-radius:50%;
  background:#265ba6; color:#fff; font-weight:700;
}

/* セクション見出し（途中の <h2> など）との間隔を少し広げる */
body.page-template-page-common .page-content h2 + .wp-block-aioseo-faq{
  margin-top:16px;
}

/*固定ページ*/
.midashi-ja{    font-size: 16px !important;
    border-left: none !important;
    margin: 0 !important;
    color: #3D5FC6 !important;
text-shadow:
    1px  1px 0 #fff,
   -1px  1px 0 #fff,
    1px -1px 0 #fff,
   -1px -1px 0 #fff,
    1px  0   0 #fff,
   -1px  0   0 #fff,
    0    1px 0 #fff,
    0   -1px 0 #fff;}
.midashi-en{font-size: 48px;
    position: relative;
    font-weight: 700;
    margin-bottom: -20px !important;
    z-index: 10;
    line-height: 1 !important;
    color: #3D5FC6 !important;
text-shadow:
    1px  1px 0 #fff,
   -1px  1px 0 #fff,
    1px -1px 0 #fff,
   -1px -1px 0 #fff,
    1px  0   0 #fff,
   -1px  0   0 #fff,
    0    1px 0 #fff,
    0   -1px 0 #fff;}
.fw-bold{font-weight:bold !important;margin-top:20px !important;}
.step{font-size:40px !important;position:relative;margin-bottom:-20px !important;font-weight:700;color:#3D5FC6 !important;
text-shadow:
    1px  1px 0 #fff,
   -1px  1px 0 #fff,
    1px -1px 0 #fff,
   -1px -1px 0 #fff,
    1px  0   0 #fff,
   -1px  0   0 #fff,
    0    1px 0 #fff,
    0   -1px 0 #fff;}
@media screen and (max-width: 768px) {
  .two-columns {
    flex-direction: column-reverse;
  }
}
.block_grey{background:#D9D9D9;padding:20px;border-radius:10px;margin-top:10px}
.bdr-none{border-left:none !important;}
.btn_roomsrch{margin:20px 0 20px !important;}
.bluewrap{
	border: #3D5FC6 1px solid;
    border-radius: 10px;
    margin-bottom: 20px !important;
    padding: 20px;}
.bluewrap h4{font-weight:bold}
.monthly_unit{padding: 20px;
background:#FFE8C8;
border-radius: 10px;}

