/* =========================
   基本設定
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    background: #f8f5ef;
    color: #102238;
    line-height: 1.8;
}


/* =========================
   ヘッダー
========================= */

header {
    width: 100%;
    min-height: 110px;
    background: rgba(255, 255, 255, 0.96);

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 4px 2%;
    border-bottom: 1px solid #d6c49b;

    position: relative;
    z-index: 10;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #102238;
white-space: nowrap;
}
.logo {
    width: 260px;
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo img {
    width: 240px;
    height: 105px;
    object-fit: contain;
    display: block;
}
nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: flex-end;
}

nav a {
    color: #102238;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    transition: 0.3s;
white-space: nowrap;
}

nav a:hover {
    color: #b39352;
}


/* =========================
   メインビジュアル
========================= */

.hero {
    min-height: 650px;

    display: flex;
    justify-content: flex-end;
    align-items: center;

    padding: 70px 10%;

background:
    linear-gradient(
        90deg,
        rgba(7, 25, 44, 0.30) 0%,
        rgba(25, 54, 83, 0.15) 45%,
        rgba(248, 238, 230, 0.10) 100%
    ),
    url("images/hero.png");

background-size: cover;
background-position: center;
background-repeat: no-repeat;
}

.hero-text {
    width: 38%;
    padding: 40;

    background: rgba(255, 255, 255, 0.55);
    border-left: 2px solid #c5a461;
transform: translateY(-40px);
}

.hero-text h1 {
    font-size: 48px;
    font-weight: normal;
    line-height: 1.45;
    letter-spacing: 8px;
    margin-bottom: 30px;
}

.hero-text p {
    font-size: 18px;
    margin-top: 20px;
}


/* =========================
   4つの活動
========================= */

.services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.service {
    min-height: 260px;
    padding: 35px 28px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    color: white;

    border-right: 1px solid rgba(255,255,255,0.35);

    background:
        linear-gradient(
            rgba(5,20,38,0.55),
            rgba(5,20,38,0.9)
        ),
        linear-gradient(
            135deg,
            #1b3957,
            #071728
        );

    transition: 0.4s;
}

.service:hover {
    transform: translateY(-5px);
}

.service h2 {
    font-size: 25px;
    letter-spacing: 2px;
}

.service p {
    font-size: 14px;
    margin-bottom: 35px;
}

.service span {
    font-size: 18px;
}


/* =========================
   ABOUT
========================= */

.about {
    padding: 100px 12%;
    min-height: 500px;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,0.98),
            rgba(250,244,235,0.88)
        );
}

.about h2 {
    font-size: 35px;
    letter-spacing: 6px;
    margin-bottom: 15px;
}

.about h3 {
    font-size: 32px;
    font-weight: normal;
    letter-spacing: 4px;
    margin-bottom: 35px;
}

.about p {
    max-width: 750px;
    margin-bottom: 20px;
    font-size: 16px;
}


/* =========================
   TALENT
========================= */

.talent {
    padding: 80px 8%;
    background: #fff;
}

.talent > h2 {
    font-size: 36px;
    letter-spacing: 6px;
}

.talent > p {
    margin-bottom: 35px;
}

.talent-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.talent-card {
    background: #102238;
    color: white;
    overflow: hidden;
}

.talent-photo {
    height: 300px;

    display: flex;
    justify-content: center;
    align-items: center;

    background:
        linear-gradient(
            135deg,
            #d8c8b0,
            #41566c
        );

    color: rgba(255,255,255,0.7);
    letter-spacing: 4px;
}

.talent-card h3 {
    padding: 15px 20px 0;
    font-size: 22px;
    letter-spacing: 2px;
}

.talent-card p {
    padding: 0 20px 15px;
    font-size: 14px;
}


/* =========================
   NEWS
========================= */

.news {
    padding: 80px 12%;
    background: #f8f5ef;
}

.news h2 {
    font-size: 36px;
    letter-spacing: 6px;
    margin-bottom: 25px;
}

.news p {
    padding: 12px 0;
    border-bottom: 1px solid #cfc7ba;
}


/* =========================
   AUDITION
========================= */

.audition {
    padding: 90px 12%;
    background: #102238;
    color: white;
}

.audition h2 {
    font-size: 38px;
    letter-spacing: 7px;
}

.audition h3 {
    font-size: 28px;
    font-weight: normal;
    margin: 15px 0 25px;
}

.audition p {
    font-size: 18px;
}


/* =========================
   フッター
========================= */

footer {
    text-align: center;

    padding: 70px 20px 30px;

    background: #071728;
    color: white;
}

footer h2 {
    font-size: 30px;
    font-weight: normal;
    letter-spacing: 4px;
}

footer p {
    margin-top: 15px;
    color: #ddd4c5;
}


/* =========================
   スマホ対応
========================= */

@media (max-width: 900px) {
header {
    flex-direction: row;
}

nav {
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 0;
}
 

    .hero {
        min-height: 520px;
        padding: 40px 5%;
    }

    .hero-text {
        width: 100%;
    }

    .hero-text h1 {
        font-size: 38px;
    }

    .services {
        grid-template-columns: repeat(2, 1fr);
    }

    .talent-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {

    .services {
        grid-template-columns: 1fr;
    }

    .talent-list {
        grid-template-columns: 1fr;
    }

    .hero-text {
        padding: 30px 20px;
    }

    .hero-text h1 {
        font-size: 30px;
    }
}
/* =========================
   CONTACT
========================= */

.contact {
    padding: 100px 20px;
    background: #faf8f5;
    color: #102238;
}

.contact-inner {
    max-width: 800px;
    margin: 0 auto;
}

.contact-en {
    text-align: center;
    letter-spacing: 6px;
    color: #b58a4a;
    font-size: 14px;
    margin-bottom: 10px;
}

.contact h2 {
    text-align: center;
    font-size: 32px;
    font-weight: normal;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.contact-lead {
    text-align: center;
    line-height: 2;
    margin-bottom: 50px;
}

.contact-form {
    background: #ffffff;
    padding: 50px;
    border: 1px solid #e6ded2;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
}

.required {
    background: #b58a4a;
    color: white;
    font-size: 11px;
    padding: 3px 7px;
    margin-left: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 14px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 16px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #b58a4a;
}

.privacy-check {
    text-align: center;
    margin: 35px 0;
}

.contact-button {
    display: block;
    width: 260px;
    margin: 0 auto;
    padding: 16px;
    border: 1px solid #b58a4a;
    background: #102238;
    color: white;
    font-size: 16px;
    letter-spacing: 3px;
    cursor: pointer;
}

.contact-button:hover {
    background: #b58a4a;
}

/* スマホ */
@media (max-width: 600px) {

    .contact {
        padding: 60px 15px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .contact-button {
        width: 100%;
    }
}
.services .service {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.services .service h2 {
    height: 90px;
    display: flex;
    align-items: center;
    margin: 0 0 10px 0;
}

/* =========================
   THANK YOU PAGE
========================= */

.thanks-page {
    min-height: 100vh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #faf8f5;
    color: #102238;
}

.thanks-box {
    width: 90%;
    max-width: 750px;
    padding: 70px 50px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e6ded2;
}

.thanks-logo {
    width: 320px;
    max-width: 80%;
    margin-bottom: 40px;
}

.thanks-en {
    color: #b58a4a;
    letter-spacing: 6px;
    font-size: 14px;
    margin-bottom: 15px;
}

.thanks-box h1 {
    font-size: 30px;
    font-weight: normal;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.thanks-box p {
    line-height: 2.2;
}

.thanks-button {
    display: inline-block;
    margin-top: 40px;
    padding: 15px 55px;
    background: #102238;
    border: 1px solid #b58a4a;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 2px;
}

.thanks-button:hover {
    background: #b58a4a;
}

/* =========================
   AUDITION FORM
========================= */

.audition-page {
    margin: 0;
    padding: 60px 20px;
    background: #faf8f5;
    color: #102238;
}

.audition-form-box {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 70px;
    background: #ffffff;
    border: 1px solid #e6ded2;
}

.audition-logo {
    display: block;
    width: 320px;
    max-width: 80%;
    margin: 0 auto 35px;
}

.audition-en {
    text-align: center;
    color: #b58a4a;
    letter-spacing: 6px;
    font-size: 15px;
}

.audition-form-box h1 {
    text-align: center;
    font-size: 32px;
    font-weight: normal;
    letter-spacing: 3px;
    margin: 20px 0 25px;
}

.audition-intro {
    text-align: center;
    line-height: 2;
    margin-bottom: 50px;
}

.audition-entry-form .form-group {
    margin-bottom: 30px;
}

.audition-entry-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 17px;
}

.audition-entry-form input[type="text"],
.audition-entry-form input[type="email"],
.audition-entry-form input[type="number"],
.audition-entry-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.audition-entry-form textarea {
    min-height: 150px;
    resize: vertical;
}

.audition-back {
    display: block;
    margin-top: 30px;
    text-align: center;
    color: #102238;
    text-decoration: none;
}

@media (max-width: 600px) {
    .audition-form-box {
        width: 100%;
        padding: 40px 20px;
    }

    .audition-form-box h1 {
        font-size: 24px;
    }
}

.service-link {
    text-decoration: none;
    color: inherit;
}

.service-link {
    text-decoration: none;
    color: white;
}

.service-link h2,
.service-link p,
.service-link span {
    color: white;
}

/* =========================
   ORIGINAL WORKS
========================= */

.original-works {
    width: 100%;
    box-sizing: border-box;
    padding: 80px 20px;
    text-align: center;
    background: #faf8f5;
    color: #102238;
}

.original-video {
    display: block;
    width: 600px;
    max-width: 90%;
    aspect-ratio: 16 / 9;
    height: auto;
    margin: 30px auto 0;
    background: #000;
}

/* ===== レイアウト崩れ修正 ===== */

main {
    display: block !important;
    width: 100%;
}

.about,
.talent,
.news,
.audition,
.original-works {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

/* ABOUT */
.about {
    padding: 100px 12%;
}

/* TALENT */
.talent {
    padding: 80px 8%;
}

/* NEWS */
.news {
    padding: 80px 12%;
}

/* AUDITION */
.audition {
    padding: 90px 12%;
}

/* 自社制作 */
.original-works {
    padding: 80px 20px;
    text-align: center;
}

/* 下段セクションを縦に戻す */
.about,
.talent,
.news,
.audition,
.original-works,
.contact {
    width: 100%;
    box-sizing: border-box;
    float: none;
}

/* main全体も縦並び */
main {
    display: block;
    width: 100%;
}

/* =========================
   COMPANY
========================= */

.company-page {
    background: #faf8f5;
    min-height: 100vh;
}

.company-info {
    max-width: 1000px;
    margin: 0 auto;
    padding: 100px 40px 120px;
}

.company-en {
    text-align: center;
    color: #b58a4a;
    font-size: 15px;
    letter-spacing: 6px;
    margin-bottom: 10px;
}

.company-info h1 {
    text-align: center;
    font-size: 36px;
    font-weight: normal;
    letter-spacing: 5px;
    margin-bottom: 70px;
    color: #102238;
}

.company-table {
    width: 100%;
    border-top: 1px solid #d6c49b;
}

.company-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    border-bottom: 1px solid #ddd5c8;
}

.company-label {
    padding: 25px 30px;
    background: #f3eee6;
    font-weight: bold;
    color: #102238;
}

.company-value {
    padding: 25px 35px;
    background: #ffffff;
    line-height: 2;
    color: #102238;
}

@media (max-width: 700px) {
    .company-info {
        padding: 60px 20px;
    }

    .company-row {
        grid-template-columns: 1fr;
    }

    .company-label {
        padding: 15px 20px;
    }

    .company-value {
        padding: 20px;
    }
}

/* スマホ用メニュー */

.menu-toggle {
    display: none;
}

@media (max-width: 700px) {

    header {
        position: relative;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 30px;
        color: #102238;
        cursor: pointer;
        margin-left: auto;
        padding: 10px 15px;
    }

    header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        z-index: 9999;
        padding: 20px;
        box-sizing: border-box;
    }

    header nav.active {
        display: flex;
        flex-direction: column;
    }

    header nav a {
        display: block;
        padding: 12px 10px;
        text-align: center;
    }
}

.sns-fixed {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sns-fixed a {
    display: block;
    min-width: 90px;
    padding: 10px 14px;
    border-radius: 24px;
    background: #173b63;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.sns-fixed a:hover {
    background: #c9a45c;
}

@media (max-width: 600px) {
    .sns-fixed {
        right: 12px;
        bottom: 12px;
    }

    .sns-fixed a {
        min-width: 76px;
        padding: 8px 10px;
        font-size: 12px;
    }
}

/* スマホ・タブレット表示の調整 */
@media (max-width: 900px) {
    header {
        min-height: 78px;
        padding: 6px 12px;
    }

    .logo {
        width: auto;
        height: auto;
        flex: 1;
        min-width: 0;
    }

    .logo img {
        width: min(190px, 55vw);
        height: auto;
        max-height: 64px;
    }

    .menu-toggle {
        display: block;
        flex: 0 0 auto;
        margin-left: auto;
        padding: 6px 10px;
        font-size: 28px;
    }

    header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        margin: 0;
        padding: 12px;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        z-index: 9999;
    }

    header nav.active {
        display: flex;
    }

    header nav a {
        padding: 12px;
        text-align: center;
    }

    .hero {
        min-height: 520px;
        padding: 28px 18px;
        justify-content: center;
        background-position: center;
    }

    .hero-text {
        width: 100%;
        max-width: 420px;
        padding: 24px 18px;
        transform: none;
    }

    .hero-text h1 {
        font-size: clamp(28px, 8vw, 36px);
        letter-spacing: 4px;
        margin-bottom: 18px;
    }

    .hero-text p {
        font-size: 16px;
        margin-top: 14px;
    }

    .about,
    .news,
    .audition {
        padding: 58px 20px;
    }

    .about h3 {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .talent {
        padding: 58px 20px;
    }

    .talent-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .talent-photo {
        height: 180px;
    }

    .original-works {
        padding: 55px 15px;
    }

    .original-video {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 550px) {
    .services {
        grid-template-columns: 1fr;
    }

    .service {
        min-height: 180px;
        padding: 24px 20px;
    }

    .services .service h2 {
        height: auto;
        min-height: 48px;
    }
}