@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
*/

/* =============================================
レスポンシブ改行制御
============================================= */
/* スマートフォンでのみ改行を表示 */
.sp-br {
    display: none;
}

/* より厳密なスマートフォン判定（480px以下） */
@media screen and (max-width: 480px) {
    .sp-br {
        display: inline;
    }
}

/* =============================================
フォント設定
============================================= */
.noto-sans-jp-<uniquifier> {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}

.font {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
}

/* =============================================
ヘッダー・メニュー
============================================= */
.c-gnav>.menu-item>a .ttl {
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", "ヒラギノ角ゴ ProN W3", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "メイリオ", Meiryo, sans-serif;
	font-weight: 600;
}

.l-header__bar {
    color: #7a7a7a;
    background: #46637e;
}

/* サブメニューのテキストサイズを調整 */
.sub-menu li a .ttl {
    font-size: 12px !important;
}
/* =============================================
メインビジュアル
============================================= */
/* スライドタイトルを左下に移動 */
.p-mainVisual__slideTitle {
    font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", "ヒラギノ角ゴ ProN W3", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "メイリオ", Meiryo, sans-serif;
    font-weight: 800;
    font-size: 65px !important;
    position: absolute !important;
    bottom: -250px !important;  /* 下からの距離 */
    left: 60px !important;    /* 左からの距離 */
    top: auto !important;     
    transform: none !important; 
    text-align: left !important;
    max-width: 700px;
    color: #FFF;
    letter-spacing: -2px;
}

/* より強力なセレクタ（PCで適用されない場合の対策） */
.swiper-slide .p-mainVisual__slideTitle,
.p-mainVisual .p-mainVisual__slideTitle,
.p-mainVisual__slideTitle[style] {
    font-size: 65px !important;
    position: absolute !important;
    bottom: -250px !important;
    left: 60px !important;
    top: auto !important;
    transform: none !important;
    text-align: left !important;
}

/* =============================================
テキストスタイル・キャプション
============================================= */
.small-title {
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 10px;
    color: #46637e;
}

.cap_1 {
	font-size: 41px !important;
	letter-spacing: -2px;
}

.cap_2 {
	font-size: 20px !important;
	text-align: center;
	margin-bottom: 8% !important;
}

.cap_3 {
    font-size: 33px !important;
	letter-spacing: -1px;
}

.cap_4 {
    font-size: 29px !important;
	letter-spacing: -3px;
}

.cap_5 {
    font-size: 30px !important;
	letter-spacing: 2px;
}

.fund_cap_1 {
    font-size: 27px !important;
    line-height: 1.4;
}

.fund_cap_2 {
    font-size: 18px !important;
    line-height: 1.6;
	font-weight: 800;
}

.read_1 {
	font-size: 45px;
	color: #008ab7;
}

.title {
	font-size: 55px;
	color: #002646;
}

.sub_title {
	font-size: 25px;
    line-height: 32px;
	font-weight: 500;
}

.sub_title_2 {
	font-size: 15px;
    line-height: 32px;
	font-weight: 500;
}

.smi_1 {
  text-align: center;
}

/* =============================================
カラー設定
============================================= */
.red {
	color: red;
}

.bg_1 {
	background-color: #F1F5ED;
}

.bg_2 {
	background-color: #FFF;
}

.bg_3 {
	background-color: #E6EAED;
}

.bg_4 {
	background-color: #F1E8E4;
}

div.wpforms-container-full .wpforms-confirmation-container-full, div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
    background: #d5ddf9;
    border: 1px solid #899e79;
}

/* =============================================
テキストの両側に線を表示するクラス - レスポンシブ対応
============================================= */
.text-with-lines {
  text-align: center;
  font-weight: bold;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: 26px;
margin-bottom:80px;
}

.text-with-lines span {
  background-color: #f2f2f2;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.text-with-lines::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 20%;
  right: 20%;
  height: 2px;
  background-color: #333;
  transform: translateY(-50%);
}

/* スマホ対応（768px以下） */
@media (max-width: 768px) {
  .text-with-lines {
    font-size: 29px; /* フォントサイズを小さく */
	  margin-bottom:40px;
  }
  
  .text-with-lines span {
    padding: 0 15px; /* パディングを小さく */
  }
  
  .text-with-lines::before {
    left: 15%; /* 線の範囲を少し広げる */
    right: 15%;
    height: 1.5px; /* 線を少し細く */
  }
}

/* 小さいスマホ対応（480px以下） */
@media (max-width: 480px) {
  .text-with-lines {
    font-size: 26px; /* さらに小さく */
  }
  
  .text-with-lines span {
    padding: 0 12px;
  }
  
  .text-with-lines::before {
    left: 10%; /* 線の範囲をさらに広げる */
    right: 10%;
    height: 1px; /* 線をさらに細く */
  }
}

/* より確実な代替版 */
.text-with-side-lines {
  display: table;
  width: 100%;
  text-align: center;
  font-weight: bold;
  font-size: 26px;
}

.text-with-side-lines::before,
.text-with-side-lines::after {
  content: '';
  display: table-cell;
  width: 50%;
  height: 2px;
  background: linear-gradient(to right, #333, #333);
  vertical-align: middle;
}

.text-with-side-lines::before {
  background: linear-gradient(to right, #333 0%, #333 calc(100% - 20px), transparent calc(100% - 20px));
}

.text-with-side-lines::after {
  background: linear-gradient(to left, #333 0%, #333 calc(100% - 20px), transparent calc(100% - 20px));
}

/* 代替版のスマホ対応 */
@media (max-width: 768px) {
  .text-with-side-lines {
    font-size: 20px;
  }
  
  .text-with-side-lines::before,
  .text-with-side-lines::after {
    height: 1.5px;
  }
  
  .text-with-side-lines::before {
    background: linear-gradient(to right, #333 0%, #333 calc(100% - 15px), transparent calc(100% - 15px));
  }
  
  .text-with-side-lines::after {
    background: linear-gradient(to left, #333 0%, #333 calc(100% - 15px), transparent calc(100% - 15px));
  }
}

@media (max-width: 480px) {
  .text-with-side-lines {
    font-size: 18px;
  }
  
  .text-with-side-lines::before,
  .text-with-side-lines::after {
    height: 1px;
  }
  
  .text-with-side-lines::before {
    background: linear-gradient(to right, #333 0%, #333 calc(100% - 12px), transparent calc(100% - 12px));
  }
  
  .text-with-side-lines::after {
    background: linear-gradient(to left, #333 0%, #333 calc(100% - 12px), transparent calc(100% - 12px));
  }
}
/* =============================================
ボックススタイル
============================================= */
.box {
    padding: 10%;
    border-radius: 10px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

/* 三角フラッグのベース */
.box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 60px solid #2970c0;
    border-bottom: 40px solid transparent;
    border-top-left-radius: 10px;
    z-index: 2;
}

/* フラッグ内のアイコンやマーク */
.box::after {
    content: "●";
    position: absolute;
    top: 3px;
    left: 8px;
    color: #F1F5ED;
    font-weight: bold;
    font-size: 14px;
    z-index: 3;
}

.box_2 {
    padding: 10%;
    border-radius: 10px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

/* ドットマーク */
.box_2::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 12px;
    width: 12px;
    height: 12px;
    background: #2970c0;
    border-radius: 50%;
    box-shadow: 0 0 0 3px white, 0 0 0 4px #2970c0;
    z-index: 2;
}

.box_3 {
    padding: 10%;
    padding-top: 15%;
    text-align: center;
    border-radius: 10px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 20px;
}

/* 四角形バッジ - 中央配置 */
.badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #2970c0;
    color: white;
    padding: 6px 16px;
    font-size: 17px;
    letter-spacing: 2px;
    font-weight: bold;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 2;
    white-space: nowrap;
}

/* =============================================
ブロック装飾
============================================= */
/* Q&Aマーク */
.swell-block-faq .faq_q:before {
    background-color: #2970c0 !important;
}

/* STEPラベルの文字色を変更 */
.swell-block-step__number .__label {
    color: #2970c0 !important;
}

/* after疑似要素の色を変更 */
.is-style-big>.swell-block-step__item>.swell-block-step__number:after {
	font-size: 42px;
    color: #2970c0;
}

/* =============================================
ボタンスタイル
============================================= */
/* SWELLボタンのホバー効果 */
.swell-block-button.green_ .swell-block-button__link {
  transition: all 0.3s ease;
}

.swell-block-button.green_ .swell-block-button__link:hover {
  background-color: white !important;
  border: 2px solid #27AE60 !important;
  color: #27AE60 !important;
}

.swell-block-button.green_ .swell-block-button__link:hover span {
  color: #27AE60 !important;
}

.swell-block-button.green_.is-style-btn_normal .swell-block-button__link:hover {
  background-color: white !important;
  border: 2px solid #27AE60 !important;
  color: #27AE60 !important;
}

.swell-block-button.green_.is-style-btn_normal .swell-block-button__link:hover span {
  color: #27AE60 !important;
}

/* 問い合わせ送信ボタン */
div.wpforms-container-full .wpforms-form .wpforms-submit-container {
    text-align: center;
}

div.wpforms-container-full .wpforms-form button[type=submit] {
    background: #2ecc71 !important;
}

div.wpforms-container-full .wpforms-form button[type=submit]:hover {
    background: #fff !important;
    color: #2ecc71 !important;
    border: 2px solid #2ecc71;
    transition: 0.3s;
}

.wpforms-form button[type=submit] {
    background-color: #27ae60 !important;
    border-color: #27ae60 !important;
    border-radius: 50px !important;
    transition: background 0.3s ease-in-out;
}

.wpforms-form button[type=submit]:hover {
    background-color: #27ae60 !important;
}

/* SWELLボタン 装飾*/
.is-style-btn_line a:hover {
    background-color: #27ae60;
}

/* =============================================
装飾パーツ
============================================= */
.fund-number-simple-dotted {
    color: #666;
    font-weight: 800;
    font-size: 0.8em;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-bottom: 2px dotted #666;
    padding-bottom: 1px;
}

.fund-number-simple-dotted i {
    color: #666;
    font-size: 0.8em;
}

.fund-number-underline i {
    color: #4f46e5;
    font-size: 1em;
}

/* =============================================
ロゴ・画像
============================================= */
.logo {
	padding-top: 40px;
	width: 95%;
	max-width: 220px;
	margin-left: auto;
	margin-right: auto;
	display: block;
	padding-bottom: 30px;
}

/* =============================================
マップ装飾
============================================= */
.google-map iframe {
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
  margin-bottom: 150px !important;
}

.google-map {
	padding-bottom: 30px;
}

/* =============================================
フッター
============================================= */
.ft-logo {
	width: 36%;
}

.ft-mt {
	margin-top: 0px;
}

.ft-txt {
	font-size: 80%;
}

.your-specific-footer-class a:hover {
    color: #666 !important;
}

/* フッターリンク装飾 */
.l-footer a {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}
/*
.l-footer a:hover {
    color: #066AAB !important;
    text-decoration: underline !important;
    opacity: 0.9 !important;
}

/* より高級感のあるゴールドグラデーション */
/*
#footer::after {
    content: "";
    display: block;
    width: 100vw;
    height: 15px;
    background: linear-gradient(135deg, #CD853F 0%, #B8860B 30%, #8B6914 60%, #654321 100%);
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
}
*/

/* =============================================
タブレット用メディアクエリ（768px〜1024px）
============================================= */
@media (min-width: 768px) and (max-width: 1024px) {
    /* メインビジュアル - タブレット専用設定 */
    .p-mainVisual__slideTitle {
        font-size: 50px !important;           /* タブレット用フォントサイズ */
        bottom: -80px !important;             /* タブレット用下からの距離 */
        left: 40px !important;                /* タブレット用左からの距離 */
    }
    
    /* より強力なセレクタでタブレット設定を適用 */
    .swiper-slide .p-mainVisual__slideTitle,
    .p-mainVisual .p-mainVisual__slideTitle,
    .p-mainVisual__slideTitle[style] {
        font-size: 45px !important;
        bottom: -70px !important;
        left: 0px !important;
    }
    
    /* ロゴ */
    .logo {
        padding-top: 50px;
        width: 90%;
        max-width: 280px;
    }
    
    /* タイトル・キャプション */
    .title {
        font-size: 55px;
    }
    
    .sub_title {
        font-size: 35px;
        line-height: 50px;
    }
    
    .sub_title_2 {
        font-size: 27px;
        line-height: 50px;
    }
    
    .caption {
        font-size: 25px;
    }
    
    /* フッター */
    .ft-mt {
        margin-top: 20px;
    }
}

/* =============================================
デスクトップ用メディアクエリ（1025px以上）
============================================= */
@media screen and (min-width: 1025px) {
    /* メインビジュアル - PC専用設定 */
    .p-mainVisual__slideTitle {
        font-size: 65px !important;
    }
    
    /* より強力なセレクタでPC設定を適用 */
    .swiper-slide .p-mainVisual__slideTitle,
    .p-mainVisual .p-mainVisual__slideTitle,
    .p-mainVisual__slideTitle[style] {
        font-size: 65px !important;
    }
    
    /* ロゴ */
    .logo {
        padding-top: 60px;
        width: 27%;
        max-width: 300px;
    }
    
    /* タイトル */
    .title {
        font-size: 70px;
    }
    
    .sub_title_2 {
        font-size: 25px;
    }
    
    /* フッター */
    .ft-mt {
        margin-top: 20px;
    }
}

/* =============================================
スマホ用メディアクエリ（767px以下）
============================================= */
@media screen and (max-width: 767px) {
    /* カラム順序変更 */
    .swell-col-reverse .swell-block-columns__inner {
        flex-direction: column-reverse;
    }
    
    /* ボックスマージン調整 */
    .swell-col-reverse .swell-block-column .box_3 {
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }
    
    .box_3 {
        margin-top: 30px;
    }
    
    /* メインビジュアル - スマホ専用設定 */
    .p-mainVisual__slideTitle {
        font-size: 32px !important;              /* スマホ用フォントサイズ */
        bottom: -30px !important;                /* スマホ用下からの距離 */
        left: 20px !important;                   /* スマホ用左からの距離 */
    }
    
    /* より強力なセレクタでスマホ設定を適用 */
    .swiper-slide .p-mainVisual__slideTitle,
    .p-mainVisual .p-mainVisual__slideTitle,
    .p-mainVisual__slideTitle[style] {
        font-size: 32px !important;
        bottom: -40px !important;
        left: 7px !important;
    }
    
    /* キャプション・テキスト */
    .cap_1 {
        font-size: 22px !important;
    }
    
    .cap_3 {
        font-size: 24px !important;
        letter-spacing: -3px;
    }
    
    .cap_5 {
        font-size: 22px !important;
        line-height: 30px;
        letter-spacing: 2px;
    }
    
    .fund_cap_1 {
        font-size: 22px !important;
        text-align: center;
    }
    
    .fund-number-simple-dotted {
        margin-bottom: 10px;
    }
    
    .read_1 {
        font-size: 30px;
    }
}


/* =============================================
テーブル幅カスタムスタイル
============================================= */
/* 全デバイス共通のテーブル幅設定 */
.table_width1-10 tr:nth-child(2) td:nth-child(1), .table_width1-10 tr:nth-child(2) th, .table_width2-10 tr:nth-child(2) td:nth-child(2), .table_width3-10 tr:nth-child(2) td:nth-child(3), .table_width4-10 tr:nth-child(2) td:nth-child(4) {width: 10% !important;}
.table_width1-15 tr:nth-child(2) td:nth-child(1), .table_width1-15 tr:nth-child(2) th, .table_width2-15 tr:nth-child(2) td:nth-child(2), .table_width3-15 tr:nth-child(2) td:nth-child(3), .table_width4-15 tr:nth-child(2) td:nth-child(4) {width: 15% !important;}
.table_width1-20 tr:nth-child(2) td:nth-child(1), .table_width1-20 tr:nth-child(2) th, .table_width2-20 tr:nth-child(2) td:nth-child(2), .table_width3-20 tr:nth-child(2) td:nth-child(3), .table_width4-20 tr:nth-child(2) td:nth-child(4) {width: 20% !important;}
.table_width1-25 tr:nth-child(2) td:nth-child(1), .table_width1-25 tr:nth-child(2) th, .table_width2-25 tr:nth-child(2) td:nth-child(2), .table_width3-25 tr:nth-child(2) td:nth-child(3), .table_width4-25 tr:nth-child(2) td:nth-child(4) {width: 25% !important;}
.table_width1-30 tr:nth-child(2) td:nth-child(1), .table_width1-30 tr:nth-child(2) th, .table_width2-30 tr:nth-child(2) td:nth-child(2), .table_width3-30 tr:nth-child(2) td:nth-child(3), .table_width4-30 tr:nth-child(2) td:nth-child(4) {width: 30% !important;}
.table_width1-35 tr:nth-child(2) td:nth-child(1), .table_width1-35 tr:nth-child(2) th, .table_width2-35 tr:nth-child(2) td:nth-child(2), .table_width3-35 tr:nth-child(2) td:nth-child(3), .table_width4-35 tr:nth-child(2) td:nth-child(4) {width: 35% !important;}
.table_width1-40 tr:nth-child(2) td:nth-child(1), .table_width1-40 tr:nth-child(2) th, .table_width2-40 tr:nth-child(2) td:nth-child(2), .table_width3-40 tr:nth-child(2) td:nth-child(3), .table_width4-40 tr:nth-child(2) td:nth-child(4) {width: 40% !important;}
.table_width1-45 tr:nth-child(2) td:nth-child(1), .table_width1-45 tr:nth-child(2) th, .table_width2-45 tr:nth-child(2) td:nth-child(2), .table_width3-45 tr:nth-child(2) td:nth-child(3), .table_width4-45 tr:nth-child(2) td:nth-child(4) {width: 45% !important;}
.table_width1-50 tr:nth-child(2) td:nth-child(1), .table_width1-50 tr:nth-child(2) th, .table_width2-50 tr:nth-child(2) td:nth-child(2), .table_width3-50 tr:nth-child(2) td:nth-child(3), .table_width4-50 tr:nth-child(2) td:nth-child(4) {width: 50% !important;}

/* デスクトップ専用のテーブル幅設定 */
@media screen and (min-width: 1025px) {
    .table_width1-15pc tr:nth-child(2) td:nth-child(1), .table_width1-15pc tr:nth-child(2) th, .table_width2-15pc tr:nth-child(2) td:nth-child(2), .table_width3-15pc tr:nth-child(2) td:nth-child(3), .table_width4-15pc tr:nth-child(2) td:nth-child(4) {width: 15% !important;}
    .table_width1-20pc tr:nth-child(2) td:nth-child(1), .table_width1-20pc tr:nth-child(2) th, .table_width2-20pc tr:nth-child(2) td:nth-child(2), .table_width3-20pc tr:nth-child(2) td:nth-child(3), .table_width4-20pc tr:nth-child(2) td:nth-child(4) {width: 20% !important;}
    .table_width1-25pc tr:nth-child(2) td:nth-child(1), .table_width1-25pc tr:nth-child(2) th, .table_width2-25pc tr:nth-child(2) td:nth-child(2), .table_width3-25pc tr:nth-child(2) td:nth-child(3), .table_width4-25pc tr:nth-child(2) td:nth-child(4) {width: 25% !important;}
    .table_width1-30pc tr:nth-child(2) td:nth-child(1), .table_width1-30pc tr:nth-child(2) th, .table_width2-30pc tr:nth-child(2) td:nth-child(2), .table_width3-30pc tr:nth-child(2) td:nth-child(3), .table_width4-30pc tr:nth-child(2) td:nth-child(4) {width: 30% !important;}
    .table_width1-35pc tr:nth-child(2) td:nth-child(1), .table_width1-35pc tr:nth-child(2) th, .table_width2-35pc tr:nth-child(2) td:nth-child(2), .table_width3-35pc tr:nth-child(2) td:nth-child(3), .table_width4-35pc tr:nth-child(2) td:nth-child(4) {width: 35% !important;}
    .table_width1-40pc tr:nth-child(2) td:nth-child(1), .table_width1-40pc tr:nth-child(2) th, .table_width2-40pc tr:nth-child(2) td:nth-child(2), .table_width3-40pc tr:nth-child(2) td:nth-child(3), .table_width4-40pc tr:nth-child(2) td:nth-child(4) {width: 40% !important;}
    .table_width1-45pc tr:nth-child(2) td:nth-child(1), .table_width1-45pc tr:nth-child(2) th, .table_width2-45pc tr:nth-child(2) td:nth-child(2), .table_width3-45pc tr:nth-child(2) td:nth-child(3), .table_width4-45pc tr:nth-child(2) td:nth-child(4) {width: 45% !important;}
    .table_width1-50pc tr:nth-child(2) td:nth-child(1), .table_width1-50pc tr:nth-child(2) th, .table_width2-50pc tr:nth-child(2) td:nth-child(2), .table_width3-50pc tr:nth-child(2) td:nth-child(3), .table_width4-50pc tr:nth-child(2) td:nth-child(4) {width: 50% !important;}
}
