@charset "UTF-8";

/*-------------------------------------------
全体
-------------------------------------------*/
html {
  scroll-behavior: smooth;
}

.montserrat-alternates-extralight {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.montserrat-alternates-light {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.montserrat-alternates-regular {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.montserrat-alternates-medium {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.montserrat-alternates-semibold {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.montserrat-alternates-bold {
  font-family: "Montserrat Alternates", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.noto-sans-jp-<uniquifier > {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  background-color: #f5f5f5;
  color: #4d3e30;
  font-size: 100%;
  font-weight: 400;
  padding-top: 80px;
}

a {
  text-decoration: none;
}

main {
  max-width: 1400px; /* コンテンツ幅を制限 */
  width: 100%; /* 念のため設定 */
  margin: 0 auto; /* 中央寄せ */
}

section {
  scroll-margin-top: 80px; /* ヘッダーの高さ分だけ余白を確保 */
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/
header {
  position: fixed; /* ヘッダーを固定 */
  color: #796857;
  background-color: #f5f5f5;
  display: flex;
  justify-content: space-between; /* h1を左、navを右に配置 */
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000; /* 他の要素より前面に表示 */
  padding: 10px 40px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* 影をつけて見やすく */
  align-items: baseline;
  box-sizing: border-box; /* パディング込みで幅を計算 */
}

h1 {
  font-size: 300%;
  font-family: "Montserrat Alternates", sans-serif;
  flex-grow: 1; /* h1が可能な限りスペースを確保 */
}

h1 a {
  text-decoration: none;
  color: #796857;
  font-weight: 700;
}

nav ul {
  display: flex;
  font-size: 120%;
  list-style: none;
  gap: 30px; /* 各メニューの間隔 */
  font-family: "Montserrat Alternates", sans-serif;
}

li a {
  color: #4d3e30;
  position: relative;
  display: inline-block;
}

li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px; /* 文字と少し離して配置 */
  width: 100%;
  height: 2px;
  background-color: transparent;
  transition: background-color 0.3s ease-in-out;
}

li a:hover::after {
  background-color: #dc9dae;
}

/*-------------------------------------------
メインビジュアル(TOP)
-------------------------------------------*/
.top-main-visual {
  display: flex;
  justify-content: center; /* 水平方向の中央寄せ */
  align-items: center; /* 必要なら縦の中央寄せ */
}

.top-main-visual img {
  display: block; /* 画像を中央寄せするため */
  max-width: 100% !important; /* デバイス幅いっぱいに */
  max-height: 700px; /* 縦横比を維持 */
  margin: 0 auto; /* 水平方向の中央寄せ */
  background-color: #f5f5f5;
}

/*-------------------------------------------
セクションタイトル
-------------------------------------------*/
h2 {
  text-align: center;
  margin: 50px 0 20px 0;
  font-size: 170%;
  font-family: "Montserrat Alternates", sans-serif;
  position: relative;
  padding: 1rem;
}

h2:before {
  position: absolute;
  bottom: -10px;
  left: calc(50% - 30px);
  width: 60px;
  height: 5px;
  content: "";
  border-radius: 3px;
  background: #e8747e;
}

/*-------------------------------------------
WORKS
-------------------------------------------*/
h3 {
  font-size: 110%;
  height: 50px;
  display: flex;
  align-items: center; /* 垂直方向の中央揃え */
  justify-content: center; /* 水平方向の中央揃え（オプション） */
  padding: 10px;
}

.works-container {
  display: flex; /* 横並びに配置 */
  flex-wrap: wrap; /* 画面幅が狭いときに折り返し */
  justify-content: center; /* 中央揃え */
  gap: 20px; /* 作品間の余白 */
  padding: 20px;
  max-width: 1400px; /* 🔹 広がりすぎ防止 */
  margin: 0 auto; /* 🔹 中央揃え */
}

.works-link {
  display: block;
  width: 30%;
  color: inherit;
}

.works {
  display: block;
  text-align: center;
  background: #fff8f4;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.works img {
  display: block;
  width: 100%; /* コンテナ幅に合わせる */
  object-fit: contain; /* 画像全体を表示しながら枠内に収める */
  margin: 0 auto;
  background-color: #fff8f4;
  border-radius: 8px 8px 0 0;
}

.hashtags p {
  font-size: 70%;
  color: #787976;
  padding-bottom: 10px;
}

/* ホバー時のエフェクト */
.works:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease-in-out;
}

/*-------------------------------------------
ABOUT
-------------------------------------------*/
.about {
  width: 90%; /* コンテンツの幅を調整 */
  margin: 30px auto; /* 上下 30px & 左右中央揃え */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.myphoto img {
  display: block;
  width: 100%; /* コンテナ幅に合わせる */
  max-width: 100%;
  height: 250px;
  object-fit: contain; /* 画像全体を表示しながら枠内に収める */
  background-color: #f5f5f5;
  margin: 20px auto;
}

.myname {
  display: block;
  text-align: center;
  margin-bottom: 30px;
}

h4 {
  font-size: 130%;
}

.comments {
  display: flex;
  justify-content: center;
}

/*-------------------------------------------
CONTACT
-------------------------------------------*/
.contact {
  margin: 30px auto; /* 上下 30px & 左右中央揃え */
}

.contact p {
  text-align: center;
  margin: 40px 30px 20px 30px;
}

.contact a {
  display: block;
  text-align: center;
}

.googleform p {
  display: block;
  text-align: center;
  margin: 10px auto;
}

.contact-btn {
  display: inline-block;
  background-color: #e8747e;
  border: 1px solid #e8747e;
  color: #fff;
  max-width: 300px;
  width: 80%;
  padding: 12px 24px;
  margin: 15px auto 10px auto;
  border-radius: 8px;
  font-size: 110%;
  transition: background 0.4s ease-in-out, transform 0.3s ease-in-out;
}

.contact-btn:hover {
  color: #fff;
  background: linear-gradient(90deg, #e8747e, #f19473);
  background-size: 200% 100%;
  background-position: right;
  border: 1px solid #f19473;
  transform: translateY(2px);
}

/* SNSアイコン全体のスタイル */
.sns-icons {
  display: flex;
  gap: 40px; /* アイコン同士の間隔 */
  justify-content: center; /* 中央配置 */
  align-items: center;
  padding: 10px;
}

/* アイコンのスタイル */
.sns-link {
  text-decoration: none;
  font-size: 40px; /* アイコンのサイズ */
  color: #4d3e30; /* アイコンの色 */
  transition: transform 0.3s ease, color 0.3s ease;
}

/* ホバー時のエフェクト */
.sns-link:hover {
  transform: scale(1.2); /* 少し拡大 */
  color: #8b6f56; /* ホバー時の色 */
}

/*-------------------------------------------
フッター
-------------------------------------------*/
footer {
  height: 70px;
  background-color: #4d3e30;
  display: flex;
  justify-content: center; /* 水平方向（横方向）の中央揃え */
  align-items: center; /* 垂直方向（縦方向）の中央揃え */
  margin-top: 30px;
}

footer p {
  color: #f5f5f5;
  font-size: 70%;
}
/*-------------------------------------------
作品ごとのページ
-------------------------------------------*/
.work-description {
  display: block;
  margin: 0 70px 0 70px;
}

.work-description h2 {
  margin-top: 10px;
}

.work-description img {
  display: block;
  width: 100%; /* コンテナ幅に合わせる */
  max-height: 500px;
  object-fit: contain; /* 画像全体を表示しながら枠内に収める */
  margin: 35px auto 10px auto;
  background-color: #f5f5f5;
}

h5 {
  text-align: center;
  margin: 30px auto 5px auto;
  font-size: 170%;
}

.genre p {
  font-size: 80%;
  color: #787976;
  text-align: center;
  margin-bottom: 20px;
}

.read p {
  text-align: center;
}

table {
  font-size: 80%;
  padding: 20px 0 50px 0;
}

h6 {
  font-size: 130%;
  padding: 0.7rem 1rem;
  border-left: 4px solid #e8747e;
}

.overview {
  margin-top: 20px;
}

.design p {
  font-size: 110%;
  margin: 50px 0 20px 0;
  font-weight: bold;
}

.to-the-top {
  display: block;
  text-align: center;
  margin: 10px auto 30px auto;
  width: 150px;
}

/* ホバー時のエフェクト */
.to-the-top:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease-in-out;
}
