@charset "UTF-8";

/* 基本スタイル */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
    color: #333;
    line-height: 1.6;
    background-color: #fffaf0; /* 全体と馴染む薄いクリーム背景 */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media screen and (min-width: 480px) {
    body {
        /* PC表示の最大幅480px */
        max-width: 480px;
    }
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.container {
    margin: 0 40px;
    padding-bottom: 40px;
    text-align: center;
}

.wrapper {
    padding: 40px 20px;
    background-color: #fff;
}

/* 見出しスタイル */
h1 {
    font-size: 3rem;
    color: #ff8500;
    line-height: 1.2;
    margin-bottom: 30px;
}
h1 span {
    font-size: 65%;
}

h2 {
    font-size: 2rem;
    color: #ff8500;
    position: relative;
    display: inline-block;
    line-height: 1.5;
}
h2 span {
    font-size: 65%;
}

/* ボタン共通スタイル */
.cta-area {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 8px 30px;
    border-radius: 50px;
    box-shadow: 3px 4px 5px 0 #d7bba2;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s;
    min-width: 160px;
    min-height: 30px;
}

.btn-orange, .btn-submit {
    background-color: #ff8500;
    color: #fff;
    font-size: 1.25rem;
}

.btn-white, .btn-back {
    background-color: #fff;
    color: #ff8500;
    border: 2px solid #ff8500;
}

.btn:hover {
    opacity: 0.8;
}

/* 各セクションの調整 */
.hero {
    background-color: #fff;
}
.hero .lead-txt {
    font-size: 0.8rem;
    line-height: 1.9;
    color: #555;
}
.hero .lead-txt span {
    color: #ff8500;
    font-weight: bold;
}

.content-image img {
    width: 100%;
}

/* ==========================================
アビバ提携教室セクション
========================================== */
.aviva-badge {
    width: 140px;
    margin: 0 auto 15px;
}
.aviva-heading {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 25px;
    color: #000;
}
.aviva-heading small {
    font-size: 0.8rem;
    font-weight: normal;
}
.aviva-apps {
    position: relative;
    display: inline-block;
    z-index: 1;
}
.aviva-apps .app-ps {
    color: #31A9EE; /* Photoshopの青 */
}
.aviva-apps .app-ai {
    color: #F89B20; /* Illustratorのオレンジ */
}
.aviva-marker {
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    z-index: -1;
}
.aviva-cross-img {
    margin: 0 auto 30px;
    max-width: 90%;
}
.aviva-desc {
    font-size: 1.15rem;
    font-weight: bold;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 20px;
}
.aviva-desc .txt-orange {
    color: #E67A15;
}
.aviva-desc .txt-blue {
    color: #31A9EE;
}
.aviva-note {
    font-size: 0.7rem;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}

/* ==========================================
安心の受講料セクション
========================================== */
.price-card {
    border: 2px solid #ff8500;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    margin: 20px;
    text-align: center;
}

/* カード内のH2のみオレンジ背景・白文字に上書き */
.price-card h2 {
    display: block;
    background-color: #ff8500;
    color: #fff;
    margin: 0;
    padding: 10px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.price-body {
    padding: 20px;
}

.price-lead {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #333;
    text-align: left;
    margin-bottom: 35px;
}

.price-item h3 {
    font-size: 1.1rem;
    color: #666;
    font-weight: normal;
    margin: 0 0 8px;
    line-height: 1.4;
}

.price-amount {
    font-size: 2.4rem;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

/* 特定の金額をオレンジにするクラス */
.price-amount.orange-text {
    color: #ff8500;
}

/* 「円」や「/月」の文字サイズ調整 */
.price-amount span {
    font-size: 1.2rem;
    font-weight: bold;
    margin-left: 2px;
}

/* 入会金の横の（※初回のみ） */
.price-amount .price-note {
    font-size: 0.85rem;
    color: #666;
    font-weight: normal;
    vertical-align: middle;
    margin-left: 8px;
    letter-spacing: 0;
}

.price-detail {
    font-size: 0.75rem;
    color: #333;
    line-height: 1.5;
    margin: 0 0 12px;
    text-align: left;
}

/* 注意書き（※）の箇条書き */
.price-notes {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    font-size: 0.75rem;
    color: #555;
    line-height: 1.6;
}

/* 区切り線 */
.price-divider {
    border: none;
    border-top: 2px solid #ffd2a6;
    margin: 30px 0;
}

/* ==========================================
よくある質問セクション
========================================== */
.faq {
    background-color: #fff4de;
    padding: 40px 0;
}

.faq h2 {
    margin-bottom: 5px;
}

.faq p {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #666;
}

/* アコーディオン全体のコンテナ */
.faq-container {
    width: 100%;
    text-align: left;
}

/* 各質問のボックス（白い角丸とシャドウ） */
.faq-item {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 3px 4px 8px rgba(185, 176, 154, 0.3);
    margin-bottom: 15px;
    overflow: hidden;
}

/* 質問部分（クリックエリア） */
.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    font-size: 0.95rem;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    list-style: none; /* デフォルトの矢印を消す（Chrome/Firefox） */
}

/* デフォルトの矢印を消す（Safari用） */
.faq-item summary::-webkit-details-marker {
    display: none;
}

/* カンプ通りのオレンジの「▼」を配置 */
.faq-item summary::after {
    content: "▼";
    color: #ff8500;
    font-size: 0.85rem;
    margin-left: 10px;
    transition: transform 0.3s; /* 開閉時に少し滑らかに動かす場合 */
}

/* アコーディオンが開いている時、▼をひっくり返す（不要なら削除してOKです） */
.faq-item[open] summary::after {
    transform: rotate(180deg);
}

/* 回答部分のスタイル */
.faq-answer {
    padding: 0 24px 20px;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    border-top: 1px dashed #ff8500;
    padding-top: 15px;
}

/* ==========================================
無料説明会へセクション
========================================== */
.entry {
    background: url(../images/img_design/bg-entry.jpg) no-repeat;
    background-size: cover;
}

/* ==========================================
お申し込みフォームセクション
========================================== */
.form {
    background-color: #fff;
    padding: 40px 0;
    flex: 1;
}

.form-lead {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0;
    margin-bottom: 30px;
    line-height: 1.5;
}

.form-description {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.form-description span {
    color: #ff0000;
}

/* テーブルスタイル */
.form-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    margin-bottom: 30px;
}

.form-table tr {
    border-top: 2px solid #ffd2a6;
}
.form-table tr:last-child {
    border-bottom: 2px solid #ffd2a6;
}

.form-table th, 
.form-table td {
    display: block; /* スマホ幅に合わせて縦並びに */
    width: 100%;
    padding: 15px 0;
    box-sizing: border-box;
}

.form-table th {
    font-weight: bold;
    color: #333;
    padding-top: 15px;
    padding-bottom: 0;
}

/* 必須マーク */
.required {
    background-color: #ff3b30;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 5px;
    vertical-align: middle;
}

/* 入力要素の共通スタイル */
.form-table input[type="text"],
.form-table input[type="tel"],
.form-table input[type="email"],
.form-table select,
.form-table textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
    box-sizing: border-box;
    font-family: inherit;
    background-color: #fff;
}

/* 入力選択時のハイライトをページのメインカラーに合わせる */
.form-table input:focus,
.form-table select:focus,
.form-table textarea:focus {
    outline: none;
    border-color: #ff8500;
    box-shadow: 0 0 5px rgba(255, 133, 0, 0.2);
}

.form-table .date, .form-table .age {
    width: auto;
}

/* フォーム内のリストの黒丸を消し、余白をリセット */
.form-table ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 3つのプルダウンを横並びにして幅100%に収める記述 */
.form-table .date-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 10px;
}

/* 全体幅100%から文字分を引き、3つのセレクトボックスに均等配分 */
.form-table .date-group select.date {
    width: 25% !important;
    padding: 10px 5px;
    font-size: 0.9rem;
    text-align: center;
}

/* ラジオボタンやチェックボックスの文字の縦位置を揃える */
.form-table input[type="checkbox"],
.form-table input[type="radio"] {
    width: auto;
    margin-right: 6px;
    vertical-align: middle;
}

/* ラジオボタンの選択肢同士に横の隙間を作る */
.form-table input[type="radio"] + font,
.form-table label {
    margin-right: 15px; 
}

.form-table label {
    cursor: pointer;
    display: inline-block;
    padding: 8px 0;
}

.error-msg {
    color: #ff0000;
}

/* ボタン配置エリア */
.form-btn-wrap {
    text-align: center;
    margin-top: 20px;
    display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* 送信ボタンの微調整 */
.form-submit {
    border: none;
    cursor: pointer;
    max-width: 320px;
}

.secured-form {
    margin-top: 40px;
    font-size: 0.75rem;
    color: #666;
}

/* ==========================================
フッター
========================================== */
footer {
    background-color: #fff;
    padding: 10px 0;
}

.copyright {
    text-align: center;
    font-size: 0.75rem;
    color: #666;
}
