@charset "utf-8";

/* =========================
   基本設定・カラーパレット
========================= */

:root {
    --talent-background: #d5ecf1;
    --talent-surface: rgba(245, 245, 245, 0.9);
    --talent-text: #4a4a4a;
    --talent-heading: #333;
    --talent-muted: #666;
    --talent-line: rgba(0, 0, 0, 0.1);
    --talent-accent: rgba(150, 180, 190, 0.35);
    --talent-button: rgba(40, 40, 40, 0.9);
}

*{ margin:0; padding:0; box-sizing:border-box; }

html, body{
  font-family: "Zen Maru Gothic","M PLUS Rounded 1c","Kiwi Maru","Noto Sans JP",sans-serif;
  background: var(--talent-background);
  color: var(--talent-text);
  scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    margin: 0;
    background: var(--talent-background);
    color: var(--talent-text);
    font-family:
        "Zen Maru Gothic",
        "M PLUS Rounded 1c",
        "Kiwi Maru",
        "Noto Sans JP",
        sans-serif;
    line-height: 2;
    -webkit-text-size-adjust: 100%;
}
.container{
  max-width: 1400px;
  margin: 0 auto;
}

body{
  padding-top: clamp(64px, 7vh, 88px);
}

/* =========================
   Header
========================= */
.header{
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.header-inner{
  height: clamp(64px, 7vh, 88px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 1vh clamp(32px, 4vw, 64px);
  color:#fff;
}

/* logo */
.logo{
  display:flex;
  align-items:center;
  gap: clamp(8px, 1vw, 14px);
}

.logo-link{
  display:flex;
  align-items:center;
  gap: clamp(8px, 1vw, 12px);
  text-decoration:none;
  color: inherit;
}

.logo img{
  height: clamp(26px, 2.4vw, 46px);
  width:auto;
}

.logo span{
  font-size: clamp(11px, 1.1vw, 16px);
  letter-spacing: 0.12em;
  white-space: nowrap;
  font-weight: 700;
}

/* nav */
.nav{ display:flex; align-items:center; }
.nav-panel{ display:flex; align-items:center; }



.header-inner > .nav a {
  margin-left: clamp(14px, 2.4vw, 48px);
  font-size: clamp(11px, 1.05vw, 15px);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  opacity: 0.75;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
  transition: opacity 0.35s ease;
  white-space: nowrap;
}

.header-inner > .nav a:hover {
  opacity: 1;
}

/* ハンバーガーボタン（デスクトップでは非表示） */
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-btn span {
  width: 24px;
  height: 2px;
  background: #fff;
}

/* デスクトップでは close を非表示 */
#nav .nav-close {
  display: none;
}




.viewer {
    width: 100%;
    max-width: 1068px;
    margin: 0 auto;
    padding:
        clamp(24px, 4vw, 44px)
        clamp(16px, 4vw, 44px)
        clamp(60px, 8vw, 100px);
}

a {
    color: inherit;
    text-underline-offset: 5px;
}

h1 {
    color: var(--talent-heading);
    font-size: clamp(20px, 2.2vw, 28px);
    font-weight: 600;
    letter-spacing: 0.12em;
}

:focus-visible {
    outline: 2px solid #587d88;
    outline-offset: 5px;
}

[hidden] {
    display: none !important;
}

/* =========================
   ホームページへ戻るリンク
========================= */

.viewer > a {
    display: inline-block;
    color: var(--talent-text);
    font-size: 13px;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition:
        color 0.3s ease,
        transform 0.3s ease;
}

.viewer > a:hover {
    color: #000;
    transform: translateX(-3px);
}

/* =========================
   暗証番号入力画面
========================= */

.login {
    width: 100%;
    max-width: 500px;
    margin: clamp(40px, 8vh, 80px) auto;
    padding: clamp(28px, 4vw, 44px);
    background: var(--talent-surface);
    border-radius: 32px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.brand {
    margin: 0 0 18px;
    color: var(--talent-muted);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
}

.login h1 {
    margin: 0 0 20px;
    line-height: 1.7;
}

.login > p:not(.brand) {
    margin: 0;
    font-size: 14px;
    line-height: 2;
    letter-spacing: 0.05em;
}

/* =========================
   入力フォーム
========================= */

label {
    display: block;
    margin-top: 28px;
    color: var(--talent-text);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
}

input:not([type="hidden"]) {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 10px 0 24px;
    padding: 13px 16px;
    background: rgba(255, 255, 255, 0.65);
    color: var(--talent-heading);
    border: 1px solid rgba(40, 40, 40, 0.22);
    border-radius: 10px;
    font: inherit;
    font-size: 16px;
    line-height: 1.5;
    transition:
        background 0.3s ease,
        border-color 0.3s ease;
}

input:not([type="hidden"]):focus {
    background: #fff;
    border-color: #587d88;
}

input::placeholder {
    color: #777;
}

#message {
    min-height: 1.8em;
    margin: 16px 0 0;
    color: #a33d3d;
    font-size: 13px;
    line-height: 1.8;
}

/* =========================
   共通ボタン
   「車両部の説明」ボタンと統一
========================= */

button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 22px;
    background: var(--talent-button);
    color: #fff;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: 0.05em;
    text-align: center;
    cursor: pointer;
    transition:
        background 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease;
}

button:not(:disabled):hover {
    background: transparent;
    color: #000;
    border-color: #000;
}

button:disabled {
    opacity: 0.5;
    cursor: wait;
}

/* =========================
   タレントプロフィールページ
   車両部ページのカードと統一
========================= */

.talent-page {
    width: 100%;
    margin-top: 32px;
    padding: clamp(30px, 4vw, 44px);
    background: var(--talent-surface);
    border-radius: 32px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

/* 上部の英文見出し・閲覧終了ボタン */
.talent-page__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--talent-line);
}

.talent-page__top form {
    margin: 0;
}

.talent-page__label {
    margin: 0;
    color: var(--talent-muted);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
}

/* 芸名 */
.talent-page__content > h1 {
    margin: 36px 0 8px;
    color: var(--talent-heading);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.12em;
}

/* 芸名の読み仮名 */
.talent-page__content > small {
    display: block;
    color: var(--talent-muted);
    font-size: 13px;
    letter-spacing: 0.14em;
}

/* =========================
   写真エリア
========================= */

.talent-page__content .photos {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 32px 0 44px;
}

.talent-page__content .photos > img,
.talent-page__content .photo-wrap {
    width: 210px;
    height: 290px;
    border-radius: 12px;
    overflow: hidden;
}

.talent-page__content .photos > img {
    display: block;
    object-fit: cover;
}

.talent-page__content .photo-wrap {
    position: relative;
}

/* 2枚目の元写真の向きを調整 */
.talent-page__content .photo-wrap .rotated {
    position: absolute;
    width: 290px;
    height: 210px;
    max-width: none;
    left: -40px;
    top: 40px;
    object-fit: cover;
    transform: rotate(90deg);
}
/* スマートフォンでは写真を横並びに表示 */
@media (max-width: 600px) {
    .talent-page__content .photos {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        align-items: start;
    }

    .talent-page__content .photos > img,
    .talent-page__content .photo-wrap {
        width: 100%;
        height: auto;
        min-width: 0;
        aspect-ratio: 210 / 290;
        border-radius: 10px;
        overflow: hidden;
    }

    .talent-page__content .photos > img {
        object-fit: cover;
    }

    /* 回転する写真も枠の大きさに合わせる */
    .talent-page__content .photo-wrap .rotated {
        width: 138.095%;
        height: 72.414%;
        max-width: none;
        left: 50%;
        top: 50%;
        object-fit: cover;
        transform: translate(-50%, -50%) rotate(90deg);
    }
}

/* =========================
   基本情報テーブル
========================= */

.talent-page__content table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid var(--talent-line);
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 0.05em;
}

.talent-page__content th,
.talent-page__content td {
    padding: 15px 18px;
    color: var(--talent-text);
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--talent-line);
    overflow-wrap: anywhere;
}

/* 左側の項目名に淡いブルーを使用 */
.talent-page__content th {
    width: 130px;
    background: rgba(213, 236, 241, 0.5);
    font-weight: 500;
}

/* 右側はカードの背景色を使用 */
.talent-page__content td {
    background: transparent;
}

/* =========================
   自己紹介・芸歴
========================= */

.talent-page__content .bio {
    margin: 40px 0;
    font-size: 14px;
    line-height: 2.15;
    letter-spacing: 0.08em;
}

.talent-page__content h3 {
    margin: 36px 0 16px;
    padding-left: 14px;
    color: var(--talent-heading);
    border-left: 4px solid var(--talent-accent);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.7;
    letter-spacing: 0.08em;
}

.talent-page__content p {
    margin: 8px 0;
    font-size: 14px;
    line-height: 2.15;
    letter-spacing: 0.05em;
    overflow-wrap: anywhere;
}

.talent-page__content small {
    color: var(--talent-muted);
}

.talent-page__content ul,
.talent-page__content ol {
    padding-left: 1.5em;
    font-size: 14px;
    line-height: 2;
}

.talent-page__content li {
    margin-bottom: 6px;
}

/* =========================
   スマートフォン対応
========================= */

@media (max-width: 600px) {
    .viewer {
        padding: 24px 16px 60px;
    }

    .login {
        margin: 36px auto;
        padding: 28px 24px;
        border-radius: 24px;
    }

    .login h1 {
        font-size: 21px;
    }

    .talent-page {
        margin-top: 24px;
        padding: 28px 20px;
        border-radius: 24px;
    }

    .talent-page__top {
        gap: 12px;
        padding-bottom: 20px;
    }

    .talent-page__top button {
        padding: 10px 16px;
        font-size: 12px;
    }

    .talent-page__content > h1 {
        margin-top: 28px;
    }

    .talent-page__content .photos {
        justify-content: center;
        gap: 20px;
        margin: 28px 0 32px;
    }

    .talent-page__content th {
        width: 90px;
    }

    .talent-page__content th,
    .talent-page__content td {
        padding: 12px 10px;
        font-size: 13px;
    }

    .talent-page__content h3 {
        font-size: 17px;
    }

    .talent-page__content .bio,
    .talent-page__content p {
        font-size: 13px;
    }
}

/* =========================
   動きを抑える設定への対応
========================= */

@media (prefers-reduced-motion: reduce) {
    .viewer > a,
    button,
    input:not([type="hidden"]) {
        transition: none;
    }

    .viewer > a:hover {
        transform: none;
    }
}



/* =========================
   Footer
========================= */
.footer{
  background: #f6f5ef;
  margin-top: clamp(80px, 10vh, 140px);
  padding: clamp(24px, 3vh, 36px) 0 clamp(16px, 2vh, 24px);
}

.footer-inner{
  max-width:1200px;
  margin:0 auto;
  padding:0 clamp(16px,14vw,160px);
  text-align:center;
}

/* Logo */
.footer-logo img{
  width: clamp(48px,4vw,60px);
  opacity:.9;
  margin-bottom: clamp(10px,1.5vh,14px);
}

/* 会社名 */
.footer-company{
  font-size: clamp(13px,1.3vw,16px);
  font-weight:600;
  letter-spacing:.08em;
  color:#444;
  margin-bottom: clamp(12px,1.8vh,18px);
}

/* SNS */
.footer-sns{
  display:flex;
  justify-content:center;
  gap: clamp(16px,2.5vw,26px);
  margin-bottom: clamp(12px,1.8vh,18px);
}

.footer-sns img{
  width: clamp(18px,2vw,22px);
  height: auto;
  filter: grayscale(100%) brightness(0.45);  /* grey */
  transition:
    filter .35s ease,
    transform .25s ease;
}

.sns-facebook img{
  width: clamp(20px,2.5vw,26px);
  margin-top: -1.8px;
}

.sns-youtube img{
  width: clamp(22px,3vw,26px);
  margin-top: 1.6px;
}

/* hover */
.footer-sns a:hover img{
  filter: grayscale(0%) brightness(1); /* 薄くなる */
  transform: translateY(-3px);
}


/* copyright */
.footer-copy{
  font-size: clamp(9px,0.8vw,11px);
  letter-spacing:.05em;
  color:#666;
  opacity:.8;
}