/*
Theme Name:kosodate-kagoshima.com
Theme URI:
Description:子育て楽しむマップの子テーマです。
Template:gensen_tcd050
Author:Yamada
Author URI:
Version:2.0
*/





/*=======================================================
        　　　　　サービス紹介ページCSS
  ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/



  body {
  font-family: "Hiragino Sans","Zen Kaku Gothic New",sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  color: #3a3a3a;
}


.single-introduce #left_col{
  margin: 0 0 40px 0;
}

@media (max-width: 768px){
  .single-introduce #left_col{
    margin: 0 0 20px 0;
  }
}



         /*ーーーヘッダーーーー*/

.single-introduce header{
  background-color: #fceeee; /* 薄いピンク背景 */
  margin: 0 calc(50% - 50vw);
  width: 100vw;
}

.header_container {
  margin: 0 auto;
  max-width: 1200px;
  width: 90.22556%;
  padding: 25px 0;
    }

.title-box {
  width: 100%;
  border-left: 10px solid #eb666b;
}

.service-name {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
  text-indent: 25px;
}

.kana-location{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.service-name h1 {
  margin: 0;
  font-size: 40px;
  font-weight: 600;
  color: #3a3a3a;
}

.service-name p {
  font-size: 22px;
  color: #3a3a3a;
}

.service-name .kana{
  font-weight: 600;
}

.location {
  font-size: 22px;
  color: #3a3a3a;
  white-space: nowrap;
}

      /*ーーー　ヘッダー　TB ーーー*/
@media (max-width: 1024px){
  .header_container{
    padding: 15px 0;
  }

  .service-name {
  gap: 20px;
  width: 100%;
  text-indent: 20px;
  }

  .service-name h1 {
  font-size: 28px;
  line-height: 1.5;
  }

  .kana-location{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .service-name p {
  font-size: 16px;
  line-height: 1.5;
  }

}


      /*ーーー　ヘッダー　SP ーーー*/

@media (max-width: 768px){
  .header_container{
    padding: 10px 0;
  }

  .title-box {
  width: 100%;
  border-left: 6px solid #eb666b;
  padding-left: 10px !important;   /* ← 強制的に赤ラインから10px余白 */
  box-sizing: border-box;          /* パディングを含めた幅計算にする */
  }

  .service-name h1,
  .service-name p,
  .kana-location .kana,
  .kana-location .location {
    margin: 0 !important;
    padding: 0 !important;
  }

  .service-name {
  gap: 2px;
  width: 100%;
  text-indent: 0;
  }

  .kana-location{
    display: block;
    gap: 0px;
  }

  .kana-location .kana {
    text-align: left;  /* ひらがなは左寄せ */
  }

  .kana-location .location {
    text-align: right; /* 場所だけ右寄せ */
  }

  .service-name p {
  font-size: 12px;
  }

  .service-name h1 {
  font-size: 28px;
  line-height: 1.4;
  }

  .service-name p {
  font-size: 12px;
  }
}


      /*ーーーセクションーーー*/

.section{
  padding: 50px 0;
  align-items: flex-start;
}


      /*ーーー　セクション　TB ーーー*/
@media (max-width: 1024px){
  .section{
  padding: 30px 20px;
}
}

      /*ーーー　セクション　SP ーーー*/
@media (max-width: 768px){
  .section{
  padding: 20px 0;
}
}

.catchphrase{
  color: #EB666B;
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 40px;
}

      /*ーーー　キャッチフレーズ　TB ーーー*/
@media (max-width: 1024px){
  .catchphrase{
      font-size: 24px;
      margin: 0 0 30px;
      line-height: 1.5;
  }
}

      /*ーーー　キャッチフレーズ　SP ーーー*/
@media (max-width: 768px){
  .catchphrase{
    font-size: 18px;
    margin: 0 0 20px;
    padding-left: 5px;
  }
}


      /*ーーートップ・自己紹介・こだわりーーー*/

.col2{
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: center;
}

/*.intoro{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 40px;
    justify-content: center;
}*/


.col2 .item p{
  font-family: "Zen Kaku Gothic New";
  line-height: 1.8;
}

.col2 .item{
  width: 50%;
}

/* .col2 の中に .col-text しかない場合に適用 */
.col2 .col-text:only-child {
  flex-basis: 90%; /* 幅を90%に */
  margin: 0 auto;    /* 中央寄せ */
}


    /*ーーートップ・自己紹介・こだわり TBーーー*/

@media (max-width: 1024px) {
  .col2 {
    flex-direction: column; /* 縦並び */
    gap: 40px;
  }

  .intro{
    display: flex;
    flex-direction: column-reverse;
  }

  .col2 .col-imgs{
    width: 70%; /* スマホでは横幅いっぱい */
  }

  .col2 .col-text{
    width: 80%;
  }

  .col2 .item p{
    font-size: 16px;
    line-height: 1.4;
  }

  .cat-tag{
    padding: 0;
  }
}

    /*ーーートップ・自己紹介・こだわり SPーーー*/

@media (max-width: 768px) {
  .col2 {
    gap: 20px;
  }

  .col2 .col-imgs{
    width: 100%; /* スマホでは横幅いっぱい */
  }

  .col2 .col-text{
    width: 100%;
  }

  .cat-tag{
    padding: 0;
  }
}


      /*ーーー　h2 ーーー*/

/* === 全体に適用すると便利なスタイル === */
*,
*::before,
*::after {
  box-sizing: border-box; /* paddingやborderを幅の内側に含める */
}


.section h2{
  font-size: 36px;
  font-weight: 400;
  border-bottom: 1px solid #d6d6d6;
  border-left: 10px solid #EB666B;
  padding-left: 35px;
  padding-bottom: 10px;
  padding-top: 10px;
  margin: 0 0 40px;
}

@media (max-width: 1024px){
  .section h2{
    font-size: 24px;
    padding: 10px 0 10px 20px;
    margin: 0 0 20px;
  }
}

@media (max-width: 768px){
  .section h2{
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    background-color: #EB666B;
    margin: 0 calc(50% - 50vw); /* 画面いっぱいに広げる */
    width: 100vw; /* ビューポート幅に合わせる */
    padding: 10px 0 10px 20px; /* 左余白だけつける */
    margin-bottom: 40px;
    box-sizing: border-box; /* パディング込みで幅計算 */
  }

  .table-info h2 {
    padding: 10px 15px;
    margin: 0;
    width: 100%;          /* ←全幅に */
    box-sizing: border-box; /* ←はみ出し防止 */
  }
}


      /*ーーーおすすめ・クーポンーーー*/


.section_coupon{
  align-items: flex-start;
}

.activities_price{
  padding: 0 40px;
}

.section_coupon p{
  line-height: 1.5;
}

.card{
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  height: auto;
  width: 100%;
  margin: 20px 0 0;
}

.card_title{
  writing-mode: vertical-rl;  /* 縦書き（右から左へ） */
  background-color: #fceeee;
  color: #EB666B;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.4;
  padding: 10px 5px;
  justify-content: center;    /* 上下中央 */
  align-items: center;        /* 左右中央 */
  text-align: center;
}


.card p{
  flex: 1;
  padding: 10px 10px 10px 20px;
  font-size: 24px;
  line-height: 1.4;
  border-bottom: 2px solid #d6d6d6;
  border-right: 2px solid #d6d6d6;
  border-top: 2px solid #d6d6d6;
  height: auto;
  display: flex;
  align-items: center;
}

.card_btn{
  background-color: #fdf7efff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 30px;
  border-bottom: 2px solid #d6d6d6;
  border-right: 2px solid #d6d6d6;
  border-top: 2px solid #d6d6d6;
}

.single-introduce .btn{
  display: inline-block;
  background: linear-gradient(0deg, #f85769ff, #fb9ba2ff);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  border: 1px solid #EB666B;
  border-radius: 4px;
  padding: 10px 30px;
  text-align: center;
  line-height: 1.4;
}

.single-introduce .btn:hover {
  opacity: 0.7; /* ホバー時に透明度を下げる（少し薄くする） */
  color: #fcfcfc;
}

      /*ーーーおすすめ・クーポン TBーーー*/

@media (max-width: 1024px){
  .activities_price{
    font-size: 18px;
  }

  .card p{
    font-size: 18px;
  }

  .card_title{
    font-size: 20px;
  }

  .card_btn{
    padding: 0 20px;
  }

  .btn{
    font-size: 18px;
    padding: 10px 20px;
  }
}



        /*ーーーおすすめ・クーポン SPーーー*/

@media (max-width: 768px){
  .card{
  display: flex;
  flex-direction: column;
  }

  .activities_price{
    font-size: 16px;
    padding: 0;
  }
  
  .card_btn{
    padding: 0 20px;
  }

  .btn{
    font-size: 16px;
    padding: 10px 20px;
  }

  .card_title{
    font-size: 18px;
    padding: 2px 5px;
    writing-mode: horizontal-tb;
}

  .card p{
  flex: 1;
  padding: 10px;
  font-size: 16px;
  line-height: 1.4;
  border-bottom: 0;
  border-right: 1px solid #d6d6d6;
  border-left: 1px solid #d6d6d6;
  border-top: 0;
  height: auto;
  display: flex;
  align-items: center;
  }

  .card_btn{
    background-color: #fdf7efff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 2px;
    border: 1px solid #d6d6d6;
  }

  .card_btn br {
    display: none;
  }


  .btn{
    font-size: 16px;
    padding: 10px 20px;
    text-align: center;
    line-height: 1.4;
  }
}





    /*ーーー基本情報ーーー*/

.section_info tr{
  display: flex;
  align-items: center;
  border-bottom: 1px solid #d6d6d6;
  padding: 25px 45px;
  width: 100%;
}

.section_info th{
  width: 25%;
}

.section_info td{
  font-size: 22px;
  line-height: 1.4;
  text-align: left; /* ← 左寄せ */
  width: 75%;
}

.map-btn{
  display: inline-block;
  background-color: #fcfcfc;
  color: #3a3a3a;
  font-size: 20px;
  font-weight: 500;
  border: 1px solid #b2b2b2;
  border-radius: 4px;
  padding: 8px 20px;
  text-align: center;
  line-height: 1.4;
  margin: 10px 0;
  transition: background-color 0.3s; /* ホバー効果を滑らかに */
}

.map-btn:hover {
  background-color: #d6d6d6;
  color: #3a3a3a;
}

.link-icon{
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap; /* アイコンが多い場合に折り返す */

}

.link-imgs{
  width: 70px;
  height: auto; /* 縦横比を維持 */
}

.link-imgs-hb{
  width: 200px;
  height: auto; /* 縦横比を維持 */
}

      /*ーーー リンクアイコン　ホバー設定 ーーー*/
.link-icon img{
  transition: transform 0.4s ease;
}

.link-icon img:hover {
  transform: scale(1.1); /* 1.0 → 1.1で拡大率調整 */
}

    /*ーーー基本情報 TBーーー*/

@media (max-width: 1024px){
  .section_info tr{
    padding: 20px 30px;
  }

  .section_info td{
    font-size: 18px;
  }

  .map-btn{
    font-size: 16px;
    padding: 5px 20px;
  }

  .link-imgs{
    width: 50px;
  }

  .link-imgs-hb{
    width: 150px;
  }
}

    /*ーーー基本情報 SPーーー*/

@media (max-width: 768px){
  .section_info tr{
    flex-direction: column; /* 縦積みに変更 */
    align-items: flex-start; /* 左寄せに */
    gap: 8px; /* 見出しと内容の間の余白 */
    padding: 15px 10px;
  }

  .section_info th,
  .section_info td {
    width: 100%; /* 横幅を100%に */
  }

  .section_info td{
    font-size: 14px;
    padding-left: 10px; /* 見出しとの区別をしやすくするため少しインデント */
    text-align: left; /* ← 左寄せ */
  }

  .map-btn{
    font-size: 12px;
    padding: 5px 10px;
    margin-bottom: 0;
  }

  .link-icon {
    gap: 20px; /* アイコン間の余白を調整 */
  }

  .link-imgs{
    width: 40px;
  }

  .link-imgs-hb{
    width: 120px;
  }
}


      /*ーーー h4 ーーー*/
h4{
  font-size: 24px;
  font-weight: 500;
  margin: 0px;
  text-align: left;
}

@media (max-width: 1024px){
  h4{
    font-size: 18px;
  }
}

@media (max-width: 768px){
  h4{
    color: #eb666b;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    text-align: left;     /* ←中央から左へ */
  }
}


@media (max-width: 768px){
  #main_col, .inner{
    padding: 0 10px;
  }
}

.cb_content-carousel .excerpt{
  color: #3a3a3a;
}

/* introduce のカスタム投稿ページだけ本文を非表示 */
.post_content {
  display: none;
}


@media screen and (max-width: 1024px) {
    /* 通常時の背景色（全メニュー行統一） */
    #global_menu a,
    #global_menu .menu-item a,
    #global_menu .current-menu-item > a,
    #global_menu .menu-item-home > a {
        background-color: #eaa1a4 !important; /* 通常時の背景色 */
        color: #ffffff !important;            /* 通常時の文字色 */
    }

    /* ホバー時の背景色 */
    #global_menu a:hover,
    #global_menu .menu-item a:hover {
        background-color: #fcecec !important; /* ホバー時の背景色 */
        color: #eaa1a4 !important;            /* ホバー時の文字色 */
    }

    /* ハンバーガーメニュー全体の背景色 */
    #global_menu {
        background-color: #eaa1a4 !important;
        width: 50% !important;
        right: 0 !important;
        left: auto !important;
        transform: translateX(0) !important;
    }
}



/*=======================================================
        　　　　　トップページCSS
  ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

/*  256 検索窓上テキスト　*/
.has_header_content #index_header_search p{
  padding-bottom: 10px;
}

.has_header_content #index_header_search {
    text-align: center;
}

/* お知らせ・新着情報の説明文　文字色 */
.cb_content-carousel .cb_desc {
    color: #3a3a3a;
}


/*　カテゴリの下マージン　*/
.cb_content-category_list ul {
    margin: 30px 0 0 0;
}


/*　カテゴリのアイコンボタンデザイン　*/
#cb_0.cb_content-category_list ul li a{
  border-radius: 20px;
  box-shadow: 5px 5px 10px rgba(0,0,0,0.25);
} 


/*　公共施設・困った時は？のアイコンボタンデザイン　*/
#post_list .article .image {
  border-radius: 20px;
  box-shadow: 5px 5px 10px rgba(0,0,0,0.25);
}


/*　コピーライトの背景色　*/
#copyright {
      background-color: #eaa1a4 !important;
}