:root {
  --navy: #02162e;
  --gold: #c89b3c;
  --ivory: #f7f4ed;
  --white: #ffffff;
  --text: #4b4b4b;
}

/* ==================================================
   BASE
================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 90px;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--navy);
  background: var(--ivory);
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 36px;
  color: var(--white);
  background: var(--navy);
  border: 0;
  text-decoration: none;
}


/* ==================================================
   HEADER
================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  height: 90px;
  padding: 0 60px;

  background: var(--navy);
}

/* ---------- ロゴ ---------- */

.logo {
  flex-shrink: 0;
}

.logo a {
  display: block;
}

.logo img,
.logo-img {
  display: block;
  width: 180px;
  height: auto;
}

/* ---------- ナビゲーション ---------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 45px;
}

.nav a {
  position: relative;
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--gold);
}

.nav a.active {
  color: var(--gold);
}

.nav a.active::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;

  height: 2px;

  background: var(--gold);
  content: "";
}


/* ==================================================
   FOOTER
================================================== */

.footer {
  position: relative;

  width: 100%;
  min-width: 0;
  padding: 70px 30px 20px;

  overflow: hidden;

  color: var(--white);
  background: var(--navy);
}


/* ==================================================
   Special Thanks
================================================== */

.footer-thanks {
  position: relative;
  z-index: 3;

  width: 100%;
  margin: 0;
  padding: 0 52px 60px;
}


/* ---------- タイトル ---------- */

.footer-thanks-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;

  margin-bottom: 28px;
}

.footer-thanks-heading h2 {
  margin: 0;

  color: var(--gold);

  font-family: "Shippori Mincho", serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.footer-thanks-line {
  flex: 0 0 auto;

  width: 42px;
  height: 1px;

  background: var(--gold);
}


/* ---------- 左右2列 ---------- */

.footer-thanks-columns {
  display: grid;

  /* 小さい画面でも常に横並び */
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 7vw, 130px);

  width: 100%;
  min-width: 0;

  align-items: start;
}

.footer-thanks-column {
  width: 100%;
  min-width: 0;
}


/* ---------- 内容 ---------- */

.footer-thanks-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-thanks-item {
  min-width: 0;
  padding: 10px 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-thanks-role {
  margin: 0 0 4px;

  color: var(--gold);

  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-thanks-name {
  margin: 0;

  color: var(--white);

  font-family: "Shippori Mincho", serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.04em;
}


/* ---------- Instagram ---------- */

.footer-social {
  margin-top: 14px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 26px;
  height: 26px;

  text-decoration: none;

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.footer-social img {
  display: block;

  width: 26px;
  height: 26px;

  object-fit: contain;
}

.footer-social a:hover {
  opacity: 0.65;
  transform: translateY(-2px);
}


/* ---------- 公式サイト ---------- */

.footer-thanks-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-top: 6px;

  color: var(--white);

  font-size: 15px;
  letter-spacing: 0.08em;
  text-decoration: none;

  transition: color 0.3s ease;
}

.footer-thanks-link span {
  transition: transform 0.3s ease;
}

.footer-thanks-link:hover {
  color: var(--gold);
}

.footer-thanks-link:hover span {
  transform: translateX(4px);
}


/* ==================================================
   船・中央ロゴ・波
================================================== */

.footer-inner {
  position: relative;

  width: 100%;
  min-height: 270px;
  margin: 0 auto;

  overflow: hidden;
}


/* ---------- 船 ---------- */

.footer-boat {
  position: absolute;
  bottom: -20px;
  left: 30px;
  z-index: 1;

  pointer-events: none;
}

.footer-boat img {
  display: block;

  width: 520px;
  height: auto;

  opacity: 0.28;
}


/* ---------- 中央ロゴ ---------- */

.footer-center {
  position: absolute;
  top: 40%;
  left: 50%;
  z-index: 2;

  width: max-content;
  max-width: 90%;

  transform: translate(-50%, -50%);
  text-align: center;
}

.footer-logo {
  display: inline-block;
}

.footer-logo-img {
  display: block;

  width: 170px;
  height: auto;
  margin: 0 auto 8px;
}

.footer-message {
  margin: 0;

  color: var(--white);

  font-family: "Shippori Mincho", serif;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.footer-message span {
  font-size: 14px;
  letter-spacing: 0.05em;
}


/* ---------- 波 ---------- */

.footer-wave {
  position: absolute;
  right: -20px;
  bottom: -60px;
  z-index: 1;

  pointer-events: none;
}

.footer-wave img {
  display: block;

  width: 480px;
  height: auto;
  margin-right: 30px;
}


/* ==================================================
   Copyright
================================================== */

.footer-bottom {
  position: relative;
  z-index: 3;

  margin-top: 6px;
}

.footer-bottom-line {
  width: 100%;
  height: 1px;
  margin-bottom: 10px;

  background: rgba(200, 155, 60, 0.25);
}

.footer-copyright {
  padding: 8px 0 6px;

  text-align: center;
}

.footer-copyright p {
  margin: 0;

  color: rgba(255, 255, 255, 0.65);

  font-size: 10px;
  font-weight: 500;
  letter-spacing: .05em;
}


/* ==================================================
   PAGE TOP
================================================== */

.page-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 58px;
  height: 58px;

  color: var(--white);
  background: var(--navy);
  border: 1px solid rgba(200, 155, 60, 0.25);
  border-radius: 50%;

  font-size: 26px;
  line-height: 1;
  text-decoration: none;

  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);

  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.page-top:hover {
  background: var(--gold);
  transform: translateY(-5px);
}

/* ==================================================
   タブレット：1100px以下
================================================== */

@media screen and (max-width: 1100px) {

  body {
    padding-top: 90px;
  }

  .header {
    padding: 0 32px;
  }

  .logo img,
  .logo-img {
    width: 155px;
  }

  .nav {
    gap: 24px;
  }

  .nav a {
    font-size: 14px;
  }

   .footer {
    padding: 60px 24px 18px;
  }

  .footer-thanks {
    padding: 0 36px 52px;
  }

  .footer-thanks-columns {
    gap: 60px;
  }

  .footer-inner {
    min-height: 240px;
  }

  .footer-boat {
    bottom: 5px;
    left: 10px;
  }

  .footer-boat img {
    width: 430px;
  }

  .footer-wave {
    right: -35px;
    bottom: -12px;
  }

  .footer-wave img {
    width: 405px;
    margin-right: 0;
  }

  .footer-logo-img {
    width: 155px;
    margin-bottom: -2px;
  }

  .footer-message {
    font-size: 16px;
  }

  .footer-message span {
    font-size: 13px;
  }

}


/* ==================================================
   タブレット小さめ：900px以下
================================================== */

@media screen and (max-width: 900px) {

  .header {
    height: 82px;
    padding: 0 24px;
  }

  body {
    padding-top: 82px;
  }

  .logo img,
  .logo-img {
    width: 140px;
  }

  .nav {
    gap: 16px;
  }

  .nav a {
    font-size: 12px;
    letter-spacing: 0.02em;
  }

  .footer {
    padding: 54px 20px 16px;
  }

  .footer-thanks {
    padding: 0 24px 48px;
  }

  .footer-thanks-heading {
    margin-bottom: 24px;
  }

  .footer-thanks-columns {
    gap: 38px;
  }

  .footer-thanks-role {
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .footer-thanks-name {
    font-size: 11.5px;
  }

  .footer-thanks-link {
    font-size: 14px;
  }

  .footer-inner {
    min-height: 225px;
  }

  /* 船と波を少し上へ */
  .footer-boat {
    bottom: 12px;
    left: 20px;
  }

  .footer-boat img {
    width: 355px;
  }

  .footer-wave {
    right: -10px;
    bottom: -2px;
  }

  .footer-wave img {
    width: 335px;
  }

  .footer-logo-img {
    width: 145px;
  }

  .footer-message {
    font-size: 15px;
  }

  .footer-message span {
    font-size: 12px;
  }

  .page-top {
    right: 24px;
    bottom: 24px;

    width: 54px;
    height: 54px;

    font-size: 24px;
  }
}


/* ==================================================
   スマートフォン：768px以下
================================================== */

@media screen and (max-width: 768px) {

   body {
    padding-top: 138px;
  }

  .header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;

    height: auto;
    min-height: 138px;

    padding: 12px 16px 14px;

    z-index: 1000;
    overflow: visible;
  }


  

  .logo {
    flex-shrink: 0;
  }

  .logo img,
  .logo-img {
    display: block;
    width: 130px;
    height: auto;
  }

  .nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;

    gap: 22px;
    width: 100%;

    padding: 3px 2px 5px;

    overflow-x: auto;
    overflow-y: visible;

    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    display: block;
    flex-shrink: 0;

    padding: 2px 0 4px;

    color: var(--white);
    font-size: 13px;
    line-height: 1.4;
    white-space: nowrap;
  }

  /* ---------- フッター ---------- */

  .footer {
    padding: 46px 16px 14px;
  }

  .footer-thanks {
    padding: 0 10px 22px;
  }

  .footer-thanks-heading {
    gap: 13px;
    margin-bottom: 22px;
  }

  .footer-thanks-heading h2 {
    font-size: 18px;
    letter-spacing: 0.1em;
  }

  .footer-thanks-line {
    width: 32px;
  }

  .footer-thanks-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .footer-thanks-content {
    gap: 8px;
  }

  .footer-thanks-item {
    padding: 8px 0;
  }

  .footer-thanks-role {
    font-size: 9px;
    line-height: 1.55;
    letter-spacing: 0.14em;
  }

  .footer-thanks-name {
    font-size: 11px;
  }

  .footer-social {
    margin-top: 8px;
    margin-bottom: -4px;
  }

  .footer-social a,
  .footer-social img {
    width: 23px;
    height: 23px;
  }

  .footer-thanks-link {
    margin-top: -2px;

    font-size: 13px;
  }

  /* 船・ロゴ・波 */

  .footer-inner {
    min-height: 175px;
  }

  .footer-center {
    top: 44%;
  }

  .footer-logo-img {
    width: 132px;
  }

  .footer-message {
    position: relative;
    z-index: 3;

    font-size: 13px;
  }

  .footer-message span {
    font-size: 10px;
  }

  /* ロゴの左右まで船と波を上げる */

  .footer-boat {
    bottom: -10px;
    left: 60px;
  }

  .footer-boat img {
    width: 285px;
  }

  .footer-wave {
    right: 20px;
    bottom: -28px;
  }

  .footer-wave img {
    width: 275px;
  }
   .footer-bottom-line {
    margin-bottom: 8px;
  }


  .footer-copyright {
    padding: 8px 0 6px;
  }

  .footer-copyright p {
    font-size: 9px;
     letter-spacing: 0.04em;
  }
  .footer-bottom {
    margin-top: 4px;
  }

  .page-top {
    right: 18px;
    bottom: 18px;

    width: 48px;
    height: 48px;

    font-size: 21px;
  }
}

/* ==================================================
   小さいスマートフォン：480px以下
================================================== */

@media screen and (max-width: 480px) {

  body {
    padding-top: 118px;
  }

  .header {
    height: 118px;
    gap: 10px;
    padding: 10px 12px 8px;
  }

  .logo img,
  .logo-img {
    width: 118px;
  }

  .nav {
    gap: 18px;
    padding-bottom: 7px;
  }

  .nav a {
    font-size: 11px;
  }

  .footer {
    padding: 40px 12px 12px;
  }

  .footer-thanks {
    padding: 0 2px 10px;
  }

  .footer-thanks-heading {
    gap: 11px;
    margin-bottom: 18px;
  }

  .footer-thanks-heading h2 {
    font-size: 16px;
  }

  .footer-thanks-line {
    width: 27px;
  }

  .footer-thanks-columns {
    gap: 16px;
  }

  .footer-thanks-content {
    gap: 5px;
  }

  .footer-thanks-item {
    padding: 7px 0;
  }

  .footer-thanks-role {
    font-size: 7.5px;
    line-height: 1.5;
    letter-spacing: 0.1em;
  }

  .footer-thanks-name {
    font-size: 9.5px;
  }

  .footer-social {
    margin-top: 9px;
    margin-bottom: -6px;
  }

  .footer-social a,
  .footer-social img {
    width: 21px;
    height: 21px;
  }

  .footer-thanks-link {
    gap: 5px;
    margin-top: 4px;

    font-size: 11px;
    letter-spacing: 0.05em;
  }

  .footer-inner {
    min-height: 155px;
  }

  .footer-center {
    top: 42%;
  }

  .footer-logo-img {
    width: 112px;
    margin-bottom: -12px;
  }

  .footer-message {
    font-size: 11px;
  }

  .footer-message span {
    font-size: 8.5px;
  }
  

  /* 船と波をロゴの横まで上げる */

  .footer-boat {
    bottom: 10px;
    left: 10px;
  }

  .footer-boat img {
    width: 225px;
    opacity: 0.25;
  }

  .footer-wave {
    right: 10px;
    bottom: -8px;
  }

  .footer-wave img {
    width: 215px;
  }

  .footer-bottom {
    margin-top: 2px;
  }

  .footer-bottom-line {
    margin-bottom: 7px;
  }

  .footer-copyright {
    padding: 7px 0 5px;
  }

  .footer-copyright p {
    font-size: 6px;
    letter-spacing: 0.035em;
  }

  .page-top {
    width: 44px;
    height: 44px;

    font-size: 19px;
  }

  
}

/* ==================================================
   スマートフォン：430px以下
================================================== */

@media screen and (max-width: 430px) {

  .nav {
    gap: 15px;
  }

  .nav a {
    font-size: 10px;
  }

  .footer {
    padding-right: 10px;
    padding-left: 10px;
  }

  .footer-thanks-heading h2 {
    font-size: 15px;
  }

  .footer-thanks-line {
    width: 24px;
  }

  .footer-thanks-columns {
    gap: 13px;
  }

  .footer-thanks-role {
    font-size: 7px;
    letter-spacing: 0.08em;
  }

  .footer-thanks-name {
    font-size: 9px;
  }
  .footer-social {
    margin-top: 6px;
    margin-bottom: -8px;
  }

  .footer-thanks-link {
    font-size: 10.5px;
  }

  .footer-inner {
    min-height: 145px;
  }
   .footer-center {
    top: 45%;
  }

  .footer-logo-img {
    width: 106px;
  }
   .footer-bottom {
    margin-top: 0;
  }

  .footer-bottom-line {
    margin-bottom: 6px;
  }

  .footer-message {
    font-size: 10.5px;
  }

  .footer-message span {
    font-size: 8px;
  }

  .footer-boat {
    bottom: 20px;
    left: 25px;
  }

  .footer-boat img {
    width: 205px;
  }

  .footer-wave {
    right: 20px;
    bottom: 7px;
  }

  .footer-wave img {
    width: 198px;
  }
  .footer-copyright {
    padding: 6px 0 4px;
  }

  .footer-copyright p {
    font-size: 5px;
    letter-spacing: 0.03em;
  }


}

/* ==================================================
   スマートフォン：390px以下
================================================== */

@media screen and (max-width: 390px) {

  .nav {
    gap: 15px;
  }

  .nav a {
    font-size: 10px;
  }

 .footer {
    padding-top: 36px;
  }

  .footer-thanks {
    padding-bottom: 18px;
  }

  .footer-thanks-heading {
    gap: 9px;
    margin-bottom: 17px;
  }

  .footer-thanks-heading h2 {
    font-size: 14px;
    letter-spacing: 0.08em;
  }

  .footer-thanks-line {
    width: 21px;
  }

  .footer-thanks-columns {
    gap: 11px;
  }

  .footer-thanks-role {
    font-size: 6.5px;
    letter-spacing: 0.07em;
  }

  .footer-thanks-name {
    font-size: 8.5px;
  }

  .footer-social a,
  .footer-social img {
    width: 20px;
    height: 20px;
  }
  .footer-social {
    margin-top: 3px;
    margin-bottom: -10px;
  }

  .footer-thanks-link {
    font-size: 10px;
  }

  .footer-inner {
    min-height: 130px;
  }
  .footer-center {
    top: 38%;
  }


  .footer-logo-img {
    width: 100px;
    margin-bottom: -7px;
  }

  .footer-message {
    font-size: 10px;
  }

  .footer-message span {
    font-size: 7.5px;
  }

  .footer-boat {
    bottom: 18px;
    left: 25px;
  }

  .footer-boat img {
    width: 190px;
  }

  .footer-wave {
    right: 20px;
    bottom: 4px;
  }

  .footer-wave img {
    width: 184px;
  }
   .footer-bottom {
    margin-top: 0;
  }

  .footer-bottom-line {
    margin-bottom: 5px;
  }

  .footer-copyright {
    padding: 5px 0 4px;
  }

  .footer-copyright p {
    font-size: 4px;
    letter-spacing: 0.025em;
  }


 

  .page-top {
    right: 13px;
    bottom: 13px;

    width: 42px;
    height: 42px;

    font-size: 18px;
  }


}



/* ==================================================
   さらに小さいスマートフォン：360px以下
================================================== */

@media screen and (max-width: 360px) {

  body {
    padding-top: 112px;
  }

  .header {
    height: 112px;
  }

  .logo img,
  .logo-img {
    width: 108px;
  }

  .nav {
    gap: 15px;
  }

  .nav a {
    font-size: 10px;
  }

 .footer {
    padding: 33px 8px 10px;
  }

  .footer-thanks {
    padding: 0 0 20px;
  }

  .footer-thanks-heading h2 {
    font-size: 13px;
  }

  .footer-thanks-line {
    width: 19px;
  }

  .footer-thanks-columns {
    gap: 9px;
  }

  .footer-thanks-item {
    padding: 6px 0;
  }

  .footer-thanks-role {
    font-size: 6px;
    line-height: 1.45;
    letter-spacing: 0.05em;
  }

  .footer-thanks-name {
    font-size: 8px;
  }

  .footer-social a,
  .footer-social img {
    width: 19px;
    height: 19px;
  }

  .footer-thanks-link {
    gap: 4px;

    font-size: 9px;
  }

  .footer-inner {
    min-height: 120px;
  }
   .footer-center {
    top: 39%;
  }
  .footer-bottom {
    margin-top: 0;
  }
   .footer-bottom-line {
    margin-bottom: 4px;
  }

  .footer-logo-img {
    width: 94px;
  }

  .footer-message {
    font-size: 9px;
  }

  .footer-message span {
    font-size: 7px;
  }

  .footer-boat {
    bottom: 19px;
    left: 20px;
  }

  .footer-boat img {
    width: 176px;
  }

  .footer-wave {
    right: 10px;
    bottom: 10px;
  }

  .footer-wave img {
    width: 170px;
  }

  .footer-bottom-line {
    margin-bottom: 9px;
  }

  .footer-copyright {
    padding: 4px 0 3px;
  }

  .footer-copyright p {
    font-size: 4px;
    letter-spacing: 0.02em;
  }

  .page-top {
    right: 11px;
    bottom: 11px;

    width: 40px;
    height: 40px;

    font-size: 17px;
  }

}