html {
  -webkit-text-size-adjust: 100%;
}
/* ========== Reset ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  line-height: 1.6;
}

/* ========== Header ========== */
/* ヘッダーを常に上に表示 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: white; /* 透明にしたいなら transparent */
  z-index: 1000; /* 一番上に表示 */
}

/* ナビゲーション */
.nav {
  position: fixed;
  top: 0;
  left: -250px; /* 初期は隠す */
  width: 250px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 5px rgba(0,0,0,0.1);
  transition: left 0.3s ease;
  z-index: 1500;
}

.nav.open {
  left: 0;
}

/* オーバーレイ */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1400; /* ナビより下に */
}
.overlay.show {
  opacity: 1;
  visibility: visible;
}
header .logo img {
  height: 40px;
}

/* ========== Hamburger Menu Button ========== */
.menu-btn {
  border: none;
  background: none;
  cursor: pointer;
}
.menu-btn img {
  width: 40px;
  height: auto;
  display: block;
}

/* ========== Navigation ========== */
nav {
  position: fixed;
  top: 0;
  left: -100%;          
  width: 250px;         /* メニューの幅*/
  height: 100%;
  background: #fff;
  transition: left 0.3s ease;
  padding: 80px 20px;
  z-index: 1100;
}
nav.open {
  left: 0;              
}


nav ul {
  list-style: none;
}
nav ul li {
  margin: 20px 0;
  text-align: left;
}
nav ul li a {
  text-decoration: none;
  font-size: 18px;
  letter-spacing: 0.15em;
  font-weight: 300;
  color: #333;
}
nav ul li a:hover {
  color: #4CAF50;
}

.close-btn {
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  outline: none; 
}
.close-btn img {
  display: block;
  width: 30px; 
  height: auto;
}
/* ========== Overlay (Nav背景暗くする) ========== */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 999; /* ナビより手前 */
}


nav.open ~ .overlay {
  display: block;
}

/* ========== Main Visual ========== */
.main-visual {
  position: relative;
}
.main-visual img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: block;
}

/* ========== Section Title ========== */
.section-title {
  font-size: 40px;       
  font-weight: 900;      
  color: #c5c5c5;
  text-align: left;   
  margin-bottom: 40px;   
  letter-spacing: 3px;   
  text-transform: uppercase;
  padding-left: 0;
}  

/* ========== About Section 調整 ========== */
#about.section {
  margin-top: 130px;   
}

/* ========== About Section ========== */
.about-content {
  display: flex;
  justify-content: center;   /* 全体を中央に */
  align-items: flex-start;
  gap: 40px;
  max-width: 1000px;
  margin: 40px auto 0;
}

.about-text {
  max-width: 480px;
  margin-top: 30px;
  flex: 1;
  align-self: flex-start;
}



/* 本文は左寄せ */
.about-text p {
  text-align: left;
  margin-bottom: 12px;
}


.about-image img {
  width: 250px;   /* PC用の画像サイズ */
  height: auto;
  flex-shrink: 0; 
}

/* スマホ対応（横並びのまま画像を小さく） */
@media (max-width: 768px) {
  .about-image img {
    width: 120px; /* スマホ用に小さく */
  }

  .about-content {
    gap: 20px; /* スペースも少し狭める */
  }

  .about-text {
    max-width: 100%;
    font-size: 14px; /* 必要なら文字も少し小さくできる */
    min-width: 0;
  }
}
/* ========== Likes Section ========== */
.likes-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 60px auto;
}
.like-item img {
  width: 100%;
  aspect-ratio: 3 / 4; 
  object-fit: cover;
}
.like-item p {
  text-align: center;
  margin-top: 10px;
}




/* ========== Footer ========== */
footer {
  position: relative;
  text-align: center;
  padding: 20px 0;
}
footer p {
  font-size: 14px;
  color: #777;
}

/* ========== Common Section Style ========== */
.section {
  padding: 60px 20px;   
  margin: 0 auto 80px;  
  max-width: 1000px;    
}
/* ===== TOPに戻るボタン ===== */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  display: none;
  cursor: pointer;
  z-index: 1200;

  background: url("assets/images/hover-btn.svg") no-repeat center/contain;
  transition: 0.3s;
}

.back-to-top:hover {
  background: url("assets/images/hover-btn-hover.svg") no-repeat center/contain;
}
/* CONTACT本文をABOUT本文の左端に合わせる */
.contact-inner{
  margin: 0 auto;
  max-width: 500px;
}

/* スマホではずらさない */
@media (max-width: 768px){
  .contact-inner{
    margin-left: 0;
    max-width: 100%;
  }
}

