@charset "UTF-8";

/* 基本 */
html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  color: #333;
  font-size: 0.9375rem;
  line-height: 1.7;
  background-color: #f8f9fa;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  opacity: 0.85;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 共通 */
.wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 5%;
  box-sizing: border-box;
}

.section-title {
  display: inline-block;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #2a7b8e;
  color: #1a5f6d;
}

.pc-only {
  display: none;
}

@media (min-width: 768px) {
  .pc-only {
    display: inline;
  }
}

/* ヘッダー */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 5%;
  box-sizing: border-box;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  z-index: 100;
}

.site-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0;
}

.site-title a {
  color: #1a5f6d;
}

#header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: flex-end;
}

#header nav a {
  color: #333;
  font-size: 0.8125rem;
}

@media (min-width: 768px) {
  #header nav a {
    font-size: 0.875rem;
  }
}

/* ファーストビュー */
#first_view {
  position: relative;
  margin-top: 52px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.first_view-bg {
  position: absolute;
  inset: 0;
}

.first_view-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.first_view-img-1 {
  animation: first_view-fade 8s ease-in-out infinite;
}

.first_view-img-2 {
  opacity: 0;
  animation: first_view-fade 8s ease-in-out infinite;
  animation-delay: 4s;
}

@keyframes first_view-fade {
  0%, 45% { opacity: 0; }
  50%, 95% { opacity: 1; }
  100% { opacity: 0; }
}

.first_view-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.first_view-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 0 5%;
}

#first_view .catch {
  font-size: 1.75rem;
  font-weight: bold;
  line-height: 1.5;
  margin: 0 0 0.5rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

#first_view .sub {
  font-size: 0.9375rem;
  opacity: 0.95;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  #first_view .catch {
    font-size: 2.25rem;
  }

  #first_view .sub {
    font-size: 1rem;
  }
}

/* About */
#about {
  padding: 4rem 0;
  text-align: center;
}

.about-text {
  margin: 0;
  color: #333;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .about-text {
    font-size: 1.0625rem;
  }
}

/* 探Labが大切にしていること */
#values {
  padding: 0 0 4rem;
}

.values-list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.values-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
  color: #444;
}

.values-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #2a7b8e;
}

.values-list strong {
  color: #1a5f6d;
}

.values-note {
  margin: 0;
  font-size: 0.9375rem;
  color: #666;
}

/* 体験の紹介（4ブロック） */
#experience {
  padding: 0 0 4rem;
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.experience-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-left: 4px solid #2a7b8e;
}

.experience-card-title {
  font-size: 1.0625rem;
  margin: 0 0 0.5rem;
  color: #1a5f6d;
}

.experience-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: #444;
}

@media (min-width: 600px) {
  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .experience-card {
    padding: 1.5rem;
  }

  .experience-card-title {
    font-size: 1.125rem;
  }
}

/* CTAボタン（TOP） */
#cta {
  padding: 0 0 4rem;
  text-align: center;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.cta-buttons .btn-primary {
  min-width: 240px;
  text-align: center;
}

@media (min-width: 480px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ボタン共通 */
.btn-primary {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: #2a7b8e;
  color: #fff;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.9375rem;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
}

/* サブページ共通 */
.page-main {
  padding-top: 52px;
  padding-bottom: 4rem;
}

.page-header {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.page-title {
  font-size: 1.5rem;
  margin: 0;
  color: #1a5f6d;
}

.content-section {
  padding: 0 0 2.5rem;
}

.content-section .lead {
  font-size: 1.0625rem;
  margin: 0 0 1rem;
  color: #333;
}

.content-section .note {
  font-size: 0.9375rem;
  color: #666;
  margin: 0 0 0.5rem;
}

.content-section p {
  margin: 0 0 1rem;
}

.contact-note {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: #666;
}

/* ショップページ 商品カード */
.product-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.product-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-left: 4px solid #2a7b8e;
}

.product-card-title {
  font-size: 1.0625rem;
  margin: 0 0 0.5rem;
  color: #1a5f6d;
}

.product-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: #444;
}

/* フッター */
#footer {
  background-color: #1a5f6d;
  color: #fff;
  padding: 1.5rem 0;
}

.footer-inner {
  text-align: center;
}

.footer-copy {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
}

.footer-links a:hover {
  text-decoration: underline;
}
