/*
Theme Name: Sankei-Live
Author: Author Here
Author URI: Author URI here
Description: Description here
Version: 1.0
Text Domain: Text Domain here
*/

@import url('https://fonts.googleapis.com/css2?family=Mochiy+Pop+One&display=swap');

body {
	background: #f5f5f5 ;
}

/*タイトル*/

.ttl_contents h2 {
  font-size: 2rem;
  text-align: right;
  position: relative;
  overflow: hidden;
  padding: 1rem 1.5rem 1rem 24rem;
  color: #fff;
  background: #E56C46;
  border: none;
}

.ttl_contents h2:before {
  position: absolute;
  top: -150%;
  left: -100px;
  width: 400px;
  height: 300%;
  content: '';
  -webkit-transform: rotate(25deg);
  transform: rotate(25deg);
  background: #1F2A66;
}

.ttl_contents h2 span {
  font-size: 2rem;
  font-style: italic;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: block;
  padding-top: 3px;
  padding-left: 16px;
  color: #fff;
}

.ttl_contents h3 {
	font-size: 22px;
	font-weight: bold;
	color: #1F2A66;
	padding: 10px 0px;
}

.ttl_contents p {
	font-size: 18px;
	padding: 10px 10px 0 10px;
}

@media screen and (max-width: 768px) {
  .ttl_contents h2 {
    font-size: 1.5rem;
    padding: 1rem 1rem;
    text-align: right;
  }

  .ttl_contents h2:before {
    top: -150%;
    left: -50px;
    width: 180px;
    height: 300%;
  }

  .ttl_contents h2 span {
  font-size: 1rem;
  font-style: italic;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  display: block;
  padding-top: 3px;
  padding-left: 16px;  
  }
}

/*テーブル*/

.tbl_list table {
	width: 100%;
}

.tbl_list tr {
  border-bottom: 1px solid #E56C46;
}

.tbl_list th,
.tbl_list td {
  font-size: 18px;
  padding: 24px 0;
  border: none;
}

.tbl_list th {
  width: 30%;
}

.tbl_list span {
  color: #1F2A66;
  font-weight: bold;
  padding: 10px 10px 10px 0;
}

.tbl_list b {
  color: #E56C46;
  font-weight: bold;
  padding: 10px 10px 10px 0;
}

/* sp */
@media only screen and (max-width: 480px) {
  .tbl_list th,
  .tbl_list td {
    width: 100%;
    display: block;
  }

  .tbl_list th {
    width: 100%;
  }

  .tbl_list td {
    padding-top: 0;
  }
}

/*申込ボタン*/
.btn-animation-02 {
  display: inline-block;
  width: 80%;
  text-align: center;
  background-color: #1F2A66;
  border: 2px solid #1F2A66;
  font-size: 18px;
  color: #1F2A66;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 24px;
  border-radius: 4px;
  position: relative;
}

.btn-animation-02 span {
  position: relative;
  z-index: 1;
}

.btn-animation-02::before,
.btn-animation-02::after {
  content: "";
  display: block;
  background-color: #FFF;
  width: 80%;
  height: 100%;
  position: absolute;
  top: 0;
  transition: .2s;
}
.btn-animation-02::before {
  left: 0;
}
.btn-animation-02::after {
  right: 0;
}

.btn-animation-02:hover:before,
.btn-animation-02:hover:after {
  width: 0;
  background-color: #FFF;
}

.btn-animation-02:hover {
  color: #FFF;
}

/*コンタクトフォーム調整*/
.wpcf7-textarea {
	width: 100%;
}

/*アンケート*/
/* ==================================== */
/* 共通のテーブルスタイル (オプション) */
/* ==================================== */
.sectionTable table {
    width: 100%; /* 親要素の幅いっぱいに広げる */
    border-collapse: collapse; /* 罫線を結合 */
    table-layout: fixed; /* セルの幅を固定にし、コンテンツの折り返しを制御しやすくする */
}

.sectionTable td {
    padding: 10px; /* セル内の余白 */
    /* border: 1px solid #ddd; /* 必要に応じて罫線を追加 */
    word-break: break-word; /* 長い単語でも途中で改行させる */
}

/* noborderクラスのtdに対して、必要であれば罫線をなくす */
.sectionTable .noborder {
    border: none;
    padding: 10px 0; /* 上下の余白のみ設定、左右は0にするなど調整 */
}

/* フォーム部品（チェックボックス、テキストエリア、テキストフィールド）の調整 */
.sectionTable input[type="text"],
.sectionTable textarea {
    width: 100%; /* 入力フィールドを幅いっぱいに広げる */
    box-sizing: border-box; /* paddingやborderをwidthに含める */
    min-width: 0; /* 狭い画面でも縮小可能にする */
}

/* ==================================== */
/* レスポンシブ対応 (モバイルファーストまたはブレークポイント設定) */
/* ==================================== */

/*
  ブレークポイントとして、例えば600px以下で適用されるスタイルを記述します。
  これにより、スマートフォンなどの狭い画面でより見やすくなります。
*/
@media (max-width: 600px) {
    /* 質問文（<b>タグ）のフォントサイズを調整（オプション） */
    .sectionTable td b {
        font-size: 16px; /* スマートフォンで読みやすいサイズに調整 */
        display: block; /* 質問文をブロック要素にして、強制的に改行・幅いっぱいに */
        margin-bottom: 5px; /* 質問文と選択肢の間に少し余白 */
    }

    /* 必須マーク（<strong>タグ）の強調（オプション） */
    .sectionTable td strong {
        color: red; /* 必須マークの色を目立たせる */
        font-size: 14px; /* 必須マークは少し小さめに */
        margin-left: 5px; /* 質問文との間隔 */
    }

    /* チェックボックス/ラジオボタンのラベルの表示調整 */
    .sectionTable td input[type="checkbox"],
    .sectionTable td input[type="radio"] {
        margin-right: 5px; /* チェックボックスとテキストの間隔 */
        /* チェックボックスをブロックレベルで表示し、選択肢を縦に並べる場合 */
        /* display: block;
        margin-bottom: 10px; */
    }

    /* チェックボックス/ラジオボタンの各項目を縦に並べる調整（重要） */
    /* Contact Form 7の出力構造に依存しますが、一般的にはlabelやspanで囲まれています */
    /* CF7のデフォルト出力で各選択肢がinline-blockやinlineの場合、ここで縦並びに調整 */
    .sectionTable td .wpcf7-list-item { /* CF7のデフォルトクラスの例 */
        display: block; /* 各選択肢を縦並びにする */
        margin-right: 0;
        margin-bottom: 8px; /* 項目間の縦の余白 */
    }
    /* 選択肢のグループ全体に対するパディング調整 */
    .sectionTable td .wpcf7-checkbox,
    .sectionTable td .wpcf7-radio {
        padding-top: 5px;
    }

    /* 送信ボタンの調整 */
    .sectionTable center {
        padding: 20px 0;
    }
    .sectionTable input[type="submit"] {
        width: 100%; /* ボタンを幅いっぱいに広げる */
        padding: 15px 10px;
        font-size: 18px;
        box-sizing: border-box;
    }

    /* テーブルセルのpaddingを調整（狭い画面での左右の余白を減らす） */
    .sectionTable td {
        padding-left: 10px;
        padding-right: 10px;
    }
    .sectionTable .noborder {
        padding-left: 10px;
        padding-right: 10px;
    }
}


.live-cmt{
	font-size: 16px;
}