/* ===== ベース ===== */
body {
  background: #000;
  color: #fff;
  margin: 0;
  font-family: sans-serif;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== ギャラリー ===== */
.photo-gallery {
  margin-top: 60px;
}

.photo-gallery .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  grid-auto-rows: 150px;
}

/* 画像 */
.photo-gallery .container > * {
  overflow: hidden;
}

.photo-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

/* レイアウト */
.photo-gallery a:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.photo-gallery a:nth-child(2) {
  grid-row: span 1;
}

.photo-gallery a:nth-child(3) {
  grid-row: span 2;
}

.photo-gallery a:nth-child(4) {
  grid-column: span 2;
  grid-row: span 1;
}

/* スマホ */
@media (max-width: 768px) {
  .photo-gallery .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-gallery img:nth-child(1),
  .photo-gallery img:nth-child(4) {
    grid-column: span 2;
  }
}
/* ===== ナビリンク ===== */

/* ===== ナビ ===== */

.nav-links {
  padding: 140px 0 120px;
}

.nav-links .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: clamp(40px, 8vw, 90px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
  transition: 0.3s;
}

/* ズラす */
.nav-links a:nth-child(2) {
  margin-left: 120px;
}

.nav-links a:nth-child(3) {
  margin-left: 40px;
}

.nav-links a:nth-child(4) {
  margin-left: 180px;
}

.nav-links a:hover {
  transform: translateX(10px);
  opacity: 0.6;
}
.nav-links a:hover {
  background: white;
  color: black;
}
/* ===== FEATURE GRID ===== */

.feature-grid {
  padding: 120px 0;
}

.feature-grid .container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
}

/* 共通 */
.feature-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 24px;
  text-decoration: none;
}

.feature-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.5s;
}

.feature-item span {
  position: absolute;
  left: 24px;
  bottom: 20px;

  color: white;
  font-size: clamp(28px, 4vw, 64px);
  font-weight: 700;
  letter-spacing: -2px;

  z-index: 2;
}

/* ホバー */
.feature-item:hover img {
  transform: scale(1.05);
  opacity: 0.8;
}

/* 配置 */

.item1 {
  grid-column: span 7;
  height: 520px;
}

.item2 {
  grid-column: span 5;
  margin-top: 120px;
  height: 340px;
}

.item3 {
  grid-column: span 4;
  margin-top: 0px;
  height: 420px;
}

.item4 {
  grid-column: span 8;
  height: 520px;
}

/* スマホ */

@media (max-width: 768px) {

  .feature-grid .container {
    grid-template-columns: 1fr;
  }

  .feature-item {
    margin-top: 0 !important;
    height: 320px !important;
  }

}
/* ===== HOME SECTION ===== */

.home-sections {
  margin-top: 120px;
}

.home-run {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 120px;
}

.run-image img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

.run-content h2 {
  font-size: 64px;
  margin-bottom: 20px;
}

.mini {
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.6;
}

.run-date {
  font-size: 42px;
  margin: 20px 0 40px;
}

.view-link {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #fff;
  padding-bottom: 6px;
}

/* BLOG */

.home-blog {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  align-items: start;
}

.blog-title h2 {
  font-size: 64px;
}

.blog-list {
  border-top: 1px solid rgba(255,255,255,0.15);
}

.blog-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  text-decoration: none;
}

.blog-item:hover {
  opacity: 0.7;
}

.blog-item .date {
  opacity: 0.5;
}
/* ===== BOTTOM IMAGE BUTTON ===== */

.bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 120px;
}

.feature-item {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  display: block;
}

.feature-item img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: 0.4s;
}

.feature-item:hover img {
  transform: scale(1.05);
}

.feature-item span {
  position: absolute;
  left: 30px;
  bottom: 24px;
  color: #fff;
  font-size: 42px;
  font-weight: 700;
}
/* ===== SMARTPHONE ===== */

@media (max-width: 768px) {

  .home-run {
    grid-template-columns: 160px 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 80px;
  }

  .run-image img {
    width: 100%;
    border-radius: 20px;
  }

  .run-content h2 {
    font-size: 56px;
    margin-bottom: 16px;
  }

  .mini {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .run-date {
    font-size: 28px;
    margin: 16px 0 24px;
  }

  .view-link {
    font-size: 14px;
  }

  .home-blog {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .blog-title h2 {
    font-size: 56px;
  }

  .blog-item {
    grid-template-columns: 90px 1fr;
    gap: 16px;
    font-size: 14px;
  }

  .bottom-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 80px;
  }

  .feature-item img {
    height: 300px;
  }

  .feature-item span {
    font-size: 32px;
    left: 20px;
    bottom: 18px;
  }

  .container {
    padding: 0 16px;
  }

}
/* ===== HERO ===== */

/* ===== HERO ===== */

.hero {
  position: relative;
  padding: 180px 0 140px;
  overflow: hidden;
}

/* 背景画像 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/wp-content/uploads/2026/04/IMG_5531.JPG');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.35;
  filter: blur(2px);
  transform: scale(1.05);
  z-index: 0;
}

/* 黒グラデーション */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.75) 50%,
    rgba(0, 0, 0, 0.95) 100%
  );
  z-index: 1;
}

/* 文字を前面に */
.hero .container {
  position: relative;
  z-index: 2;
}

.hero .sub {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(64px, 12vw, 180px);
  font-weight: 800;
  letter-spacing: -4px;
  line-height: 0.9;
  margin: 0 0 32px;

  background-image: url('/wp-content/uploads/2026/04/IMG_5618.jpg');
  background-size: cover;
  background-position: center;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lead {
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.8;
  max-width: 900px;
  opacity: 0.9;
}

/* ===== HERO ANIMATION ===== */

.hero .sub,
.hero h1,
.hero .lead {
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 1s ease forwards;
}

.hero .sub {
  animation-delay: 0.1s;
}

.hero h1 {
  animation-delay: 0.4s;
}

.hero .lead {
  animation-delay: 0.8s;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== HERO SMARTPHONE ===== */

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 100px;
  }

  .hero::before {
    background-position: center top;
    opacity: 0.28;
    filter: blur(1px);
  }

  .hero h1 {
    font-size: 56px;
    letter-spacing: -2px;
    line-height: 1;
  }
}
/* ===== SCROLL ANIMATION ===== */

.home-run,
.home-blog,
.bottom-grid {
  opacity: 0;
  transition: 1s ease;
}

/* RUN */
.home-run {
  transform: translateX(-60px);
}

/* BLOG */
.home-blog {
  transform: translateX(60px);
}

/* COOKING & WEEKLY SONG */
.bottom-grid {
  transform: translateY(60px);
}

/* 表示後 */
.home-run.is-visible,
.home-blog.is-visible,
.bottom-grid.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}
/* ===== RUN LOG ===== */

.run-log {
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.9;
}

.run-log p {
  margin: 0 0 12px;
}

.run-log strong {
  display: inline-block;
  width: 110px;
  opacity: 0.6;
  font-weight: 600;
}

.run-note {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.run-note p {
  line-height: 2;
}

@media (max-width: 768px) {
	.run-log {
    font-size: 16px;
  }

  .run-log strong {
    width: 90px;
  }
}
/* ===== RUN LOG ===== */

.run-log {
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.9;
}

.run-log p {
  margin: 0 0 12px;
}

.run-log strong {
  display: inline-block;
  width: 110px;
  opacity: 0.6;
  font-weight: 600;
}

.run-note {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.run-note p {
  line-height: 2;
}

@media (max-width: 768px) {
  .run-log {
    font-size: 16px;
  }

  .run-log strong {
    width: 90px;
  }
}