/*
Theme Name: IDOL TOKYO NEO
Theme URI: https://idol-tokyo.com/
Description: オリジナルテーマ（アイドル東京ネオ）
Author: IDOL TOKYO
Version: 1.0
*/


/*=======================================
スタイル名（日本語） - スタイル名（英語） -
=======================================*/

/*  スタイル名（日本語） - スタイル名（英語） -
=======================================*/

/*  スタイル名（日本語） - スタイル名（英語） - */
@import url("css/normalize.css"); 



body {
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-family: 'AvenirNextLTW01-Regular', Arial, 'AxisStd-Light', "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
  color: #333;
  background: linear-gradient(to bottom, #ffffff,#f7faff );
  position: relative;
  overflow-x: hidden;
}


h2{ font-size: 2.2rem; }
h3{ font-size: 2rem; }
img{ max-width: 100%; height:auto; }

.heading-white {
  color: white;
}

/*=======================================
リンク - Link -
=======================================*/
a,a:active{
  color: black;
  text-decoration: none;
}
a:hover,a:active,a:focus,a:link{
  color: black;
}
/*=======================================
その他 - Other -
=======================================*/
/*  TOPへ戻るリンク - Back To Top Link -
=======================================*/
/* #pageTop{
  width: 70px;
  height: 60px;
  background: #333;
  opacity: 0.7;
  position: fixed;
  bottom: -5px;
  right: 10px;
  border-radius: 5px;
  color: white;
  text-align: center;
  line-height: 60px;
}
#pageTop:hover{
  cursor: pointer;
  text-decoration: none;
} */

#fixedButtons {
  position: fixed !important;
  bottom: 10px !important;
  right: 10px !important; /* 右下に固定 */
  left: auto !important; /* 万が一 `left` が干渉していた場合に無効化 */
  z-index: 99;
}

.btn-fixed {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  text-align: center;
  line-height: 50px;
  font-size: 24px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  opacity: 0.8;
  transition: background 0.3s, opacity 0.3s;
}

.btn-fixed:hover {
  opacity: 1;
  text-decoration: none;
}

/* ボタンの個別デザイン */
#pageTop {
  background: #333;
}
.phone {
  background: #4CAF50; /* 緑：電話 */
}
.web {
  background: #007bff; /* 青：WEB予約 */
}
.twitter {
  background: #1DA1F2; /* 水色：Twitter */
}
.line {
  background: #06C755; /* ライン緑 */
}
.recruit {
  background: #FF9800; /* オレンジ：求人 */
}

/*  もっと見るリンク - Link More -
=======================================*/
.link-more{
  padding: 5px 10px;
  box-sizing: border-box;
  font-size: 0.7rem;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  position: relative;
  right: 0;
  background: black;
  border: 1px solid black;
  color: white !important;
  float: right;
}
.link-more:hover{
  text-decoration: none;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  background: white;
  color: black !important;
  border: 1px solid black;
  box-sizing: border-box;
}


body.theme1 .link-more{
  background: black;
  border: 1px solid black;
  color: white;
}
body.theme1 .link-more:hover{
  background: white;
  color: black;
  border: 1px solid black;
  box-sizing: border-box;
}
.fix-width{
  width: 100%;
}


/*=======================================
フォント - Fonts -
=======================================*/
/* serif */
.fnt-1{
  font-family: 'Cinzel', serif;
}
/* sans serif */
.fnt-2{
  font-family: 'Josefin Sans', sans-serif;
}
/* number */
.fnt-3{
  font-family: 'Noto Sans', sans-serif;
}
.bold{
  font-weight: bold;
}

/*=======================================
色 - Color -
=======================================*/

/*  背景色 - Background Color -
=======================================*/
.bgColor-main{
  background: white;
}



/*=======================================
ボーダー - Border -
=======================================*/
.bd-top{
  border-top: 3px solid black;
}
.bd-color-theme1{
  border-color: black;
}


/*=======================================
ユーティリティ - Utility -
=======================================*/
.txt-right{
  text-align: right;
}
.txt-left{
  text-align: left;
}
.txt-center{
  text-align: center;
}
.mt15{
  margin-top: 15px;
}

/*=======================================
サイト幅 - Site Width -
=======================================*/
.ctn-area > .container.fill-width{
  width: 100%;
}
.contents-section{
  padding: 10px 0;
}

/*=======================================
ヘッダー - Header -
========================================*/

#header .header-group{
  height: 60px 
    ;   display: table;
  width: 100%;
}
.header-group .v-middle{
  display: table-cell;
  vertical-align: middle;
}
.headLogo{
  width: 150px;
}
.headLogo img{
  width: 140px;
}
/*  下層ページ - Under Page -
=======================================*/
.page-under #header{
  border-bottom: 3px solid black;
} 

/*=======================================
ナビゲーション - Nav -
=======================================*/

/*  ピル型ナビゲーション - Nav Pills -
=======================================*/
.nav-pills > li{
  border-right: 1px solid #aaa;
}
.nav-pills > li:last-child{
  border-right: none;
}
.nav-pills>li>a{
  padding-top: 5px;
  padding-bottom: 2px;
  border-radius: none;
}
.nav-pills>li>a:hover{
  background: none;
  text-decoration: underline;
}

/*  SNSナビゲーション - Nav SNS -
=======================================*/
.nav-sns .items{
  font-size: 20px;
}


/*=======================================
パネル - Panel -
=======================================*/
.page-cast-list .panel{
  min-height: 280px;
}
.panel{
  border-radius: 0;
  box-shadow: none;
}
.panel-naked{
  padding: 0;
  background: none;
  box-shadow: none;
}
.panel-naked .panel-body{
  padding: 0;
  margin-bottom: 10px;
}
.panel .panel-foot{
  font-weight: bold;
}
/*  シンプルパネル - Simple Panel -
=======================================*/
.panel-simple .panel-title{
  font-size: 1rem;
  text-align: center;
  padding: 5px 0;
}
.panel-simple .panel-body{
  padding: 0;
}
.panel-simple .panel-img{
  border: 1px solid black;
}

.product-list .panel-body{
  background: black;
}
/* プロダクトリスト用パネル */
.product-list .panel-link,
.product-list .panel-link:hover{
  transition: all 0.5s;
}
.product-list .panel-link:hover{
  opacity: 0.7;
}
/*  ランキング用パネル - Ranking Panel -
=======================================*/
.panel-ranking .panel-head h3{
  font-size: 1rem;
  margin: 0;
}
.panel-ranking .panel-head .lsf-icon{
  font-size: 1.5rem;
}
.panel-ranking .panel-body .innrTxt{
  text-align: center;
}
.panel-ranking.panel-ranking-no1 .panel-head h3{
  font-size: 1.5rem;
}
.panel-ranking.panel-ranking-no2 .panel-head h3{
  font-size: 1.3rem;
}
.panel-ranking.panel-ranking-no3 .panel-head h3{
  font-size: 1.1rem;
}
#top-ranking .panel{
  min-height: 350px;
  margin-bottom: 0;
}

/*  リスト用パネル - List Panel -
=======================================*/
.panel-list{
  border-bottom: 1px solid #dfdfdf;
  margin-bottom: 20px;
}
.panel-list .date{
  font-size: 1rem;
  color: #bbb;
}
.panel-list .panel-title{
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 2rem;
}
.panel-list .panel-txt{
  font-size: 1.2rem;
  padding-top: 10px;
}
.panel-list .panel-body{
  margin-bottom: 0;
}
.panel-list .panel-foot{
  padding: 10px 0;
  padding-bottom: 20px;
  position: relative;
  overflow: hidden;
}
/*  no-imageパネル - No Image Panel -
=======================================*/
.panel.panel-no-image{
  background: black;
  min-height: 700px;
  text-align: center;
  color: white;
  line-height: 700px;
  font-size: 3em;
}
.panel.panel-no-image:after{
  content: 'NO IMAGE';
}
.panel.panel-no-img{
  background:black; text-align:center; color:white; display:block;
}
.panel.panel-small{
  height:250px;
  line-height:250px;
}

/*=======================================
ボタン - Button -
=======================================*/
.btn{
  border-radius: 0;
  transition: 0.5s;
}
.btn:hover{
  transition: 0.5s;
}
.btn-big {
  padding: 20px 80px;
}
.btn-default {
  color: white !important;
  background-color: black;
  border-color: black;
}
.btn-default:hover {
  color: black !important;
  background-color: white;
}
.btn-nagative {
  color: black !important;
  background-color: #f1f1f1;
  border-color: #f1f1f1;
}
.btn-nagative:hover {
  color: black !important;
  background-color: white;
}
.btn-flex{
  width: 100%;
}
.btn-vertical{
  width: 25%;
  margin: 0 auto;
}
.btn-vertical .btn{
  display: block;
  margin-bottom: 30px;
}

/*=======================================
ボタン - Button -（変更後）
=======================================*/
.auth-button-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 20px auto;
}

.auth-btn {
  display: inline-block;
  padding: 14px 50px; /* ← 小さくした */
  font-size: 16px;    /* ← 少し小さくした */
  font-weight: bold;
  text-align: center;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 250px;   /* ← 少し小さくした */
}

.enter-btn {
  background-color: black;
  color: white;
  border: 2px solid black;
}

.enter-btn:hover {
  background-color: white;
  color: black;
}

.exit-btn {
  background-color: white;
  color: black;
  border: 2px solid black; /* ← 黒の枠線に修正 */
}

.exit-btn:hover {
  background-color: #f9f9f9; /* ← hoverでうっすら変化 */
}


/*=======================================
ページネーション - Pagination -
=======================================*/
.pagenation{
  overflow: hidden;
  margin-top: 20px;
}
.pagenation ul{
  float: left;
  position: relative;
  left: 50%;
  list-style: none;
  padding-left: 0;
}
.pagenation ul li{
  float: left;
  position: relative;
  right: 50%;
  padding: 2px 10px;
  border-right: 1px solid black;
}
.pagenation ul li:last-child{
  border-right: none;
}
.pagenation ul li.active{
  color: #888;
}
.pagenation li a, .pagenation li span{
  border: none;
  border-radius: 0;
  color: black;
}
.pagenation li a:hover,.pagenation li a:active,.pagenation li a:focus,.pagenation li a:visited, .pagenation li span:hover{
  border-radius: 0;
  color: black;
}

/*=======================================
ラベル - Label -
=======================================*/
.label{
  padding: 3px 8px;
  border-radius: 0;
}
.label-theme1{
  background: #ccc;
}
.label-theme2{
  background: #ac0000;
}
.label-theme3{
  background: #0971B2;
}

.panel-list .panel-head .label{
  font-size: 0.8rem;
  margin-right: 5px;
}

/*=======================================
テーブル - Table -
========================================*/
table{
  border: 1px solid black;
  margin: 0 auto;
  font-size: 1rem;
  margin-bottom: 20px;
}
table tr{
  border-bottom: 1px solid black;
}
table tr:last-child{
  border-bottom: none;
}
table tr td, table tr th{
  padding: 10px 30px;
}
table tr th{
  border-right: 1px solid black;
  font-weight: normal;
  text-align: center;
}




/*=======================================
フォントアイコン - Font Awsome -
=======================================*/
.fa.fa-left{
  margin-right: 10px;
}
/* .btn-flex{
  display: flex;
  align-items: center;
  gap: 10px;
}

.fab{
  margin-right: 10px !important;
}



/*=======================================
トップページ - Top Page -
=======================================*/
.page-top .ctn-area .area-head .title,
.page-top .ctn-area .area-body .title{
  margin-bottom: 25px;
  position: relative;
}

.page-top .ctn-area .area-head .subTitle:before,
.page-top .ctn-area .area-head .subTitle:after,
.page-top .ctn-area .area-body .subTitle:before,
.page-top .ctn-area .area-body .subTitle:after{
  content: ' ー ';
}
.page-top .ctn-area.center .area-head{
  text-align: center;
}
/*  トップバナー - Top Baner -
=======================================*/
.flexslider-top-main{
  position: relative;
}
/* スライダーコントロール - Flex Slider Controll - */
.flexslider-top-main .flex-control-nav{
  bottom: 5px;
}
.flex-direction-nav a{
  display: none;	
}

.titleBack {
  position: absolute;
  bottom: 0;
  z-index: 10;
}
.titleBack .innrTxt{
  position: absolute;
  right: 10px;
  width: 170px;
  text-align: right;
  color: white;
  line-height: 1em;	
}
.map .area-body{
  padding: 50px;
}

/*  本日出勤のキャスト - Todays Cast -
=======================================*/
#top-today-cast .panel{
  min-height: 260px;
  overflow: hidden;
  display: block;	
}


/*=======================================
下層ページ - Sub Page -
=======================================*/
.page-under{

}

.ctn-main{
  padding-bottom: 30px;
}
.page-title{
  padding: 20px;
}

/*=======================================
投稿ページ - post content -
=======================================*/
.post-content img{
  max-width: 100%;
  height: auto;
}
.post-contents:first-child .post-title h1{
  margin-top: 0;
}

/*=======================================
サイドバー - Sidebar -
=======================================*/
/* ウィジェットタイトル - widget title - */
#sidebar-blog h2.widget-title{
  font-size: 1.2em;
}
#sidebar-blog ul{
  list-style: none;
  padding-left: 15px;
}

/*=======================================
検索フォーム - Search Form -
=======================================*/
#searchform input[type="text"]{
  border: 1px solid black;
  padding: 6px;
  box-sizing: border-box;
}
#searchform input[type="submit"]{
  background: black;
  vertical-align: top;
  color: white;
}


/*=======================================
Contact Form 7
=======================================*/
.wpcf7-form{
  width: 50%;
  margin: 0 auto;
}
.wpcf7-form input, .wpcf7-form textarea{
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid black;
}
.wpcf7-form input[type="submit"]{
  background: black;
  color: white;
}


/*=======================================
メディアクエリ - Media Query -
=======================================*/
@media screen and (min-width: 769px) {
  .headLogo img{
    margin-top: -5px;
  }
}
@media screen and (max-width: 768px) {
  /* ヘッダーナビゲーション */
  #header nav{
    display: none;
  }
  #sp-menu{
    display: block;
  }
  /* sns */
  .nav-sns{
    float: right;
    margin-top: 11px;
    margin-right: 15px;
  }
  .full-width .container,
  .full-width .container .row,
  .full-width .container .row > div
  {
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .page-top .ctn-area .area-body .row{
    margin-right:-5px;
  }
  .page-top .ctn-area .area-body .row div[class^="col"]{
    padding-right: 5px;
  }
  .page-top .ctn-area .area-head .title .link-more{
    padding-right: 15px;
  }
  .map iframe{
    height: 250px;
  }


@media screen and (max-width: 768px) {
  /* フッターのナビのみ非表示 */
  #footer-nav {
      display: none;  
  }

  /* フッター本体は表示 */
  .footer-group {
      display: block;  
  }
}


 @media screen and (max-width: 768px) {
  .footer-group {
    display: block; /* ← フッターが再表示される */
  }
}

  
  .footLogo{
    padding-top: 10px;
  }
  /* btn */
  .btn-vertical{
    width: 40%;
  }
  #top-ranking .panel{
    min-height: 450px;
  }
}
@media screen and (max-width: 736px) { /* 736px以下用（スマートフォン用）の記述 */	
	#top-access .btn-default{
		margin: 0 !important;
		margin-bottom: 15px !important;
		padding: 10px;
	}
}
@media screen and (max-width: 480px) {
  html,body{
    font-size: 12px;
  }
  .contents-section{
    padding-left: 15px;
    padding-right: 15px;
  }
  .map .area-body{
    padding: 20px;
  }
  .page-top .ctn-area .area-head .title{
    text-align: left;
  }
  .page-top .ctn-area .area-head .subTitle{
    margin-left: 0;
    display: block;
  }
  .page-top .ctn-area .area-head .title .link-more{
    top: 0;
  }
  .page-top .ctn-area .area-body .row{
    margin-right: 0; 
  }
  .page-top .ctn-area .area-body .row div[class^="col"]{
    padding-right: 0;
  }

  .hide-sp{
    display: none;
  }

  /*top ranking*/
  #top-ranking .panel{
    min-height: 270px;
  }

  /* ボタン */
  .btn{
    padding: 10px;
  }
  .btn-big {
    padding: 20px 80px;
  }
  .btn-flex{
    font-size: 15px;
    margin-bottom: 10px 0 !important;
  }
  .btn-vertical{
    width: 100%;
  }

  /* table */
  table{
    width: 100%;
  }
  table tr th, table tr td{
    padding: 5px;
  }

  .titleBack{
    border-left-style: none !important;
    border-left: none !important;
    
  }
  .titleBack .innrTxt{
    right: 5px;
  }

  .wpcf7-form{
    width: 100%;
    margin: 0 auto;
  }

  /* product-list */
  .product-list .panel-simple{
    min-height: 220px; 
  }

  /* serach form */
  #searchform input[type="text"]{
    padding: 11.5px;
  }

  #top-today-cast .panel{
    min-height: 180px;
  }
  #top-today-cast {
    margin-bottom: 8px;
  }

}
@media screen and (max-width: 375px) {
  #top-today-cast .panel{
    min-height: 160px;
    margin-bottom: 0;
  }
}
@media screen and (max-width: 320px) {

  /* product-list */
  .product-list .panel-simple{
    min-height: 170px; 
  }
  /*top ranking*/
  #top-ranking .panel{
    min-height: 210px;
  }
  #top-today-cast .panel{
    min-height: 140px;
  }
  #top-today-cast{
    font-size: 11px;
  }
}

/*  kokokara */
/* ▼ 共通レイアウト：下部固定ボタン全体 */
#fixedButtons {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 9999;
  box-sizing: border-box;
}

/* ▼ 各ボタン共通設定 */
.btn-fixed {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #fff !important;
  text-decoration: none;
  font-size: 16px;
  padding: 10px 0;
  background: rgba(0, 0, 0, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* 最後のボタンは右ボーダーなし */
.btn-fixed:last-child {
  border-right: none;
}

/* ホバー時の背景変化 */
.btn-fixed:hover {
  background-color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

/* ▼ スマホ用レスポンシブ */
@media (max-width: 768px) {
  #fixedButtons {
    height: 50px;
  }

  .btn-fixed {
    font-size: 14px;
    padding: 10px 0;
  }
}

@media (max-width: 480px) {
  .btn-fixed {
    font-size: 12px;
    padding: 12px 0;
  }
}

/* ▼ ページトップボタン専用調整 */
#pageTop {
  background: none !important;
  border-radius: 0 !important;
}

#pageTop::before,
#pageTop::after {
  content: none !important;
}


#pageTop {
    background: none !important;  /* 不要な背景を無効化 */
    border-radius: 0 !important;  /* 丸いデザインを解除 */
}

#pageTop::before,
#pageTop::after {
    content: none !important;    /* 疑似要素での「丸」を削除 */
}
#fixedButtons .btn-fixed {
    color: #fff !important;    /* IDセレクタで優先度を引き上げ */
}
.btn-fixed {
    border-radius: 0 !important;  /* 丸みを完全に無効化 */
    background: rgba(0, 0, 0, 0.4); /* 楕円が消えない場合の保険 */
    box-shadow: none !important;  /* ぼんやりとした影を完全無効化 */
}

.btn-fixed {
    font-size: 16px;             /* デスクトップ時の標準文字サイズ */
}

@media (max-width: 768px) {
    .btn-fixed {
        font-size: 14px;         /* スマホ時の文字サイズを小さく */
        padding: 10px 0;         /* 余白を減らして文字が詰まらないように */
    }
}

@media (max-width: 480px) {
    .btn-fixed {
        font-size: 12px;         /* さらに狭い画面ではさらに文字サイズを小さく */
        padding: 8px 0;          /* 余白をさらに小さく */
    }
}

/* タイトルの背景 (黒い枠) */
.titleBack {
    position: absolute !important;     /* 優先度を上げて配置 */
    bottom: 0;
    left: 0;
    width: 100% !important;            /* 画像と同じ幅にする */
    background-color: rgba(0, 0, 0, 0.4) !important;  /* 黒の不透明度70% */
    min-height: 60px !important;       /*  高さの最小値を確保 */
    padding: 15px 0 !important;        /* 上下の余白を調整 */
    box-sizing: border-box !important; /* パディング込みの幅を維持 */
    border-bottom-left-radius: 8px;    /* 左下の角丸 */
    border-bottom-right-radius: 8px;   /* 右下の角丸 */
    z-index: 2 !important;
    display: flex;                     /* テキストの中央配置用 */
    align-items: center;               /* 縦方向の中央揃え */
    justify-content: center;           /* 横方向の中央揃え */
}

/* テキストのデザイン */
.innrTxt {
    width: 100% !important;            /* テキストを枠内いっぱいに */
    color: #fff !important;            /* 文字色は白 */
    text-align: center !important;     /* テキスト中央配置 */
    font-size: 14px !important;        /* 文字サイズ */
    font-weight: bold !important;      /* 強調 */
    line-height: 1.8 !important;       /* 行間をやや広く */
    margin: 0 auto !important;
}

/* スマホ対応 (高さを調整) */
@media (max-width: 768px) {
    .titleBack {
        min-height: 50px !important;   /* スマホではやや小さめ */
        padding: 12px 0 !important;
    }

    .innrTxt {
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .titleBack {
        min-height: 45px !important;
        padding: 10px 0 !important;
    }

    .innrTxt {
        font-size: 11px !important;
    }
}


/* ====== コンタクトフォーム ====== */
.form-block {
  border: 1px solid #ccc;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 6px;
  background-color: #f9f9f9;
}

.form-block label {
  font-weight: bold;
  margin-bottom: 8px;
  display: block;
}

.wpcf7-list-item {
  display: block;
  margin-bottom: 6px;
}

.hidden {
  display: none;
}



/* ===================================
  ヘッダー・フッター 境界線カラー
=================================== */

header {
  border-bottom: 2px solid #4296e4 !important;
}
footer {
  border-top: 2px solid #4296e4 !important;
}


/* ===================================
  リクルート
=================================== */
/* ========== レイアウト ========== */
.recruit-container {
  max-width: 1000px;
  margin: 3rem auto;
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* ========== ヘッダー ========== */
.recruit-header {
  text-align: center;
  margin-bottom: 3rem;
}

.recruit-header h1 {
  font-size: 2.5rem;
}

.recruit-header h2 {
  font-size: 1.8rem;
  margin-top: 1rem;
}

/* ========== セクションタイトル ========== */
.section-title {
  font-size: 1.5rem;
  padding-left: 1rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* ========== テーブル ========== */
.recruit-table {
  width: 100%;
  border-collapse: collapse;
  background: #fafafa;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.recruit-table th,
.recruit-table td {
  border: 1px solid #ccc;
  padding: 1rem;
}

.recruit-table th {
  background-color: #e0f2fc;
  font-weight: bold;
}

/* ========== 情報ボックス ========== */
.recruit-box {
  background-color: #BBE7FA;
  border: 2px solid #4296e4;
  border-radius: 10px;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
}

.recruit-box-title {
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

/* ========== タブ ========== */
.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tab-button {
  background: #ffffff;
  border: 2px solid #4296e4;
  color: #4296e4;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: bold;
}

.tab-button.active {
  background-color: #4296e4;
  color: #ffffff;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadein 0.3s ease;
}

@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ========== 登録ボタンセクション ========== */
.entry-buttons {
  text-align: center;
  margin-top: 3rem;
}

.entry-button-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

/* 共通ボタンスタイル */
.entry-button,
.entry-button.line,
.entry-button.web {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  color: #fff !important;            /* ← 強制的に白文字 */
  background-color: #4296e4;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* ホバー効果 */
.entry-button:hover {
  background-color: #2e7fcd;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}


/* ========== 共通中央揃え ========== */
.recruit-container h1,
.recruit-container h2,
.recruit-container h3,
.recruit-container h4,
.recruit-container .recruit-box-title,
.recruit-container th,
.recruit-container td {
  text-align: center;
}

/* ========== レスポンシブ ========== */
@media screen and (max-width: 768px) {
  /* セクション見出し（h3など） */
  .section-title {
    font-size: 1.2rem;
  }

  /* テーブル内文字サイズ */
  .recruit-table {
    font-size: 1rem;
  }

  /* 囲いタイトルも少し小さくする */
  .recruit-box-title {
    font-size: 1.2rem;
  }

  /* 登録ボタン調整 */
  .entry-button {
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
  }
}

.main-content-wrapper {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
  padding: 40px;
  width: 90vw; /* ← 80vw → 90vw に拡張 */
  margin: 60px auto;
  position: relative;
  z-index: 1;
  border: none;
}


.main-content-wrapper .container,
.main-content-wrapper .container-flex {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.main-content-wrapper .fill-width {
  width: 100%;
  box-sizing: border-box;
}





.cast-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: flex-start;
}

.cast-card {
  width: calc(20% - 12px);
  box-sizing: border-box;
  /* 枠や背景など入れずシンプルなまま */
}

.cast-card img {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15); /* ← 影でふわっと浮かせる */
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cast-card img:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}



/* 画面幅が768px以下のとき → 3列に切り替え */
@media (max-width: 768px) {
  .cast-card {
    width: calc(33.333% - 10px); /* 3列（100% ÷ 3 - gap調整） */
  }
}


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

/* ==========================
 背景にリピート画像
========================== */
/*.top-banner-bg {
  background-image: url('/wp-content/themes/Butterfly2/images/repeat-banner-bg.png'); /* ←画像名を適宜変更 */
  background-repeat: repeat;
  background-size: auto;
  padding: 50px 0 50px;
} */

/* ==========================
 白いタイル（不透明度40%）
========================== */
/* オーバーライドしてcontainerの幅を無視できるように */
.top-banner-bg .container {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

/* タイルを92%表示に */
.tile-box {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  padding: 10px 20px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 92vw;
  margin: 0 auto;
}

.tile-box > .row {
  margin-left: 0;
  margin-right: 0;
}

.tile-box [class*="col-"] {
  padding-left: 8px;
  padding-right: 8px;
}


/* ==========================
 NEWSイベント
========================== */


/* 投稿全体ラッパー */
.news-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

/* 投稿1件分のタイル全体 */
.news-card {
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(3px);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}



/* 各画像＋説明の並び */
.news-content-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

/* 画像部分 */
.news-content-item img {
  width: 240px;
  height: auto;
  display: block;
  max-width: none;
  margin-right: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.news-content-item a {
  display: inline-block;
  max-width: none;
}



/* 説明文 */
.news-content-item p {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.8;
  color: #333;
}

.news-text p {
 
  line-height: 1.8;
  color: #333;
  margin: 0;

  /* ↓ 英数字が長すぎるときの折り返し対策 */
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* タイトル */
.news-title {
  text-align: center;
  color: #3284ef;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  text-shadow: none;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 0.5rem;
}


/* レスポンシブ対応（スマホ） */
@media screen and (max-width: 600px) {
  .news-content-item {
    flex-direction: column;
    align-items: center;
   
  }

  .news-content-item img {
    margin: 0 0 1rem 0;
  }
}

.news-text {
  line-height: 1.8em;
  color: #333;
  margin: 0;

  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}




.shamenikki-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: flex-start;
}

.shamenikki-grid-item {
  width: calc(25% - 1.125rem); /* PC 4列 */
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.shamenikki-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.shamenikki-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shamenikki-card-body {
  padding: 1rem;
  text-align: center;
}

.shamenikki-meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.shamenikki-entry-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.7rem;
  color: #222;
  line-height: 1.3;
}

.shamenikki-card-body .btn {
  font-size: 0.85rem;
  padding: 0.4em 1.2em;
  border-radius: 4px;
  line-height: 1;
}

/* レスポンシブ */
@media screen and (max-width: 1024px) {
  .shamenikki-grid-item {
    width: calc(33.333% - 1rem);
  }
}
@media screen and (max-width: 768px) {
  .shamenikki-grid-item {
    width: calc(50% - 1rem);
  }
}

/* ==========================
 ポータル
========================== */
/* キャストポータルページ用スタイル */
.cast-portal-wrapper {
  max-width: 480px;
  margin: 4em auto;
  padding: 2em;
  border-radius: 16px;
  background: #f9fbff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.cast-portal-title {
  font-size: 1.8em;
  color: #333;
  text-align: center;
  margin-bottom: 1em;
}

.cast-portal-desc {
  font-size: 0.95em;
  color: #444;
  margin-bottom: 1.5em;
  text-align: center;
}

.cast-portal-error {
  color: red;
  text-align: center;
  margin-bottom: 1.5em;
  font-weight: bold;
}

.cast-portal-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.cast-portal-form input[type="text"],
.cast-portal-form input[type="password"] {
  width: 100%;
  padding: 0.6em;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
  margin-bottom: 1.2em;
  background-color: #fff;
}

.cast-portal-form button {
  width: 100%;
  background: #4296e4;
  color: white;
  font-weight: bold;
  padding: 0.8em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cast-portal-form button:hover {
  background: #2d7fd0;
}
/* ==========================
 写メ日記投稿ページ
========================== */
/* 写メ日記投稿ページ：背景とフォームブロックの装飾 */
.cast-form-page {
  background: url('/wp-content/themes/あなたのテーマ名/images/background.jpg') no-repeat center center / cover;
  padding: 4em 1em;
  min-height: 100vh;
}

.cast-form-inner {
  background-color: rgba(255, 255, 255, 0.4); /* 不透明度40%の白 */
  border-radius: 16px;
  max-width: 720px;
  margin: 0 auto;
  padding: 2em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px); /* 対応ブラウザで背景ぼかし */
}

/* フォームのスタイル */
.cast-form-inner form label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.cast-form-inner input[type="text"],
.cast-form-inner textarea,
.cast-form-inner input[type="file"] {
  width: 100%;
  padding: 0.6em;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-bottom: 1.2em;
  background-color: #fff;
}

.cast-form-inner button {
  display: block;
  width: 100%;
  background-color: #4296e4;
  color: white;
  padding: 0.8em;
  font-size: 1em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cast-form-inner button:hover {
  background-color: #2d7fd0;
}

/* 投稿一覧スタイル */
.cast-form-inner .post-list {
  margin-top: 3em;
}

.cast-form-inner .post-list-item {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1em;
  margin-bottom: 1.5em;
  background-color: rgba(255,255,255,0.9);
}

.cast-form-inner .post-list-item h3 {
  margin-top: 0;
}

.cast-form-inner .post-list-item img {
  max-width: 100px;
  border-radius: 6px;
}
.cast-form-page {
  background: url('/wp-content/themes/your-theme/images/bg.jpg') no-repeat center center / cover;
  min-height: 100vh;
  padding: 4em 1em;
}

.cast-form-inner {
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  padding: 2em;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6px);
}

/* フォーム要素 */
.cast-form-inner input[type="text"],
.cast-form-inner textarea,
.cast-form-inner input[type="file"] {
  width: 100%;
  padding: 0.6em;
  margin-bottom: 1em;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
}

.cast-form-inner button {
  width: 100%;
  padding: 0.8em;
  background-color: #4296e4;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1em;
}

.cast-form-inner button:hover {
  background-color: #2d7fd0;
}

/* 投稿一覧 */
.post-list {
  margin-top: 2em;
}

.post-list-item {
  background: rgba(255,255,255,0.9);
  padding: 1em;
  margin-bottom: 1.5em;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.post-image-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 0.5em;
}

.post-image-wrap img {
  max-width: 100px;
  border-radius: 6px;
}
/* ==========================
 写メ日記一覧
========================== */
/* 写メ日記一覧：全体ラッパー */
.shamenikki-heading {
  font-size: 2rem;
  margin-bottom: 1.5em;
  text-align: center;
}

/* 各投稿カードのスタイル（背景タイル＋角丸＋影） */
.shamenikki-list-item {
  background-color: rgba(255, 255, 255, 0.4); /* 不透明度40%の白 */
  border: 1px solid #ccc;
  border-radius: 10px;
 
  margin-bottom: 2em;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(3px); /* 背景ぼかし（対応ブラウザ限定） */
}

/* 投稿内のレイアウト：横並び＋余白 */
.shamenikki-list-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  align-items: flex-start;
}

/* 左側画像エリア */
.shamenikki-image img {
  max-width: 160px;
  border-radius: 6px;
  object-fit: cover;
}

/* 右側テキストエリア */
.shamenikki-text {
  flex: 1;
  min-width: 200px;
}

/* タイトル */
.shamenikki-text h3 {
  font-size: 1.35em;
  margin: 0 0 0.4em 0;
  color: #222;
}

/* ボーイ名・日付 */
.shamenikki-meta {
  font-size: 0.95em;
  margin-bottom: 0.8em;
  color: #444;
  border-top: 1px dashed #aaa;
  border-bottom: 1px dashed #aaa;
  padding: 0.5em 0;
}

/* 本文抜粋 */
.shamenikki-text .excerpt {
  margin-bottom: 1em;
  color: #444;
}
.shamenikki-text .excerpt {
  margin-bottom: 1em;
  color: #444;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}




/* --- 共通スタイル --- */
/* --- タイトル（最大強調） --- */
.shamenikki-title {
  font-size: 2.4rem; /* ← さらに大きく強調 */
  font-weight: bold;
  color: #222;
  margin-bottom: 0.7em;
}

/* --- 日付・キャスト名・その他情報 --- */
.shamenikki-date,
.shamenikki-cast,
.shamenikki-meta {
  font-size: 1.15rem; /* ← 少し大きく */
  color: #555;
  margin-bottom: 0.6em;
}

/* --- 本文（やや大きく＆読みやすく） --- */
.shamenikki-content {
  font-size: 1.25rem; /* ← 少し大きくして視認性UP */
  line-height: 1.85;
  color: #333;
  margin-top: 1.5em;
  margin-bottom: 2em;
}


/* --- ギャラリー全体ラッパー --- */
.shamenikki-gallery-wrapper {
  margin-top: 25px;
}

/* --- デスクトップ：5列の並列ギャラリー --- */
.shamenikki-gallery-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.shamenikki-gallery-tile {
  width: calc(20% - 10px);
}

.shamenikki-gallery-tile img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.shamenikki-gallery-tile img:hover {
  transform: scale(1.03);
}

/* --- タブレット以下：カルーセル風横スクロール --- */
@media screen and (max-width: 768px) {
  .shamenikki-gallery-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .shamenikki-gallery-tile {
    flex: 0 0 auto;
    width: 60%;
    max-width: 250px;
  }
}

/* --- スマホ：カルーセル幅を縮小 --- */
@media screen and (max-width: 480px) {
  .shamenikki-gallery-tile {
    width: 80%;
  }
}

.shamenikki-single {
  background-color: rgba(255, 255, 255, 0.4); /* 40%の白背景 */
  backdrop-filter: blur(4px);
  border: 1px solid rgba(200, 200, 200, 0.4);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  margin: 3rem 0 2rem;  /* ← 上に3rem（約48px）余白を追加 */
}

/*=======================================
HOME写メ日記セクション
=======================================*/
.shamenikki-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: flex-start;
}

.shamenikki-grid-item {
  width: calc(25% - 1.125rem); /* PC：4列 */
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shamenikki-grid-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* 正方形画像 */
.shamenikki-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.shamenikki-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* テキスト部 */
.shamenikki-card-body {
  padding: 1rem;
  text-align: center;
  background: transparent;
}

.shamenikki-meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.shamenikki-entry-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.7rem;
  color: #222;
  line-height: 1.4;
}

/* PC時のみ大きく */
@media screen and (min-width: 768px) {
  .shamenikki-entry-title {
    font-size: 1.35rem;
  }
}

/* 詳細ボタン */
.shamenikki-card-body .btn {
  font-size: 0.85rem;
  padding: 0.4em 1.2em;
  border-radius: 4px;
  line-height: 1;
  background-color: #000000;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.shamenikki-card-body .btn:hover {
  background-color: #fff;
  color: #000;
  border: 1px solid #ccc;
  transform: scale(1.05);
}



/* PCのみボタンサイズを少し大きく */
@media screen and (min-width: 1025px) {
  .shamenikki-card-body .btn {
    font-size: 1rem;
    padding: 0.6em 1.5em;
  }
}

/* レスポンシブ対応 */
@media screen and (max-width: 1024px) {
  .shamenikki-grid-item {
    width: calc(33.333% - 1rem); /* タブレット：3列 */
  }
}

@media screen and (max-width: 768px) {
  .shamenikki-grid-item {
    width: calc(50% - 1rem); /* スマホ：2列 */
  }
}

.shamenikki-grid-item {
  backdrop-filter: blur(4px);
}


/* ============================
  TODAY'S BOY グリッド表示
============================ */
.today-boy-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: -10px;
  box-sizing: border-box;
}

.today-boy-item {
  padding: 10px;
  box-sizing: border-box;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
}

/* tile-box枠に収めるための調整 */
.tile-box {
  padding: 10px 40px 20px 40px;
  box-sizing: border-box;
}

section.ctn-area > .tile-box > .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}

/* PC：5列（幅ピッタリ） */
@media (min-width: 1025px) {
  .today-boy-item {
    width: 20%;
    flex: 0 0 20%;
  }
}

/* タブレット：4列 */
@media (max-width: 1024px) and (min-width: 769px) {
  .today-boy-item {
    width: 25%;
    flex: 0 0 25%;
  }
}

/* スマホ：3列 */
@media (max-width: 768px) {
  .tile-box {
    padding: 0 8px 20px 8px !important;
  }

  .today-boy-item {
    width: 33.3333% !important;
    flex: 0 0 33.3333% !important;
    max-width: 33.3333% !important;
    min-width: 0 !important;
    padding: 6px !important;
  }

  .today-boy-list {
    margin: -6px !important;
  }
}

.today-boy-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 32%;
  background-color: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 13px;
  padding: 6px;
  box-sizing: border-box;
  border-radius: 0 0 12px 12px;
  line-height: 1.4;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center; /* ← 中央寄せに変更 */
  align-items: center;
  gap: 2px; /* ← 行間の調整 */
}

@media (max-width: 768px) {
  .today-boy-overlay {
    height: 42%;
    font-size: 11px;
    padding: 5px;
  }
}

.today-boy-name {
  width: 100%;
  text-align: center;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  margin-top: 10px;
  box-sizing: border-box;
}


.today-boy-name strong {
  font-weight: 700;
  font-size: 15px;
  color: #222;
}

.today-boy-name span {
  font-weight: 400;
  font-size: 12px;
  color: #555;
}


@media (max-width: 768px) {
  .today-boy-overlay {
    font-size: 11px;
  }
}

.today-boy-name {
  margin-top: 10px;
  font-weight: bold;
  font-size: 14px;
  color: #333;
  text-align: center;
}



/* ===== セクション共通見出し ===== */
.area-head h2.title.fnt-2 {
  font-size: 2.5rem;
  margin-top: 30px;
  margin-bottom: 12px;
  text-align: center;
}

/* 「IDOL TOKYO NEOへようこそ！」専用調整 */
.area-head h2.title.fnt-2.txt-center {
  font-size: 2.5rem;  /* 他よりちょい小さく調整 */
  margin-top: 36px;   /* 少し広めの余白 */
}

@media (max-width: 768px) {
  .area-head h2.title.fnt-2 {
    font-size: 1.5rem;
    margin-top: 24px;
    margin-bottom: 10px;
  }

  .area-head h2.title.fnt-2.txt-center {
    font-size: 1.4rem;
    margin-top: 28px;
  }
}

@media (max-width: 768px) {
  .tile-box {
    padding-top: 24px; /* スマホ時に上にゆとり */
  }

  .area-head {
    padding-top: 5px; /* セクション内での上部にゆとり */
  }
}

/* デフォルト（PC） */
.area-head p.txt-center {
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: center;
  font-weight: bold;
}

/* スマホ表示時 */
@media (max-width: 768px) {
  .area-head p.txt-center {
    font-size: 1.1rem;       /* 少し小さくして */
    line-height: 1.9;        /* 行間を広めに */
    margin-top: 8px;         /* 上余白ちょい追加（任意） */
    margin-bottom: 16px;     /* 下の余白も調整したければ */
  }
}
/* ============================
  キャスト一覧（高級カード風）
============================ */


#cast-list .panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* 写真 */
#cast-list .panel-body img {
  width: 100%;
  aspect-ratio: 3 / 4; /* 横3：縦4を維持 */
  object-fit: cover;
  object-position: center;
  border-radius: 12px 12px 0 0;
  display: block;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

#cast-list .panel:hover .panel-body img {
  transform: scale(1.02);
}

/* 各セクションの上下の余白を調整 */
.ctn-area.contents-section {
  padding-top: 10px;
  padding-bottom: 30px;
}

.ctn-area .area-head {
  margin-bottom: 10px; /* 見出しと本文の間もゆとりを */
}

/* PCのときセクションの間隔をさらに広めにしてもOK */
@media (min-width: 992px) {
  .ctn-area.contents-section {
    padding-top: 40px;
    padding-bottom: 20px;
  }
}



/*=========================================
  #top-about セクション全体（背景と余白）
==========================================*/
#top-about {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 60%);
  padding: 30px 0;
  position: relative;
  z-index: 0;
}

/*=========================================
  コンテンツボックス（高級感のある白いカード）
==========================================*/
#top-about .tile-box {
  max-width: 960px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 20px;
  padding: 70px 50px;
  border: 1px solid rgba(66, 150, 228, 0.18);
  box-shadow:
    0 18px 40px rgba(66, 150, 228, 0.1),
    0 4px 20px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* 上部に青い光のアクセント */
#top-about .tile-box::before {
  content: "";
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(66, 150, 228, 0.12) 0%, transparent 80%);
  filter: blur(45px);
  z-index: -1;
}

/*=========================================
  見出しスタイル
==========================================*/
#top-about .tile-box .title {
  font-size: 2.6rem;
  font-weight: 700;
  color: #2d6bb0;
  margin-bottom: 1.8rem;
  letter-spacing: 1.2px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
  font-family: 'Helvetica Neue', 'Arial', sans-serif;
  position: relative;
}

/* タイトル下の装飾ライン */
#top-about .tile-box .title::after {
  content: "";
  display: block;
  margin: 14px auto 0;
  width: 120px;
  height: 2px;
  background: linear-gradient(to right, transparent, #4296e4, transparent);
  opacity: 0.6;
}

@media (max-width: 768px) {
  #top-about .tile-box .title {
    font-size: 1.75rem;
    text-align: center;
  }
}



/*=========================================
キャンペーンページ（バナー）
==========================================*/
/* === 共通 / PCデフォルト（768px以上） === */

.banner-tile {
  background: rgba(255, 255, 255, 0.4);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  margin-top: 3rem;
  margin-bottom: 3rem;
  max-width: 100%;
  overflow: hidden;
}

.banner-title {
  font-size: 2.4rem; /* タイトル大きめ */
  margin-bottom: 0.8rem;
}

.banner-meta {
  margin-bottom: 1.8rem;
  font-size: 1rem;
  color: #555;
}

.banner-content-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.banner-image {
  flex: 0 0 360px; /* 少し拡大 */
  max-width: 100%;
}

.banner-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.banner-text {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.banner-text p {
  font-size: 1.2rem;         /* 読みやすくサイズアップ */
  line-height: 1.8;
  color: #222;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
}

/* === モバイル対応（768px以下） === */
@media screen and (max-width: 768px) {
  .banner-content-row {
    flex-direction: column;
    align-items: center;
  }

  .banner-image,
  .banner-text {
    width: 100%;
    max-width: 100%;
  }

  .banner-title {
    font-size: 1.8rem; /* モバイルでも大きめに */
    text-align: center;
  }

  .banner-meta {
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .banner-image {
    flex: none;
    max-width: 100%;
  }

  .banner-image img {
    border-radius: 8px;
  }

  .banner-text p {
    font-size: 1.1rem;  /* スマホでも読みやすく拡大 */
    line-height: 1.8;
    text-align: left;
  }
}


.banner-archive-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.pagination-wrapper {
  margin-top: 2rem;
  text-align: center;
}

.pagination-wrapper .page-numbers {
  display: inline-block;
  padding: 0.5em 1em;
  margin: 0 0.2em;
  border: 1px solid #ccc;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
}

.pagination-wrapper .current {
  background: #4296e4;
  color: #fff;
  border-color: #4296e4;
}

/* ==========================
 カルーセルの個別スライド
========================== */
.banner-carousel .banner-slide {
  padding: 0 8px;
}

/* ==========================
 バナー画像（サイズ・角丸・影）
========================== */
.banner-carousel .banner-slide img {
  width: 100%;
  height: auto;
  max-height: 140px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* ==========================
   HOMEバナー画像
========================== */
.top-banner-bg {
  padding: 15px 0;
  overflow: visible; /* ← ここを変更！ */
  position: relative;
}

/* 基本スライドスタイル */
.top-banner-carousel .swiper-slide {
  transform: scale(0.8) !important;
  opacity: 0.5 !important;
  transition: transform 0.6s ease, opacity 0.6s ease, box-shadow 0.4s ease;
  filter: brightness(90%) saturate(90%);
}

/* アクティブな中央スライド */
.top-banner-carousel .swiper-slide-active {
  transform: scale(1.05) !important;
  opacity: 1 !important;
  z-index: 2;
  filter: brightness(105%) saturate(120%);
}

/* スライド内画像に装飾を追加 */
.top-banner-carousel .swiper-slide img {
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(66, 150, 228, 0.3);
  transition: box-shadow 0.4s ease;
}

/* ホバー時の強調（中央スライド限定） */
.top-banner-carousel .swiper-slide-active:hover img {
  box-shadow: 0 12px 30px rgba(66, 150, 228, 0.45);
}

/* ナビゲーション矢印 */
.swiper-button-prev,
.swiper-button-next {
  top: 60% !important; 
  transform: translateY(-50%);
  width: 45px;
  height: 40px;
  background: transparent;
  color: #4296e4;
  font-size: 24px;
  border: none;
  z-index: 10;
  cursor: pointer;
  transition: opacity 0.3s ease;
  opacity: 0.7;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  opacity: 1;
}

.swiper-button-prev {
  left: -50px;
}

.swiper-button-next {
  right: -50px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 24px;
  color: #4296e4;
}

/* スライダーがはみ出るように左右マージン調整 */
@media (max-width: 767px) {
  .top-banner-carousel {
    padding: 0 10px;
    overflow: visible;
  }

  .top-banner-carousel .swiper-slide {
    transform: scale(0.85) !important;
    opacity: 0.5 !important;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }

  .top-banner-carousel .swiper-slide-active {
    transform: scale(1.0) !important;
    opacity: 1 !important;
    z-index: 2;
  }

  .top-banner-carousel .swiper-slide img {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
}


/* キャンペーンバナー画像：少し大きめに、でも崩さない */
.campaign-list img.fix-width {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 16 / 7; /* やや縦長に調整 */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.campaign-list img.fix-width:hover {
  transform: scale(1.02);
}

/* 枠内にちゃんと収まるように */
.campaign-list .panel-body {
  max-height: 260px; /* デフォルトより少し高く */
  overflow: hidden;
  padding: 0;
  background: #fff;
  border-radius: 14px;
}

@media screen and (max-width: 768px) {
  .campaign-list .panel-body {
    max-height: 200px;
  }
}

/* ==========================
   ランキング（整理・最適化版）
========================== */

:root {
  --ranking-bg-height: 600px;
  --ranking-subimg-height: 400px;
}

/* ランキング全体 */
.ranking-carousel-wrapper {
  position: relative;
  height: var(--ranking-bg-height);
  overflow: hidden;
  z-index: 0;
}

.ranking-section {
  margin: 40px auto;
  padding: 0;
  max-width: none;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  position: relative;
}

/* メインタイトル */
.ranking-main-title {
  position: absolute;
  top: -56px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 100px;
  font-weight: 900;
  font-family: 'Cinzel', 'Bebas Neue', sans-serif;
  color: rgba(255, 255, 255, 0.95);
  text-shadow:
    0 0 6px rgba(20, 30, 60, 0.6),
    0 2px 10px rgba(0, 0, 0, 0.5),
    2px 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  pointer-events: none;
  letter-spacing: 0.05em;
}

/* サブ背景 */
.ranking-bg-sub {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--ranking-subimg-height);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
  z-index: 0;
}

/* 斜めストライプ */
.ranking-stripe-angle {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: var(--ranking-subimg-height);
  background:
    linear-gradient(to bottom right, rgba(255,255,255,0.06), rgba(0,0,50,0.1)),
    repeating-linear-gradient(135deg, #1c2c5d 0px, #1c2c5d 10px, #2e468f 10px, #2e468f 20px);
  clip-path: polygon(0 0, 100% 0, 60% 100%, 0% 100%);
  border-top-right-radius: 40px;
  box-shadow: 0 18px 40px rgba(10, 20, 60, 0.4), 0 0 8px rgba(80, 120, 255, 0.15);
  opacity: 1;
  z-index: 1;
  backdrop-filter: brightness(1.1) blur(1px);
}

/* スライド */
.swiper-slide {
  position: relative;
  height: var(--ranking-bg-height);
  overflow: hidden;
  flex-shrink: 0;
  box-sizing: border-box;
}

.ranking-clip-area {
  position: relative;
  width: 100%;
  height: var(--ranking-bg-height);
  z-index: 10;
  overflow: visible;
}

.ranking-image {
  position: absolute;
  top: 45%;
  left: 55%;
  transform: translate(-55%, -55%);
  width: 500px;
  height: auto;
  z-index: 10;
}

.ranking-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(80, 90, 110, 0.4));
}

/* ラベルボックス */
.ranking-box {
  position: absolute;
  top: 80px;
  left: 20px;
  max-width: 200px;
  padding: 24px 32px;
  background: linear-gradient(145deg, #1e3a78, #3a5fa8);
  border-radius: 32px 0 32px 0;
  box-shadow: 0 6px 30px rgba(30, 60, 120, 0.5);
  text-align: center;
  z-index: 30;
}

.ranking-label {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 4px;
}

.ranking-sub {
  font-size: 12px;
  text-transform: uppercase;
  color: #c5d8ff;
  margin-bottom: 10px;
}

.ranking-number {
  font-size: 48px;
  font-family: 'Orbitron', sans-serif;
  color: #fff;
  text-shadow: 0 2px 4px rgba(20, 40, 80, 0.3);
}

/* 名前・リンク */
.ranking-info {
  position: absolute;
  top: 120px;
  left: 80%;
  transform: translateX(-50%);
  text-align: left;
  align-items: flex-start;
  z-index: 30;
  display: flex;
  flex-direction: column;
}

.ranking-name-jp {
  font-size: 75px;
  font-weight: 900;
  font-family: 'Cinzel', 'Bebas Neue', sans-serif;
  color: #fff;
  white-space: nowrap;
  line-height: 1.1;
  margin-bottom: 10px;
  text-shadow:
    0 0 1px #2a4a89,
    0 0 2px #2a4a89,
    -2px -2px 0 #2a4a89,
     2px -2px 0 #2a4a89,
    -2px  2px 0 #2a4a89,
     2px  2px 0 #2a4a89,
     0    4px 8px rgba(20, 40, 90, 0.6);
}

.ranking-more {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(145deg, #2b5fb0, #1e3d8f);
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(30, 60, 120, 0.3);
  transition: background 0.3s, transform 0.2s;
  white-space: nowrap;
  pointer-events: auto;
}

.ranking-more:hover {
  transform: translateY(-2px);
}

/* サムネイルカルーセル */
.ranking-thumb-carousel {
  position: absolute;
  bottom: 200px;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  max-width: 500px;
  padding: 6px 8px;
  background: linear-gradient(135deg, rgba(50, 80, 160, 0.85), rgba(30, 50, 100, 0.9));
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.08), 0 4px 20px rgba(20, 40, 80, 0.5);
  backdrop-filter: blur(10px);
  z-index: 1000;
  overflow: hidden;
}


.ranking-thumb-carousel .swiper-wrapper {
  display: flex;
  justify-content: center; /* ← 中央に並べる */
}


.ranking-thumb-carousel .swiper-slide {
  width: auto !important;
  flex: 0 0 auto;
  padding: 0 !important;  
  margin: 0 !important;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ranking-thumb-carousel img {
  height: 100px;
  width: auto;
  max-width: 100%;
  border-radius: 6px;
  object-fit: contain;
  opacity: 0.7;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 2px 6px rgba(20, 40, 80, 0.3);
}

.ranking-thumb-carousel img:hover,
.ranking-thumb-carousel img.active {
  opacity: 1;
  transform: scale(1.05);
  border-color: #2e468f;
  box-shadow: 0 4px 10px rgba(30, 60, 120, 0.5);
}

#rankingThumbs .swiper-wrapper {
  justify-content: center !important;
  display: flex !important;
  width: 100% !important;
}


#rankingThumbs {
  left: 50% !important;
  transform: translateX(-50%) !important;
  position: absolute;
  bottom: 60px;
  width: 90vw;
  max-width: 500px;
}


/* レスポンシブ対応 */
@media screen and (max-width: 1365px) {
  .ranking-info {
    left: calc(80% * (100vw / 1366));
    transform: translateX(-50%);
  }
  .ranking-box {
    left: calc(60px * (100vw / 1366));
  }
  .ranking-name-jp {
    font-size: calc(42px * (100vw / 1366));
  }
}


@media screen and (max-width: 768px) {
  .ranking-info {
    top: auto;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 90%;
    text-align: center;
    align-items: center;
  }

  .ranking-image {
    transform: translate(-45%, -55%);
  }

  .ranking-box {
    top: 40px;
    left: 16px;
    padding: 16px 20px;
  }

  .ranking-name-jp {
    font-size: 42px;
    margin-bottom: 6px;
    text-align: center;
  }

  .ranking-more {
    font-size: 14px;
    padding: 10px 20px;
  }

  .ranking-thumb-carousel {
    width: 95vw;
    bottom: 120px;
    padding: 4px 6px;
  }

  .ranking-thumb-carousel img {
    height: 80px;
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  #rankingThumbs {
    bottom: 40px;
  }
}

@media screen and (min-width: 769px) {
  #rankingThumbs {
    bottom: 60px;
  }
}


@media screen and (max-width: 1024px) {
  .ranking-main-title {
    font-size: 64px;
    top: -45px;
  }
}

@media screen and (max-width: 480px) {
  .ranking-main-title {
    font-size: 62px;
    top: -42px;
  }
}


/* ==========================
   ヘッダー動画
========================== */
.video-responsive {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 768px) {
  .video-responsive {
    height: auto;
    max-height: 60vh;      /* ← 必要に応じて40vhとかでもOK */
    object-fit: contain;
  }
}

/* ==========================
   ボーイ募集フォーム
========================== */
/* ▼ 応募フォーム全体タイル化 */
.cast-apply-form {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  max-width: 700px;
  margin: 40px auto;
  border: 2px solid #4296e4;
  box-sizing: border-box;
}

/* ▼ 各項目ブロックレイアウト */
.cast-apply-form .apply-block {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cast-apply-form label {
  min-width: 120px;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
}

/* ▼ 入力欄・セレクト・テキストエリア */
.cast-apply-form input[type="text"],
.cast-apply-form input[type="email"],
.cast-apply-form input[type="tel"],
.cast-apply-form input[type="date"],
.cast-apply-form input[type="file"],
.cast-apply-form select,
.cast-apply-form textarea {
  flex: 1;
  max-width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  background: #f9f9f9;
  box-sizing: border-box;
}

.cast-apply-form textarea {
  min-height: 100px;
}

/* ▼ 単位用（cm, kgなど） */
.cast-apply-form .apply-unit {
  margin-left: 4px;
  color: #555;
  white-space: nowrap;
}

/* ▼ チェックボックスグループ */
.cast-apply-form .apply-checkbox-group label {
  display: inline-block;
  margin-right: 12px;
  margin-bottom: 5px;
}

/* ▼ 送信ボタン */
.cast-apply-form button[type="submit"] {
  background-color: #4296e4;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.cast-apply-form button[type="submit"]:hover {
  background-color: #3178c6;
}

/* ▼ 成功メッセージ */
.apply-success {
  background-color: #e0f5e9;
  color: #2d7d46;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #2d7d46;
  text-align: center;
}

/* ▼ エラーメッセージ */
.apply-error {
  background-color: #fdecea;
  color: #c0392b;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #c0392b;
  text-align: center;
}

/* ▼ 各項目エラーメッセージ表示 */
.cast-apply-form .apply-error-message {
  color: #d9534f;
  font-size: 0.9rem;
  margin-top: 4px;
  padding: 4px 8px;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
}

/* ▼ エラー時赤枠 */
.cast-apply-form .input-error {
  border: 2px solid #d9534f !important;
  background-color: #fff0f0;
}

/* ▼ スマホ用レスポンシブ */
@media (max-width: 768px) {
  .cast-apply-form .apply-block {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .cast-apply-form label {
    min-width: auto;
    margin-bottom: 5px;
  }

  .cast-apply-form textarea,
  .cast-apply-form select {
    width: 100%;
  }

  /* ▼ ボタンスマホ時フル幅 */
  .cast-apply-form button[type="submit"] {
    width: 100%;
    text-align: center;
  }

  /* ▼ 単位付きinputだけは横並び固定 */
  .cast-apply-form .apply-block input + .apply-unit {
    display: inline-block;
    margin-left: 4px;
    white-space: nowrap;
  }
}


 /* homeのセクションタイトル*/
.home-title {
  position: relative;
  text-align: center;
  font-size: 2.4rem;
  color: #2d6bb0;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
}

.home-title .subTitle {
  display: block;
  font-size: 1.3rem;
  color: #2d6bb0;
  margin-top: 0.3rem;
}

/* MOREボタン */
.home-title .link-more {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #2d6bb0;
  text-decoration: none;
  padding: 0.4em 1em;
  border: 1px solid #2d6bb0;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.home-title .link-more:hover {
  background-color: #2d6bb0;
  color: #fff;
}

/* スマホ時（幅768px以下） */
@media screen and (max-width: 768px) {
  .home-title {
    font-size: 1.8rem;
    padding-bottom: 2rem;
  }

  .home-title .subTitle {
    font-size: 1rem;
    margin-top: 0.2rem;
  }

  .home-title .link-more {
    position: static;
    display: inline-block;
    margin-top: 1rem;
    transform: none;
    font-size: 1rem;
    padding: 0.3em 0.8em;
  }
}


.btn-profile {
  display: inline-block;
  padding: 10px 20px;
  background-color: #4296e4; /* メインカラー */
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 6px;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s;
}
.btn-profile:hover {
  background-color: #357bc0;
}


.news-preview {
  display: -webkit-box;
  -webkit-line-clamp: 2;            /* 表示する行数 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.6em;
  max-height: calc(1.6em * 2);      /* 行数 × line-height */
  margin-bottom: 0.5rem;
  color: #333;
  font-size: 1.2rem;
}

/* ===========================
   Home About Section
   scope: #top-about
   =========================== */
#top-about{
  --about-max: 880px;
  --gap: 16px;

  /* メインカラー（綺麗な青）と段階色 */
  --accent:        #4296e4;    /* base */
  --accent-hover:  #2f80cf;    /* hover */
  --accent-active: #276cb2;    /* active */
  --accent-focus:  rgba(66,150,228,.38); /* focus ring */

  /* ボタンの文字色は常に白 */
  --btn-fg: #fff;

  padding-top: 24px;
  padding-bottom: 24px;
  -webkit-tap-highlight-color: transparent;
}

/* 見出しとリード */
#top-about .area-head .title{
  margin: 0 0 12px;
  line-height: 1.25;
}
#top-about .lead{
  max-width: var(--about-max);
  margin: 0 auto 20px;
  line-height: 1.9;
  font-weight: 400;
  font-size: 1.05rem;
}

/* ポイント（チェックリスト） */
#top-about .about-points{
  max-width: var(--about-max);
  margin: 10px auto 20px;
}
#top-about .about-points__list{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
  padding: 0;
  margin: 0;
  list-style: none;
}
#top-about .about-points__list li{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  font-size: .95rem;
  line-height: 1.6;
}
#top-about .about-points__list li i.fa{
  font-size: .95em;
  opacity: .9;
}

/* CTAボタン群 */
#top-about .about-cta{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
  margin: 10px auto 16px;
}
#top-about .about-cta .btn{
  min-width: 220px;
  padding: 12px 18px;
  border-radius: 9999px; /* pill */
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

/* アクセントボタン（Bootstrap互換クラスに追加） */
#top-about .btn-accent{
  color: var(--btn-fg) !important;
  background-color: var(--accent);
  border-color: var(--accent);
  box-shadow: none;
  transition: background-color .18s ease, border-color .18s ease, transform .06s ease;
}
#top-about .btn-accent:hover,
#top-about .btn-accent:focus{
  color: var(--btn-fg) !important;
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
}
#top-about .btn-accent:active,
#top-about .btn-accent.active{
  color: var(--btn-fg) !important;
  background-color: var(--accent-active);
  border-color: var(--accent-active);
  transform: translateY(1px);
}
#top-about .btn-accent:focus-visible{
  outline: 3px solid var(--accent-focus);
  outline-offset: 2px;
}

/* 無効状態 */
#top-about .btn-accent[disabled],
#top-about .btn-accent.disabled{
  opacity: .55;
  cursor: not-allowed;
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--btn-fg) !important;
}

/* もしHTML側で btn-primary / btn-default を使っていても同じ見た目に統一 */
#top-about .about-cta .btn-primary,
#top-about .about-cta .btn-default{
  color: var(--btn-fg) !important;
  background-color: var(--accent);
  border-color: var(--accent);
}
#top-about .about-cta .btn-primary:hover,
#top-about .about-cta .btn-primary:focus,
#top-about .about-cta .btn-default:hover,
#top-about .about-cta .btn-default:focus{
  color: var(--btn-fg) !important;
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
}
#top-about .about-cta .btn-primary:active,
#top-about .about-cta .btn-default:active{
  color: var(--btn-fg) !important;
  background-color: var(--accent-active);
  border-color: var(--accent-active);
}

/* ノート/注意書き */
#top-about .about-notes{
  max-width: var(--about-max);
  margin: 0 auto;
  color: #666;
}
#top-about .about-notes a{
  text-decoration: underline;
}

/* 小さめ画面の余白最適化 */
@media (max-width: 640px){
  #top-about{ --gap: 12px; }
  #top-about .lead{ font-size: 1.03rem; }
  #top-about .about-cta .btn{ min-width: 100%; }
}

/* アニメを抑制（アクセシビリティ） */
@media (prefers-reduced-motion: reduce){
  #top-about *{ transition: none !important; animation: none !important; }
}

/* ===== Hero: ultra-muted info bar ===== */

  .header-image, .header-video { position: relative; }
  .home-hero-caption{
    position: absolute; left: clamp(10px,3vw,24px); bottom: clamp(8px,2.5vw,22px);
    display: inline-flex; gap: 10px; align-items: center; max-width: min(80vw,980px);
    padding: 6px 10px; font-size: 12.5px; line-height: 1.4;
    color: #475467; background: rgba(255,255,255,.55);
    border: 1px solid rgba(0,0,0,.05); border-radius: 10px;
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    pointer-events: none; /* 画像の操作を邪魔しない */
  }
  .home-hero-caption .caption-title{
    font-weight: 600; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 38ch;
  }
  .home-hero-caption .caption-lead{
    opacity: .8; color: #667085; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; max-width: 56ch;
  }
  @media (max-width: 560px){
    .home-hero-caption{ gap: 8px; font-size: 12px; padding: 5px 8px; border-radius: 8px; }
    .home-hero-caption .caption-lead{ -webkit-line-clamp: 1; max-width: 48ch; }
  }
  /* 視覚的に隠す（SEO/読み上げは残す） */
  .sr-only{ position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
    overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }