:root {
  --black: #1D1D1D;
  --black-light: #5E5E5E;
  --brown: #743600;
  --brown-soft: #c8a47f;
  --gray: #777777;
  --line: #9D9D9D;
  --paper: #F4F2ED;
  --paper-warm: #EAE6DD;
  --gold: #A18C63;
  --gold-light: #C5A572;  
  --base: #FFFFFF;
  --page-min: 390px;
  --page-max: 560px;
  --side: 22px;
  --font-title: "Noto Sans JP", "Noto Sans Medium", "Yu Gothic", "YuGothic", "游ゴシック体", "Yu Gothic Medium", "Hiragino Sans", sans-serif;
  --font-base: "Lucida Grande", "Lucida Sans Unicode", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3", "Hiragino Sans", "ヒラギノ角ゴ", "Helvetica", "Arial", "メイリオ", "Meiryo", "Verdana", "游ゴシック", "YuGothic", "Yu Gothic", "sans-serif";
  --font-eng: "SF Pro JP", "SF Pro Text", "SF Pro", "system-ui", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", "Helvetica", "Arial", sans-serif;

}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--paper);
  letter-spacing: 0;
}

.container-fluid {
  padding-right: 0;
  padding-left: 0;
}

.sp_myq { display: block !important;}
.pc_myq { display: none !important;}

@media screen and (min-width: 560px) {
    .pc_myq { display: block !important;}
    .sp_myq { display: none !important;}
}

.top-page {
  width: clamp(var(--page-min), 100%, var(--page-max));
  margin: 0 auto;
  overflow: hidden;
  background: var(--base);
  color: var(--black);
  font-family: var(--font-base);
}

.top-page img {
  display: block;
  max-width: 100%;
}

.top-page a {
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.top-kicker {
  margin: 0 0 40px;
  color: var(--black);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  font-family: var(--font-eng);
}

.top-kicker-light {
  margin: 0 0 40px;
  color: var(--base);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  font-family: var(--font-eng);
}


.top-section-title em,
.top-lead em,
.top-feature-title em {
  color: var(--brown);
  font-style: normal;
}

.top-philosophy .top-lead {
  color: var(--black);
  font-size: 22px;
  font-weight: 400;
  line-height: 38px;
  letter-spacing: 0;
}

.top-hero {
  border-top: 50px solid var(--black);
  position: relative;
  min-height: 672px;
  overflow: hidden;
  color: var(--base);
  background: var(--black-light);
}

.top-hero-media,
.top-hero::before {
  position: absolute;
  inset: 0;
}

.top-hero-media {
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--black-light);
}

.top-hero-poster,
.top-hero-video,
.top-hero-video iframe {
  position: absolute;
}

.top-hero-poster,
.top-hero-video {
  inset: 0;
}

.top-hero-poster {
  z-index: 0;
  background: url("/template/default/img/top/kv_bg.jpg") center center / cover no-repeat #7a736b;
}

.top-hero-video {
  z-index: 1;
  overflow: hidden;
  container-type: size;
  pointer-events: none;
}

.top-hero-video iframe {
  top: 50%;
  left: 50%;
  width: max(100cqw, 177.78cqh);
  height: max(100cqh, 56.25cqw);
  min-width: 100%;
  min-height: 100%;
  border: 0;
  transform: translate(-50%, -50%);
}

@supports not (width: 100cqw) {
  .top-hero-video iframe {
    width: max(100vw, 177.78vh);
    height: max(100vh, 56.25vw);
  }
}

.top-hero::before {
  z-index: 1;
  background: rgba(0, 0, 0, 0.4);
  content: "";
}

.top-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 700px;
  padding: 100px var(--side) 44px;
}
@media (min-width: 560px) {
  .top-hero-inner {
  padding: 100px var(--side) 50px;
	}
}

.top-hero-title {
  margin: 0 0 40px;
  color: var(--base);
  font-size: 25px;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: 0;
  font-family: var(--font-title);
}

.top-hero-copy {
  margin: 0 0 40px;
  color: var(--base);
  font-size: 16px;
  font-weight: 600;
  line-height: 30px;
}
@media (min-width: 560px) {
  .top-hero-copy {
  margin: 0 0 50px;
	}
}

.top-hero-line {
  display: block;
  width: 80px;
  height: 1px;
  margin: 0 0 40px;
  background: var(--base);
}

.top-hero-actions {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.top-button,
.top-outline-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  padding: 15px 20px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: opacity 0.25s ease;
}
@media (min-width: 560px) {
  .top-button,
  .top-outline-link {
  width: 80%;
  margin: 0 auto;
	}
}

.top-button span,
.top-outline-link span {
  position: absolute;
  top: 50%;
  right: 26px;
  transform: translateY(-50%);
  font-size: 15px;
  font-weight: 400;
}

.top-button-light {
  color: var(--black);
  background: var(--base);
}

.top-button-ghost {
  color: var(--base);
  border: 1px solid var(--base);
  backdrop-filter: blur(20px);
  background: #00000012;
}



.top-button-dark {
  color: var(--base);
  background: var(--black);
}

.top-anniversary {
  display: grid;
  grid-template-columns: 70% 30%;
  gap: 10px;
  align-items: center;
  min-height: 130px;
  padding: 25px 30px;
  color: var(--base);
  text-decoration: none;
  transition: opacity 0.25s ease;
  background: var(--black);
  justify-content: center;
}
@media (min-width: 560px) {
  .top-anniversary {
  grid-template-columns: 50% 20%;
  gap: 0;
  padding: 30px 30px;
  justify-content: space-around;
	}
}

.top-anniversary-copy strong,
.top-anniversary-copy small {
  display: block;
}

.top-anniversary-copy strong {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.top-anniversary-copy small {
  margin-top: 10px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.top-anniversary-badge {
  width: 90px;
  height: 90px;
  background: var(--gold);
}

.top-philosophy {
  position: relative;
  padding: 100px var(--side) 60px;
  background: var(--base);

}

.top-philosophy h2 {
  margin-bottom: 30px;
  color: var(--black);
  font-size: 22px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: 0;
  font-family: var(--font-title);
}

.top-featured {
  position: relative;
  padding: 100px var(--side) 80px;
  background: var(--base);
  border-top: 1px solid var(--line);
}

.top-featured h2 {
  margin-bottom: 20px;
  color: var(--black);
  font-size: 26px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: 0;
  font-family: var(--font-eng)
}

.top-feature-title {
  margin: 0 0 10px;
  font-size: 23px;
  font-weight: 600;
  line-height: 40px;
}

.top-feature-sub {
  margin: 0 0 40px;
  color: var(--black);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
}

.top-feature-visual {
  margin-bottom: 30px;
}

.top-feature-visual img {
  width: 100%;
  margin: 0 auto;
}
@media (min-width: 560px) {
  .top-feature-visual img {
  width: 80%;
	}
}

.top-story {
  border-top: 1px solid var(--line);
  position: relative;
  padding: 100px var(--side) 60px;
}

.top-story h2{
  margin-bottom: 30px;
  color: var(--black);
  font-size: 22px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: 0;
  font-family: var(--font-title);
}

.top-story .top-lead {
  color: var(--black);
  font-size: 22px;
  font-weight: 400;
  line-height: 38px;
  letter-spacing: 0;
  margin-bottom: 40px;
}

.top-text-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: var(--black);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  text-decoration: underline;
}

.top-story-link {
  margin-bottom: 60px;
  padding: 0 10px 0 0;
}

.top-link-list {
  display: grid;
  gap: 14px;
}

.top-outline-link {
  color: var(--black);
  border: 1px solid var(--black);
  background: var(--base);
}

.top-story-note {
  margin: 26px 4px 0 0;
  color: var(--gray);
  font-size: 10px;
  line-height: 1.5;
  text-align: right;
}

.top-for-you {
  border-top: 1px solid var(--line);
  position: relative;
  padding: 100px var(--side) 60px;

}

.top-for-you h2{
  margin-bottom: 40px;
  color: var(--black);
  font-size: 22px;
  font-weight: 400;
  line-height: 38px;
  letter-spacing: 0;
  font-family: var(--font-title);
}

.top-member-links {
  gap: 20px;
  margin-bottom: 70px;
}

.top-for-you-copy {
  margin: 0 0 35px;
  color: var(--black);
  font-size: 17px;
  font-weight: 600;
  line-height: 30px;
  text-align: center;
}

.top-concern {
  margin: 20px auto 0;
  border: 1px solid var(--black);
  background: var(--base);
}
@media (min-width: 560px) {
  .top-concern {
  width: 80%;
	}
}
.top-concern-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  padding: 15px 20px;
  border: 0;
  color: var(--black);
  background: var(--base);
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
}

.top-concern-head i {
  position: absolute;
  top: 50%;
  right: 27px;
  color: var(--black);
  font-style: normal;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
}

.top-concern-panel {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.42s ease, opacity 0.32s ease, visibility 0s linear 0.42s;
}

.top-concern-panel.is-open {
  max-height: 260px;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.top-concern-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px 10px;
  min-height: 0;
  padding: 0 10px 30px;
}

.top-concern-inner a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 35px;
  padding: 5px 20px;
  border-radius: 100px;
  color: var(--base);
  background: var(--brown-soft);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.top-news {
  background: var(--base);
  padding: 100px var(--side) 100px;
  border-top: 1px solid var(--line);
}

.top-news .top-kicker {
  margin-bottom: 48px;
}

.top-news-list {
  display: grid;
  gap: 28px;
}

.top-news-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
}

.top-news-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--black);
  color: var(--black);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  font-family: var(--font-eng);
}
.top-news-item a {
  text-decoration: underline;
}
.top-news-item a:hover {
  text-decoration: none;
}

.top-news-item p {
  margin: 0 0 5px;
  color: var(--black);
  font-size: 13px;
  font-weight: 400;
  line-height: 22px;
}

.top-news-item time {
  color: var(--gray);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}

.top-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.top-js-ready .top-reveal-title {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.top-js-ready .top-reveal-title.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.top-kv-title {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.top-kv-title.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 560px) {
  :root {
    --side: 44px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .top-text-link:hover {
    text-decoration: none;
  }

  .top-button:hover,
  .top-outline-link:hover,
  .top-anniversary:hover,
  .top-concern-inner a:hover {
    opacity: 0.7;
    text-decoration: none;
  }
  
  .top-button:visited,
  .top-outline-link:visited,
  .top-anniversary:visited,
  .top-concern-inner a:visited {
    text-decoration: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .top-js-ready .top-reveal-title,
  .top-kv-title,
  .myq-sticky-button,
  .top-concern-panel {
    opacity: 1;
    transform: none;
    transition-duration: 0.001ms;
  }
}

.myq-sticky-start,
.myq-sticky-end {
  width: 100%;
  height: 0;
  pointer-events: none;
}

.myq-sticky-button {
  position: fixed;
  left: 50%;
  bottom: 25px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(calc(100% - 40px), 520px);
  min-height: 50px;
  padding: 10px 45px 10px 20px;
  color: var(--base);
  background: var(--brown);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translate(-50%, 18px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    visibility 0s linear 0.45s;
}

.myq-sticky-button span {
    font-weight: 400;
    font-size: 15px;
}
a.myq-sticky-button:hover {
	opacity: 0.8;
	text-decoration: none;
}

.myq-primary-button span {
    font-weight: 400;
    font-size: 15px;
}

.myq-sticky-button span.arr {
  position: absolute;
  right: 24px;
  font-size: 16px;
  font-weight: 400;
}

.myq-sticky-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}
