@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ====== ナビゲーションボックス全体 ====== */
.nav-boxes {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  top: -100px;        /* 下に突き出す */
  z-index: 10;      /* ビジュアルより上に */
  padding: 0 20px;  /* 端の余白 */
}

/* ====== 各ボックス ====== */
.nav-box {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ====== 見出し ====== */
.nav-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 12px;
  color: #333;
}

/* ====== 説明文 ====== */
.nav-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
	text-align: justify;
  flex-grow: 1; /* 説明文を伸縮させて高さを揃える */
}

/* ====== ボタン ====== */
.nav-btn {
  display: inline-block;
	margin: 15px auto;
	max-width: 80%;
  padding: 10px 20px;
  background: #0066cc; /* コーポレートカラーに合わせて調整可 */
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: bold;
  transition: background .3s ease;
}

.nav-btn:hover {
  background: #004999;
}

/* ====== ホバー効果 ====== */
.nav-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* ====== スマホ対応 ====== */
@media (max-width: 768px) {
  .nav-boxes {
    flex-direction: column;
    top: 30px;       /* 突き出し量を少なくする */
    gap: 15px;
  }
}

.p-mainVisual__slideTitle, .p-mainVisual__slideText{
	text-align: left;
}
.p-mainVisual__textLayer.l-parent.l-container.u-ta-c{
	justify-content: flex-start;
}
#main_visual div.p-mainVisual__slideTitle{
	margin-top: 30px !important;
	font-size: 2.5rem;
}
.my-button-nobr{
  white-space : nowrap;
}

/* ====== お知らせエリア ====== */
.news-area{
	margin: 0 auto;
	max-width: 800px;
}

/* ============================
   Header Contact Block (scoped)
   ============================ */
.w-header .p-blogParts .cap_box {
  background: #f7fbff;
  border: 1px solid rgba(13, 71, 161, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  padding: 14px 16px;
}

/* タイトル帯 */
.w-header .cap_box_ttl {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  background: #0d47a1;
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  padding: 8px 12px;
  margin-bottom: 12px;
}
.w-header .cap_box_ttl span {
  display: inline-block;
}

/* 本文コンテンツ */
.w-header .cap_box_content {
  padding-top: 4px;
}

/* WordPress Columns: 行間・整列 */
.w-header .cap_box_content .wp-block-columns {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 6px 0 10px;
}
.w-header .cap_box_content .wp-block-column {
  flex: 1;
}

/* 1段目：フリーダイヤル + 受付時間 */
.w-header .freephone {
  font-family: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.1;
  color: #0d47a1;
  margin: 0;
  letter-spacing: .02em;
  font-variant-numeric: lining-nums tabular-nums;
	white-space: nowrap;          /* 改行禁止 */
	word-break: keep-all;         /* ハイフンでも折り返さない */
	overflow-wrap: normal;
}
.w-header .freephone::before {
  content: "☎";
  display: inline-block;
  margin-right: .4em;
  transform: translateY(1px);
  font-size: .9em;
  opacity: .9;
}

.w-header .uketime {
  margin: 0;
  color: #456;
  font-size: 13px;
  line-height: 1.5;
}

/* 2段目：TEL / FAX のラベル + 数字 */
.w-header .telicon,
.w-header .faxicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1;
  margin: 0 8px 4px 0;
  color: #fff;
}
.w-header .telicon { background: #1976d2; }  /* TELラベル */
.w-header .faxicon { background: #455a64; }  /* FAXラベル */

.w-header .telnum,
.w-header .faxnum {
  display: inline-block;
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
  color: #223;
  font-variant-numeric: lining-nums tabular-nums;
}

/* 行ごとの区切り（1段目と2段目の視覚的メリハリ） */
.w-header .cap_box_content .wp-block-columns + .wp-block-columns {
  border-top: 1px dashed rgba(0,0,0,0.08);
  padding-top: 10px;
}

/* レイアウトの細かな余白調整 */
.w-header .w-header__item.widget_text .textwidget {
  margin: 0;
}
.w-header .p-blogParts.post_content[data-partsid="87"] {
  margin: 0;
}

/* ヘッダー狭小時の詰まり対策 */
@media (max-width: 1200px) {
  .w-header .cap_box {
    padding: 12px 14px;
  }
  .w-header .cap_box_content .wp-block-columns {
    gap: 12px;
  }
}

/* スマホ/タブレット（縦積み・中央寄せ） */
@media (max-width: 768px) {
  .w-header .cap_box_ttl {
    font-size: 12px;
    padding: 7px 10px;
    margin-bottom: 10px;
  }
  .w-header .cap_box_content .wp-block-columns {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  .w-header .freephone {
    font-size: clamp(18px, 5.3vw, 22px);
    text-align: center;
  }
  .w-header .uketime {
    text-align: center;
  }
  .w-header .telnum,
  .w-header .faxnum {
    font-size: 15px;
  }
}

/* ダークモードの軽い配慮（端末設定連動） */
@media (prefers-color-scheme: dark) {
  .w-header .cap_box {
    background: #0e1623;
    border-color: rgba(255,255,255,0.08);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  }
  .w-header .uketime { color: #c7d3e0; }
  .w-header .telnum, .w-header .faxnum { color: #e9eef5; }
  .w-header .cap_box_ttl { background: #1565c0; }
  .w-header .freephone { color: #90caf9; }
  .w-header .telicon { background: #42a5f5; }
  .w-header .faxicon { background: #607d8b; }
  .w-header .cap_box_content .wp-block-columns + .wp-block-columns {
    border-top-color: rgba(255,255,255,0.12);
  }
}
.w-header .cap_box_ttl{
	color: #0d47a1;
	font-size: 1rem;
}
.cap_box_content{
	margin-top: 0px !important;
}
.telfax .wp-block-column{
	display: flex;
}
.telnum, .faxnum{
	white-space: nowrap;
}
@media (min-width: 960px) {
	.l-header__logo{
		display: none;
	}
}

/* ============================
   SPメニュー下部の問い合わせボックス
   ============================ */
.w-spMenuBottom .p-blogParts .cap_box {
  background: #f7fbff;
  border: 1px solid rgba(13, 71, 161, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  padding: 12px 14px;
  margin: 10px 0 14px;
}

/* タイトル帯 */
.w-spMenuBottom .cap_box_ttl{
  display: inline-flex;
  align-items: center;
  gap: .5em;
  background: #0d47a1;
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  padding: 7px 10px;
  margin-bottom: 10px;
}
.w-spMenuBottom .cap_box_ttl span{ display:inline-block; }

/* 本文 */
.w-spMenuBottom .cap_box_content{ padding-top: 2px; }

/* WP Columns */
.w-spMenuBottom .cap_box_content .wp-block-columns{
  display:flex;
  flex-direction: column;       /* メニュー内は縦積みでOK */
  align-items: stretch;
  gap: 8px;
  margin: 6px 0 8px;
}
.w-spMenuBottom .cap_box_content .wp-block-column{ flex:1; }

/* フリーダイヤル＋受付時間 */
.w-spMenuBottom .freephone{
  font-family: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: clamp(18px, 5.2vw, 22px);
  line-height: 1.08;
  color: #0d47a1;
  margin: 0;
  letter-spacing: .02em;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap; word-break: keep-all; overflow-wrap: normal;
  text-align: left;
}
.w-spMenuBottom .freephone::before{
  content:"☎"; display:inline-block; margin-right:.4em; transform:translateY(1px);
  font-size:.9em; opacity:.9;
}
.w-spMenuBottom .freephone a{ color:inherit; text-decoration:none; }
.w-spMenuBottom .freephone a:hover{ text-decoration:underline; }

.w-spMenuBottom .uketime{
  margin: 0;
  color: #456;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}
.w-spMenuBottom .uketime .mininote{
  margin-left:.4em; font-size:85%; line-height:1.2; white-space:nowrap;
}

/* TEL / FAX ライン */
.w-spMenuBottom .telfax{ display:flex; flex-direction:row; gap:16px; }
.w-spMenuBottom .telfax .wp-block-column{
  display:inline-flex; align-items:center; gap:8px;
}

.w-spMenuBottom .telicon,
.w-spMenuBottom .faxicon{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:46px; height:22px; padding:0 10px;
  border-radius:999px; font-size:12px; font-weight:800; letter-spacing:.06em;
  line-height:1; margin:0;
  color:#fff;
}
.w-spMenuBottom .telicon{ background:#1976d2; }
.w-spMenuBottom .faxicon{ background:#455a64; }

.w-spMenuBottom .telnum,
.w-spMenuBottom .faxnum{
  display:inline-block; margin:0; font-weight:700; font-size:16px; line-height:1.3;
  letter-spacing:.02em; color:#223; font-variant-numeric: lining-nums tabular-nums;
  white-space:nowrap;
}

/* 仕切り線（1段目→2段目） */
.w-spMenuBottom .cap_box_content .wp-block-columns + .wp-block-columns{
  border-top:1px dashed rgba(0,0,0,0.08);
  padding-top:8px;
}

/* ダークモード配慮 */
@media (prefers-color-scheme: dark){
  .w-spMenuBottom .cap_box{
    background:#0e1623; border-color:rgba(255,255,255,0.08);
    box-shadow:0 6px 16px rgba(0,0,0,0.4);
  }
  .w-spMenuBottom .cap_box_ttl{ background:#1565c0; }
  .w-spMenuBottom .freephone{ color:#90caf9; }
  .w-spMenuBottom .uketime{ color:#c7d3e0; }
  .w-spMenuBottom .telnum, .w-spMenuBottom .faxnum{ color:#e9eef5; }
  .w-spMenuBottom .telicon{ background:#42a5f5; }
  .w-spMenuBottom .faxicon{ background:#607d8b; }
  .w-spMenuBottom .cap_box_content .wp-block-columns + .wp-block-columns{
    border-top-color:rgba(255,255,255,0.12);
  }
}

#sp_menu_bottom .cap_box_ttl{
	color: #0d47a1;
	font-size: 1rem;
}

/* ===== 固定“ネット申込”ボタン（PCは右下、SPは下部フル幅） ===== */

/* 共通見た目 */
.fixed-apply-btn{
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 999;
  display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 20px;
  background: #0d47a1; color: #fff; font-weight: 700;
  border-radius: 999px; text-decoration: none;
  box-shadow: 0 10px 24px rgba(13,71,161,.25);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.fixed-apply-btn:hover{
  transform: translateY(-2px);
  box-shadow:0 14px 28px rgba(13,71,161,.32);
  background:#0a3a85;
}
.fixed-apply-btn:active{ transform: translateY(0); }

.fixed-apply-btn__label{ font-size: 15px; letter-spacing: .02em; }

/* 管理バーと被らないよう調整 */
.admin-bar .fixed-apply-btn{ bottom: calc(20px + 46px); }

/* スマホは下部フル幅に */
@media (max-width: 767px){
  .fixed-apply-btn{
    left: 0; right: 0; bottom: 0;
    width: 100%; height: 54px; border-radius: 0;
    box-shadow: 0 -6px 16px rgba(0,0,0,.08);
  }
}

/* Cookie同意バー等との干渉がある場合の例 */
.has-cookiebar .fixed-apply-btn{ bottom: 68px; }