@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700;900&display=swap');

/* ========================================
   CSS Variables
   ======================================== */
:root {
  --pink-light: #fff0f3;
  --pink-main: #ff6b8a;
  --pink-dark: #e84570;
  --orange-light: #fff5ee;
  --orange-main: #f26522;
  --yellow-light: #fffbf0;
  --yellow-accent: #f5a623;
  --beige: #f8f8f8;
  --brown-light: #888;
  --brown-dark: #333;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --text-main: #333333;
  --text-sub: #666666;
  --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 1px 4px rgba(0, 0, 0, 0.06);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

/* ========================================
   Reset & Base
   ======================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Zen Maru Gothic', 'Hiragino Maru Gothic Pro', 'BIZ UDGothic', sans-serif;
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.8;
  min-height: 100vh;
}

a {
  color: var(--orange-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #d95a1b;
}

img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   Age Gate Page
   ======================================== */
.age-gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  background: var(--beige);
  text-align: center;
}

.age-gate__card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-soft);
}

.age-gate__logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.age-gate__title {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.age-gate__subtitle {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 2rem;
}

.age-gate__warning {
  background: var(--gray-light);
  border: 1px solid #e5e5e5;
  border-radius: var(--radius-md);
  padding: 1.2rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.age-gate__warning strong {
  color: #cc0000;
}

.age-gate__r18-badge {
  display: inline-block;
  background: #cc0000;
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.age-gate__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn--enter {
  background: var(--orange-main);
  color: var(--white);
}

.btn--enter:hover {
  background: #d95a1b;
  color: var(--white);
}

.btn--leave {
  background: var(--gray-light);
  color: var(--text-sub);
  border: 1px solid #ddd;
}

.btn--leave:hover {
  background: #eee;
  color: var(--text-main);
}

.btn--primary {
  background: var(--orange-main);
  color: var(--white);
}

.btn--primary:hover {
  background: #d95a1b;
  color: var(--white);
}

.btn--secondary {
  background: var(--white);
  color: var(--orange-main);
  border: 2px solid var(--orange-main);
}

.btn--secondary:hover {
  background: var(--orange-light);
}

.btn--small {
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  border-radius: var(--radius-md);
}

/* ========================================
   Header
   ======================================== */
.header {
  background: var(--white);
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.header__logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.header__name {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-main);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.header__nav-link {
  padding: 0.5rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.header__nav-link:hover,
.header__nav-link--active {
  color: var(--orange-main);
  background: var(--orange-light);
}

/* Mobile menu toggle */
.header__menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-main);
  padding: 0.3rem;
}

/* ========================================
   Hero / Main Visual
   ======================================== */
.hero {
  position: relative;
  padding: 0;
  text-align: center;
  overflow: hidden;
  background: var(--beige);
}

.hero--with-bg {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero__icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.hero__icon-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  margin-bottom: 1rem;
}

.hero__title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.8);
}

.hero__desc {
  font-size: 1.05rem;
  color: var(--text-sub);
  max-width: 500px;
  margin: 0 auto;
}

/* ========================================
   Container & Sections
   ======================================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 1.5rem 0 3rem;
}

.section__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--orange-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ========================================
   About Section
   ======================================== */
.about-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid #e5e5e5;
}

.about-card p {
  margin-bottom: 1rem;
  line-height: 2;
}

.about-card p:last-child {
  margin-bottom: 0;
}

/* ========================================
   Recruit Banner
   ======================================== */
.recruit-banner {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.recruit-banner a {
  color: var(--orange-main);
  font-weight: 700;
  text-decoration: underline;
}

.recruit-banner a:hover {
  color: var(--brown-main);
}

/* ========================================
   News Section
   ======================================== */
.news-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.news-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.5rem;
  border: 1px solid #e5e5e5;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.news-item__date {
  font-size: 0.85rem;
  color: var(--text-sub);
  white-space: nowrap;
  padding-top: 0.1rem;
}

.news-item__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}

.news-item__tag--info {
  background: #e8f4fd;
  color: #2980b9;
}

.news-item__tag--release {
  background: #fdecea;
  color: #cc0000;
}

.news-item__tag--event {
  background: var(--orange-light);
  color: var(--orange-main);
}

.news-item__text {
  font-size: 0.95rem;
  flex: 1;
}

/* ========================================
   Works Page - Card Grid
   ======================================== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.work-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #e5e5e5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.work-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.work-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--brown-light);
  overflow: hidden;
}

.work-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.work-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.work-card__meta {
  font-size: 0.8rem;
  color: var(--text-sub);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.work-card__desc {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4.59em; /* 1.7em(line-height) × 3行 = 5.1em相当、実測に合わせ調整 */
}

.work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
  margin-top: auto;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-sm);
  background: var(--gray-light);
  color: var(--text-sub);
  border: 1px solid #e5e5e5;
}

.tag--genre {
  background: var(--orange-light);
  color: var(--orange-main);
  border-color: var(--orange-main);
}

.work-card__actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* ========================================
   Recruit Page
   ======================================== */
.recruit-section {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid #e5e5e5;
}

.recruit-section__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--orange-main);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.recruit-section ul {
  list-style: none;
  padding: 0;
}

.recruit-section li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.8;
}

.recruit-section li::before {
  content: '🐹';
  position: absolute;
  left: 0;
  top: 0.5rem;
  font-size: 0.85rem;
}

.recruit-note {
  background: #fff8f0;
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  border-left: 4px solid var(--orange-main);
}

.recruit-note p {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.recruit-note p:last-child {
  margin-bottom: 0;
}

.recruit-contact {
  text-align: center;
  padding: 2.5rem;
}

.recruit-contact__text {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: var(--text-sub);
}

.recruit-contact .btn {
  min-width: 250px;
}

/* Recruit Flow (ordered list) */
.recruit-flow {
  list-style: none;
  counter-reset: flow-counter;
  padding-left: 0;
}

.recruit-flow li {
  counter-increment: flow-counter;
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.5rem;
}

.recruit-flow li:last-child {
  margin-bottom: 0;
}

.recruit-flow li::before {
  content: counter(flow-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.8rem;
  height: 1.8rem;
  background: var(--orange-main);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.recruit-flow li strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.recruit-flow li p {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin: 0;
}

/* Recruit Form */
.recruit-form {
  margin-top: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.form-input {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #e5e5e5;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: var(--orange-main);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-sub);
  margin-top: 0.3rem;
  line-height: 1.6;
}

.form-required {
  color: #cc0000;
  font-size: 0.8rem;
  font-weight: 700;
}

.form-message {
  text-align: center;
  padding: 2rem;
  font-size: 1rem;
  line-height: 1.8;
}

.form-message--success {
  color: #2e7d32;
}

.form-message--error {
  color: #cc0000;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--white);
  border-top: 1px solid #e5e5e5;
  padding: 2rem 1.5rem;
  text-align: center;
}

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

.footer__links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer__link {
  font-size: 0.9rem;
  color: var(--text-sub);
}

.footer__link:hover {
  color: var(--orange-main);
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-sub);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
  .header__inner {
    height: 60px;
  }

  .header__menu-toggle {
    display: block;
  }

  .header__nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }

  .header__nav--open {
    display: flex;
  }

  .header__nav-link {
    padding: 0.8rem 1rem;
    width: 100%;
    text-align: center;
  }

  .hero {
    padding: 0;
  }

  .hero--with-bg {
    height: 100px;
  }

  .age-gate__card {
    padding: 2rem 1.5rem;
  }

  .age-gate__title {
    font-size: 1.4rem;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .news-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .section {
    padding: 2rem 0;
  }
}

@media (max-width: 480px) {
  .age-gate__logo {
    font-size: 2.5rem;
  }

  .hero__title {
    font-size: 1.3rem;
  }

  .section__title {
    font-size: 1.2rem;
  }
}
