@charset "UTF-8";

/* =========================
   基本設定
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #333;
  background-color: #fff;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

/* =========================
   ヘッダー
========================= */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 5%;
}

.site-logo {
  display: block;
  margin-right: auto;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 700;
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}

.global-nav a {
  display: inline-block;
  padding: 4px 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
}

.global-nav a span {
  font-size: 12px;
}

/* =========================
   セクション共通
========================= */

.section {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 30px;
}

.eyebrow {
  margin: 0;
  font-family: "AB-aki", "AB-アキ", "Noto Sans JP", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.section-heading h1,
.section-heading h2 {
  margin: 8px 0 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
}

/* =========================
   ABOUT：自己紹介
========================= */

.about-section {
  padding-top: 58px;
}

.about-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 35px;
  align-items: start;
}

/* 左側の画像2枚 */

.about-photo {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.about-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* 右側の自己紹介文 */

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.about-copy p {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

/* =========================
   LIKES & DISLIKES
========================= */

.likes-section {
  margin-top: 100px;
  padding-bottom: 80px;
}

.likes-section .section-heading {
  margin-bottom: 40px;
}

.likes-section .eyebrow {
  font-size: 55px;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.likes-section .section-heading h2 {
  font-size: 15px;
}

/* 項目全体 */

.likes-layout {
  display: flex;
  flex-direction: column;
  gap: 45px;
}

/* 画像左・文章右 */

.likes-item {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 35px;
  align-items: center;
}

/* 好き・苦手の画像 */

.likes-image {
  width: 100%;
}

.likes-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* 好き・苦手の説明 */

.likes-copy {
  min-width: 0;
}

.likes-label {
  margin: 0 0 6px;
  font-family: "AB-aki", "AB-アキ", "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.08em;
}

/* 項目の見出し */

.likes-copy h3 {
  margin: 0 0 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
}

/* 本文：自己紹介と同じ設定 */

.likes-copy p {
  margin: 0 0 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

/* 表示順：登山 → ハチ → 犬 */

.likes-item:nth-child(1) {
  order: 3;
}

.likes-item:nth-child(2) {
  order: 1;
}

.likes-item:nth-child(3) {
  order: 2;
}

/* =========================
   フッター
========================= */

.site-footer {
  padding: 30px 20px 35px;
  text-align: center;
}

.back-top {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.site-footer p {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  line-height: 1.8;
}

/* =========================
   タブレット
========================= */

@media screen and (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    gap: 20px;
  }

  .global-nav {
    gap: 12px;
  }

  .global-nav a {
    font-size: 13px;
  }

  .about-layout,
  .likes-item {
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 25px;
  }
}

/* =========================
   スマートフォン
========================= */

@media screen and (max-width: 600px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px 5%;
  }

  .site-logo {
    margin-right: 0;
    font-size: 17px;
  }

  .global-nav {
    justify-content: center;
    gap: 8px 12px;
    width: 100%;
  }

  .global-nav a {
    font-size: 11px;
  }

  .global-nav a span {
    font-size: 9px;
  }

  .section {
    width: 90%;
  }

  .about-section {
    padding-top: 40px;
  }

  .section-heading {
    margin-bottom: 25px;
  }

  .eyebrow {
    font-size: 40px;
  }

  .section-heading h1,
  .section-heading h2 {
    font-size: 13px;
  }

  /* 自己紹介 */

  .about-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .about-photo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
  }

  .about-photo img {
    width: 100%;
  }

  .about-copy {
    gap: 18px;
  }

  .about-copy p {
    font-size: 15px;
    line-height: 1.8;
  }

  /* 好きなもの・苦手なもの */

  .likes-section {
    margin-top: 65px;
    padding-bottom: 50px;
  }

  .likes-section .section-heading {
    margin-bottom: 30px;
  }

  .likes-section .eyebrow {
    font-size: 30px;
  }

  .likes-layout {
    gap: 35px;
  }

  .likes-item,
  .likes-item:nth-child(3) {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 15px;
  }

  .likes-image img {
    width: 100%;
  }

  .likes-copy h3 {
    font-size: 15px;
    line-height: 1.8;
  }

  .likes-label {
    font-size: 13px;
  }

  .likes-copy p {
    font-size: 13px;
    line-height: 1.8;
  }

  .site-footer {
    padding: 25px 15px 30px;
  }
}
