/*
Theme Name: TERIHA U15
Author: 妹尾洋介
Description: TERIHA U15 バスケットボールチーム公式サイト
Version: 1.0
*/

html {
    scroll-behavior: smooth;
}

/* ベースカラー設定 */
:root {
    --main-blue: #00AEEF;
    --main-pink: #EC008C;
    --dark-navy: #004471;
    --text-color: #333;
}

.site-header {
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* 通常のメニュー状態 */
.site-header {
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  opacity: 1;
  visibility: visible;
}

/* 非表示状態（is-hiddenクラスがついた時） */
.site-header.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px); /* 上に少し逃げながら消えるとかっこいいです */
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 40px; /* ナビとボタンの間隔 */
}

/* Instagramボタンのスタイル */
.insta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #00AEEF; /* 薄いグレー、またはメインカラー */
    transition: all 0.3s ease;
}

.insta-btn img {
    width: 20px;
    height: 20px;
}

/* ホバー時の演出：少し浮き上がってブランドカラーに */
.insta-btn:hover {
    background-color: #E1306C; /* Instagramブランドカラー、またはマゼンタ */
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(225, 48, 108, 0.3);
}


.header-logo img {
    height: 100px; /* ロゴのサイズに合わせて調整してください */
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-list a {
    text-decoration: none;
    color: var(--dark-navy);
    font-weight: bold;
    font-size: 15px;
    transition: color 0.3s;
}

.nav-list a:hover {
    color: var(--main-blue);
}

/* お問い合わせボタン（CTA）の装飾 */
.nav-cta a {
    background: var(--main-blue);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 50px;
}

.nav-cta a:hover {
    background: var(--main-pink);
}

.mobile-menu-btn {
        display: none;
}

/* スマホ用スタイル（768px以下） */
@media (max-width: 768px) {

    /* --- メニュー本体（スライドしてくるエリア） --- */
    .header-nav {
        position: fixed;
        top: 0;
        right: -100%; /* 最初は画面の右外に隠す */
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98); /* 背景白 */
        transition: 0.4s; /* スライドの速さ */
        z-index: 998;
        display: flex;
        align-items: center;
        justify-content: center;
		visibility: hidden;
    	opacity: 0;
    }

    /* JSで .menu-open クラスが付いたら表示 */
    .site-header.menu-open .header-nav {
        right: 0;
		visibility: visible;
    	opacity: 1;
    }

    .nav-list {
        display: flex; /* 元の none を flex に変更 */
        flex-direction: column;
        text-align: center;
        list-style: none;
        padding: 0;
    }

    .nav-list li {
        margin: 20px 0;
    }

    .nav-list a {
        font-size: 1.2rem;
        text-decoration: none;
        color: var(--dark-navy);
        font-weight: bold;
    }

    /* --- ハンバーガーボタン --- */
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        width: 30px;
        height: 24px;
        position: relative;
        z-index: 999; /* メニューより上に表示 */
    }

    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--dark-navy);
        position: absolute;
        transition: 0.3s;
    }

    .mobile-menu-btn span:nth-child(1) { top: 0; }
    .mobile-menu-btn span:nth-child(2) { top: 11px; }
    .mobile-menu-btn span:nth-child(3) { bottom: 0; }

    /* --- ボタンのアニメーション（×印にする） --- */
    .mobile-menu-btn.is-active span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }
    .mobile-menu-btn.is-active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.is-active span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }
}






.hero-section {
    width: 100%;
    overflow: hidden;
    background: #fff;
    padding: 60px 0;
}

.hero-container {
    max-width: 1000px; /* デザインに合わせた最大幅 */
    margin: 0 auto;
    position: relative;
    aspect-ratio: 16 / 10; /* 画像全体の比率に合わせて調整 */
}

/* 背景オブジェクトの配置 */
.hero-bg-objects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px; /* フレーム間の隙間 */
    width: 100%;
    height: 100%;
}

.hero-obj {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ロゴ文字の絶対配置 */
.hero-logo-letters {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10; /* 背景より前に出す */
    pointer-events: none; /* 文字の下のリンクを触れるように */
}

.hero-logo-letters img {
    width: 18%; /* 全体に対する各文字のサイズ比率 */
    margin: 0 -2%; /* 文字を少し重ねるための調整 */
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.1)); /* 浮き出し効果 */
}
/* キャッチコピー画像の配置（左下） */
.hero-catchphrase {
    position: absolute;
    bottom: 10%; /* 下からの位置調整 */
    left: 5%;   /* 左からの位置調整 */
    width: 50%;  /* 全体に対する横幅（適宜調整してください） */
}

.hero-catchphrase img {
    width: 100%;
    height: auto;
    display: block;
}

/* スマホ対応の調整 */
@media (max-width: 768px) {
    .hero-container {
        transform: scale(1.1); /* スマホでは少し大きく見せる */
    }


	/* キャッチコピー画像の配置（左下） */
	.hero-section {
	   padding: 15px 0;
	}

	.hero-catchphrase {
		position: absolute;
		bottom: 10%; /* 下からの位置調整 */
		left: 5%;   /* 左からの位置調整 */
		width: 50%;  /* 全体に対する横幅（適宜調整してください） */
	}

	.hero-catchphrase img {
		width: 100%;
		height: auto;
		display: block;
	}
	/* スマホ対応：キャッチコピーが小さくなりすぎないよう調整 */
	.hero-catchphrase {
		width: 80%;
		bottom: 5%;
		left: 10%;
	}
}

	




/* ************************************************************ */
/* *************************  共通  **************************** */
/* ************************************************************ */
/* 共通のセクションタイトルスタイル */
.section-title,.about-title {
    font-size: 28px;
    font-weight: bold;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 50px;
    text-align: center; /* 中央寄せ */
}

/* タイトル下の台形装飾（共通） */
.section-title::after,.about-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    /* シアンからマゼンタへのグラデーション[cite: 1] */
    background: linear-gradient(to right, #00AEEF, #EC008C); 
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
}
@media (max-width: 768px) {

	.section-title, .about-title {
    margin-bottom: 10px;
	}
}

/* ************************************************************ */
/* ************************************************************ */
/* ************************************************************ */
.about-section {
    padding: 50px 0 0;
    text-align: center;
    background: #fff;
    overflow: hidden;
}

.about-content-wrapper {
    max-width: 800px;
    margin: 0 auto 80px;
    position: relative;
    padding: 0 40px;
}

.about-text {
    line-height: 2;
    font-size: 16px;
    color: #444;
}

.about-text .lead {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* 左右のあしらい画像 */
.deco-img {
    position: absolute;
    width: 40px; /* サイズは適宜調整 */
    opacity: 0.6;
}
.left1 { top: 10%; left: -60px; }
.left2 { top: 40%; left: -100px; }
.right1 { top: 15%; right: -60px; }
.right2 { top: 45%; right: -100px; }

/* 無限ループスライダー */
.loop-slider {
    width: 100%;
    overflow: hidden;
    background: #fff;
}

.loop-slider-track {
    display: flex;
    width: calc(250px * 24); /* (画像の幅) * (枚数12枚×2セット) */
    animation: loop-animation 60s linear infinite; /* 速度はここで調整 */
}

.slide {
    width: 250px; /* 画像1枚の横幅 */
    flex-shrink: 0;
    padding: 0 10px;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes loop-animation {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 12)); } /* 半分（1セット分）進んだら戻る */
}

/* aboutスマホ版 */
@media (max-width: 768px) {

	.about-section {
		padding: 30px 0 0;
	}

	.about-section {
		padding: 60px 0 0;
		text-align: center;
	}
	section-title, .about-title {
    margin-bottom: 30px;
	}
	.about-content-wrapper{
	padding: 0px 23px;
	}
	.left1,.left2,right1,right2{
		display:none;
	}
}

.coach-section {
    padding: 100px 20px;
    background: #fff;
}

.coach-inner {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.coach-flex-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-top: 50px;
}

/* 左側：画像エリアの装飾 */
.coach-image-area {
    flex: 1;
    position: relative;
    padding-bottom: 100px; /* サブ写真がはみ出すための余白 */
}

.main-photo img {
    width: 100%;
    height: auto;
    background: #e0e0e0; /* 画像がない場合のダミー色 */
    display: block;
}

.sub-photo {
    position: absolute;
    width: 45%;
    bottom: 0;
    z-index: 2;
}

.sub-photo img {
    width: 100%;
    height: auto;
    border: 5px solid #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.photo-left {
    left: -20px;
    bottom: -150px;
    transform: rotate(-10deg);
}

.photo-right {
    right: 20px;
    bottom: -130px;
    transform: rotate(10deg);
}


/* 右側：テキストエリア */
.coach-info-area {
    flex: 1.2;
}

.catchphrase {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--dark-navy);
    /* text-decoration: underline; */
    margin-bottom: 20px;
}

.intro-text {
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: bold;
}

.coach-name {
    font-size: 1.3rem;
    color: var(--main-blue);
    margin-bottom: 25px;
}

.profile-details h4,
.coach-message h4 {
    font-size: 1rem;
    margin: 20px 0 10px;
}

.profile-details ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.coach-message p {
    line-height: 1.7;
    margin-bottom: 15px;
}

.cta-text {
    font-weight: bold;
    margin-top: 20px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
	.coach-section {
    padding: 0px 20px;
	margin-top: 30px;
	}
    .coach-flex-container {
        flex-direction: column;
		margin-top:30px;
    }
    .coach-image-area {
        width: 80%;
        margin: 0 auto 50px;
		padding-bottom: 0px;
    }
	.coach-info-area {
		margin-top: 38px;
	}
}

.location-section {
    padding: 100px 20px;
    background: #fff;
}

.location-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.location-flex-container {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
    text-align: left;
}

.location-info {
    flex: 1;
}

.location-sub-title {
    font-size: 1.2rem;
    color: var(--dark-navy);
    margin-bottom: 20px;
}

.location-lead {
    line-height: 1.8;
    margin-bottom: 30px;
}

.location-details h4,
.support-box h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--dark-navy);
}

.location-details ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 10px;
}

.location-details li::before {
    content: "* ";
}

.accent-text {
    font-weight: bold;
    margin-bottom: 30px;
}

.support-box {
    background: #f9f9f9;
    padding-top: 20px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.support-box p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 5px;
}

/* ボタンデザイン[cite: 1] */
.btn-primary {
    display: inline-block;
    background: var(--main-blue);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
    position: relative;
}

.btn-primary::after {
    content: "〉";
    margin-left: 10px;
}

.btn-primary:hover {
    background: var(--main-pink);
}

/* 地図画像 */
.location-map {
    flex: 1;
}

.location-map img {
    width: 100%;
    height: auto;
}

/* レスポンシブ */
@media (max-width: 768px) {
	.location-section {
    padding: 60px 20px;
	}
    .location-flex-container {
        flex-direction: column-reverse;
		gap: 0px;
		text-align: center;
    }
    .location-map {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}

.join-section {
    padding: 100px 20px;
    background: #fff;
    overflow: hidden;
}

.join-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.join-flex-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* 左側：画像エリア（台形切り抜き） */
.join-image-area {
    flex: 1.2;
    position: relative;
    height: 400px; /* PC時の高さ確保 */
}

.trapezoid-photo {
    position: absolute;
    width: 65%;
    overflow: hidden;
}

.trapezoid-photo img {
    width: 100%;
    height: auto;
    display: block;
}

/* 前面の写真（青枠イメージ） */
.photo-front {
    top: 60%;
    left: -25%;
    transform: translateY(-50%);
    z-index: 2;
}

/* 背面の写真（マゼンタ枠イメージ） */
.photo-back {
    top: 70%;
    right: 5%;
    transform: translateY(-50%);
    z-index: 1;
}

/* 右側：テキストエリア */
.join-info-area {
    flex: 1;
    text-align: left;
}

/* セクションタイトルを左寄せに調整 */
.join-info-area .section-title {
    display: block;
    text-align: left;
    margin-bottom: 30px;
}

.join-info-area .section-title::after {
    left: 0;
    transform: none;
}

.join-lead {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #333;
}

.join-text {
    line-height: 1.8;
    margin-bottom: 40px;
    color: #444;
}

/* レスポンシブ */
@media (max-width: 768px) {
	.photo-front{
		display:none;
	}
	.photo-back{
		display:none;
	}
	.join-section {
    	padding:30px 20px;
	}
    .join-flex-container {
        flex-direction: column;
		gap: 0px;
    }
    .join-image-area {
        width: 100%;
        height: 300px;
        margin-bottom: 30px;
    }
    .join-info-area {
        text-align: center;
    }
    .join-info-area .section-title {
        text-align: center;
    }
    .join-info-area .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

.news-section {
    padding: 100px 20px;
    background: #fff;
    text-align: center;
}

.news-content-wrapper {
    max-width: 900px;
    margin: 0 auto 50px;
    position: relative;
    padding: 0 60px;
}

/* お知らせリストの装飾線 */
.news-list {
    border-top: 1px solid #e0eff5;
    border-bottom: 1px solid #e0eff5;
}

.news-item {
    border-bottom: 1px solid #e0eff5;
}

.news-item:last-child {
    border-bottom: none;
}

.news-link {
    display: flex;
    align-items: center;
    padding: 25px 10px;
    text-decoration: none;
    transition: background 0.3s;
}

.news-link:hover {
    background-color: #f8fcff;
}

.news-date {
    font-weight: bold;
    color: #333;
    width: 120px;
    flex-shrink: 0;
    text-align: left;
}

.news-text {
    color: #444;
    text-align: left;
    margin-bottom: 0;
    line-height: 1.6;
}



.left-top { top: 10%; left: -90px; transform: rotate(3deg); }
.left-bottom { bottom: 10%; left: -120px; transform: rotate(10deg); }
.right-top { top: 10%; right: 0; transform: rotate(25deg); }
.right-bottom { bottom: 10%; right: -110px; transform: rotate(-30deg); }

/* スマホ対応 */
@media (max-width: 600px) {
    .news-link {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
    }
    .news-date {
        margin-bottom: 5px;
    }
    .news-deco {
        display: none; /* スマホではスッキリさせる */
    }
}

.contact-section {
    padding: 10px 20px;
	padding-bottom: 100px;
    background: #fff;
    text-align: center;
}

.contact-inner {
    max-width: 800px;
    margin: 0 auto;
}

.contact-lead {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #333;
}

.contact-text {
    line-height: 2;
    margin-bottom: 30px;
    color: #444;
}

.staff-message {
    font-weight: bold;
    margin-top: 20px;
}

.contact-notes {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 40px;
}

.contact-notes p {
    margin-bottom: 5px;
}

/* ボタンのサイズ調整（お問い合わせ用） */
.btn-large {
    padding: 20px 60px;
    font-size: 1.2rem;
    /* 他の箇所の btn-primary の設定を引き継ぎます */
}

.contact-btn-area {
    margin-top: 20px;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .contact-lead {
        font-size: 1rem;
    }
    .btn-large {
        width: 100%;
        padding: 15px 5px;
        font-size: 1.1rem;
    }
}

.site-footer {
    background: var(--dark-navy);
    color: #fff;
    padding: 60px 20px 20px;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 80px;
}

.footer-sns {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-sns p {
    font-size: 12px;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
}

.sns-icon img {
    width: 24px;
    transition: opacity 0.3s;
}

.sns-icon:hover img {
    opacity: 0.7;
}

/* フッターナビ */
.footer-nav-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 40px;
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.footer-nav-list a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-nav-list a:hover {
    color: var(--main-blue);
}

/* コピーライト */
.footer-bottom {
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* レスポンシブ */
@media (max-width: 600px) {
    .footer-top {
        flex-direction: column;
        gap: 20px;
    }
    .footer-nav-list {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* ==========================================================================
   TERIHA U15 Project - Page Top Button (Trapezoid Design)
   ========================================================================== */

/* 1. ボタンの基本スタイル */
.trh-pagetop-trapezoid {
    /* 配置設定 */
    position: fixed;
    right: 0;           /* 画面右端にぴったり配置 */
    bottom: 50px;       /* 画面下からの距離 */
    z-index: 99999;     /* 他の要素より前面に表示 */
    
    /* 形状と色 */
    width: 180px;
    height: 160px;
    background-color: #00AEEF; /* TERIHAシアン */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    
    /* 台形への切り抜き（左上が斜め、他は直線） */
    clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
    
    /* アニメーションの初期状態（非表示） */
    transition: all 0.4s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px); /* 右側へ隠しておく */
    cursor: pointer;
}

/* 2. ボタン内のテキスト */
.trh-pagetop-text {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.1em;
    margin-left: 15px; /* 台形の斜め部分を考慮した余白 */
    pointer-events: none; /* テキストによるクリック阻害を防止 */
}

/* 3. 表示状態（スクロール後にJavaScriptで付与） */
.trh-pagetop-trapezoid.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0); /* 定位置へスライドイン */
}

/* 4. ホバー時の演出 */
.trh-pagetop-trapezoid:hover {
    background-color: #EC008C; /* TERIHAマゼンタへ変化 */
    transform: translateX(-5px); /* 少し左に動いてクリックを促す */
}

/* 5. スマートフォン版の調整（必要に応じて） */
@media (max-width: 768px) {
    .trh-pagetop-trapezoid {
        width: 110px;
        height: 50px;
    }
    .trh-pagetop-text {
        font-size: 11px;
    }
}









/* NEWS.html */

.news-inner{
    text-align: center;
}

.news-archive-section {
    padding: 80px 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列並び */
    gap: 60px 40px; /* 上下左右の余白 */
    max-width: 1000px;
    margin: 40px auto 0;
}

.news-card {
    background: #fff;
    transition: transform 0.3s ease;
}

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

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f0f0f0; /* No image用 */
    margin-bottom: 15px;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    position: relative;
    padding-bottom: 20px;
}

.card-date {
    display: block;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
}

.card-title {
    font-size: 16px;
    line-height: 1.6;
    font-weight: bold;
    padding-right: 40px; /* プラスアイコン用のスペース */
}



/* スマホ対応 */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr; /* 1列並び */
        gap: 40px;
    }
	.news-archive-section {
		padding: 10px 20px;
	}
}


/* member.html */

.guide-inner{
    text-align: center;
}

/* 入会案内ページ全体設定 */
.guide-section {
    padding: 10px 20px;
}

.guide-content {
    max-width: 800px;
    margin: 0 auto 80px;
}

.guide-sub-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
}

.guide-lead {
    font-weight: bold;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* 料金表のスタイル */
.fee-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.fee-table th, .fee-table td {
    padding: 20px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.fee-table th {
    background-color: #f9f9f9;
    font-weight: bold;
}

.fee-table td strong {
    font-size: 1.2rem;
    color: var(--main-blue); /* 以前設定したシアンカラー */
}

/* 説明リスト（dl, dt, dd）のスタイル */
.guide-info h4, .schedule-info h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.guide-info dl dt, .schedule-info dl dt {
    font-weight: bold;
    margin-bottom: 5px;
}

.guide-info dl dd, .schedule-info dl dd {
    margin-bottom: 25px;
    padding-left: 0;
}

.schedule-info dl dd span {
    font-size: 0.9rem;
    color: #666;
}

/* レスポンシブ調整 */
@media (max-width: 600px) {
    .fee-table th, .fee-table td {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    .guide-sub-title {
        font-size: 1.5rem;
    }
}



/* contact.html */

/* お問い合わせセクション */
.contact {
    padding: 100px 20px;
    background-color: #f8f9fa; /* 薄いグレーで背景を分ける */
}

.container-mailtitle {
    text-align: center;
    margin-bottom: 50px;
}

.section-sub {
    margin-top: 15px;
    font-weight: bold;
    color: #333;
}

/* フォーム本体 */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.form-group {
    display: flex;
    margin-bottom: 25px;
}

.form-group label {
    width: 30%;
    font-weight: bold;
    padding-top: 10px;
    font-size: 14px;
}

.required {
    background: #EC008C; /* マゼンタ */
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 8px;
    vertical-align: middle;
}

.form-input {
    width: 70%;
}

/* 入力要素のスタイル */
.form-input input,
.form-input select,
.form-input textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-input textarea {
    height: 150px;
    resize: vertical;
}

.form-input input:focus,
.form-input select:focus,
.form-input textarea:focus {
    outline: none;
    border-color: #00AEEF; /* フォーカス時はシアン */
}

/* 送信ボタン */
.form-submit {
    text-align: center;
    margin-top: 40px;
}

.btn-submit {
    background: #00AEEF;
    color: #fff;
    border: none;
    padding: 18px 60px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    background: #EC008C; /* ホバーでマゼンタ */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(236, 0, 140, 0.3);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .form-group {
        flex-direction: column;
    }
    .form-group label {
        width: 100%;
        margin-bottom: 8px;
    }
    .form-input {
        width: 100%;
    }
    .contact-form {
        padding: 25px;
    }
}

/* 記事表示 */
.post-content p { margin-bottom: 1.5em; line-height: 1.8; }
.post-content img { max-width: 100%; height: auto; margin: 1em 0; }
.nav-links { display: flex; justify-content: space-between; margin-top: 40px; border-top: 1px solid #eee; padding-top: 20px; }




/* 投稿本文のエリアを強制的に左詰めにし、幅を制限して中央に置く */
.post-content {
    text-align: left;       /* 左詰めに設定 */
    max-width: 800px;       /* 読みやすい幅に制限（デザイナー推奨） */
    margin-left: auto;      /* 枠自体を中央に寄せるための設定 */
    margin-right: auto;     /* 枠自体を中央に寄せるための設定 */
    padding: 0 20px;        /* スマホ時の余白 */
}

/* 本文内の段落も念のため左詰めにする */
.post-content p {
    text-align: left;
}

.post-back{
	padding-bottom:100px;
}

/* ページネーション全体のコンテナ */
.teriha-pagination .nav-links {
    display: flex;            /* 横並びにする */
    justify-content: center;  /* 中央に寄せる（これで解決します！） */
    align-items: center;      /* 縦方向も中央に */
    gap: 15px;                /* 数字同士の間の距離を調整（お好みで） */
}
/* 数字と矢印の共通スタイル */
.teriha-pagination .nav-links a,
.teriha-pagination .nav-links .current {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%; /* 正円にする */
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid #eee;
    background: #fff;
    color: #333;
}

/* contactform7の設定 */

/* --- 1. お問い合わせ全体のレイアウト --- */
.contact-form {
    max-width: 850px; /* フォームが広がりすぎないように制限 */
    margin: 50px auto;
    padding: 0 20px;
}

/* --- 2. PC版のレイアウト（768px以上） --- */
@media (min-width: 768px) {
    .contact-form .form-group {
        display: flex;           /* 横並びにする */
        align-items: center;     /* 上下の中央を揃える */
        margin-bottom: 25px;     /* 項目ごとの余白 */
    }

    /* ラベル：ここを固定幅にすることで開始位置がビシッと揃います */
    .contact-form label {
        flex: 0 0 260px;         /* ラベル幅を260pxで固定 */
        display: flex;
        align-items: center;
        gap: 10px;               /* 文字と必須バッジの距離 */
        font-weight: bold;
        color: #333;
        margin-bottom: 0;        /* 横並び時は下余白を消す */
    }

    /* 入力欄のコンテナ：残りの幅をすべて使う */
    .contact-form .form-input {
        flex: 1;
    }

    /* お問い合わせ内容（textarea）だけは、ラベルを上揃えにする */
    .contact-form .form-group:last-of-type {
        align-items: flex-start;
    }
    .contact-form .form-group:last-of-type label {
        padding-top: 10px;
    }
}

/* --- 3. スマホ版のレイアウト（767px以下） --- */
@media (max-width: 767px) {
    .contact-form .form-group {
        margin-bottom: 20px;
    }
    .contact-form label {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 10px;
        font-weight: bold;
    }
}

/* --- 4. 入力パーツの見た目（Contact Form 7用） --- */
/* CF7が生成する余計なスパンをブロック化 */
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.wpcf7-text,
.wpcf7-select,
.wpcf7-textarea,
.wpcf7-tel,
.wpcf7-email {
    width: 100% !important;
    box-sizing: border-box;
    padding: 12px 15px;
    border: 1px solid #ddd;   /* 境界線を少し薄く */
    border-radius: 6px;       /* 角を少し丸く */
    font-size: 16px;
    background-color: #fff;
    transition: border-color 0.3s;
}

/* 入力中に色を変える（アクセント） */
.wpcf7-text:focus, .wpcf7-textarea:focus {
    border-color: #00acee;
    outline: none;
}

/* --- 5. 必須バッジ --- */
.required {
    background: #ff0080;      /* 鮮やかなピンク */
    color: #fff;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    line-height: 1.2;
}

/* --- 6. 送信ボタン --- */
.btn-submit {
    display: block;
    width: 320px;             /* ボタンを少し長めに */
    max-width: 100%;
    margin: 40px auto 0;
    padding: 16px;
    background: #00acee;      /* TERIHAのブルー */
    color: #fff;
    border: none;
    border-radius: 40px;      /* 丸みのあるボタン */
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0, 172, 238, 0.2); /* 軽い影でプロ感を出す */
}

.btn-submit:hover {
    background: #008cc2;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 172, 238, 0.3);
}

@media (min-width: 768px) {
    /* フォームの各行の設定 */
    .contact-form .form-group {
        display: flex !important;    /* 横並びを強制 */
        flex-direction: row;        /* 念のため方向を指定 */
        align-items: center;        /* 上下の中央を揃える */
        margin-bottom: 25px;
        width: 100%;
    }

    /* ラベル：1行で表示し、幅を固定する */
    .contact-form label {
        flex: 0 0 240px;            /* ★ここを240pxで固定（お好みで調整） */
        width: 240px;               /* 念のためwidthも指定 */
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: bold;
        white-space: nowrap;        /* ★絶対に改行させない（縦書き防止） */
        margin-bottom: 0;
        text-align: left;
    }

    /* 入力欄のエリア：ラベルの横に配置 */
    .contact-form .form-input {
        flex: 1;                    /* 残りのスペースをすべて使う */
        width: 100%;
    }
}

/* 共通：入力パーツが親要素いっぱいに広がるように設定 */
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.wpcf7-text,
.wpcf7-select,
.wpcf7-textarea,
.wpcf7-tel,
.wpcf7-email {
    width: 100% !important;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}