@charset "UTF-8";
/* ============================================================
   グランドトップ（淡路島・大三島の入口）  /index_gt.php
   2026-11-17 パラン.xd のアートボード grand_top（PC 1662px）／grand_top_sp（SP 414px）より
   ・文字は XD の小塚明朝 B の代わりに Shippori Mincho（両サイトと同じ Webフォント）
   ・寸法は XD の数値。PCは 1300px（写真 580px×2＋間 140px）を上限に縮む
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body,
h1,
h2,
p,
ul,
figure {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}
a {
  color: inherit;
  text-decoration: none;
}

body.gt {
  background: #fff;
  color: #404040;
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  letter-spacing: 0.1em;
  -webkit-font-smoothing: antialiased;
  /* 画面が縦に長くても、フッターを一番下に */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.gt-main {
  flex: 1;
}

/* PCでは改行しない（スマホだけ改行） */
.sp {
  display: none;
}

/* ---------- ロゴ ---------- */
/* 2026-11-19 ロゴ画像は透明な余白を切り落とした（文字の外形ぴったり）。
   上の余白は、ロゴ下〜「AWAJISHIMA」の文字と同じ 56px（スマホ 37px）
   「P」の左の曲線で文字のかたまりが右寄りに見えるので、見た目の中央になるよう左へずらす */
.gt-header {
  padding-top: 66px; /* 2026-11-19 +10px */
  text-align: center;
}
.gt-logo img {
  width: 193px;
  transform: translateX(calc(-8% - 2px)); /* 2026-11-19 さらに2px左 */
}

/* ---------- 淡路島・大三島 ---------- */
.gt-main {
  padding-top: 60px;
}
.gt-sites {
  display: flex;
  justify-content: space-between;
  width: min(1300px, 92%);
  margin: 0 auto;
}
.gt-site {
  width: 44.6154%; /* 580 / 1300 */
  text-align: center;
}
.gt-site a {
  display: block;
}
.gt-site__en {
  font-size: 16px;
  line-height: 1;
}
.gt-site__name {
  margin-top: 16px;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.2em;
  /* 字間の分だけ右にずれるので戻す */
  margin-right: -0.2em;
}
.gt-site__photo {
  margin-top: 46px;
  overflow: hidden;
}
.gt-site__photo img {
  width: 100%;
  aspect-ratio: 580 / 326;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.6s ease;
}
.gt-site__copy {
  margin-top: 46px;
  font-size: 16px;
  line-height: 1.8;
}
.gt-site__url {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.1em;
  word-break: break-all;
}
@media (hover: hover) {
  .gt-site a:hover .gt-site__photo img {
    transform: scale(1.03);
    opacity: 0.9;
  }
}

/* ---------- フッター ---------- */
.gt-footer {
  margin-top: 200px;
}
.gt-sns {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding-bottom: 40px;
}
.gt-sns img {
  width: 36px;
  height: 36px;
}
.gt-sns a:hover {
  opacity: 0.7;
}
.gt-copyright {
  height: 50px;
  line-height: 50px;
  background: #434242;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}


/* ---------- スマホ（grand_top_sp：414px） ---------- */
@media screen and (max-width: 768px) {
  .sp {
    display: inline;
  }
  .gt-header {
    padding-top: 47px; /* 2026-11-19 +10px */
  }
  .gt-logo img {
    width: 130px;
  }
  .gt-main {
    padding-top: 40px;
  }
  .gt-sites {
    display: block;
    width: auto;
    padding: 0 20px;
  }
  .gt-site {
    width: auto;
  }
  .gt-site + .gt-site {
    margin-top: 56px;
  }
  .gt-site__en {
    font-size: 10px;
  }
  .gt-site__name {
    margin-top: 12px;
    font-size: 16px;
  }
  .gt-site__photo {
    margin-top: 24px;
  }
  .gt-site__copy {
    margin-top: 20px;
    font-size: 14px;
    line-height: 2;
  }
  .gt-site__url {
    margin-top: 14px;
    font-size: 10px;
  }
  .gt-footer {
    margin-top: 150px;
  }
  .gt-sns {
    padding-bottom: 30px;
  }
  .gt-sns img {
    width: 32px;
    height: 32px;
  }
}
