html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 16px;
}

*, *::before, *::after { box-sizing: inherit; }

:root {
  /* --- color --- */
  --orange: #ef8468;
  --orange-trsp: #ef8468b3; /* 70% */
  --hover: #809dca;
  --hover-trsp: #809dca4d;
  --bg-base: #f2f2f2;
  --bg-base-trsp: #f2f2f2e6; /* 90% */
  --bg-main: #fcfcfc;
  --bg-main-trsp: #fcfcfcd9; /* 85% */
  --bg-tablet-side: #eaeaea;

  /* --- font --- */  
  --m-plus-1p: "M PLUS 1p", sans-serif;
    /* ↪ Light 300 / Regular 400 / Medium 500 / Bold 700 */
  --rubik: "Rubik", sans-serif;
    /* ↪ Light 300 / Regular 400 / Medium 500 / Bold 700 */
  --emoji: "Noto Emoji", sans-serif;
    /* ↪ Regular 400 */
}

.emoji {
  font-family: var(--emoji);
}

.deco-font {
  font-family: var(--rubik);
  font-weight: 500;
}

strong {
  font-weight: 500;
  margin-inline: 0.1em;
}

body {
  margin: 0;
  padding: 0;
  color: #333;
  background-color: var(--bg-base);
  font-family: var(--m-plus-1p);
  font-weight: 400;
}

img, svg, video {
  display: block; 
}

ul {
  padding-left: 0;
  margin: 0;
  list-style: none;
}

ol {
  padding-left: 0;
  margin: 0;
}

h1 {
  margin: 0;
  font-family: var(--rubik);
  font-size: 2rem;
  font-weight: 400;
}

h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--rubik);
  font-weight: 500;
}

p {
  margin: 0;
}

figure {
  margin: 0;
}

.visually-hidden {
  position: absolute !important;
  clip: rect(1px,1px,1px,1px) !important;
  clip-path: inset(50%) !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  border: 0 !important;
  padding: 0 !important;
  margin: -1px !important;
}

:focus-visible {
  outline: 2px solid ;
  outline-offset: 3px;
  outline-color: var(--hover);
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus,
.skip-link:focus-visible {
  position: fixed;
  left: 0.5rem;
  top: 0.5rem;
  background-color: #333;
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 2000;
  outline: 2px solid;
  outline-offset: 2px;
}


/* ----------------   scroll trigger   ---------------- */

.io-trigger {
  width: 100%;
  height: 5px;
  transform: translateY(-200px);
  pointer-events: none;
  /* background-color: lightcoral; */
}

.change-opc {
  transition: opacity 0.5s ease;
  will-change: opacity;
}

.is-tablet-phone {
  display: none;
}

.is-tablet {
  display: none; 
}

.is-phone {
  display: none;
}

@media (min-width: 500px) and (max-width: 1279px) {
  .is-tablet-phone { display: block; }
  .is-tablet { display: block; }

  .is-pc { display: none; }
  .is-phone { display: none; }
}

@media (max-width: 499px) {
  .is-tablet-phone { display: block; }
  .is-phone { display: block; }

  .is-pc { display: none; }
  .is-pc-tablet { display: none; }
  .is-tablet { display: none; }
}


/* --------------------   menu   -------------------- */
@media (min-width: 1280px) {
  .menu {
   display: none;
  }
}

@media (min-width: 500px) and (max-width: 1279px) {
  .menu {
    position: fixed;
    width: 100%;
    max-width: 700px;
    height: 100dvh;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    z-index: 1000;
    pointer-events: none;
  }
}

@media (max-width: 499px) {
  .menu {
    position: fixed;
    width: 100%;
    height: 100dvh;
    z-index: 1000;
    pointer-events: none;
  }
}

.menu.is-open {
  pointer-events: auto;
}

/* メニューボタン */
.menu-button {
  position: absolute;
  place-items: center;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;  
  background-color: var(--orange-trsp);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
}

.to-open {
  display: grid;
}

.menu.is-open .to-open {
  display: none;
}

.to-close {
  display: none;
}

.menu.is-open .to-close {
  display: grid;
}

.menu-button svg {
  transform: scale(1);
  transition: transform 0.2s ease;
}

.menu-button:hover svg,
.menu-button:focus-within svg {
  transform: scale(0.85);
}

/* メニュー本体 */
.menu-panel {
  position: absolute;
  inset: 0;
  background-color: var(--bg-base-trsp);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s ease, visibility 0s linear .28s;
  overscroll-behavior: contain;
}

.menu.is-open .menu-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .28s ease, visibility 0s;
}

.menu-panel-gr1 {
  position: absolute;
  top: 100px;
  right: 30px;
  display: flex;
  flex-direction: column;
  row-gap: 28px;
  color: var(--orange);
  font-size: 1.25rem;
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.menu-panel-gr1 a {
  display: inline-block;
  transform: scale(1);
  transform-origin: center bottom;
  transition: transform 0.2s ease, color 0.2s ease;
}

.menu-panel-gr1 a:hover,
.menu-panel-gr1 a:focus-within {
  color: var(--hover);
  transform: scale(1.05);
}

.menu-panel-gr2 {
  position: absolute;
  left: 30px;
  bottom: 50px;
  display: grid;
  row-gap: 10px;
}

@media (min-width: 500px) and (max-width: 1279px) {
  .menu-panel-gr2 {
    left: 40px;
  }
}

@media (max-width: 499px) {
  .menu-panel-gr2 {
    left: 20px;
  }
}

.menu.is-open .menu-panel .menu-panel-gr1,
.menu.is-open .menu-panel .menu-panel-gr2 {
  pointer-events: auto;
}


/* 低モーション設定に配慮 */
@media (prefers-reduced-motion: reduce) {
  .menu-panel { transition: none; }
}

/* backdrop-filter 非対応／不安定時はぼかさない */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .menu-button,
  .menu-panel {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}


/* ------------------   container   ------------------ */

.container{
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  width: min(100%, 1920px);
  margin: 0 auto;
  padding: 0;
}

@media (min-width: 1280px) and (max-width: 1400px) {
  .container {
    grid-template-columns: 1fr 700px 1fr;
  }
}


/* ◍ ◌ ◍ ● ◍ ◌ ◍ ● ◍ ◌ ◍ ● ◍   col-1   ◍ ◌ ◍ ● ◍ ◌ ◍ ● ◍ ◌ ◍ ● ◍ */

.col-1 {
  position: fixed;
  top: 0;
  left: calc((100% - min(100%, 1920px)) / 2);
  width: 100%;
  height: 100dvh;
}

.site-logo {
  position: absolute;
  top: 25px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.site-logo svg {
  color: var(--orange);
  width: 70px;
  height: 70px;
}

.site-logo span {
  color: var(--orange);
  font-family: var(--rubik);
  font-size: 1.125rem;
  line-height: 1.125rem;
  white-space: nowrap;
}


/* -----------------   global nav   ----------------- */

.global-nav {
  position: absolute;
  top: 140px;
  left: 40px;
  z-index: 2;
}

.global-nav ul {
  display: grid;
  row-gap: 28px;
  color: var(--orange);
  font-size: 1.25rem;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
}

.global-nav a {
  display: inline-block;
  transform: scale(1);
  transform-origin: center bottom;
  transition: transform 0.2s ease, color 0.2s ease;
}

.global-nav a:hover,
.global-nav a:focus-within {
  color: var(--hover);
  transform: scale(1.05);
}


/* ◍ ◌ ◍ ● ◍ ◌ ◍ ● ◍ ◌ ◍ ● ◍   col-2   ◍ ◌ ◍ ● ◍ ◌ ◍ ● ◍ ◌ ◍ ● ◍ */

.col-2 {
  grid-area: 1 / 2 / -1 / 3;
  position: relative;
  container-type: inline-size;
  margin: 15px 0;
  min-height: calc(100dvh - 30px);
  display: grid;
  align-content: start;
  justify-items: center;
  background-color: var(--bg-main-trsp);
  border: 1.2px solid ;
  border-color: #333;
  border-radius: 20px;
  z-index: 30;
}

/* - - - - - - - - - - - - - - - - - - - - */

.col-2 h1:not(.not-cursor-text),
.col-2 h2:not(.not-cursor-text),
.col-2 h3:not(.not-cursor-text),
.col-2 p:not(.not-cursor-text),
.col-2 span:not(.not-cursor-text),
.atc ul:not(.not-cursor-text),
.atc li:not(.not-cursor-text) {
  cursor: text;
}

.not-cursor-text {
  cursor: default;
}

/* - - - - - - - - - - - - - - - - - - - - */

.col-2-end-nav {
  width: 100%;
  height: 24px;
  display: block;
  margin: 70px auto;
  color: var(--orange);
  font-size: 1.25rem;
  text-align: center;
}

.col-2-end-nav a {
  display: inline-block;
  transform: scale(1);
  transform-origin: center bottom;
  transition: transform 0.2s ease, color 0.2s ease;
}

.col-2-end-nav a:hover,
.col-2-end-nav a:focus {
  color: var(--hover);
  transform: scale(1.05);
}


/* ◍ ◌ ◍ ● ◍ ◌ ◍ ● ◍ ◌ ◍ ● ◍   col-3   ◍ ◌ ◍ ● ◍ ◌ ◍ ● ◍ ◌ ◍ ● ◍ */

.col-3 {
  position: fixed;
  top: 0;
  right: calc((100% - min(100%, 1920px)) / 2);
  height: 100dvh;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(480px, min(25%, calc((100% - 700px) / 2)));
  justify-content: end;
  z-index: 20;
  pointer-events: none;
}


/* - - - - - - - - - - - - - - - - - - - - */

.col-3-ads-bg {
  grid-area: 1 / 1 / -1 / 3;
  width: 700px;
  justify-self: end;
  height: clamp(610px, 75dvh, 810px);
  background-image: url("../background/ads-bg_520x610.svg");
  background-size: auto 100%;
  background-position: right top;
  background-repeat: no-repeat;
}

.col-3-ads {
  grid-area: 1 / 2 / -1 / 3;
  width: 100%;
  height: clamp(610px, 75dvh, 810px);
  display: grid;
  align-content: start;
  justify-items: center;
  padding-top: 20px;
  gap: 20px;
}

.klook-wrap {
  width: 300px;
  height: 250px;
  display: grid;
  place-items: center;
  overflow: hidden;
  pointer-events: auto;
}

.klook-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}


/* - - - - - - - - - - - - - - - - - - - - */

.site-footer {
  grid-area: 1 / 2 / -1 / 3;
  position: relative;
  width: 100%;
  height: 100dvh;
  pointer-events: none;
}

.contact-1 {
  position: absolute;
  left: 30px;
  bottom: 168px;
  display: block;
  color: var(--orange);
  font-size: 1.25rem;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
  pointer-events: auto;
}

.contact-1 a {
  display: inline-block;
  transform: scale(1);
  transform-origin: center bottom;
  transition: transform 0.2s ease, color 0.2s ease;
}

.contact-1 a:hover,
.contact-1 a:focus {
  color: var(--hover);
  transform: scale(1.05);
}

.social-links {
  position: absolute;
  left: 30px;
  bottom: 70px;
  display: grid;
  row-gap: 10px;
  pointer-events: auto;
}

.follow-us {
  color: var(--orange);
  font-size: 1.25rem;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
}

.social-links-logos {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: 7px;
}

.social-links-logos li {
  width: 40px;
  height: 40px;
}

.social-links-logos a {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background-color: var(--orange);
  border-radius: 50%;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.social-links-logos svg {
  width: auto;
  height: 20px;
}

.social-links-logos a:hover,
.social-links-logos a:focus-within {
  background-color: var(--hover);
  transform: scale(1.08);
}


/* - - - - - - - - - - - - - - - - - - - - */

.footer-note {
  position: absolute;
  right: 20px;
  bottom: 15px;
  display: grid;
  justify-items: end;
  row-gap: 3px;
  pointer-events: auto;
}

.privacy-policy {
  margin-right: 3px;
  text-align: right;
}

.privacy-policy {
  text-decoration: underline;
  text-decoration-thickness: 0.05em;
  text-underline-offset: 0.15em;
  text-decoration-color: #bbb;
}

.privacy-policy:hover,
.privacy-policy:focus-within {
  opacity: 0.7;
}

.copyright {
  text-align: right;
  white-space: nowrap;
}





/* ▦ ▥ ▤ ▦ ▥ ▤ ▦   M: 幅500〜1279px（タブレットなど）   ▦ ▥ ▤ ▦ ▥ ▤ ▦ */

@media (min-width: 500px) and (max-width: 1279px) {

  .container {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .col-1 {
    position: sticky;
    width: min(700px, 100%);
    height: 670px;
  }

  .site-logo {
    top: 20px;
    left: 20px;
  }

  .global-nav {
    top: 100px;
    left: auto;
    right: 30px;
  }

  .global-nav ul {
    text-align: right;
  }


  /* - - - - - - - - - - - - - - - - - - - - */

  .col-2 {
    grid-area: 2 / 1 / 3 / 2;
    width: min(700px, 100%);
    min-height: 500px;
  }


  /* - - - - - - - - - - - - - - - - - - - - */

  .col-3 {
    position: relative;
    width: min(700px, 100%);
    height: 790px;
    grid-template-columns: 1fr;
    z-index: 40;
  }

  .col-3-ads-bg {
    grid-area: 1 / 1 / 2 / -1;
    width: min(700px, 100%);
    height: 610px;
    overflow: hidden;
  }

  .col-3-ads {
    grid-area: 1 / 1 / 2 / -1;
    height: 610px;
    justify-items: end;
    padding-right: 50px;
  }

  .site-footer {
    grid-area: 2 / 1 / 3 / -1;
    height: 180px;
  }

  .contact-1,
  .social-links {
    left: 40px;
  }

}


/* ▦ ▥ ▤ ▦ ▥ ▤ ▦   S: 幅499px 以下（スマホなど）   ▦ ▥ ▤ ▦ ▥ ▤ ▦ */

@media (max-width: 499px) {

  .container {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .col-1 {
    position: sticky;
    width: 100%;
    height: 70vh;
    height: 70svh;
  }

  .site-logo {
    top: 17px;
    left: 17px;
  }

  .site-logo svg {
    width: 50px;
    height: 50px;
  }

  .site-logo h1 {
    margin-bottom: 15px;
  }

  .global-nav {
    display: none;
  }


  /* - - - - - - - - - - - - - - - - - - - - */

  .col-2 {  /* ※ 幅400px基準 ※ */
    grid-area: 2 / 1 / 3 / 2;
    width: 100%;
    min-height: 500px;
  }


  /* - - - - - - - - - - - - - - - - - - - - */

  .col-3 {
    position: relative;
    container-type: inline-size;  /* ※ 幅400px基準 ※ */
    width: 100%;
    height: 820px;
    grid-template-columns: 1fr;
    z-index: 40;
  }

  .col-3-ads-bg {
    grid-area: 1 / 1 / 2 / -1;
    width: 100%;
    height: 610px;
    overflow: hidden;
  }

  .col-3-ads {
    grid-area: 1 / 1 / 2 / -1;
    height: 610px;
    gap: min(5cqw, 20px);
  }

  .site-footer {
    grid-area: 2 / 1 / 3 / -1;
    height: 180px;
  }

  .contact-1,
  .social-links {
    left: 20px;
  }

}
