/* ============================================
   TAIYO SUN — style.css
   Design: Simple Cool / Orange Accent
   ============================================ */

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

:root {
  --orange:     #E8601A;
  --orange-lt:  #F5A067;
  --orange-bg:  #FDF6F0;
  --dark:       #1A1A1A;
  --mid:        #5A5A5A;
  --light:      #F7F4F1;
  --white:      #FFFFFF;
  --border:     #E4DDD7;

  --font-en:    'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-jp:    'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;

  --max-w:      1080px;
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--dark);
  font-family: var(--font-jp);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  opacity: 0.7;
}

/* ---------- Layout Utility ---------- */
.container {
  width: 90%;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  width: 90%;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* テキストロゴ（ヘッダー） */
.site-header__logo-text {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--dark);
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
}

.site-header__logo-text span {
  color: var(--orange);
}

.site-header__contact-link {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1.5px solid var(--orange);
  padding: 6px 18px;
  border-radius: 100px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.site-header__contact-link:hover {
  background: var(--orange);
  color: var(--white);
  opacity: 1;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 64px; /* header offset */
  background:
    linear-gradient(
      180deg,
      #C8E8F5 0%,
      #8DCAE5 22%,
      #5AAEC9 48%,
      #3B8FAD 72%,
      #2A7090 100%
    );
  overflow: hidden;
  position: relative;
}

/* 水面の光反射ライン */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 48px,
      rgba(255,255,255,0.03) 48px,
      rgba(255,255,255,0.03) 50px
    );
  pointer-events: none;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 5% 20px;
  position: relative;
  z-index: 1;
  min-height: 60vh;
  justify-content: center;
}

.hero__tagline {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
}

/* ヒーローテキストタイトル */
.hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.9;
  margin-bottom: 64px;
  gap: 0;
}

.hero__title-taiyo {
  font-family: var(--font-en);
  font-size: clamp(5rem, 16vw, 12rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow:
    0 2px 0 rgba(0,0,0,0.08),
    0 8px 32px rgba(0,0,0,0.18);
  line-height: 1;
}

.hero__title-sun {
  font-family: var(--font-en);
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 600;
  letter-spacing: 0.45em;
  color: var(--orange-lt);
  text-shadow: 0 2px 16px rgba(0,0,0,0.15);
  line-height: 1.2;
  align-self: flex-end;
  margin-right: -0.45em; /* letter-spacing分補正 */
}

/* 海面→白のフェードアウト波形 */
.hero__wave {
  display: block;
  width: 100%;
  margin-bottom: -2px;
  position: relative;
  z-index: 1;
}

/* ---------- Hero Illustration（波の下） ---------- */
.hero-illust {
  padding: 56px 0 40px;
  background: var(--white);
}

.hero-illust__img {
  width: min(860px, 100%);
  margin: 0 auto;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.10));
}

/* ---------- Section: About ---------- */
.section-about {
  padding: 96px 0 80px;
  background: var(--white);
}

.section-about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.section-about__sun {
  width: min(280px, 70%);
  margin: 0 auto;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.section-about__text h2 {
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-about__text h2 span {
  color: var(--orange);
}

.section-about__text p {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.9;
  max-width: 440px;
}

/* ---------- Divider ---------- */
.divider {
  height: 1px;
  background: var(--border);
  width: 90%;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ---------- Section: Contact ---------- */
.section-contact {
  padding: 96px 0;
  background: var(--light);
  position: relative;
  overflow: hidden;
}

.section-contact::before {
  content: '';
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: var(--orange-lt);
  opacity: 0.12;
}

.contact-grid {
  padding-top: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
}

.contact-item {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}



.contact-item__key {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}

.contact-item__value {
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 500;
  line-height: 1.6;
}

.contact-item__value a {
  color: var(--dark);
  word-break: break-all;
  transition: color 0.2s var(--ease);
}

.contact-item__value a:hover {
  color: var(--orange);
  opacity: 1;
}

/* ---------- Profile Card ---------- */
.section-profile {
  padding: 96px 0;
  background: var(--white);
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.profile-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--orange);
  border-radius: 4px 0 0 4px;
}

.profile-card__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--orange-bg);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid var(--border);
}

.profile-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-card__avatar-placeholder {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
}

.profile-card__title {
  font-size: 0.75rem;
  color: var(--mid);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.profile-card__name-jp {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
  letter-spacing: 0.05em;
}

.profile-card__name-en {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--mid);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.5);
  padding: 40px 0;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  width: 90%;
  max-width: var(--max-w);
  margin: 0 auto;
}

.site-footer__logo-text {
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  font-style: normal;
}

.site-footer__logo-text em {
  color: var(--orange-lt);
  font-style: normal;
}

.site-footer__copy {
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .hero__title-sun {
    letter-spacing: 0.3em;
    margin-right: -0.3em;
  }

  .hero-illust {
    padding: 40px 0 24px;
  }

  .section-about__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .section-about__text p {
    max-width: 100%;
  }

  .profile-card {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
    gap: 24px;
  }

  .profile-card::after {
    left: 0;
    top: 0;
    right: 0;
    bottom: auto;
    width: auto;
    height: 4px;
    border-radius: 4px 4px 0 0;
  }

  .section-contact__heading {
    margin-bottom: 36px;
  }

  .hero__logo {
    width: min(500px, 90vw);
  }
}

@media (max-width: 480px) {
  .site-header__contact-link {
    display: none;
  }

  .section-about,
  .section-contact,
  .section-profile {
    padding: 64px 0;
  }
}
