/* デバッグ用スタイル */
 /* * { outline: 1px solid red; } */

/* メインコンテンツ：上下マージン消してhomeと同じ高さ(72+80px)から開始 */
main {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  flex: 1 0 auto;
  text-align: center;
  padding-top: 152px;
  padding-bottom: 0;
  margin: 0;
}


.title {
  font-size: 1.4em;
  text-align: left;
  margin-bottom: 10px;
  width: 100%;
  margin-top: 0px;
  margin-left: 0;
}

/* サブページのスタイル（bodyをflexにしてfavicon・著作権を下から4pxに） */
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 15px;/* !!!!!!!!!!!!!!! */
  color: #f5f5f5;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* 縦1列の画像リスト */
.vertical-image-list {
  list-style: none;
  padding: 0;
  margin: 50px auto 20px;
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vertical-image-list li {
  margin-bottom: 4px;
  width: 100%;
}

.vertical-image-list img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Aboutセクション（homeと同じ高さから始まるので上マージン最小） */
.about-section {
  display: grid;
  gap: 0px;
  margin-top: 0;
  margin-right: auto;
  margin-left: auto;
  width: 80%;
  align-items: start;
}

.about-text {
  margin-left: 0%;
  width: 100%;
  grid-column: 1;
  font-size: 15px;/* !!!!!!!!!!!!!!! */
  line-height: 1.5;/* 行間 */
  text-align: left;
  display: flex;
  flex-direction: column;
  margin-top: 0%;

}

.about-images {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  padding-left:  10px;
}

.about-images img {
  width: 100%;
  margin-left: 0%;
  height: auto;
  object-fit: cover;
}

/* MAPのAboutセクション */
.about-section2 {
  width: 80%;
  margin: 30px auto;
  text-align: center;
}

.about-section2 img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* 花（ファビコン・白）margin-top: autoで下寄せ、著作権との距離2px */
.about-section3 {
  width: 40%;
  margin-top: auto;
  margin-bottom: 2px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.about-section3 img {
  width: 10%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* 花と著作権の間隔10px、下端から4px */
.footer {
  margin-top: 0;
  margin-bottom: 4px;
}




.about-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 4px;
}
.link-sep {
  color: #f5f5f5;
  font-weight: 400;
  user-select: none;
}
/* ヘッダーと統一：下線スライド＋opacity */
.link-with-arrow {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #f5f5f5;
  font-weight: 900;
  position: relative;
  transition: opacity 0.25s ease;
}
.link-with-arrow::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.link-with-arrow:hover {
  opacity: 0.85;
}
.link-with-arrow:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}



/* レスポンシブ対応 */
@media (max-width: 900px) {
  /* 必要に応じてスタイルを追加 */
}

@media (max-width: 600px) {
  .vertical-image-list li {
    width: 90%;
  }
  .hamburger-menu {
    display: flex;
  }

  .nav-left {
    display: none;
  }

  .nav-right {
    justify-content: flex-start;
    margin-left: -20px;
  }

  .about-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
    padding: 0 20px; /* 固定値で余白を調整 */
    width: calc(100% - 20px); /* 幅から余白を引く!!!!!!!!!!!!!!! */
    box-sizing: border-box; /* 余白を含めたボックスサイズ計算 */
  }
 

  .title {
    text-align: left;
    margin-bottom: 7px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .about-text {
    width: 100%; /* 子要素も幅を調整 */
    padding: 0 10px; /* 子要素の内側に余白を追加 */
    margin-bottom: 7px; /* 余白を追加 */
  }
  .about-images {
    width: 100%; /* 子要素も幅を調整 */
    margin-bottom: 7px; /* 余白を追加 */
    margin-left: auto;
    margin-right: auto;
  }
  .about-images img {
    width: 100%;
    /* max-width: 300px; */
    height: auto;
    object-fit: cover;
    margin-bottom: 30px;
  }
  /* 自分の画像 */
   .about-section2 {
    width: 100%;
    text-align: center;
  } 

  /* 花（ファビコン・白） */
  .about-section3 {
    width: 40%;
    margin-top: auto;
    margin-bottom: 2px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }
  .footer {
    margin-top: 0;
    margin-bottom: 4px;
  }
  .about-section3 img {
    width: 20%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  
}






