@charset "utf-8";

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scroll-padding-top: 120px;
}

body {
  position: relative;
  margin: 0px;
  background: black;
  height: auto;
  min-height: 100%;
  color: white;
  font-family: sicselifgothicre, sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1.6;
}

html.wf-loading body,
.wf-loading .sic-font {
  visibility: hidden;
}

.wf-active .sic-font,
.wf-inactive .sic-font {
  visibility: visible;
}

.sic-font {
  font-family: sicselifgothicre, sans-serif;
  font-weight: 400;
  font-style: normal;
}

.greeting h4,
.suiso h3,
.koseisinrigaku h3,
.eightTips h3,
.event h3,
.latest h3,
.book h4,
.pegasus-title-1,
.pegasus-title-2,
.pegasus-title-3,
.contact-form h2 {
  line-height: 1.3;
}

.greet p,
.greet-content,
.suiso p,
.koseisinrigaku .kosei-p1,
.tip p,
.event-contents p,
.latest-contents p,
.book-content p,
.message p,
.pegasus-content-1,
.pegasus-content-2,
.event-content p,
label,
.details p,
.footer-right p,
.copyright-content,
footer a,
small {
  font-kerning: none;
  font-synthesis: none;
}

.particles {
  position: absolute;
  inset: 0px;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 3;
}

.particle {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle,
      var(--c1) 0%,
      var(--c2) 15%,
      var(--c3) 35%,
      var(--c4) 60%,
      rgba(0, 0, 0, 0) 100%);
  filter: hue-rotate(calc(var(--hue) * 1deg));
  transform: translate(0px, 0px) scale(1);
  animation: float 8s ease-in-out infinite,
    colorShift 12s ease-in-out infinite,
    scalePulse 10s ease-in-out infinite,
    fadeBlink var(--fade-speed) ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(var(--scale, 1));
  }

  50% {
    transform: translate(var(--move-x), var(--move-y)) scale(var(--scale, 1));
  }

  100% {
    transform: translate(0, 0) scale(var(--scale, 1));
  }
}

@keyframes colorShift {
  0% {
    filter: hue-rotate(calc(var(--hue) * 1deg));
  }

  50% {
    filter: hue-rotate(calc((var(--hue) + 120) * 1deg));
  }

  100% {
    filter: hue-rotate(calc(var(--hue) * 1deg));
  }
}

@keyframes scalePulse {
  0% {
    --scale: 1;
  }

  50% {
    --scale: 1.2;
  }

  100% {
    --scale: 1;
  }
}

@keyframes fadeBlink {
  0% {
    opacity: 0.2;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.2;
  }
}

button,
input,
select,
textarea {
  font-family: inherit;
}

body.menu-open {
  overflow: auto;
  touch-action: auto;
}

.wrapper {
  max-width: 1240px;
  width: 100%;
  margin: 0px auto;
}

/*== header ==*/
header {
  max-width: 1240px;
  position: fixed;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding: clamp(2px, 0.3vw, 4px) 0px;
  background: rgba(5, 5, 12, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  height: clamp(60px, 7.5vw, 96px);
  box-shadow: rgba(0, 0, 0, 0.45) 0px 10px 35px;
  backdrop-filter: blur(16px);
  z-index: 10;
}

.logo-image {
  width: clamp(240px, 32vw, 397px);
  height: auto;
  display: block;
}

.header-inner {
  max-width: 1240px;
  width: 100%;
  margin: 0px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px clamp(12px, 2vw, 24px);
  height: 100%;
}

header a {
  text-decoration: none;
  font-size: clamp(11px, 1.1vw, 14px);
  letter-spacing: clamp(0.5px, 0.08vw, 1px);
}

#top,
#about,
#book {
  scroll-margin-top: 0px;
}

header h1 {
  font-size: 0px;
  margin: 0px;
  line-height: 0;
}

header img {
  object-fit: cover;
  vertical-align: bottom;
}

.header-logo,
.header-logo a {
  display: block;
  flex-shrink: 0;
}

.hamburger-menu {
  display: none;
}

.nav-menu {
  margin-right: clamp(12px, 2vw, 24px);
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-list {
  margin: 0px;
  padding: 0px;
  min-height: 48px;
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: clamp(8px, 1.3vw, 16px);
  list-style: none;
}

.nav-list li {
  display: flex;
  align-items: center;
  min-height: 48px;
}

.nav-list a {
  display: flex;
  align-items: center;
  min-height: 40px;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s, filter 0.4s;
}

nav a {
  color: rgb(244, 240, 247);
  transition: color 0.25s, text-shadow 0.25s;
  font-size: clamp(13px, 2.1vw, 17px);
}

nav a:hover {
  color: rgb(243, 0, 129);
  text-shadow: rgba(243, 0, 129, 0.75) 0px 0px 14px;
}

.hero {
  --hero-radius: 72px;
  position: relative;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  aspect-ratio: 1200 / 750;
  overflow: hidden;
  border-radius: var(--hero-radius);
  clip-path: inset(0 round var(--hero-radius));
  isolation: isolate;
  margin: clamp(80px, 8vw, 98px) 0px clamp(40px, 5vw, 64px);
  z-index: 5;
}

.hero-images {
  position: absolute;
  inset: 0px;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  clip-path: inset(0 round var(--hero-radius));
  isolation: isolate;
  backface-visibility: hidden;
  background: rgb(0, 0, 0);
}

.hero-images>.hero-image {
  position: absolute;
  inset: 0px;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.hero-image-file {
  position: absolute;
  inset: 0px;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: inherit;
  opacity: 0;
  visibility: hidden;
  transform-origin: center center;
}

.hero-frame-picture {
  position: absolute;
  inset: 0px;
  z-index: 10;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-frame {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

.logo-content {
  display: block;
  position: absolute;
  right: 6%;
  bottom: 12%;
  width: clamp(180px, 38vw, 420px);
  height: auto;
  pointer-events: none;
  z-index: 11;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}

main {
  position: relative;
  min-height: 60vh;
  overflow: hidden;
}

main p {
  position: relative;
  z-index: 1;
}

/*== greeting ==*/
.greeting .pc-greet-content {
  display: block;
}

.greeting .res-greet-content {
  display: none;
}

.greeting {
  position: relative;
  width: 96%;
  max-width: 1240px;
  margin: 0px auto clamp(40px, 5vw, 64px);
}

.greeting-picture {
  display: block;
  width: 100%;
}

.greeting-image {
  width: 100%;
  height: auto;
  display: block;
  z-index: 4;
}

.greeting h4 {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(22px, 2.2vw, 36px);
  font-weight: normal;
  letter-spacing: clamp(1px, 0.3vw, 4px);
  margin: 0px;
  z-index: 4;
}

.greet {
  position: absolute;
  top: 9%;
  left: 5%;
}

.greet-image {
  height: auto;
  width: clamp(90px, 12vw, 140px);
  filter: drop-shadow(rgb(255, 255, 255) 0px 0px clamp(6px, 1vw, 12px));
}

.greet p {
  font-size: clamp(14px, 1.9vw, 24px);
  text-align: center;
  margin-top: clamp(2px, 0.3vw, 4px);
  z-index: 4;
}

.greet-content {
  text-align: center;
  position: absolute;
  top: 22%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  line-height: 2.2;
  font-size: clamp(14px, 1.4vw, 24px);
  font-weight: normal;
  letter-spacing: clamp(1px, 0.3vw, 4px);
}

.profile-button {
  position: absolute;
  left: 50%;
  bottom: 10%;
  z-index: 4;
  display: block;
  width: 22%;
  max-width: 295px;
  background: none;
  border-width: medium;
  border-style: none;
  border-color: currentcolor;
  border-image: none;
  padding: 0px;
  transform: translateX(-50%);
  cursor: pointer;
}

.profile-bottun-image {
  position: static;
  display: block;
  width: 100%;
  height: auto;
}

.greeting-char {
  display: inline-block;
  will-change: transform, opacity;
}

/*== suiso ==*/
.suiso {
  position: relative;
  width: 96%;
  margin: 0px auto clamp(40px, 5vw, 64px);
  max-width: 1240px;
}

.suiso-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0px auto;
}

.suiso-content {
  text-align: center;
  position: absolute;
  top: 6%;
  left: 50%;
  width: 90%;
  transform: translateX(-50%);
  font-size: clamp(25px, 2.6vw, 52px);
  text-shadow: black clamp(1px, 0.15vw, 2px) clamp(1px, 0.15vw, 2px) 0px;
  z-index: 4;
}

.suiso h3 {
  color: rgb(166, 255, 248);
  text-shadow: rgb(0, 51, 255) 1px 1px 0px;
  font-size: clamp(22px, 2.2vw, 48px);
  font-weight: normal;
}

.suiso-content>p:not(.suiso-p) {
  margin: clamp(-28px, -2.4vw, -20px) 0px 0px;
  color: rgb(189, 248, 255);
  text-shadow: rgb(0, 51, 255) 1px 1px 0px;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.9;
  font-weight: normal;
  z-index: 4;
}

.suiso .suiso-content p.suiso-p {
  width: 80%;
  margin: clamp(20px, 2.6vw, 32px) auto 0px;
  color: rgb(210, 250, 255);
  font-size: clamp(14px, 1.4vw, 24px);
  line-height: 1.65;
  text-align: center;
  text-shadow: rgb(0, 51, 255) 1px 1px 0px;
  white-space: nowrap;
  z-index: 4;
}

.suiso1 {
  width: 20%;
  max-width: 277px;
  height: auto;
  left: 6%;
  bottom: 17%;
  position: absolute;
  z-index: 4;
}

.suiso2 {
  width: 19%;
  max-width: 265px;
  height: auto;
  right: 6%;
  bottom: 17%;
  position: absolute;
  z-index: 4;
}

.suiso-button {
  background: none;
  border-width: medium;
  border-style: none;
  border-color: currentcolor;
  border-image: none;
  padding: 0px;
  margin: 0px;
  cursor: pointer;
  display: block;
  position: absolute;
  width: clamp(140px, 22vw, 295px);
  height: auto;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 4;
}

/*== koseisinrigaku ==*/
.koseisinrigaku {
  position: relative;
  width: 96%;
  margin: 0px auto clamp(40px, 5vw, 64px);
  max-width: 1240px;
  z-index: 4;
}

.koseisinrigaku-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.koseisinrigaku-image {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  margin: 0 auto;
  filter: brightness(1);
  transition: filter 0.3s ease;
}

.koseisinrigaku-link:hover .koseisinrigaku-image {
  filter: brightness(0.75);
}

.koseisinrigaku-link:focus-visible .koseisinrigaku-image {
  filter: brightness(0.75);
}

.koseisinrigaku h3 {
  color: white;
  text-shadow: black 3px 3px 3px, black -3px -3px 3px, black -3px 3px 3px, black 3px -3px 3px, black 3px 0px 3px, black -3px 0px 3px, black 0px 3px 3px, black 0px -3px 3px;
  font-weight: normal;
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(28px, 4vw, 60px);
  margin: 0px;
}

.koseisinrigaku .kosei-p1 {
  letter-spacing: clamp(0.5px, 0.15vw, 2px);
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(18px, 2.2vw, 28px);
  white-space: nowrap;
  text-shadow: black 1px 1px 1px, black -1px -1px 1px, black -1px 1px 1px, black 1px -1px 1px, black 1px 0px 1px, black -1px 0px 1px, black 0px 1px 1px, black 0px -1px 1px;
}

.koseisinrigaku .kosei-p2 {
  letter-spacing: clamp(0.5px, 0.15vw, 2px);
  position: absolute;
  bottom: 7%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  margin: 0px;
  text-shadow: black 1px 1px 1px, black -1px -1px 1px, black -1px 1px 1px, black 1px -1px 1px, black 1px 0px 1px, black -1px 0px 1px, black 0px 1px 1px, black 0px -1px 1px;
}

/*== eightTips ==*/
.eightTips {
  position: relative;
  isolation: isolate;
  max-width: 1240px;
  width: 96%;
  margin: 0px auto clamp(40px, 5vw, 64px);
  padding: 0px;
  overflow: hidden;
  z-index: 4;
}

.eightTips-background {
  display: block;
  width: 100%;
  height: auto;
}

.eightTips-link .eightTips-item {
  position: absolute;
  display: block;
  left: var(--tip-x);
  top: var(--tip-y);
  width: 14.2%;
  height: auto;
  margin: 0px;
  transform: translate(-50%, -50%);
}

.eightTips-link {
  display: block;
  text-decoration: none;
  line-height: 0;
  cursor: pointer;
}

.eightTips-link .eightTips-item {
  transition: filter 0.3s;
}

.eightTips-link:hover .eightTips-item {
  filter: brightness(0.7);
}

.eightTips.tips-navigating .eightTips-item {
  visibility: hidden;
}

.tips-transition {
  position: fixed;
  inset: 0px;
  z-index: 10000;
  overflow: hidden;
  touch-action: none;
  cursor: wait;
}

.tips-transition-image {
  position: absolute;
  top: 0px;
  left: 0px;
  display: block;
  height: auto;
  pointer-events: none;
  will-change: transform, opacity;
}

.tips-transition-selected {
  will-change: transform, filter;
}

.eightTips-item--1 {
  --tip-x: 49.7%;
  --tip-y: 27.6%;
}

.eightTips-item--2 {
  --tip-x: 63.7%;
  --tip-y: 33.3%;
}

.eightTips-item--3 {
  --tip-x: 69%;
  --tip-y: 53.3%;
}

.eightTips-item--4 {
  --tip-x: 63%;
  --tip-y: 72.5%;
}

.eightTips-item--5 {
  --tip-x: 49.5%;
  --tip-y: 80%;
}

.eightTips-item--6 {
  --tip-x: 36%;
  --tip-y: 72.5%;
}

.eightTips-item--7 {
  --tip-x: 30%;
  --tip-y: 53.3%;
}

.eightTips-item--8 {
  --tip-x: 35.7%;
  --tip-y: 33.3%;
}

/*== events ==*/
.events {
  max-width: 1240px;
  width: 100%;
  display: flex;
  padding: clamp(16px, 2vw, 24px) 0px;
  gap: clamp(20px, 2.6vw, 32px);
  margin: clamp(-64px, -5vw, -40px) auto clamp(40px, 5vw, 64px);
}

.event,
.latest {
  flex: 1 1 0%;
  text-align: center;
}

.event h3,
.latest h3 {
  margin: 0px 0px clamp(10px, 1.4vw, 16px);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: normal;
  z-index: 4;
}

.event-contents,
.latest-contents {
  width: 60%;
  margin: 0px auto;
  padding: clamp(16px, 2vw, 24px);
  background-color: gray;
  border-radius: clamp(4px, 0.6vw, 8px);
  text-align: left;
}

.notice-date-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0px 0px clamp(4px, 0.6vw, 8px);
  padding: 0px;
}

.notice-date {
  display: inline;
  margin: 0px;
  padding: 0px;
  z-index: 4;
}

.notice-photo {
  display: block;
  width: clamp(80px, 10vw, 140px);
  height: auto;
  margin: 8px 0px;
  object-fit: cover;
}

.notice-new {
  display: inline-block;
  margin-left: 0px;
  padding: 2px 8px;
  color: rgb(255, 255, 255);
  background-color: rgb(243, 0, 129);
  border-radius: 999px;
  font-size: clamp(10px, 1vw, 13px);
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: 0.05em;
  white-space: nowrap;
  z-index: 4;
}

.notice-title {
  margin: 0px 0px clamp(4px, 0.6vw, 8px);
  padding: 0px;
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: normal;
  line-height: 1.5;
  z-index: 4;
}

.notice-body {
  margin: 0px;
  padding: 0px;
  font-size: clamp(12px, 1.4vw, 18px);
  line-height: 1.8;
  text-align: left;
  overflow-wrap: anywhere;
  z-index: 4;
}

.notice-body p {
  margin: 0px 0px clamp(16px, 2vw, 24px);
  padding: 0px;
  font-size: inherit;
  line-height: inherit;
  text-align: left;
}

.notice-body> :last-child {
  margin-bottom: 0px;
}

.notice-link {
  display: block;
  color: rgb(255, 255, 255);
  text-decoration: none;
}

.notice-link:visited,
.notice-link:active {
  color: rgb(255, 255, 255);
}

.notice-item {
  margin: 0px;
  padding: clamp(8px, 1vw, 12px);
  text-align: left;
  border-radius: 6px;
  transition: background-color 0.3s, transform 0.3s;
}

.notice-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.notice-item+.notice-item {
  padding-top: clamp(8px, 1.2vw, 16px);
  border-top: 1px solid rgba(0, 0, 0, 0.25);
}

.notice-item:last-child {
  padding-bottom: clamp(8px, 1vw, 12px);
}

/*== book ==*/
.book {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  width: min(96%, 1240px);
  margin: 0px auto clamp(40px, 5vw, 64px);
  padding: clamp(30px, 4vw, 64px) clamp(20px, 4vw, 50px) clamp(40px, 6vw, 80px);
  overflow: hidden;
  aspect-ratio: 1351 / 2033;
}

.book-background-picture {
  position: absolute;
  inset: 0px;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  filter: brightness(0.8);
}

.book-background {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.book h4 {
  margin: 0px 0px clamp(4px, 2vw, 16px);
  color: rgb(255, 255, 255);
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: normal;
  letter-spacing: clamp(1px, 0.15vw, 2px);
  text-align: center;
  will-change: opacity;
  z-index: 4;
}

.book-list {
  display: flex;
  flex-direction: column;
  gap: clamp(60px, 9vw, 110px);
}

.book-item {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0px, 1.2fr);
  align-items: start;
  gap: clamp(30px, 6vw, 80px);
  z-index: 4;
}

.book-item:first-child {
  margin-bottom: clamp(70px, 10vw, 140px);
  grid-template-columns: minmax(0px, 1.2fr) minmax(220px, 0.8fr);
}

.book-item:first-child .book-content {
  grid-area: 1 / 1;
}

.book-item:first-child .book-images {
  grid-area: 1 / 2;
}

.book-item:first-child .book-image {
  transform: translateY(40px) scale(1.2);
  transform-origin: center top;
  margin-top: clamp(80px, 12.9vw, 160px);
}

.book-item:first-child .book-content {
  margin-top: clamp(-24px, -2vw, -16px);
}

.book-item:nth-child(2) {
  grid-template-columns: minmax(220px, 0.8fr) minmax(0px, 1.2fr);
}

.book-item:nth-child(2) .book-images {
  grid-area: 1 / 1;
}

.book-item:nth-child(2) .book-content {
  grid-area: 1 / 2;
  margin-top: clamp(68px, 11vw, 136px);
}

.book-images {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  min-width: 0px;
  will-change: clip-path, opacity;
}

.book-image,
.book-image-2 {
  display: block;
  width: auto;
  max-width: 100%;
  height: clamp(280px, 35vw, 440px);
  object-fit: contain;
  transform: none;
}

.book-image {
  filter: drop-shadow(rgba(0, 0, 0, 0.45) 8px 12px 12px);
}

.book-image-2 {
  filter: drop-shadow(rgb(255, 255, 255) 0px 0px 4px) drop-shadow(rgba(255, 255, 255, 0.93) 0px 0px 9px) drop-shadow(rgba(255, 255, 255, 0.75) 0px 0px 17px) drop-shadow(rgba(0, 0, 0, 0.45) 7px 10px 10px);
}

.book-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0px;
  color: rgb(255, 255, 255);
  text-align: center;
  will-change: clip-path, opacity;
}

.book-content h5 {
  margin: clamp(20px, 3vw, 40px) 0px clamp(16px, 2.6vw, 36px);
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: normal;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.book-content p {
  width: 100%;
  margin: 0px;
  font-size: clamp(14px, 1.6vw, 20px);
  line-height: 2;
  text-align: center;
  overflow-wrap: anywhere;
}

.purchase {
  display: inline-block;
  box-sizing: border-box;
  margin-top: clamp(24px, 4vw, 50px);
  padding: clamp(8px, 1vw, 12px) clamp(20px, 3vw, 40px);
  color: rgb(255, 255, 255);
  background: transparent;
  border: 1px solid rgb(255, 255, 255);
  font-size: clamp(16px, 2vw, 22px);
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.25s, background-color 0.25s;
}

.purchase:hover {
  color: rgb(0, 0, 0);
  background-color: rgb(255, 255, 255);
}

/*== footer ==*/
footer {
  max-width: 1240px;
  background: black;
  padding: 0px 0px clamp(40px, 5vw, 64px);
}

.footer-top {
  display: flex;
  width: 100%;
  margin-top: clamp(20px, 2.9vw, 36px);
  position: relative;
  z-index: 2;
}

.footer-left {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding-right: clamp(4px, 0.65vw, 8px);
  z-index: 2;
}

.footer-left img {
  width: clamp(100px, 15.2vw, 188px);
  height: auto;
  max-width: 99px;
}

.institute-credit {
  width: 99px;
  margin-top: 6px;
  color: white;
  font-size: 9px;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}

.footer-right {
  width: 60%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-left: clamp(4px, 0.65vw, 8px);
  z-index: 2;
}

.footer-right img {
  width: clamp(190px, 29vw, 360px);
  height: auto;
}

.footer-right p {
  width: clamp(170px, 24.2vw, 300px);
  margin: clamp(2px, 0.32vw, 4px) 0px 0px clamp(24px, 3.9vw, 48px);
  text-align: right;
  font-size: clamp(14px, 1.94vw, 24px);
}

.footer-top-image {
  display: block;
  height: auto;
}

.footer-bottom {
  width: 100%;
  position: relative;
  margin-top: clamp(-160px, -12.9vw, -80px);
  z-index: 1;
}

.footer-bottom-image {
  display: block;
  width: 100%;
  height: auto;
}

.copyright-content {
  position: relative;
  top: clamp(-320px, -25.8vw, -160px);
  color: white;
  text-align: center;
  font-size: clamp(14px, 1.9vw, 24px);
  font-weight: normal;
  letter-spacing: clamp(1px, 0.15vw, 2px);
}

.icon-image {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(8px, 1.3vw, 16px);
  margin: clamp(-300px, -24vw, -150px) auto clamp(4px, 0.6vw, 8px);
}

.sns-box {
  position: relative;
  z-index: 3;
  width: clamp(36px, 4.84vw, 60px);
  height: clamp(36px, 4.84vw, 60px);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  will-change: transform, opacity;
}

.sns-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  opacity: 1;
  visibility: visible;
}

.line-icon,
.instagram-icon {
  width: 100%;
  height: 100%;
}

.x-icon {
  width: 80%;
  height: 80%;
}

.tiktok-icon,
.youtube-icon {
  width: 140%;
  height: 140%;
}

.facebook-icon {
  width: 100%;
  height: 100%;
}

.privacy-policy {
  position: relative;
  width: 96%;
  margin: 0px auto;
  text-align: center;
}

.privacy-policy a,
.privacy-policy small {
  position: relative;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  color: white;
  text-decoration: none;
}

.privacy-policy a {
  margin-bottom: clamp(1px, 0.15vw, 2px);
  font-size: clamp(12px, 1.3vw, 16px);
}

.privacy-policy small {
  font-size: clamp(10px, 1.1vw, 14px);
}

.privacy-policy a::after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 0px;
  width: 100%;
  height: 2px;
  background-color: white;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s;
}

.privacy-policy a:hover::after {
  transform: scaleX(1);
}

small {
  display: block;
  color: white;
  font-size: clamp(10px, 1.1vw, 14px);
  z-index: 2;
}

.footer-top-image,
.footer-right p,
.footer-bottom {
  will-change: opacity;
}

.copyright-content,
.privacy-policy {
  will-change: transform, opacity;
  z-index: 4;
}

.icon-image {
  position: relative;
  z-index: 3;
}

/*== hinto ==*/
.hint-detail {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 1240px;
  margin: 0px auto;
  padding: calc(var(--page-header-height, 96px) + clamp(24px, 4vw, 40px)) clamp(16px, 2vw, 24px) clamp(40px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hint-detail~footer {
  margin-inline: auto;
}

/*== hinto1 ==*/
.mizu h2 {
  width: 100%;
  margin: 0 0 clamp(36px, 5vw, 64px);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: normal;
}

.mizu h3 {
  width: 100%;
  margin: clamp(20px, 3vw, 32px) 0;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: normal;
}

.hint-detail p,
.mizu p {
  width: 100%;
  margin: 0 0 clamp(4px, 0.8vw, 6px);
  ;
  font-size: clamp(16px, 1.8vw, 18px);
}

.hint-detail>img,
.mizu>img {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: clamp(16px, 2.5vw, 28px) auto 0;
}

.mizu .mizu-related-link {
  margin: 16px 0px 32px;
  font-size: 16px;
}

.mizu-related-link a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mizu .suiso-button {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 32px auto 0px;
  padding: 12px 32px;
  border: 1px solid black;
  border-radius: 8px;
  color: black;
  background: white;
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}

/*== hinto2 ==*/
.oem .oem-text-pc {
  display: block;
}

/* スマホ用の文章は非表示 */
.oem .oem-text-sp {
  display: none;
}

.oem {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 1240px;
  margin: 0px auto;
  padding: calc(var(--page-header-height, 96px) + clamp(24px, 4vw, 40px)) clamp(16px, 2vw, 24px) clamp(40px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.oem h2 {
  width: 100%;
  margin: 0px 0px 24px;
  font-size: 28px;
  line-height: 1.5;
}

.oem p {
  width: 100%;
  margin: 0px 0px 12px;
  font-size: 18px;
  line-height: 1.8;
}

.oem .oem-first h3,
.oem .oem-fifth h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.5;
}

.oem-intro {
  display: grid;
  grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  width: 100%;
  max-width: 1100px;
  margin-top: 24px;
}

.oem-copy {
  text-align: left;
}

.oem-copy h3 {
  margin-bottom: 24px;
  letter-spacing: 0.04em;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.5;
}

.oem .oem-copy p {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.9;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
  overflow-wrap: anywhere;
}

.oem-copy p:last-child {
  margin-bottom: 0px;
}

.oem-main-image {
  width: 90%;
  max-width: 450px;
  height: auto;
  margin: 0 auto;
}

.oem .oem-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(24px, 4vw, 48px);
}

.oem .oem-details-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding-top: clamp(40px, 6vw, 80px);
}

.oem .oem-details-right {
  display: flex;
  justify-content: center;
}

.oem .oem-details img {
  display: block;
  width: 90%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.oem .oem-related-link {
  width: 90%;
  text-align: right;
}

.oem .oem-related-link p {
  font-size: clamp(16px, 1.8vw, 20px);
  margin: 0 0 16px;
  line-height: 1.5;
  color: white;
}

.oem .oem-related-link a {
  display: inline-block;
  padding: 12px 24px;
  background: #b63d82;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s;
}

.oem .oem-related-link a:hover {
  background: #e054a4;
}

.oem .oem-related-link a:focus-visible {
  outline: 2px solid white;
  outline-offset: 4px;
}

.oem .oem-secondary .oem-copy .oem-related-link {
  width: 100%;
  margin: 30px 0 0;
  text-align: left;
}

.oem-secondary {
  margin-top: clamp(48px, 6.5vw, 80px);
}

.oem-secondary .oem-copy h3 {
  font-size: clamp(28px, 2.5vw, 36px);
  line-height: 1.6;
}

.oem-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  width: 100%;
  max-width: 1100px;
  margin-top: clamp(48px, 6.5vw, 80px);
}

.oem-details img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/*== hinto3 ==*/
.ryuujin {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 1240px;
  margin: 0px auto;
  padding: calc(var(--page-header-height, 96px) + 40px) 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ryuujin h2 {
  width: 100%;
  margin: 0px 0px 32px;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.5;
}

.hinto3-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  gap: clamp(8px, 2vw, 20px);
  width: 100%;
  max-width: 1000px;
  margin: 0px auto 24px;
}

.hinto3-photos img {
  display: block;
  width: 100%;
  height: auto;
}

.ryuujin p {
  width: 100%;
  margin: 0px 0px 16px;
  font-size: 18px;
  line-height: 1.8;
}

.ryuujin>a {
  display: block;
  width: fit-content;
  max-width: min(100%, 800px);
  margin: 0px auto 24px;
  color: white;
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.ryuujin .hinto3-ashina-photo {
  display: block;
  width: 100%;
  max-width: 1000px;
  height: auto;
  margin: clamp(28px, 4vw, 48px) auto 0;
}

.ryuujin .hinto3-ashina-link {
  margin-top: 24px;
  overflow-wrap: anywhere;
}

/*== hinto4 ==*/
.syugoryuu {
  --naruko-gold: #d9bb7c;
  --naruko-mint: #a5d3bc;
  gap: 0;
  color: #f5f1e8;
  background: radial-gradient(ellipse at 50% 0%, rgba(37, 77, 65, 0.26), transparent 52%);
}

.naruko-intro {
  width: 100%;
  margin-bottom: clamp(32px, 5vw, 64px);
  text-align: center;
}

.syugoryuu .naruko-eyebrow {
  margin: 0 0 16px;
  color: var(--naruko-mint);
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.24em;
}

.syugoryuu h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.syugoryuu h2 span {
  display: block;
  margin-top: 8px;
  color: var(--naruko-gold);
  font-size: 0.58em;
  letter-spacing: 0.2em;
}

.syugoryuu .naruko-intro-title {
  margin: clamp(28px, 4vw, 44px) 0 0;
  font-size: clamp(21px, 2.8vw, 32px);
  letter-spacing: 0.12em;
}

.naruko-story,
.naruko-invitation {
  width: 100%;
  max-width: 790px;
  text-align: left;
}

.syugoryuu .naruko-story p,
.syugoryuu .naruko-invitation p {
  margin: 0 0 1.5em;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 2;
  overflow-wrap: anywhere;
}

.syugoryuu .naruko-mantra {
  margin: clamp(36px, 5vw, 60px) 0;
  padding: 20px 0;
  border-top: 1px solid rgba(217, 187, 124, 0.5);
  border-bottom: 1px solid rgba(217, 187, 124, 0.5);
  color: var(--naruko-gold);
  font-size: clamp(26px, 4vw, 42px);
  letter-spacing: 0.22em;
  text-align: center;
}

.naruko-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px);
  width: 100%;
  max-width: 1020px;
  margin: clamp(32px, 5vw, 64px) auto clamp(48px, 7vw, 80px);
}

.naruko-gallery figure {
  min-width: 0;
  margin: 0;
  padding: clamp(10px, 1.5vw, 16px);
  border: 1px solid rgba(165, 211, 188, 0.35);
  background: #111a18;
}

.naruko-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.naruko-gallery figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 4px 2px;
  color: #e7e4d9;
  font-size: 15px;
  letter-spacing: 0.08em;
}

.naruko-gallery figcaption span {
  color: var(--naruko-mint);
  font-family: Georgia, serif;
  font-size: 13px;
}

.naruko-invitation {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(217, 187, 124, 0.55);
  background: linear-gradient(135deg, rgba(55, 69, 49, 0.52), rgba(17, 25, 23, 0.8));
}

.syugoryuu .naruko-invitation p:last-child {
  margin-bottom: 0;
  color: #f4dfad;
}

.naruko-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
  max-width: 790px;
  margin: clamp(40px, 6vw, 68px) auto;
  padding: 24px 0;
  border-top: 1px solid rgba(165, 211, 188, 0.45);
  border-bottom: 1px solid rgba(165, 211, 188, 0.45);
  text-align: left;
}

.naruko-details>div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.naruko-details span {
  color: var(--naruko-mint);
  font-size: 14px;
  letter-spacing: 0.14em;
}

.naruko-details strong {
  font-size: clamp(21px, 2.5vw, 28px);
  font-weight: 400;
}

.naruko-details small {
  font-size: 15px;
}

.naruko-flow {
  width: 100%;
  max-width: 790px;
  text-align: left;
}

.naruko-flow h3 {
  margin: 0 0 26px;
  font-size: clamp(21px, 2.6vw, 28px);
  font-weight: 400;
  text-align: center;
}

.naruko-flow h3 span {
  display: block;
  margin-top: 6px;
  color: var(--naruko-mint);
  font-size: 0.55em;
  letter-spacing: 0.25em;
}

.naruko-flow ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: naruko-step;
}

.naruko-flow li {
  display: grid;
  grid-template-columns: 2.5em 1fr;
  align-items: baseline;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(165, 211, 188, 0.24);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.8;
  counter-increment: naruko-step;
}

.naruko-flow li::before {
  content: counter(naruko-step, decimal-leading-zero);
  color: var(--naruko-gold);
  font-family: Georgia, serif;
  font-size: 18px;
}

@media (max-width: 700px) {

  .naruko-gallery,
  .naruko-details {
    grid-template-columns: 1fr;
  }

  .naruko-gallery {
    max-width: 490px;
  }

  .naruko-details {
    gap: 20px;
  }
}

/*== hinto5 ==*/
.ryuukon {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 1240px;
  margin: 0px auto;
  padding: calc(var(--page-header-height, 96px) + 40px) 24px 60px;
}

.ryuukon h2 {
  margin-bottom: clamp(28px, 4vw, 48px);
  font-size: 28px;
  text-align: center;
}

.ryuukon-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(20px, 3.2vw, 40px);
  margin-bottom: clamp(32px, 5vw, 60px);
}

.ryuukon-item>img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.ryuukon-text {
  width: 100%;
  min-width: 0px;
  text-align: left;
}

.ryuukon-text h3 {
  margin-bottom: 24px;
  font-size: clamp(20px, 2.2vw, 24px);
}

.ryuukon-text p {
  margin: 0px;
  font-size: 18px;
  line-height: 1.9;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.ryuukon-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0px, 1fr));
  align-items: center;
  gap: clamp(20px, 3.2vw, 40px);
  width: 100%;
  max-width: 1000px;
  margin: 0px auto 60px;
}

.ryuukon-images img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/*== hinto6 ==*/
.ako-universe {
  --ako-gold: #e0c891;
  --ako-blue: #b7d5e9;
  gap: 0;
  color: #f7f2e8;
  background: radial-gradient(ellipse at 50% 12%, rgba(48, 67, 119, 0.27), transparent 55%);
}

.ako-intro {
  width: 100%;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.ako-universe .ako-eyebrow {
  margin: 0 0 16px;
  color: var(--ako-blue);
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.24em;
}

.ako-universe h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.ako-universe h2 span {
  display: block;
  margin-top: 8px;
  color: var(--ako-gold);
  font-size: 0.58em;
  letter-spacing: 0.2em;
}

.ako-story {
  width: 100%;
  max-width: 790px;
  text-align: left;
}

.ako-universe .ako-story p {
  margin: 0 0 1.5em;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 2;
}

.ako-verse {
  width: 100%;
  max-width: 790px;
  margin: clamp(32px, 5vw, 60px) auto;
  padding: clamp(32px, 5vw, 56px) clamp(16px, 4vw, 48px);
  border-top: 1px solid rgba(224, 200, 145, 0.7);
  border-bottom: 1px solid rgba(224, 200, 145, 0.7);
  background: linear-gradient(150deg, rgba(25, 39, 76, 0.75), rgba(10, 19, 39, 0.8));
}

.ako-universe .ako-verse-label {
  margin: 0 0 clamp(24px, 4vw, 40px);
  color: var(--ako-gold);
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: 0.12em;
}

.ako-verse p:last-child {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 2.25;
  letter-spacing: 0.045em;
}

.ako-story-after {
  margin-bottom: clamp(16px, 3vw, 36px);
}

.ako-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px);
  width: 100%;
  max-width: 790px;
  margin: clamp(32px, 5vw, 56px) auto;
}

.ako-gallery-notes {
  max-width: 900px;
  margin-top: 0;
  margin-bottom: clamp(48px, 7vw, 80px);
}

.ako-gallery figure {
  min-width: 0;
  margin: 0;
  padding: clamp(10px, 1.5vw, 16px);
  border: 1px solid rgba(183, 213, 233, 0.35);
  background: #111b2a;
}

.ako-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.ako-gallery figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 4px 2px;
  color: #e7e4df;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-align: left;
}

.ako-gallery figcaption span {
  color: var(--ako-blue);
  font-family: Georgia, serif;
  font-size: 13px;
}

.ako-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
  max-width: 790px;
  margin: 0 auto clamp(40px, 6vw, 68px);
  padding: 24px 0;
  border-top: 1px solid rgba(183, 213, 233, 0.45);
  border-bottom: 1px solid rgba(183, 213, 233, 0.45);
  text-align: left;
}

.ako-details>div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ako-details span,
.ako-flow h3 span {
  color: var(--ako-blue);
  font-size: 14px;
  letter-spacing: 0.14em;
}

.ako-details strong {
  font-size: clamp(19px, 2.5vw, 28px);
  font-weight: 400;
}

.ako-details small {
  font-size: 15px;
}

.ako-flow {
  width: 100%;
  max-width: 790px;
  text-align: left;
}

.ako-flow h3 {
  margin: 0 0 26px;
  font-size: clamp(21px, 2.6vw, 28px);
  font-weight: 400;
  text-align: center;
}

.ako-flow h3 span {
  display: block;
  margin-top: 6px;
  font-size: 0.55em;
  letter-spacing: 0.25em;
}

.ako-flow ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ako-step;
}

.ako-flow li {
  display: grid;
  grid-template-columns: 2.5em 1fr;
  align-items: baseline;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(183, 213, 233, 0.24);
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.8;
  counter-increment: ako-step;
}

.ako-flow li::before {
  content: counter(ako-step, decimal-leading-zero);
  color: var(--ako-gold);
  font-family: Georgia, serif;
  font-size: 18px;
}

@media (max-width: 700px) {
  .ako-gallery,
  .ako-details {
    grid-template-columns: 1fr;
  }

  .ako-gallery {
    max-width: 490px;
  }

  .ako-details {
    gap: 20px;
  }
}

/*== hinto7 ==*/
.hint7-description {
  width: 100%;
  max-width: 800px;
  text-align: left;
}

.hint7-description>p {
  margin-bottom: 24px;
}

.hint7-description a {
  overflow-wrap: anywhere;
  text-decoration: underline;
}

/*== hinto8 ==*/
.hint8-service-links {
  width: 100%;
  max-width: 800px;
  margin-top: 32px;
  text-align: left;
}

.hint8-service {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgb(56, 56, 56);
  border-radius: clamp(10px, 1.5vw, 16px);
  background: rgb(16, 16, 16);
}

.hint8-service+.hint8-service {
  margin-top: 32px;
}

.hint8-service h3 {
  margin: 0px 0px 24px;
  padding-left: 16px;
  border-left: 3px solid rgb(227, 197, 137);
  color: rgb(227, 197, 137);
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.5;
}

.hint8-service p {
  margin: 0px 0px 20px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.hint8-service p:last-child {
  margin-bottom: 0px;
}

.hint8-service .hint8-service-name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 12px;
}

.hint8-service .hint8-service-url {
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 1.7;
}

.hint8-service .hint8-inline-emoji {
  display: inline-block;
  width: auto;
  height: 1.25em;
  margin-left: 0.15em;
  vertical-align: -0.2em;
}

.hint8-service-links a {
  color: rgb(168, 216, 240);
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/*== HAPPY ICHIRODO: 01, 02, 03, 05, 07, 08 ==*/
.ichirodo-page {
  --ichirodo-accent: #c8d8cf;
  --ichirodo-gold: #e0c891;
  --ichirodo-line: rgba(200, 216, 207, 0.35);
  --ichirodo-surface: rgba(24, 35, 34, 0.88);
  gap: 0;
  color: #f7f2e8;
}

.mizu.ichirodo-page {
  --ichirodo-accent: #a9dce1;
  --ichirodo-line: rgba(169, 220, 225, 0.38);
  --ichirodo-surface: rgba(19, 43, 50, 0.9);
  background: radial-gradient(ellipse at 30% 8%, rgba(36, 116, 130, 0.25), transparent 55%);
}

.oem.ichirodo-page {
  --ichirodo-accent: #a9dce1;
  --ichirodo-line: rgba(169, 220, 225, 0.38);
  --ichirodo-surface: rgba(19, 43, 50, 0.9);
  background: radial-gradient(ellipse at 70% 8%, rgba(36, 116, 130, 0.25), transparent 55%);
}

.oem.ichirodo-page .oem-intro,
.oem.ichirodo-page .oem-details {
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid var(--ichirodo-line);
  background: var(--ichirodo-surface);
}

.oem.ichirodo-page .oem-copy h3 {
  color: var(--ichirodo-gold);
  font-weight: 400;
}

.oem.ichirodo-page .oem-related-link p {
  color: var(--ichirodo-accent);
}

.oem.ichirodo-page .oem-related-link a {
  border: 1px solid var(--ichirodo-line);
  border-radius: 0;
  background: rgba(169, 220, 225, 0.12);
  color: var(--ichirodo-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.oem.ichirodo-page .oem-related-link a:hover {
  background: rgba(169, 220, 225, 0.22);
}

.ryuujin.ichirodo-page {
  --ichirodo-accent: #b9d7bf;
  --ichirodo-line: rgba(185, 215, 191, 0.36);
  --ichirodo-surface: rgba(24, 42, 35, 0.9);
  background: radial-gradient(ellipse at 70% 8%, rgba(45, 97, 65, 0.27), transparent 55%);
}

.ryuukon.ichirodo-page {
  --ichirodo-accent: #e7b9a7;
  --ichirodo-line: rgba(231, 185, 167, 0.36);
  --ichirodo-surface: rgba(50, 29, 29, 0.9);
  background: radial-gradient(ellipse at 30% 8%, rgba(115, 50, 45, 0.28), transparent 55%);
}

.flower-page.ichirodo-page {
  --ichirodo-accent: #d4c5ec;
  --ichirodo-line: rgba(212, 197, 236, 0.38);
  --ichirodo-surface: rgba(39, 32, 55, 0.9);
  background: radial-gradient(ellipse at 70% 8%, rgba(108, 69, 136, 0.27), transparent 55%);
}

.wellness-page.ichirodo-page {
  --ichirodo-accent: #a9d9cf;
  --ichirodo-line: rgba(169, 217, 207, 0.38);
  --ichirodo-surface: rgba(22, 42, 43, 0.9);
  background: radial-gradient(ellipse at 35% 8%, rgba(44, 117, 112, 0.26), transparent 55%);
}

.ichirodo-heading {
  width: 100%;
  max-width: 900px;
  margin: 0 auto clamp(36px, 6vw, 72px);
  text-align: center;
}

.ichirodo-page .ichirodo-eyebrow {
  margin: 0 0 16px;
  color: var(--ichirodo-accent);
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.24em;
}

.ichirodo-page .ichirodo-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.ichirodo-page .ichirodo-heading h2 span {
  display: block;
  margin-top: 8px;
  color: var(--ichirodo-gold);
  font-size: 0.58em;
  letter-spacing: 0.12em;
}

.ichirodo-page .ichirodo-kicker {
  margin: 0 0 14px;
  color: var(--ichirodo-accent);
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.2em;
}

.ichirodo-page .ichirodo-link,
.ichirodo-page .mizu-related-link a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  color: var(--ichirodo-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.ichirodo-page .ichirodo-link:focus-visible,
.ichirodo-page .mizu-related-link a:focus-visible {
  outline: 2px solid var(--ichirodo-gold);
  outline-offset: 4px;
}

.ichirodo-panels {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  width: 100%;
  max-width: 1100px;
}

.ichirodo-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--ichirodo-line);
  background: var(--ichirodo-surface);
  text-align: left;
}

.ichirodo-panel > img,
.ichirodo-panel-media {
  display: block;
  width: 100%;
  min-width: 0;
  height: 100%;
  margin: 0;
  object-fit: cover;
}

.ryuujin.ichirodo-page .ichirodo-panel > .hinto3-ashina-photo {
  max-width: none;
  margin: 0;
}

.ichirodo-panel-media.hinto3-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  max-width: none;
  margin: 0;
}

.ichirodo-panel-media.hinto3-photos img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.ichirodo-panel-copy {
  min-width: 0;
  padding: clamp(26px, 4vw, 52px);
}

.ichirodo-page .ichirodo-panel-copy h3 {
  margin: 0 0 24px;
  color: var(--ichirodo-gold);
  font-size: clamp(21px, 2.3vw, 28px);
  font-weight: 400;
  line-height: 1.5;
}

.ichirodo-page .ichirodo-panel-copy p:not(.ichirodo-kicker) {
  margin: 0 0 12px;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.9;
}

.ichirodo-page .ichirodo-panel-copy .mizu-related-link {
  margin-top: 28px;
}

.ichirodo-panel-copy .ichirodo-link {
  margin: 12px 18px 0 0;
}

.ichirodo-panel-reverse > img,
.ichirodo-panel-reverse > .ichirodo-panel-media {
  grid-column: 2;
  grid-row: 1;
}

.ichirodo-panel-reverse > .ichirodo-panel-copy {
  grid-column: 1;
  grid-row: 1;
}

.ryuukon.ichirodo-page .ryuukon-item {
  width: 100%;
  max-width: 1100px;
  align-items: start;
  gap: 0;
  margin-bottom: clamp(24px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid var(--ichirodo-line);
  background: var(--ichirodo-surface);
}

.ryuukon.ichirodo-page .ryuukon-item > img {
  width: 100%;
  height: auto;
  min-height: 0;
  padding: clamp(10px, 1.5vw, 16px);
  object-fit: contain;
}

.ryuukon.ichirodo-page .ryuukon-item-reverse > img {
  grid-column: 2;
  grid-row: 1;
}

.ryuukon.ichirodo-page .ryuukon-item-reverse > .ryuukon-text {
  grid-column: 1;
  grid-row: 1;
}

.ryuukon.ichirodo-page .ryuukon-text {
  padding: clamp(26px, 4vw, 52px);
}

.ryuukon.ichirodo-page .ryuukon-text p {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.9;
}

.ryuukon.ichirodo-page .ryuukon-text .ichirodo-kicker {
  margin-bottom: 18px;
  color: var(--ichirodo-accent);
  font-size: 12px;
  line-height: 1.5;
}

.ryuukon.ichirodo-page .ryuukon-images {
  gap: clamp(16px, 3vw, 32px);
  max-width: 900px;
  margin-bottom: 0;
}

.ryuukon.ichirodo-page .ryuukon-images img {
  height: 100%;
  padding: clamp(10px, 1.5vw, 16px);
  border: 1px solid var(--ichirodo-line);
  background: var(--ichirodo-surface);
  object-fit: contain;
}

.flower-intro,
.flower-message {
  width: 100%;
  max-width: 900px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--ichirodo-line);
  background: var(--ichirodo-surface);
  text-align: left;
}

.flower-page .flower-intro-label {
  margin-bottom: 26px;
  color: var(--ichirodo-gold);
  font-size: clamp(21px, 2.5vw, 30px);
  letter-spacing: 0.06em;
}

.flower-page .flower-intro p:not(.flower-intro-label),
.flower-page .flower-card p,
.flower-page .flower-message p:not(.ichirodo-kicker) {
  margin: 0 0 18px;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.95;
}

.flower-page .flower-card .ichirodo-kicker,
.flower-page .flower-message .ichirodo-kicker,
.wellness-page .hint8-service .ichirodo-kicker {
  margin-bottom: 14px;
  color: var(--ichirodo-accent);
  font-size: 12px;
  line-height: 1.5;
}

.flower-page .flower-intro .ichirodo-link {
  margin-top: 12px;
}

.flower-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 28px);
  width: 100%;
  max-width: 900px;
  margin: clamp(28px, 4vw, 48px) auto;
}

.flower-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--ichirodo-line);
  background: linear-gradient(145deg, rgba(67, 49, 82, 0.78), var(--ichirodo-surface));
  text-align: left;
}

.flower-card h3,
.flower-message h3 {
  margin: 0 0 24px;
  color: var(--ichirodo-gold);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 400;
}

.flower-page .flower-card .flower-price {
  margin-top: auto;
  color: var(--ichirodo-gold);
  font-size: clamp(22px, 2.5vw, 29px);
}

.flower-price small {
  display: block;
  color: #f7f2e8;
  font-size: 13px;
}

.flower-card .ichirodo-link {
  margin-top: auto;
}

.flower-message {
  border-top: 1px solid var(--ichirodo-gold);
  border-bottom: 1px solid var(--ichirodo-gold);
  background: linear-gradient(140deg, rgba(52, 40, 74, 0.88), rgba(25, 25, 43, 0.9));
}

.flower-page .flower-message p:last-child {
  margin-bottom: 0;
}

.wellness-page .hint8-service-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 28px);
  max-width: 1100px;
  margin: 0;
}

.wellness-page .hint8-service {
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--ichirodo-line);
  border-radius: 0;
  background: var(--ichirodo-surface);
}

.wellness-page .hint8-service + .hint8-service {
  margin-top: 0;
}

.wellness-page .hint8-service:last-child {
  grid-column: 1 / -1;
}

.wellness-page .hint8-service h3 {
  padding-left: 14px;
  border-left-color: var(--ichirodo-gold);
  color: var(--ichirodo-gold);
  font-weight: 400;
}

.wellness-page .hint8-service p {
  font-size: clamp(15px, 1.5vw, 17px);
}

.wellness-page .hint8-service .hint8-service-url {
  margin: 24px 0 0;
}

@media (max-width: 760px) {
  .ichirodo-panel,
  .ryuukon.ichirodo-page .ryuukon-item,
  .flower-cards,
  .wellness-page .hint8-service-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .ichirodo-panel > img,
  .ichirodo-panel > .ichirodo-panel-media,
  .ichirodo-panel-reverse > img,
  .ichirodo-panel-reverse > .ichirodo-panel-media,
  .ryuukon.ichirodo-page .ryuukon-item > img,
  .ryuukon.ichirodo-page .ryuukon-item-reverse > img {
    grid-column: 1;
    grid-row: 1;
    height: auto;
    min-height: 0;
  }

  .ichirodo-panel > img {
    max-height: 460px;
  }

  .ichirodo-panel > .ichirodo-panel-copy,
  .ichirodo-panel-reverse > .ichirodo-panel-copy,
  .ryuukon.ichirodo-page .ryuukon-item > .ryuukon-text,
  .ryuukon.ichirodo-page .ryuukon-item-reverse > .ryuukon-text {
    grid-column: 1;
    grid-row: 2;
  }

  .ichirodo-panel-media.hinto3-photos img {
    min-height: 0;
    height: auto;
  }

  .wellness-page .hint8-service:last-child {
    grid-column: 1;
  }
}

@media (max-width: 600px) {
  .ichirodo-page .ichirodo-heading h2 {
    font-size: clamp(28px, 7vw, 36px);
  }

  .ichirodo-page .ichirodo-eyebrow,
  .ichirodo-page .ichirodo-kicker {
    font-size: 11px;
  }

  .ichirodo-page .ichirodo-link,
  .ichirodo-page .mizu-related-link a {
    padding: 9px 13px;
    border: 1px solid var(--ichirodo-line);
    border-radius: 0;
    background: var(--ichirodo-surface);
    color: var(--ichirodo-accent);
  }

  .oem.ichirodo-page .oem-intro,
  .oem.ichirodo-page .oem-details {
    padding: 18px;
  }

  .ryuukon.ichirodo-page .ryuukon-images {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

@media (max-width: 360px) {
  .ryuujin.ichirodo-page .ichirodo-heading h2 span {
    font-size: 0.5em;
    letter-spacing: 0.02em;
  }

  .flower-page.ichirodo-page .ichirodo-heading h2 {
    font-size: 24px;
    letter-spacing: 0.02em;
  }
}

/*== first.html ==*/
.first-greet {
  position: relative;
  max-width: 1240px;
  width: 100%;
  margin: var(--page-header-height, 96px) auto clamp(20px, 3vw, 32px);
  padding-top: clamp(20px, 4vw, 48px);
  text-align: center;
}

.first-greet .first-profile {
  position: relative;
  margin: 0 auto clamp(12px, 2vw, 20px);
}

.first-greet-image {
  position: relative;
  display: block;
  width: clamp(95px, 18vw, 220px);
  height: auto;
  margin: 0px auto;
  filter: drop-shadow(white 0px 0px 8px);
  z-index: 4;
}

.first-greet .name {
  position: relative;
  width: max-content;
  margin: -60px auto 0px;
  padding: clamp(2px, 0.3vw, 4px) clamp(8px, 1vw, 12px);
  border-radius: clamp(12px, 2vw, 24px);
  background: rgb(243, 0, 129);
  color: white;
  font-size: clamp(13px, 2.2vw, 26px);
  z-index: 4;
}

.first-greet h2,
.first-greet h3 {
  position: relative;
  width: 94%;
  margin: 8px auto;
  color: rgb(243, 0, 129);
  text-shadow: white 1px 1px 2px;
  line-height: 1.5;
  font-weight: 500;
  z-index: 4;
}

.first-greet .title-1,
.first-greet .title-2,
.first-greet .title-4 {
  font-size: clamp(16px, 3.1vw, 38px);
  z-index: 4;
}

.first-greet .title-3 {
  font-size: clamp(22px, 4vw, 48px);
  z-index: 4;
}

.first-greet .message {
  position: relative;
  isolation: isolate;
  width: 96%;
  margin: clamp(24px, 4vw, 48px) auto 0px;
  padding: clamp(24px, 5vw, 62px) 7%;
  min-height: 0px;
  aspect-ratio: 1 / 1;
  background: rgb(23, 16, 32);
  z-index: 4;
}

.first-greet .message-background {
  position: absolute;
  inset: 0px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
  filter: brightness(0.75);
}

.first-greet .message-frame {
  position: absolute;
  inset: 0px;
  width: 100%;
  height: 100%;
  margin: 0px;
  object-fit: fill;
  pointer-events: none;
  z-index: 1;
}

.first-greet .message p {
  position: relative;
  width: 100%;
  margin: 0px;
  font-size: clamp(13px, 1.8vw, 22px);
  line-height: 1.9;
  letter-spacing: 0px;
  color: white;
  text-shadow: black 0px 1px 3px;
  overflow-wrap: anywhere;
  z-index: 2;
}

.first-greet .message p+p {
  margin-top: 1.5em;
}

.first-greet-animation-pending .first-greet-image,
.first-greet-animation-pending .name,
.first-greet-animation-pending .title-1,
.first-greet-animation-pending .title-2,
.first-greet-animation-pending .title-3,
.first-greet-animation-pending .title-4,
.first-greet-animation-pending .message-frame,
.first-greet-animation-pending .message-content {
  opacity: 0;
  visibility: hidden;
}

.first-greet-image,
.first-greet .name,
.first-greet .title-1,
.first-greet .title-2,
.first-greet .title-3,
.first-greet .title-4,
.message-frame,
.message-content {
  will-change: opacity, transform;
}

.first-greet .pc-message {
  display: block;
}

.first-greet .res-message {
  display: none;
}

.mirror {
  position: relative;
  max-width: 1240px;
  width: 100%;
  margin: 0px auto clamp(20px, 2.5vw, 32px);
}

.mirror-background {
  width: 100%;
  height: auto;
  display: block;
}

.left-mirror,
.right-mirror {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 35%;
  aspect-ratio: 624 / 954;
  z-index: 4;
}

.left-mirror {
  left: 13%;
}

.right-mirror {
  right: 13%;
}

.mirror-slider {
  position: absolute;
  top: 15.6%;
  left: 50%;
  z-index: 1;
  width: 75.6%;
  aspect-ratio: 540 / 740;
  transform: translateX(-50%);
  overflow: hidden;
  isolation: isolate;
}

.mirror-slide {
  position: absolute;
  inset: 0px;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.08);
  will-change: opacity, transform;
}

.mirror-slide:first-child {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.l-mirror-frame,
.r-mirror-frame {
  position: absolute;
  top: 50%;
  left: 0px;
  transform: translateY(-50%);
  width: 100%;
  height: auto;
  display: block;
  z-index: 3;
  filter: drop-shadow(rgba(0, 0, 0, 0.65) 0px 22px 18px) drop-shadow(rgba(255, 220, 140, 0.25) 0px 0px 18px);
}

.mirror-animation-pending .left-mirror,
.mirror-animation-pending .right-mirror {
  opacity: 0;
  visibility: hidden;
}

.left-mirror,
.right-mirror {
  will-change: opacity;
}

.with-pegasus {
  position: relative;
  max-width: 1240px;
  width: 100%;
  margin: 0px auto clamp(20px, 2.5vw, 32px);
  display: flex;
  flex-direction: row;
  text-align: center;
  z-index: 4;
}

.pegasus-background {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.85) saturate(0.9);
}

.pegasus-title-1,
.pegasus-title-2,
.pegasus-title-3 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1000px;
  margin: 0px 0px clamp(1px, 0.2vw, 2px);
  font-weight: normal;
  font-size: clamp(36px, 5.8vw, 72px);
  text-shadow: black 1px 0px 1px, black -1px 0px 1px, black 0px 1px 1px, black 0px -1px 1px, black 6px 6px 6px;
}

.pegasus-title-1 {
  top: 8%;
  color: rgb(243, 0, 129);
}

.pegasus-title-2 {
  top: 13.5%;
  color: white;
}

.pegasus-title-3 {
  top: 18.5%;
  color: rgb(0, 229, 255);
}

.pegasus-content-1,
.pegasus-content-2 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  color: white;
  font-size: clamp(24px, 2.7vw, 36px);
  line-height: 2;
  margin: 0px;
  text-shadow: rgb(0, 102, 255) 0.5px 0px 0.5px, rgb(0, 102, 255) -0.5px 0px 0.5px, rgb(0, 102, 255) 0px 0.5px 0.5px, rgb(0, 102, 255) 0px -0.5px 0.5px, black 4px 4px 5px;
}

.pegasus-content-1 {
  top: 27.2%;
}

.pegasus-content-2 {
  top: 63%;
  margin-bottom: clamp(32px, 5vw, 64px);
}

.p-pink {
  color: rgb(243, 0, 129);
}

.p-blue {
  color: rgb(0, 229, 255);
}

.pegasus-animation-pending .pegasus-title-1,
.pegasus-animation-pending .pegasus-title-2,
.pegasus-animation-pending .pegasus-title-3,
.pegasus-animation-pending .pegasus-content-1,
.pegasus-animation-pending .pegasus-content-2 {
  opacity: 0;
  visibility: hidden;
}

.pegasus-title-1,
.pegasus-title-2,
.pegasus-title-3 {
  will-change: opacity, transform;
}

.pegasus-content-1,
.pegasus-content-2 {
  will-change: opacity;
}

/*== event-detail.html, latest-detail.html ==*/
.detail-page {
  max-width: 1240px;
  width: 90%;
  margin: clamp(100px, 11vw, 140px) auto clamp(48px, 6.5vw, 80px);
}

.event-title {
  width: 100%;
  text-align: center;
  margin-bottom: clamp(56px, 7vw, 88px);
}

.event-title h2 {
  margin: 0px;
  padding: 0px;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: normal;
  line-height: 1.4;
}

.detail-content {
  width: 90%;
  max-width: 1100px;
  margin: 0px auto clamp(32px, 4vw, 56px);
  padding: clamp(24px, 4vw, 48px) clamp(20px, 4vw, 48px);
  background-color: rgba(128, 128, 128, 0.85);
  border-radius: clamp(6px, 1vw, 12px);
  text-align: left;
}

.detail-title {
  margin: 0px 0px clamp(20px, 3vw, 32px);
  padding: 0px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.5;
  text-align: center;
}

.detail-photo {
  display: block;
  width: auto;
  height: clamp(200px, 30vw, 400px);
  max-width: 100%;
  margin: 0px auto clamp(20px, 3vw, 32px);
  object-fit: contain;
}

.article-social-embed {
  display: flex;
  justify-content: center;
  max-width: 100%;
  margin: 0 auto clamp(20px, 3vw, 32px);
  overflow-x: auto;
}

.article-social-embed blockquote {
  max-width: 100%;
}

.detail-date {
  display: block;
  margin: 0px 0px clamp(16px, 2vw, 24px);
  padding: 0px;
  font-size: clamp(14px, 1.5vw, 20px);
  text-align: left;
}

.detail-body {
  margin: 0px;
  padding: 0px;
  font-size: clamp(16px, 1.7vw, 22px);
  line-height: 2;
  text-align: left;
  overflow-wrap: anywhere;
}

.detail-body p {
  margin: 0px 0px clamp(16px, 2vw, 24px);
  line-height: inherit;
}

.detail-body a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.detail-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: clamp(16px, 2vw, 24px) auto;
}

.detail-body> :last-child {
  margin-bottom: 0px;
}

.detail-new {
  display: block;
  width: fit-content;
  margin: 0px 0px clamp(8px, 1vw, 12px);
  padding: 2px 8px;
  color: rgb(255, 255, 255);
  background-color: rgb(243, 0, 129);
  border-radius: 999px;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/*== contact.html ==*/
.contact-form {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0px auto clamp(24px, 3vw, 40px);
  text-align: center;
  overflow: hidden;
}

.contact-background {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  z-index: 0;
}

.contact {
  position: absolute;
  top: 6%;
  left: 50%;
  bottom: 2%;
  width: 80%;
  transform: translateX(-50%);
  background: rgba(240, 240, 240, 0.7);
  border: 5px double black;
  margin: 0px auto;
  padding: clamp(20px, 3vw, 40px);
}

.contact-title {
  display: inline-block;
  margin: clamp(32px, 5vw, 60px) 0px clamp(16px, 2vw, 24px);
  padding: 0px clamp(20px, 3vw, 36px);
  text-align: center;
  background: rgba(240, 240, 240, 0.5);
  border: 4px double black;
}

.contact-form h2 {
  color: black;
  text-shadow: white 0.5px 0px;
  margin: clamp(4px, 1vw, 8px);
  font-weight: normal;
  font-size: clamp(32px, 4.5vw, 56px);
}

.form-status {
  min-height: 1.5em;
  margin: clamp(16px, 2vw, 24px) 0px 0px;
  color: rgb(17, 17, 17);
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 500;
  line-height: 1.6;
}

.form-status:not(:empty) {
  display: inline-block;
  padding: clamp(8px, 1vw, 12px) clamp(12px, 1.5vw, 20px);
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgb(243, 0, 129);
  border-radius: 8px;
}

.form-row {
  display: flex;
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(24px, 3vw, 36px);
}

.form-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: clamp(24px, 3vw, 36px);
}

.form-row .form-group {
  flex: 1 1 0%;
}

.field {
  position: relative;
  width: 100%;
  max-width: none;
  text-align: left;
}

.field input {
  width: 100%;
}

.label-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(4px, 0.8vw, 8px);
  text-align: left;
}

label {
  color: black;
  text-align: left;
  text-shadow: white 1px 1px 1px, white -1px -1px 1px, white -1px 1px 1px, white 1px -1px 1px, white 1px 0px 1px, white -1px 0px 1px, white 0px 1px 1px, white 0px -1px 1px, black 1px 1px 2px, black 1px 1px 2px, black 1px 1px 2px, black 1px 1px 2px;
  font-weight: 500;
  font-size: clamp(18px, 2.2vw, 28px);
  margin-bottom: clamp(4px, 0.8vw, 8px);
}

.required {
  margin: 0px;
  padding: clamp(2px, 0.3vw, 3px) clamp(3px, 0.4vw, 5px) clamp(3px, 0.4vw, 5px);
  line-height: 1;
  color: white;
  background: rgb(243, 0, 129);
  position: relative;
  top: clamp(-4px, -0.3vw, -2px);
  font-weight: normal;
}

input,
select,
textarea {
  box-sizing: border-box;
  width: 100%;
  border: 2px solid black;
  background: rgb(226, 211, 170);
  font-size: clamp(16px, 1.6vw, 20px);
  padding: clamp(8px, 1vw, 12px) clamp(10px, 1.2vw, 14px);
  outline: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  box-shadow: rgb(226, 211, 170) 0px 0px 0px 1000px inset;
  -webkit-text-fill-color: black;
}

input,
select {
  height: clamp(46px, 4.5vw, 54px);
}

input.input-error,
textarea.input-error {
  border: 3px solid rgb(243, 0, 129);
}

.field .error-message,
.full-group .error-message {
  position: absolute;
  top: calc(100% + 8px);
  left: 0px;
  width: fit-content;
  max-width: 100%;
  padding: clamp(6px, 0.8vw, 10px) clamp(10px, 1.2vw, 16px);
  margin: 0px;
  color: rgb(243, 0, 129);
  background: white;
  border: 2px solid rgb(243, 0, 129);
  border-radius: clamp(6px, 0.8vw, 10px);
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: normal;
  text-align: left;
  line-height: 1.4;
  text-shadow: none;
  box-sizing: border-box;
  z-index: 10;
}

.zip-field .error-message {
  position: absolute;
  width: fit-content;
  max-width: 100%;
  padding: clamp(6px, 0.8vw, 10px) clamp(10px, 1.2vw, 16px);
  color: rgb(243, 0, 129);
  background: white;
  border: 2px solid rgb(243, 0, 129);
  border-radius: clamp(6px, 0.8vw, 10px);
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: normal;
  text-align: left;
  line-height: 1.4;
  text-shadow: none;
  box-sizing: border-box;
  z-index: 10;
}

.textarea-wrapper .error-message {
  width: fit-content;
  max-width: 100%;
  padding: clamp(6px, 0.8vw, 10px) clamp(10px, 1.2vw, 16px);
  margin: 0px;
  color: rgb(243, 0, 129);
  background: white;
  border: 2px solid rgb(243, 0, 129);
  border-radius: clamp(6px, 0.8vw, 10px);
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: normal;
  text-align: left;
  line-height: 1.4;
  text-shadow: none;
  box-sizing: border-box;
  z-index: 10;
}

.error-message:not(:empty)::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 20px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid rgb(243, 0, 129);
}

.error-message:not(:empty)::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 22px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid white;
}

.error-message:empty {
  display: none;
}

.details p {
  font-size: clamp(16px, 1.8vw, 22px);
}

.mail {
  padding-top: clamp(48px, 6vw, 80px);
}

.mail-r {
  margin-top: clamp(24px, 3vw, 36px);
}

.company-group {
  align-items: stretch;
}

.company-group label {
  display: block;
  text-align: left;
}

.company-group input {
  width: 100%;
}

.full-group {
  position: relative;
  width: 100%;
  margin: clamp(-16px, -1.3vw, -8px) 0px clamp(64px, 6vw, 80px);
}

.tell-section {
  margin-top: clamp(-44px, -3.9vw, -24px);
}

.address-group {
  width: 50%;
  margin: clamp(40px, 5vw, 72px) 0px clamp(24px, 3vw, 36px);
}

.address-title {
  display: block;
  font-size: clamp(18px, 2.2vw, 28px);
  margin-bottom: clamp(10px, 1.3vw, 16px);
}

.zip-field {
  position: relative;
  padding-bottom: clamp(28px, 3vw, 36px);
  margin-bottom: clamp(36px, 4vw, 48px);
}

.zip-row {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.3vw, 16px);
  margin-bottom: 0px;
}

.zip-field .error-message {
  top: 100%;
  margin: clamp(-30px, -2vw, -18px) 0px 0px;
  left: clamp(16px, 2vw, 24px);
}

.zip-mark {
  font-size: clamp(22px, 2.5vw, 32px);
  color: black;
  font-weight: bold;
}

.zip-input {
  width: clamp(130px, 15vw, 180px);
}

.address-search {
  padding: clamp(8px, 1vw, 12px) clamp(28px, 5vw, 65px);
  margin-left: clamp(4px, 0.7vw, 8px);
  cursor: pointer;
  font-size: clamp(16px, 1.6vw, 20px);
  background: rgb(220, 200, 160);
  border-radius: clamp(10px, 1.3vw, 16px);
  white-space: nowrap;
  flex-shrink: 0;
}

.address-item {
  margin: clamp(-28px, -2.2vw, -16px) 0px clamp(24px, 3.2vw, 40px);
}

.address-item label {
  display: block;
  margin-bottom: clamp(4px, 0.8vw, 8px);
}

.address-item input,
.address-item select {
  width: 100%;
}

.details {
  position: relative;
  margin-top: clamp(40px, 5vw, 64px);
}

.textarea-wrapper {
  position: relative;
  width: 100%;
}

textarea {
  height: clamp(180px, 22vw, 280px);
  resize: vertical;
}

.textarea-wrapper .error-message {
  position: absolute;
  top: 100%;
  left: 0px;
  min-height: 0px;
}

.decision-button {
  text-align: center;
}

.decision {
  appearance: none;
  outline: none;
  background: rgb(243, 0, 129);
  color: white;
  font-size: clamp(18px, 2vw, 24px);
  text-shadow: black 1px 1px 1px, black -1px -1px 1px, black -1px 1px 1px, black 1px -1px 1px, black 1px 0px 1px, black -1px 0px 1px, black 0px 1px 1px, black 0px -1px 1px;
  height: clamp(40px, 4.5vw, 56px);
  padding: 0px clamp(60px, 12vw, 176px);
  border-radius: clamp(45px, 10vw, 70px);
  cursor: pointer;
  margin-top: clamp(90px, 27vw, 100px);
  box-shadow: gray 10px 5px 5px;
  transition: transform 0.1s, box-shadow 0.1s;
}

.decision:active {
  transform: translateY(7px);
  box-shadow: none;
}

.contact,
.contact-title {
  will-change: opacity;
}

.contact>.form-row,
.contact>.full-group,
.contact>.address-group,
.contact>.details,
.contact>.decision-button {
  will-change: opacity, transform;
}

/*== privacy.html ==*/
.privacy-content {
  max-width: 848px;
  width: 100%;
  align-items: flex-start;
  text-align: left;
}

.privacy-content h2 {
  font-weight: normal;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.4;
}

.privacy-content h3 {
  font-weight: normal;
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.5;
  margin-top: clamp(36px, 4.8vw, 58px);
}

.privacy-content p {
  font-weight: normal;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.9;
  margin-top: clamp(-20px, -1.6vw, -12px);
  overflow-wrap: anywhere;
}

.privacy-content a {
  color: inherit;
  text-decoration: underline;
}

.privacy-content a {
  color: inherit;
  text-decoration: underline;
}

@media (min-width: 768px) {
  .oem-secondary .oem-copy {
    grid-area: 1 / 2;
  }

  .oem-secondary .oem-main-image {
    grid-area: 1 / 1;
  }
}

@media (max-width: 767px) {
  .oem-secondary {
    margin-top: 48px;
  }

  .oem-intro {
    grid-template-columns: minmax(0px, 1fr);
    gap: 32px;
    max-width: 560px;
  }

  .oem-copy h3 {
    margin-bottom: 24px;
  }

  .oem .oem-details {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .oem .oem-copy h3,
  .oem .oem-first h3,
  .oem .oem-fifth h3 {
    font-size: clamp(20px, 5vw, 26px);
    line-height: 1.5;
  }

  .oem .oem-copy p {
    font-size: clamp(14px, 3.5vw, 16px);
    line-height: 1.9;
    margin-bottom: 20px;
  }

  .oem .oem-main-image,
  .oem .oem-details img {
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
  }
}
