:root {
  --blue: #6ecbff;
  --white: #ffffff;
}
body {
  background-color: #f2f2f2;
  color: #333;
}
/* タイトル（photo&contactページ) */
.title {
  text-align: center;
  font-size: 100px;
  margin: 20px 0;
  padding-top: 30px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.title span {
  display: inline-block;
  animation: float 1.5s ease-in-out infinite;
}
.title span:nth-child(1) { animation-delay: 0s; }
.title span:nth-child(2) { animation-delay: 0.1s; }
.title span:nth-child(3) { animation-delay: 0.2s; }
.title span:nth-child(4) { animation-delay: 0.3s; }
.title span:nth-child(5) { animation-delay: 0.4s; }
.title span:nth-child(7) { animation-delay: 0.5s; }
.title span:nth-child(8) { animation-delay: 0.6s; }
.title span:nth-child(9) { animation-delay: 0.7s; }
.title span:nth-child(10) { animation-delay: 0.8s; }
.title span:nth-child(11) { animation-delay: 0.9s; }
.title span:nth-child(12) { animation-delay: 1.0s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ハンバーガー */
#menu-toggle {
  display: none;
}
.hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 35px;
  cursor: pointer;
  z-index: 1000;
  padding-top: 30px;
}
.hamburger div {
  height: 4px;
  background: #444;
  margin: 6px 0;
  border-radius: 4px;
}

/* ナビゲーション */
.nav {
  position: fixed;
  top: 0;
  right: -250px;
  width: 220px;
  height: 100vh;
  background: #949593;
  padding-top: 80px;
  transition: 0.3s;
  z-index: 999;
}
#menu-toggle:checked + .hamburger + .nav {
  right: 0;
}
.nav ul {
  list-style: none;
  padding: 0;
  margin: 10px;
  text-align: left;
  padding-left: 15px;
}
.nav li {
  margin: 20px 0;
}
.nav a {
  text-decoration: none;
  font-size: 30px;
  color: var(--white);
  font-weight: bold;
}
.sub{
  margin-top: 5px;
  padding-left: 12px;
  color: var(--white);
}
.sub li{
  margin-bottom: 3px;
  padding-left: 20px;
}

/* ===== TOPページ ===== */
/* メインビジュアル */
.main {
    height: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.title {
    font-size: 100px;
    letter-spacing: 5px;
    font-weight: bold;
}
.title span {
    display: inline-block;
    opacity: 0;
    animation: fadeUp 0.5s forwards;
}
.title span:nth-child(1) { animation-delay: 0.05s; }
.title span:nth-child(2) { animation-delay: 0.10s; }
.title span:nth-child(3) { animation-delay: 0.15s; }
.title span:nth-child(4) { animation-delay: 0.20s; }
.title span:nth-child(5) { animation-delay: 0.25s; }
.title span:nth-child(6) { animation-delay: 0.30s; }
.title span:nth-child(7) { animation-delay: 0.35s; }
.title span:nth-child(8) { animation-delay: 0.40s; }
.title span:nth-child(9) { animation-delay: 0.45s; }
.title span:nth-child(10){ animation-delay: 0.50s; }
.title span:nth-child(11){ animation-delay: 0.55s; }

@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
.subtitle {
    margin-top: 10px;
    font-size: 30px;
    color: #666;
}
/* 右下アイコン */
.header-icon {
  position: fixed;
  right: 30px;
  bottom: 50px;
  width: 150px;
  height: 180px;
  z-index: 1000;
  display: block;
}
.header-icon img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.header-icon:hover {
  transform: scale(1.1); 
}
/* 一部背景 */
.back {
  padding: 2px 20px;
  background: #f7f7f7;
}
.back h2 {
  font-size: 50px;
  margin-bottom: 10px;
  text-align: center;
}
.back p {
  line-height: 1.8;
  color: #444;
  text-align: center;
}
/* Photo/Contact BOX */
.photo-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
}
.photo-block.reverse {
    flex-direction: row-reverse;
}
/* 交互レイアウト */
.photo-section {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto ;
    padding: 0 20px;
}
.photo-section h2 {
    font-size: 50px;
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
}
.photo-text {
    width: 50%;
}
.photo-text h3{
    font-size: 35px;
    margin-bottom: 10px;
}
.photo-text p {
    line-height: 1.7;
    color: #555;
}
.img01{
    border: 5px solid #FFF;
    box-shadow: 0 0 5px #999;
    width: 650px;
    height: 400px;
}
/* ボタン */
.link-box {
  padding: 10px 20px;
  text-align: center;
}
.link-box h2 {
  font-size: 50px;
  margin-bottom: 10px;
}
.link-box p {
  font-size: 20px;
}
.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 25px;
  background: var(--blue);
  color: white;
  text-decoration: none;
  border-radius: 6px;
}
.btn:hover{
  background-color: #f2f2f2;
  border: 2px solid var(--blue);
  color: var(--blue);
}
/* SNS */
.sns-icons{
  display: flex;           
  gap: 60px;               
  justify-content: center; 
}
.sns-block {
  display: flex;
  flex-direction: column; 
  align-items: center;  
  margin-bottom: 10px;           
}
.sns-block img {
  width: 100px;
  height: 100px;
  margin-bottom: 10px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0px 4px 12px rgba(0,0,0,0.15);
}
/* ===== Profile ページ ===== */
.profile-title {
  text-align: center;
  font-size: 50px;
  font-weight: bold;
  margin-bottom: 0px;
  letter-spacing: 2px;
}
.profile-section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}
.profile-info h3 {
  font-size: 26px;
  margin-bottom: 5px;
}
.profile-text {
  line-height: 2.2;
  margin-bottom: 40px;
  font-size: 23px;
  max-width: 760px;
}
/* ===== Photoページ ===== */
/* テキスト */
.text{
  font-size: 20px;
  padding-left: 20px;
}
/* 写真カテゴリ */
.photo-category h2 {
  text-align: left;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 2px;
  border-bottom: 2px solid #6ecbff;
  display: inline-block;
  padding-bottom: 6px;
  margin: 0 auto 20px 20px;
  box-sizing: border-box;
}
/* 共通 */
.photo-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 200px);
  gap: 20px;
  padding: 20px;
}
.item {
  overflow: hidden;
}
.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 風景 */
.pattern-a .left { grid-column: 1 / 2; grid-row: 1 / 4; }
.pattern-a .top { grid-column: 2 / 4; grid-row: 1 / 2; }
.pattern-a .top-right { grid-column: 4 / 5; grid-row: 1 / 2; }
.pattern-a .center-left { grid-column: 2 / 3; grid-row: 2 / 3; }
.pattern-a .center-right { grid-column: 3 / 4; grid-row: 2 / 3; }
.pattern-a .bottom-left { grid-column: 2 / 3; grid-row: 3 / 4; }
.pattern-a .bottom-right { grid-column: 3 / 4; grid-row: 3 / 4; }
.pattern-a .right { grid-column: 4 / 5; grid-row: 2 / 4; }

/* 植物 */
.pattern-b .right { grid-column: 4 / 5; grid-row: 1 / 4; }
.pattern-b .top { grid-column: 2 / 4; grid-row: 1 / 2; }
.pattern-b .top-left { grid-column: 1 / 2; grid-row: 1 / 2; }
.pattern-b .center-left { grid-column: 2 / 3; grid-row: 2 / 3; }
.pattern-b .center-right { grid-column: 3 / 4; grid-row: 2 / 3; }
.pattern-b .bottom-left { grid-column: 2 / 3; grid-row: 3 / 4; }
.pattern-b .bottom-right { grid-column: 3 / 4; grid-row: 3 / 4; }
.pattern-b .left { grid-column: 1 / 2; grid-row: 2 / 4; }

/* グルメ */
.pattern-c .center-big { grid-column: 2 / 4; grid-row: 1 / 3; }
.pattern-c .top-left { grid-column: 1 / 2; grid-row: 1 / 2; }
.pattern-c .top-right { grid-column: 4 / 5; grid-row: 1 / 2; }
.pattern-c .middle-left { grid-column: 1 / 2; grid-row: 2 / 3; }
.pattern-c .middle-right { grid-column: 4 / 5; grid-row: 2 / 3; }
.pattern-c .bottom-left { grid-column: 1 / 3; grid-row: 3 / 4; }
.pattern-c .bottom-right { grid-column: 3 / 5; grid-row: 3 / 4; }

/* その他 */
.pattern-d .top-left { grid-column: 1 / 3; grid-row: 1 / 2; }
.pattern-d .top-right { grid-column: 3 / 5; grid-row: 1 / 2; }
.pattern-d .left { grid-column: 1 / 2; grid-row: 2 / 4; }
.pattern-d .center { grid-column: 2 / 4; grid-row: 2 / 3; }
.pattern-d .right { grid-column: 4 / 5; grid-row: 2 / 4; }
.pattern-d .bottom-left { grid-column: 2 / 3; grid-row: 3 / 4; }
.pattern-d .bottom-right { grid-column: 3 / 4; grid-row: 3 / 4; }

/* 写真拡大 */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.lightbox img {
  max-width: 1200px;
  max-height: 800px;
  width: auto;
  height: auto;
  box-shadow: 0 0 20px #000;
  cursor: zoom-out;
}
.photo-layout img {
  cursor: zoom-in;
}

/* ===== contactページ ===== */
/* 説明文  */
.contact{
  padding: 5px 20px;
  text-align: center;
  line-height: 1.8;
  color: #444;
  font-size: 20px;
}
/* フォーム */
.contact-form form {
  padding: 20px 20px;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.contact-form label {
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 5px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}
.contact-form button {
  margin-top: 25px;
  margin-bottom: 25px;
  width: 725px;
  padding: 14px;
  background: var(--blue);
  border: none;
  border-radius: 6px;
  color: #fff;
  font-size: 17px;
  cursor: pointer;
}
.contact-form button:hover{
  background-color: #f2f2f2;
  border: 2px solid var(--blue);
  color: var(--blue);
}
.reply-policy h2 {
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  border-bottom: 2px solid #6ecbff;
  display: inline-block;
  padding-bottom: 0px;
  margin: 0 auto 5px 20px;
  box-sizing: border-box;
}
.reply-body{
  padding-bottom: 20px;
  text-align: center;
  line-height: 1.8;
  font-size: 20px;
}
/* フッター */
footer {
  text-align: center;
  padding: 10px 0;
  color: #333;
}