/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap');

/* CSS Reset and Base Styles */
:root {
  --color-text: #333;
  --color-background: #fff;
  --color-light-gray: #f7f7f7;
  --color-dark: #000000;
  --color-dark-gray: #333;
  --color-medium-gray: #6b7280;
  --color-accent: #5a7d7c;
  --color-sale: #007a85;
  --font-main: 'Roboto', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background-color: var(--color-background);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-padding {
  padding: 80px 0;
}

.section-heading {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.btn-dark {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.btn-dark:hover {
  background-color: #4a6867;
  border-color: #4a6867;
}

.btn-light {
  background-color: #fff;
  border-color: #fff;
  color: var(--color-dark-gray);
}

.btn-light:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

.btn-dark-outline {
  background-color: transparent;
  border-color: var(--color-dark-gray);
  color: var(--color-dark-gray);
}

.btn-dark-outline:hover {
  background-color: var(--color-dark-gray);
  color: #fff;
}


/* ========== HEADER ========== */
.announcement-bar {
  background-color: var(--color-dark);
  color: #fff;
  text-align: center;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 400;
}

.announcement-bar a {
  text-decoration: underline;
  font-weight: 700;
}

.main-header {
  background-color: var(--color-dark);
  color: #fff;
  padding: 10px 0;
}

.main-header .container {
  max-width: none;
  width: 100%;
}

.header-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid #333;
  font-size: 12px;
  font-weight: 700;
}

.header-top-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-top-item i {
  font-size: 14px;
}

.header-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
}

.header-left-group {
  display: flex;
  align-items: center;
  gap: 50px;
}

.header-logo img {
  width: 80px;
  height: auto;
  filter: brightness(0) invert(1);
}

.main-nav ul {
  display: flex;
  gap: 28px;
}

.main-nav a {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  position: relative;
  padding-bottom: 5px;
}

.main-nav a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-actions a {
  color: #fff;
  font-size: 18px;
}

/* モバイル用メニューの初期スタイル */
.mobile-menu-toggle,
.mobile-nav-close {
  display: none;
  /* PCでは非表示 */
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}


/* Hero Section */
.hero-slider {
  width: 100%;
  height: 550px;
  /* スライドショーの高さを設定 */
  background-color: #f0f0f0;
}

.hero-slide-content {
  display: flex;
  width: 100%;
  height: 100%;
}

.hero-text {
  flex-basis: 50%;
  background: linear-gradient(to right, #4a4a69, #007a85);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.hero-text .subtitle {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-text .title {
  font-size: 6rem;
  font-weight: 900;
  line-height: 1;
  margin: 10px 0;
}

.hero-text .title span {
  font-size: 1.5rem;
  font-weight: 400;
  display: block;
  margin-bottom: -15px;
}

.hero-text .description {
  max-width: 350px;
  margin: 20px 0;
}

.hero-image {
  flex-basis: 50%;
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 画像がコンテナに合わせてトリミングされる */
}

/* Swiperのナビゲーションボタンとページネーションのスタイル調整 */
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
  color: #ffffff;
  /* 矢印の色を白に */
  --swiper-navigation-size: 30px;
  /* 矢印のサイズ */
}

.hero-slider .swiper-pagination-bullet {
  background-color: rgba(255, 255, 255, 0.5);
  /* 通常の点の色 */
  opacity: 1;
}

.hero-slider .swiper-pagination-bullet-active {
  background-color: #ffffff;
  /* アクティブな点の色 */
}




.gift-guide-grid,
.activity-grid,
.product-grid,
.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gift-card,
.activity-card,
.product-card,
.person-card,
.story-card {
  text-align: center;
}

.gift-card img,
.activity-card img,
.story-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.gift-card figcaption {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-top: 15px;
}

.activity-section {
  background-color: var(--color-light-gray);
}

.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.carousel-nav {
  display: flex;
  gap: 15px;
}

.carousel-nav i {
  font-size: 1.2rem;
  color: var(--color-medium-gray);
  cursor: pointer;
}

.activity-card {
  position: relative;
  color: #fff;
}

.activity-card img {
  filter: brightness(0.7);
}

.activity-card-content {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
}

.activity-card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.product-grid {
  gap: 30px;
}

.product-card-image {
  position: relative;
  margin-bottom: 15px;
  background-color: var(--color-light-gray);
  padding: 20px;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--color-dark-gray);
  color: #fff;
  padding: 3px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.product-info .name {
  font-weight: 700;
}

.product-info .stars {
  color: var(--color-text);
  margin: 5px 0;
}

.product-info .price {
  font-weight: 700;
}

.product-info .price .original {
  text-decoration: line-through;
  color: var(--color-medium-gray);
  font-weight: 400;
  margin-right: 5px;
}

.product-info .price .sale-tag {
  background-color: #c0392b;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 5px;
  border-radius: 3px;
  margin-left: 5px;
}

.full-width-media {
  height: 600px;
  background-image: url('https://images.pexels.com/photos/1586536/pexels-photo-1586536.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
  background-size: cover;
  background-position: center;
  position: relative;
}

.video-controls {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: 15px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 5px;
}

.two-col-section {
  display: flex;
  align-items: center;
  background-color: #fdfcf8;
}

.two-col-section .col-img,
.two-col-section .col-text {
  flex-basis: 50%;
}

.two-col-section .col-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.two-col-section .col-text {
  padding: 5rem;
  text-align: center;
}

.col-text.legacy-bg {
  background-color: #e6e2d9;
}

.two-col-section .logo-icon img {
  height: 60px;
  margin: 0 auto 20px;
}

.two-col-section h2 {
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
}

.two-col-section p {
  max-width: 400px;
  margin: 0 auto 30px;
  color: var(--color-medium-gray);
}

.high-quality .col-text {
  text-align: left;
}

.high-quality h2 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
}

.high-quality p {
  margin: 0 0 30px 0;
  max-width: 100%;
}

.guarantee-section {
  height: 500px;
  background-image: url('https://www.osprey.com/media/wysiwyg/HOOSE-1368-d-amg-banner_1.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  position: relative;
  margin-bottom: 60px;
}

.guarantee-content {
  position: relative;
  z-index: 2;
}

.guarantee-content .guarantee-logo {
  width: 120px;
  height: 120px;
  border: 4px solid #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  font-weight: 700;
}

.guarantee-logo span:first-child {
  font-size: 1.5rem;
}

.guarantee-logo span:last-child {
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.guarantee-content p {
  max-width: 500px;
  margin-bottom: 30px;
}

.person-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  margin-bottom: 15px;
}

.person-card .name {
  font-weight: 700;
}

.person-card .role {
  font-size: 0.9rem;
  color: var(--color-medium-gray);
}

.story-card {
  position: relative;
}

.story-card img {
  filter: brightness(0.8);
  transition: filter 0.3s ease; /* ホバー効果のためトランジションを追加 */
}

.story-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  color: #fff;
}

.story-card-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.read-time {
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--color-dark-gray);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  display: inline-block;
}

.instagram-section {
  background-color: var(--color-light-gray);
  text-align: center;
}

.instagram-section h2 {
  font-size: 2rem;
  font-weight: 400;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 30px;
  position: relative;
}

.instagram-grid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.insta-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.insta-arrow.right {
  right: -20px;
}

.insta-arrow.left {
  left: -20px;
}

.main-footer {
  background-color: var(--color-light-gray);
  padding-top: 80px;
  position: relative;
  font-size: 0.9rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 80px;
  position: relative;
  z-index: 2;
}

.footer-col h4 {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a:hover {
  text-decoration: underline;
}

.footer-col .guarantee-logo-footer img {
  width: 120px;
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
  margin-bottom: 20px;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-right: none;
}

.newsletter-form button {
  padding: 10px 20px;
  background-color: var(--color-dark-gray);
  color: #fff;
  border: none;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
}

.social-icons {
  display: flex;
  gap: 15px;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.footer-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 162"><path fill="%23252525" d="M1440 162H0V0h1440v162z"/><path fill="%23fff" d="M1440 162H0V93.5c16.3 0 32.2-1.7 47.5-5 29-6 58-15.3 88.5-15.3 35.8 0 62.2 11.2 93.5 11.2 31.3 0 57.7-11.2 93.5-11.2 35.8 0 62.2 11.2 93.5 11.2 31.3 0 57.7-11.2 93.5-11.2 35.8 0 62.2 11.2 93.5 11.2 31.3 0 57.7-11.2 93.5-11.2 35.8 0 62.2 11.2 93.5 11.2 31.3 0 57.7-11.2 93.5-11.2C1284.7 73.2 1311.1 84.4 1346.9 84.4c18.3 0 34.9-5.3 49.6-13.4l.2.3c10 1.3 20.2 2.1 30.7 2.1 4.2 0 8.5-.2 12.6-.5V162z"/><path fill="%23f7f7f7" d="M0 162V93.5c16.3 0 32.2-1.7 47.5-5 29-6 58-15.3 88.5-15.3 35.8 0 62.2 11.2 93.5 11.2 31.3 0 57.7-11.2 93.5-11.2 35.8 0 62.2 11.2 93.5 11.2 31.3 0 57.7-11.2 93.5-11.2 35.8 0 62.2 11.2 93.5 11.2 31.3 0 57.7-11.2 93.5-11.2 35.8 0 62.2 11.2 93.5 11.2 31.3 0 57.7-11.2 93.5-11.2C1284.7 73.2 1311.1 84.4 1346.9 84.4c18.3 0 34.9-5.3 49.6-13.4l.2.3c10 1.3 20.2 2.1 30.7 2.1 4.2 0 8.5-.2 12.6-.5V162H0z"/><path fill="none" stroke="%23d1d1d1" stroke-width="1" d="M1170.5 97c-31.3 0-57.7-11.2-93.5-11.2-35.8 0-62.2 11.2-93.5 11.2s-57.7-11.2-93.5-11.2-62.2 11.2-93.5 11.2-57.7-11.2-93.5-11.2-62.2 11.2-93.5 11.2-57.7-11.2-93.5-11.2-62.2 11.2-93.5 11.2-57.7-11.2-93.5-11.2-62.2 11.2-93.5 11.2-57.7-11.2-93.5-11.2c-30.5 0-59.5 9.3-88.5 15.3-15.3 3.3-31.2 5-47.5 5M1346.9 84.4C1311.1 84.4 1284.7 73.2 1249 73.2c-35.8 0-62.2 11.2-93.5 11.2s-57.7-11.2-93.5-11.2M1440 73.3c-4.1.3-8.4.5-12.6.5-10.5 0-20.7-.8-30.7-2.1l-.2-.3c-14.7 8.1-31.3 13.4-49.6 13.4"/></svg>');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  z-index: 1;
}

.sub-footer {
  background-color: var(--color-dark);
  color: #aaa;
  font-size: 0.8rem;
  padding: 20px 0;
}

.sub-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sub-footer a {
  margin: 0 10px;
}

.sub-footer a:hover {
  text-decoration: underline;
}

.floating-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.floating-button img {
  width: 25px;
}

/* ▼▼▼ 変更点 ▼▼▼ ここから追加 */

/* カードのリンク化とホバーエフェクト */
.gift-card,
.story-card {
  display: block; /* aタグをブロック要素にする */
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
  position: relative;
  z-index: 1;
}

.gift-card:hover,
.story-card:hover {
  transform: scale(1.03); /* 少し拡大 */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); /* 影を付けて浮かび上がらせる */
  z-index: 2; /* 他の要素の上に表示 */
}

.story-card:hover img {
  filter: brightness(1); /* ホバー時に画像を明るくする */
}


/* セクションのスクロールアニメーション */
.section-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.6s ease-out;
}

.section-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ▲▲▲ 変更点 ▲▲▲ ここまで追加 */


/* ========== レスポンシブ対応 ========== */

/* タブレットサイズ (1024px以下) */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  /* --- ヘッダー --- */
  .header-top {
    display: none;
    /* 上部ヘッダーは非表示に */
  }

  .main-nav {
    display: none;
    /* PC用ナビゲーションを非表示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-dark);
    z-index: 1000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }

  .main-nav.is-open {
    display: flex;
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .main-nav a {
    font-size: 1.5rem;
  }

  .mobile-menu-toggle {
    display: block;
    /* ハンバーガーボタンを表示 */
  }

  .mobile-nav-close {
    display: block;
    /* 閉じるボタンを表示 */
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
  }

  /* --- グリッドレイアウト --- */
  .gift-guide-grid,
  .activity-grid,
  .product-grid,
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* --- 2カラムレイアウト --- */
  .two-col-section .col-text {
    padding: 3rem;
  }

  /* --- フッター --- */
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* スマートフォンサイズ (768px以下) */
@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }

  h2,
  .section-heading {
    font-size: 1.1rem;
  }

  /* --- ヒーローセクション --- */
  .hero-slider {
    height: auto;
  }

  .hero-slide-content {
    flex-direction: column;
  }

  .hero-text .title {
    font-size: 4rem;
  }

  .hero-image {
    flex-basis: auto;
    height: 300px;
  }

  .gift-guide-grid,
  .activity-grid,
  .product-grid,
  .card-grid-4 {
    grid-template-columns: 1fr;
  }

  .two-col-section {
    flex-direction: column;
  }

  .high-quality {
    flex-direction: column-reverse;
  }

  .two-col-section .col-img img {
    height: 350px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col .guarantee-logo-footer img {
    margin: 0 auto 15px;
  }

  .newsletter-form {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }

  .sub-footer .container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  /* --- グリッドレイアウト --- */
  .gift-guide-grid,
  .activity-grid,
  .product-grid,
  .card-grid-4 {
    grid-template-columns: 1fr;
  }

  /* --- 2カラムレイアウト --- */
  .two-col-section {
    flex-direction: column;
  }

  .high-quality {
    flex-direction: column-reverse;
    /* 画像とテキストの順序を逆転 */
  }

  .two-col-section .col-img img {
    height: 350px;
  }

  /* --- フッター --- */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col .guarantee-logo-footer img {
    margin: 0 auto 15px;
  }

  .newsletter-form {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }

  .sub-footer .container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
