@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* リンクの共通スタイル */
a {
    color: #000000;
    text-decoration: none !important;
    cursor: pointer !important;
}

a:visited,
a:hover,
a:active {
    color: #000000 !important;
    text-decoration: none;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    word-wrap: break-word;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.container {
    max-width: 1980px;
    margin: 0 auto;
}

/* グラデーション背景 */
.gradation {
    background: linear-gradient(45deg, #FFFFFF 0%, #FFDA00 100%);
    margin: 0 -20px; /* containerのpaddingを相殺 */
    padding: 0 20px; /* 相殺したpaddingを戻す */
}

/* ヘッダー部分 */
.header {
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100% - 40px);
    height: 60px;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

/* スクロール時のヘッダー */
.header.scrolled {
    background: transparent;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    height: auto;
    width: 530px;
}

.header-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 40px;
}

.header-nav a {
    text-decoration: none;
    color: #000;
    font-size: 14px;
    font-weight: 500;
}

/* メインビジュアル */
.main-visual {
    text-align: left;
    height: 670px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin: 0;
}

.main-text {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.6;
    margin: 0;
    letter-spacing: 0.01em;
    padding-top: 227px;
    word-wrap: break-word;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* お問い合わせフォーム */
.contact-section {
    background-color: #FFFFFF;
}

/* フォームのスタイル更新 */
form {
    text-align: center; /* フォーム全体を中央揃えに */
}

.form-group {
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: left; /* フォームグループは左揃えに戻す */
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 16px;
}

/* 必須マーク */
.required::after {
    content: " *";
    color: red;
    font-size: 16px;
    white-space: nowrap; /* 改行を防ぐ */
    display: inline-block; /* インラインブロック要素に */
    margin-left: 2px; /* 少し間隔を開ける */
}

/* 言語切り替え時のレイアウト調整 */
.required span {
    display: inline; /* spanをインライン要素に */
}

input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #000;
    border-radius: 0;
    font-size: 16px;
    background-color: transparent;
}

input[type="text"],
input[type="email"],
input[type="number"],
textarea {
  width: calc(100% - 24px);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* submitボタンのスタイル更新 */
button[type="submit"] {
    border: 2px solid black;
    display: inline-block;
    padding: 0px 90px;
    height: 60px;
    background-color: #FFFFFF;
    color: #000000;
    text-decoration: none;
    border-radius: 100px;
    font-size: 24px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s ease;
    margin: 40px 0 0; /* 左右のマージンを削除 */
}

/* register-buttonのスタイルを更新 */
.register-button {
    border: 2px solid black;
    display: inline-block;
    padding: 0px 90px;
    background-color: white; /* 背景色を黒に */
    color: black !important; /* テキストを白に、上書き防止のため!important */
    text-decoration: none;
    border-radius: 100px;
    font-size: 24px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="number"],
    select,
    textarea {
        padding: 12px;
        font-size: 24px;
    }

    .register-button,
    button[type="submit"] {
        padding: 15px 60px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    input[type="text"],
    input[type="email"],
    input[type="number"],
    select,
    textarea {
        padding: 10px;
        font-size: 24px;
    }

    .register-button,
    button[type="submit"] {
        padding: 12px 40px;
        font-size: 18px;
    }
}

/* フッター */
.footer {
    background-color: #FFFFFF;
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.footer-left {
    font-size: 24px;
    font-weight: 500;
}

.footer-right {
    font-size: 32px;
}

.instagram-link {
    color: #000000;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.instagram-link i {
    color: #000000;
}

.instagram-link:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .footer {
        padding: 20px;
    }

    .footer-right {
        font-size: 34px;
    }
}

@media (max-width: 480px) {
    .footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* サンクスページ用 */
.text-center {
    text-align: center;
}

.message {
    margin: 40px 0;
    padding: 20px;
    background-color: #f0f8ff;
    border-radius: 4px;
}

.back-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.back-button:hover {
    background-color: initial;
}

.error {
    color: red;
    font-size: 0.9em;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #000;
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* レスポンシブ対応の更新 */
@media (max-width: 1200px) {
    .logo {
        width: 400px;
    }

    .header-nav ul {
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        padding: 100px 30px;
        transition: right 0.3s ease;
    }

    .header-nav.active {
        right: 0;
    }

    .header-nav ul {
        flex-direction: column;
        gap: 30px;
    }

    .header-nav a {
        font-size: 18px;
        display: block;
    }
}

@media (max-width: 768px) {
    .logo {
        width: 280px;
    }

    .main-text {
        font-size: 32px;
        padding-top: 40px;
    }

    .header {
        padding: 15px;
        width: calc(100% - 30px);
    }

    .vision-text,
    .about-text,
    .offer-heading,
    .offer-text {
        font-size: 24px;
    }

    .offer-heading {
        font-size: 32px !important;
    }

    .offer-text {
        font-size: 21px;
    }

    .note {
        font-size: 14px !important;
        margin-top: 20px !important;
    }

    .popup-text {
        font-size: 17px;
    }

    .popup-title {
        font-size: 32px;
    }

    .popup-button {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 200px;
    }

    .main-text {
        font-size: 24px;
    }

    .contact-section {
        padding: 20px;
        margin: 40px auto;
    }
}

/* ホバーアニメーション共通設定 */
.logo,
.header-nav a,
.back-button,
button[type="submit"] {
    transition: opacity 0.3s ease;
}

.logo:hover,
.header-nav a:hover,
.back-button:hover,
button[type="submit"]:hover {
    opacity: 0.7;
}

hr {
  display: block;
    border: 1px solid #000;
    width: calc(100% - 40px);
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* セクション共通スタイル */
.vision-section,
.about-section,
.offer-section,
.contact-section {
    padding: 90px 20px 90px 20px;
    position: relative;
    padding-top: 10px;
    width: calc(100% - 40px);
}

/* セクションタイトル共通スタイル */
.vision-title,
.about-title,
.offer-title,
.contact-section h2 {
    font-size: 19px;
    font-weight: 500;
    margin: 0 0 94px;
}

.about-title {
  margin-bottom: 120px;
}

/* SPECIAL OFFER セクション */
.offer-section {
    background-color: #FFDA00;
}

.offer-title {
    font-size: 19px;
    font-weight: 500;
    margin: 0 0 94px;
}

.offer-heading {
    font-size: 48px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 69px;
}

/* セクション背景色 */
.vision-section {
    background: linear-gradient(-90deg, #FFFFFF 0%, #FFDA00 100%);
}

.about-section {
    background: linear-gradient(225deg, #FFFFFF 0%, #FFDA00 100%);
    padding-bottom: 200px;
}

.contact-section {
    background-color: #FFFFFF;
}

/* セクションコンテンツ */
.vision-text,
.about-text,
.offer-heading,
.offer-text {
    max-width: 1980px;
    margin: 0 auto;
    margin-bottom: 69px;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.4;
}

.note {
  font-weight: 500;
}

.vision-text {
  margin-bottom: 32px;
}

/* offer-textのみフォントサイズを変更 */
.offer-text {
    font-size: 32px;
}

/* 特定のマージン調整 */
.about-text,
.offer-text {
    margin: 0 0 120px;
}

.about-text:last-child {
    margin-bottom: 120px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .vision-section,
    .about-section,
    .offer-section,
    .contact-section {
        padding: 40px 20px;
        width: calc(100% - 40px);
        padding-top: 20px;
    }

    .vision-title,
    .about-title,
    .offer-title,
    .contact-section h2 {
        margin-bottom: 94px;
        font-size: 13px  !important;
    }

    .offer-title h2 {
      font-size: 13px;
    }

    .vision-text {
      margin-bottom: 94px;
    }

    .about-title {
  margin-bottom: 120px;
}

.offer-title {
  margin-bottom: 94px;
}

.about-text {
  margin-bottom: 100px;
}

.about-text:last-child {
  margin-bottom: 94px;
}

    .vision-text,
    .about-text,
    .offer-heading,
    .offer-text {
        font-size: 24px;
    }

    .offer-heading {
      font-size: 32px !important;
    }

    .offer-text {
        font-size: 21px ;
    }

    .note {
        font-size: 14px !important;
        margin-top: 20px !important;
    }
}

@media (max-width: 480px) {
    .vision-text,
    .about-text,
    .offer-heading,
    .offer-text {
        font-size: 24px;
    }

    .offer-text {
        font-size: 18px;
    }

    .note {
        font-size: 14px;
    }
}

.note {
    display: block;
    font-size: 21px;
    line-height: 1.6;
    margin-top: 10px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .register-button {
        padding: 5px 100px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .register-button {
        padding: 12px 40px;
        font-size: 18px;
    }
}

/* サンクスページ */
.thanks-section {
    margin: 0 -20px;
    padding: 90px 40px 90px 40px;
    position: relative;
    padding-top: 10px;
    width: calc(100% - 60px);
    background-color: #FFFFFF;
    margin-top: 100px; /* ヘッダー分の余白を追加 */
}

.thanks-title {
    font-size: 19px;
    font-weight: 500;
    margin: 0 0 94px;
    text-align: center; /* タイトルを中央揃えに */
}

.thanks-content {
    text-align: center;
}

.thanks-text {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.8;
    margin: 0 0 20px;
}

.thanks-content .register-button {
    margin-top: 60px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .thanks-section {
        margin-top: 80px; /* スマホ・タブレット用にヘッダー余白を調整 */
    }
}

@media (max-width: 480px) {
    .thanks-section {
        margin-top: 60px; /* スマホ用にヘッダー余白をさらに調整 */
    }
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* ヘッダーの高さ分の余白を確保 */
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 80px; /* スマホ・タブレット用にヘッダー余白を調整 */
    }
}

@media (max-width: 480px) {
    html {
        scroll-padding-top: 60px; /* スマホ用にヘッダー余白をさらに調整 */
    }
}

/* 言語切り替え用スタイル */
.en {
    display: none;
}

.br_sp {
  display: none;
}

.br_pc {
  display: block;
}

/* ポップアップのスタイル */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: none; /* 初期状態は非表示 */
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* ポップアップ表示時のスタイル */
.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    position: relative;
    width: 100%;
    height: 100vh;
    padding: 40px;
    text-align: center;
    background: rgba(255, 249, 173, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

/* ポップアップ表示時のコンテンツアニメーション */
.popup-overlay.show .popup-content {
    transform: translateY(0);
}

.popup-logo {
    width: 360px;
    margin-bottom: 40px;
}

.popup-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.4;
}

.popup-title span {
  font-size: 60px;
  color: white;
  -webkit-text-stroke: 4px black;
  text-stroke: 4px black;
}

.popup-text {
    font-size: 24px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
}

.popup-close {
    position: absolute;
    top: 46px;
    right: 20px;
    font-size: 32px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.popup-button {
    border: 2px solid black;
    display: inline-block;
    padding: 0px 90px;
    background-color: white;
    color: black !important;
    text-decoration: none;
    border-radius: 100px;
    font-size: 24px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.popup-button:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
  .br_sp {
  display: block;
}

.br_pc {
  display: none;
}
    .popup-content {
        padding: 20px;
    }
    
    .popup-title {
        font-size: 32px;
    }
    
    .popup-text {
        font-size: 17px;
    }
    
    .popup-button {
        padding: 15px 60px;
        font-size: 20px;
    }

    .popup-close {
        font-size: 38px; /* 32px * 1.2 = 38.4px ≈ 38px */
    }
}

/* テキストの開始位置を揃える */
.about-text {
    text-indent: -0.5em;
}

/* 英語表示時は字下げを解除 */
span.en {
    text-indent: 0;
}

/* 注釈テキストは字下げを解除 */
.note {
    text-indent: 0;
    padding-left: 0;
} 

.text-indent-none {
  text-indent:inherit !important
}