/* ベース設定 */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans JP';
  font-size: 0.9rem;
  font-weight: 400;
  background: #fff;
  color: #353535;
  line-height: 180%;
}

/* ヘッダー */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3vw;
  height: clamp(80px, 10vh, 160px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  mix-blend-mode: difference;
  box-sizing: border-box;
  z-index: 10;
}

.logo {
  color: #fff;
  font-size: clamp(20px, 5vw, 32px); 
  font-weight: 700;
}

/* ナビゲーション */
nav.Gnavi {
  display: flex;
}

ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.Gnavi ul li a {
  text-decoration: none;
  color: #fff;
  letter-spacing: 1px;
  position: relative;
}

.Gnavi ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: #fff;
  transition: 0.3s;
}

.Gnavi ul li a:hover::after {
  width: 100%;
}

.Gnavi ul li a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.Gnavi ul li a:hover img {
  opacity: 0.7;
}

/* メインビジュアル */
.main-visual {
  width: 94%;
  height: 100%;
  min-height: 70vh;
  overflow: hidden;
  position: relative;
  margin: 10vh auto 0;
  box-sizing: border-box;
}
.main-visual img {
  border-radius: 10px;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 3s ease;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* セクション共通 */
.pickup, .about, .contact {
  padding: 10vh 5vw 8vh;
}

.pickup h2, .about h2 {
  font-size: clamp(16px, calc(50vw / 5), 22px);
  letter-spacing: 1px;
  font-weight: 700;
  text-align: left;
  padding: 5vh 3vw;
}

.about h2::before, .contact::before {
  content: "";
  display: block;
  width: 100%;
  height: 0.5px;
  background: #adadad;
  margin-bottom: 10vh;
}

/* テキストブロックを面揃え */
p,
.caption-profile,
.about-text p,
.contact p {
  text-align: justify;
  text-justify: inter-ideograph;
}

/* Pickup */
.pickup-grid-large {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1440px;
  margin: 0 auto 5vh;
  padding: 0 3vw;
}

.pickup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1440px;
  margin: 0 auto 60px;
  padding: 0 3vw;
}

.pickup-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.pickup-item img {
  width: 100%;
  height: auto;
  transition: 0.3s ease;
  display: block;
}

.pickup-item:hover img {
  opacity: 0.7;
}

.pickup-item p {
  margin-top: 0.5rem;
  font-size: clamp(10px, 5vw, 12px);
  text-align: left;
  color: #909090;
}

/* About */
.about-content {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 5vw;
  padding: 8vh 3vw;
  margin: 0 auto;
  box-sizing: border-box;
  max-width: 1440px;
}

.about-photo {
  display: flex;
  align-items: flex-end;
  gap: 2rem;
  flex: 1;
}

.about-photo img {
  width: 20vw;
  height: auto;
}

.caption-profile {
  flex: 1;
  font-size: clamp(10px, 5vw, 12px);
  color: #888;
  line-height: 180%;
  max-width: 15vw;
}

.about-text {
  flex: 2;
  max-width: 25vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-text h3 {
  font-size: clamp(16px, calc(50vw / 5), 20px);
  font-weight: 400;
  color: #000;
  margin-bottom: 10vh;
}

/* Contact */
.contact h2 {
  font-size: clamp(32px, calc(100vw / 8), 200px);
  text-align: center;
  font-weight: 700;
  color: #000;
  line-height: inherit;
  padding: 10vh 0;
  margin-bottom: 4vh;
}

.contact p {
  text-align: center;
  margin-bottom: 4vh;
}

/* ボタン */
.button {
  display: block;
  padding: 2vh 4vw;
  background: #fff;
  border: 0.5px solid #000;
  text-decoration: none;
  color: #000;
  transition: all 0.3s ease;
  border-radius: 5px;
  margin: 0 auto;
  text-align: center;
  width: fit-content;
  cursor: pointer;
}

.button:hover {
  background: #000;
  color: #fff;
}

/* フッター */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3vw;
  height: 8vw;
  box-sizing: border-box;
  background: transparent;
}

.copy {
  font-size: 0.8rem;
}

.back {
  display: flex;
}

.back a {
  text-decoration: none;
  color: #000;
  transition: all 0.3s ease;
  display: inline-block;
}

.back a:hover {
  transform: translateY(-3px);
}

@media screen and (max-width: 768px) {

  header {
    position: static;
    padding: 5vh 3vw;
    flex-direction: column;
    gap: 1.5rem;
  }

  .pickup-grid-large {
    grid-template-columns: 1fr;
  }

  .about-content {
    flex-direction: column;
    width: 100%;
  }

  .about-photo {
    flex-direction: column;
    max-width: 100%;
    margin-bottom: 6vh;
    align-items: center;
  }
  
  .about-text {
    flex-direction: column;
    max-width: 100%;
    margin-bottom: 6vh;
  }

  .about-photo img {
    width: 60vw;
  }

  .caption-profile {
    max-width: 100%;
  }

  .about-text h3 {
    margin-bottom: 1rem;
  }
}
