/*
 Theme Name: Massive Child
 Description: Massive (TCD084) の子テーマ
 Author: Saori
 Template: massive_tcd084
 Version: 2.7
 Text Domain: massive-child
*/

/**** 共通 ****/
.post_content p{
	font-size: 18px;
}

.pc_logo_image,
.mobile_logo_image{
	max-height: 150px;
    width: auto;
}

@media screen and (max-width:600px) {
	.post_content p{
		font-size: 14px;
	}
}

.center{
  text-align: center;
}
.small{
	font-size: 11px;
}
.cb_content {
    padding: 65px 0;
}
ol.list-square{
  counter-reset:list;
  list-style-type:none;
  font: 14px/1.6 'arial narrow', sans-serif;
  padding:0;
}
ol.list-square li{
  position:relative;
  padding: 0 0 0 20px;
  margin: 7px 0 7px 0px;
  font-weight: bold;
  font-size:14px;
  line-height: 30px;
}
ol.list-square li:before{
  counter-increment: list;
  content: "";
  display: block;
  position: absolute;
  left: 0px;
  height: 0;
  width: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid #b20101;
  top: 50%;
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.intv-footer{
  display: table;
  margin: auto;
}
.intv-tag{
    background: #aaa;
    padding: 5px 8px;
    border-radius: 6px;
    color: #ffff;
}
#interview_next_prev_post .item a{
  background: #ffff;
}
p.video{
  text-align: center;
}

.tr-box {
    margin: 2em 0;
    background: #f1f1f1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.22);
}
.tr-box .tr-box-title {
    font-size: 1.2em;
    background: #010101;
    padding: 15px;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    letter-spacing: 0.05em;
}
.tr-box p {
    padding: 15px 20px;
    margin: 0;
}
.cb_link_button a.custom-button{
    background: #de0000;
    color: #ffffff;
    border-color: rgba(222,0,0,1);
}
.cb_link_button a.custom-button:hover{
    color: #ffffff;
    background: #b60000;
    border-color: rgba(182,0,0,1);
}
#comments{
    display: none;
}

/* FAQ */
.qa-001 {
    margin-bottom: 7px;
    border: 1px solid #d6dde3;
    border-radius: 5px;
}

.qa-001 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em 1em 3em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.qa-001 summary::before,
.qa-001 p::before {
    position: absolute;
    left: 1em;
    font-weight: 600;
    font-size: 1.3em;
}

.qa-001 summary::before {
    color: #75bbff;
    content: "Q";
}

.qa-001 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .5s;
}

.qa-001[open] summary::after {
    transform: rotate(225deg);
}

.qa-001 p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 3em 1.5em;
    color: #333;
    transition: transform .5s, opacity .5s;
line-height: 1.5;
}

.qa-001[open] p {
    transform: none;
    opacity: 1;
}

.qa-001 p::before {
    color: #ff8d8d;
    line-height: 1.2;
    content: "A";
}

/**** トップページ ****/
#header_slider .caption{
	display: none;
}
/**** Revival大学ページ ****/
.page-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.page-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 16px;
    line-height: 1.6;
}

/* その他のクラス セクション */
.extra-classes {
  padding: 60px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.extra-classes-title {
  font-size: 28px;
  margin-bottom: 40px;
  color: #333;
}

/* カードのラッパー */
.extra-class-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* 各カード */
.extra-class-card {
  width: 300px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.extra-class-card:hover {
  transform: translateY(-5px);
}

/* 画像 */
.extra-class-image {
  width: 100%;
  height: auto;
}

/* タイトル */
.extra-class-name {
  font-size: 20px;
  margin: 20px 0 10px;
  color: #222;
}

/* 説明 */
.extra-class-description {
  padding: 0 20px;
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.8 !important;
}

/* ボタン */
.extra-class-btn {
  display: inline-block;
  margin-bottom: 20px;
  padding: 10px 20px;
  background-color: #d40000;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.extra-class-btn:hover {
  background-color: #a30000;
}


/**** コース一覧 ****/
/* h2タグのデザイン */
.class h2 {
    font-size: 28px;
    font-weight: bold;
    color: #333; /* 濃いグレー */
    border-left: 5px solid #888; /* グレーの左線を追加 */
    padding-left: 10px; /* 左側の余白 */
    margin-bottom: 20px;
}

/* h3タグのデザイン */
.class h3 {
    font-size: 22px;
    font-weight: bold;
    color: #444; /* 少し薄いグレー */
    border-bottom: 2px solid #ccc; /* グレーの下線 */
    padding-bottom: 5px;
    margin-bottom: 15px;
}
.revival-courses {
    max-width: 900px;
    margin: 0 auto 70px;
    text-align: center;
}

/* 各コースのボックス */
.course {
    background: #fbfbfb;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.course img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
}

/* コース説明 */
.course-content {
    padding: 20px;
    text-align: center;
}

.course h3 {
    font-size: 22px;
    margin-top: 15px;
}

.course p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

/**** ボタンデザイン ****/
.btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

/* 各コースのボタン */
.inside-btn {
    background-color: #e60012;
    color: #fff;
}

.outside-btn {
    background-color: #0071bc;
    color: #fff;
}

.highside-btn {
    background-color: #ffcc00;
    color: #333;
}
.ai-btn{
	background: #e2c16f;
    color: #ffff !important;
}

/* ホバー時 */
.btn:hover {
    opacity: 0.8;
}

/**** スマホ対応 ****/
@media screen and (max-width: 768px) {
    .course {
        padding: 15px;
    }

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

/**** コース詳細ページ ****/
/* クラス選択フォーム */
#class-selection-form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    margin: 20px auto;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

#class-selection-form p {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}

/* チェックボックス */
#class-selection-form label {
    display: flex;
    align-items: center;
	font-size: 18px;
    cursor: pointer;
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 5px;
    transition: background 0.2s;
	font-weight: bold;
}

#class-selection-form label:hover {
    background: #ffeae6;
}

#class-selection-form input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #d92b2a;
    border-radius: 4px;
    margin-right: 10px;
    cursor: pointer;
    position: relative;
    transition: background 0.2s, border 0.2s;
}

#class-selection-form input[type="checkbox"]:checked {
    background: #d92b2a;
    border-color: #d92b2a;
}

#class-selection-form input[type="checkbox"]:checked::after {
    content: "✔";
    font-size: 14px;
    color: white;
    position: absolute;
    top: 1px;
    left: 3px;
    font-weight: bold;
}

/* 申し込みボタン */
.payment-buttons {
    text-align: center;
    margin-top: 20px;
}

.payment-button {
    display: inline-block;
    background: #ff0200;
	color: #ffff !important;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s, transform 0.1s;
}

.payment-button:hover {
    background: #b60000;
	color: #ffff;
    transform: scale(1.05);
}

/* 無効状態のボタン */
.payment-button.disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    pointer-events: none;
}

.btn-aiclass a{
	transition: all 0.2s ease, visibility 0s;
    border-radius: 10px;
    background: #e2c16f;
	color: #ffff !important;
}
.btn-aiclass a:hover{
	background: rgba(255, 255, 255, 0);
    border: 1px solid #E2C16F;
	transition: all 0.2s ease, visibility 0s;
	color: #E2C16F !important;
}

@media screen and (max-width: 768px) {
	#class-selection-form input[type="checkbox"]:checked::after {
	    top: -3px;
    	left: 1px;
	}
}

/**** お問い合わせ ****/
#page_content .contact-form-wrapper .wpcf7 {
    width: auto;
    margin: 45px 0 0 0 !important;
    padding: 0 80px 30px;
    border: none;
    background: #f8f8f8;
}

.wpcf7-form p {
	text-align: left;
}


/* お問い合わせフォーム全体 */
.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* タイトル */
.contact-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-description {
    font-size: 16px;
    margin-bottom: 0 !important;
}
.post_content  p.contact-alert{
	font-weight: bold;
    font-size: 14px;
}

/* 各フォーム項目 */
.contact-form-wrapper label {
    display: block;
    font-weight: bold;
    margin: 10px 0 5px;
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper textarea,
.contact-form-wrapper select,
.contact-form-wrapper input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* テキストエリア */
.contact-form-wrapper textarea {
    height: 150px;
}

.wpcf7 .privacy-check .wpcf7-list-item{
	display: inline-block;
}

/* プライバシーポリシーのチェックボックスとテキストを横並びに */
.privacy-check {
    display: flex;
    align-items: center;
    gap: 5px; /* チェックボックスとテキストの間隔 */
    flex-wrap: wrap; /* 改行を防ぐ */
}

/* チェックボックスのデフォルトの余白をなくす */
.privacy-check input[type="checkbox"] {
    margin: 0;
}

/* 自動で入る <br> を無効化 */
.privacy-check br {
    display: none;
}
.post_content .privacy-check a {
    color: #cf2b34;
}
.wpcf7-form br {
    display: none;
}

/* 送信ボタン */
.contact-form-wrapper input[type="submit"] {
    background-color: #d32f2f;
    color: #fff;
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
    max-width: 200px;
}

.contact-form-wrapper input[type="submit"]:hover {
    background-color: #b71c1c;
}

@media screen and (max-width: 768px) {
	#page_content .contact-form-wrapper .wpcf7{
		padding: 0;
	}
	.post_content  p.contact-alert{
		font-size: 12px;
	}
}