:root {
  --blue: #1e5aac;
  --blue-light: #398dcd;
  --navy: #211e55;
  --orange: #e47911;
  --text: #000;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  line-height: 1.75;
  text-align: center;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
}

.site-header {
  position: relative;
  z-index: 100;
  width: 100%;
  background: #fff;
}

.header-top {
  width: min(980px, calc(100% - 32px));
  min-height: 124px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  flex: 0 0 330px;
}

.brand img {
  display: block;
  width: 330px;
}

.header-actions {
  position: relative;
  flex: 0 1 560px;
  min-height: 92px;
  display: grid;
  grid-template-columns: 42% 58%;
  grid-template-rows: 36px 48px;
  gap: 8px 12px;
}

.action {
  min-width: 0;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--navy);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.action svg {
  margin-right: 8px;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.action--feature {
  grid-column: 1 / 3;
  grid-row: 1;
  width: calc(100% - 138px);
  justify-self: start;
  background: var(--orange);
}

.action--en {
  grid-column: 2;
  grid-row: 1;
  width: 126px;
  justify-self: end;
  font-size: 16px;
}

.action--contact {
  grid-column: 1;
  grid-row: 2;
}

.action--catalog {
  grid-column: 2;
  grid-row: 2;
}

.g-nav-new {
  overflow: visible;
  background: var(--blue);
}

.menu,
.menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu {
  position: relative;
  width: min(980px, 100%);
  height: 50px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.menu > li {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  background: var(--blue);
}

.menu a,
.menu span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.menu > li > a {
  height: 50px;
}

.menu li:hover > a,
.menu li:focus-within > a {
  background: var(--blue-light);
}

.init-bottom::after {
  content: "";
  width: 6px;
  height: 6px;
  margin: -4px 0 0 14px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(45deg);
}

.init-right::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 12px;
  border-right: 1px solid #fff;
  border-top: 1px solid #fff;
  transform: rotate(45deg);
}

.menu__second-level,
.menu__third-level {
  position: absolute;
  z-index: 110;
  width: 220px;
  display: none;
  background: var(--blue);
}

.menu__second-level {
  top: 50px;
  left: 0;
}

.menu__third-level {
  top: 0;
  left: 100%;
}

.menu__second-level li {
  position: relative;
  border-top: 1px solid #fff;
}

.menu__second-level a,
.menu__second-level span {
  min-height: 44px;
  font-size: 12px;
}

.menu > li:hover > .menu__second-level,
.menu > li:focus-within > .menu__second-level,
.menu__second-level li:hover > .menu__third-level,
.menu__second-level li:focus-within > .menu__third-level {
  display: block;
}

.menu > li:nth-last-child(-n + 3) > .menu__second-level {
  right: 0;
  left: auto;
}

.menu__third-level.menu__water-models {
  width: 440px;
  grid-template-columns: repeat(2, 220px);
}

.menu__second-level li:hover > .menu__third-level.menu__water-models,
.menu__second-level li:focus-within > .menu__third-level.menu__water-models {
  display: grid;
}

.menu__third-level.menu__water-models li {
  border-left: 1px solid #fff;
}

.menu__note span {
  cursor: default;
}

main {
  display: block;
}

.hero {
  width: min(900px, 100%);
  margin: 0 auto;
}

.hero img {
  display: block;
  width: 100%;
}

.section {
  padding: 54px 24px;
}

.section__inner {
  width: min(980px, 100%);
  margin: 0 auto;
}

h1,
h2,
p,
figure {
  margin-top: 0;
}

.intro h1,
.intro h2,
.lead,
.resolve-copy,
.solution-copy p {
  font-size: 18.6667px;
  font-weight: 700;
  letter-spacing: .015em;
}

.no-break {
  white-space: nowrap;
}

.intro h1 {
  margin-bottom: 18px;
}

.lead {
  margin-bottom: 26px;
}

.intro h2 {
  margin-bottom: 34px;
}

.pain-grid {
  width: min(966px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.pain-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  aspect-ratio: 169.8 / 389.4;
  border-radius: 13.5% / 5.9%;
  background: #fcf3e2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .28);
}

.pain-card img {
  position: absolute;
  z-index: 0;
  top: -5.51%;
  left: -8.63%;
  display: block;
  width: 117.69%;
  height: 109.62%;
  max-width: none;
}

.pain-card figcaption {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 5.8%;
  width: 88.4%;
  height: 20.5%;
  margin: 0;
  padding: 0 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.pain-card figcaption span {
  display: block;
  white-space: nowrap;
}

.pain-card:nth-child(3) figcaption {
  padding-right: 0;
  padding-left: 0;
  font-size: 14px;
}

.solution {
  padding-top: 28px;
  background: #fff;
}

.resolve-copy {
  margin-bottom: 34px;
}

.mascot-message {
  width: min(588px, 100%);
  margin: 0 auto 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mascot-message img {
  width: 124px;
  flex: 0 0 124px;
}

.message-bubble {
  position: relative;
  width: 488px;
  height: 162px;
  margin-left: -24px;
  flex: 0 0 488px;
}

.message-bubble svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.message-bubble path {
  fill: #fff;
  stroke: #184566;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.message-bubble p {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 57px;
  margin: 0;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff9900;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.solution-copy {
  width: min(900px, 100%);
  margin: 0 auto 32px;
  display: grid;
  gap: 10px;
}

.solution-copy p {
  margin: 0;
}

.accent-rest {
  color: #4da8a4;
  font-size: 1.28em;
}

.accent-meal {
  color: #ff9900;
  font-size: 1.28em;
}

.solution-flow {
  display: block;
  width: min(855px, 100%);
  aspect-ratio: 1678 / 765;
  object-fit: fill;
  margin: 0 auto;
  border-radius: 7.5% / 16.7%;
  box-shadow: -3px 3px 8px rgba(0, 0, 0, 0.4);
}

.sns,
.event {
  background: #fff;
}

.sns {
  padding-top: 48px;
  padding-bottom: 34px;
}

.sns-card,
.event-card {
  width: min(681px, 100%);
  margin: 0 auto;
  color: #fff;
  border-radius: 24px;
  background: linear-gradient(#505050, #050505 58%);
}

.sns-card {
  min-height: 268px;
  padding: 36px 44px 28px;
}

.sns-card h2 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.3;
}

.sns-card p {
  margin: 0 0 24px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.sns-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 39px;
}

.sns-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  transition: transform .2s ease;
}

.sns-links a:nth-child(1) {
  width: 81px;
  height: 81px;
}

.sns-links a:nth-child(2) {
  width: 66px;
  height: 66px;
}

.sns-links a:nth-child(3) {
  width: 88px;
  height: 88px;
}

.sns-links a:hover,
.sns-links a:focus-visible {
  transform: translateY(-4px);
}

.sns-links img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.event {
  padding-top: 34px;
  padding-bottom: 70px;
}

.event-card {
  min-height: 402px;
  padding: 28px 56px 22px;
  border-top: 5px solid var(--orange);
}

.event-intro {
  margin: 0 auto 14px;
  color: #ff9900;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
}

.event-details {
  width: min(450px, 100%);
  margin: 0 auto 16px;
}

.event-details div {
  display: block;
  text-align: center;
}

.event-details dt,
.event-details dd {
  display: inline;
  margin: 0;
  padding: 3px 0;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}

.booth-number {
  width: min(280px, 100%);
  margin: 0 auto 16px;
  padding: 8px 12px;
  border: 1px solid #fff;
  font-size: 26px;
  font-weight: 700;
}

.event-gift {
  width: min(466px, 100%);
  margin: 0 auto;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(#ff9b61, #e85f0b);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.site-footer {
  width: 100%;
  padding: 24px;
  color: #fff;
  background: var(--navy);
}

.footer-inner {
  position: relative;
  width: min(980px, 100%);
  min-height: 215px;
  margin: 0 auto;
  text-align: left;
}

.footer-company img {
  width: 160px;
}

.footer-company span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
}

.footer-rule {
  height: 1px;
  margin: 10px 0 14px;
  background: rgba(255, 255, 255, .8);
}

.footer-links {
  display: grid;
  grid-template-columns: .8fr 1.6fr 1.05fr 1.7fr 1.2fr 1.15fr 1.25fr;
  gap: 15px;
  padding-right: 0;
}

.footer-links div {
  min-width: 0;
}

.footer-links a {
  display: block;
  color: #fff;
  font-size: 11px;
  line-height: 1.55;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #00ffff;
}

.footer-recruit {
  margin-top: 20px;
}

.footer-building {
  position: absolute;
  right: 0;
  bottom: -24px;
  width: 160px;
}

.footer-building img {
  display: block;
  width: 160px;
}

.footer-bottom {
  width: min(980px, calc(100% - 32px));
  min-height: 60px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.footer-bottom img {
  width: 330px;
}

@media (max-width: 900px) {
  .header-top {
    min-height: 112px;
    gap: 18px;
  }

  .brand {
    flex-basis: 270px;
  }

  .brand img {
    width: 270px;
  }

  .header-actions {
    flex-basis: 470px;
  }

  .action {
    padding: 6px 8px;
    font-size: 11px;
  }

  .action svg {
    width: 19px;
    height: 19px;
  }

  .menu a,
  .menu span {
    padding: 0 7px;
    font-size: 11px;
  }

  .init-bottom::after {
    margin-left: 8px;
  }

  .pain-grid {
    width: min(520px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .footer-links {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 18px;
    padding-bottom: 45px;
  }
}

@media (max-width: 767px) {
  .header-top {
    width: 100%;
    min-height: auto;
    padding: 13px 10px;
    align-items: flex-start;
    gap: 10px;
  }

  .brand {
    flex: 0 1 42%;
    padding-top: 4px;
  }

  .brand img {
    width: 100%;
  }

  .header-actions {
    flex: 1 1 58%;
    min-height: 76px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 28px 42px;
    gap: 5px;
  }

  .action {
    min-height: 0;
    padding: 4px;
    font-size: 7px;
  }

  .action svg {
    margin-right: 4px;
    width: 12px;
    height: 12px;
  }

  .action--feature {
    width: calc(100% - 62px);
  }

  .action--en {
    width: 58px;
    font-size: 8px;
  }

  .g-nav-new {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .menu {
    width: max-content;
    min-width: 100%;
    height: 40px;
  }

  .menu > li {
    flex: 0 0 auto;
  }

  .menu > li > a {
    height: 40px;
    min-height: 40px;
    padding: 0 11px;
    font-size: 9px;
  }

  .init-bottom::after {
    display: none;
  }

  .menu__second-level,
  .menu__third-level {
    display: none;
  }

  .section {
    padding: 42px 15px;
  }

  .intro h1,
  .intro h2,
  .lead,
  .resolve-copy,
  .solution-copy p {
    font-size: 15px;
  }

  .intro h1 {
    margin-bottom: 14px;
  }

  .lead {
    margin-bottom: 24px;
  }

  .intro h2 {
    margin-bottom: 28px;
  }

  .pain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .pain-card figcaption {
    font-size: clamp(10.5px, 3.4vw, 17px);
  }

  .pain-card:nth-child(3) figcaption {
    font-size: clamp(8.6px, 2.65vw, 14px);
  }

  .solution {
    padding-top: 10px;
  }

  .resolve-copy {
    margin-bottom: 28px;
  }

  .mascot-message {
    width: min(450px, 100%);
    margin-bottom: 28px;
  }

  .mascot-message img {
    width: 88px;
    flex-basis: 88px;
  }

  .message-bubble {
    width: calc(100% - 71px);
    height: 104px;
    margin-left: -17px;
    flex: 0 1 auto;
  }

  .message-bubble p {
    left: 11.7%;
    padding: 14px 10px;
    font-size: 17px;
    white-space: normal;
  }

  .solution-copy {
    gap: 9px;
    margin-bottom: 26px;
  }

  .sns,
  .event {
    padding-right: 15px;
    padding-left: 15px;
  }

  .sns {
    padding-top: 34px;
    padding-bottom: 22px;
  }

  .sns-card {
    padding: 36px 16px 30px;
    border-radius: 18px;
  }

  .sns-card h2 {
    font-size: 18px;
    line-height: 1.4;
  }

  .sns-card p {
    font-size: 12px;
  }

  .sns-links {
    gap: 20px;
  }

  .sns-links a {
    transform: scale(.88);
  }

  .event {
    padding-top: 22px;
    padding-bottom: 50px;
  }

  .event-card {
    padding: 38px 16px 28px;
    border-radius: 18px;
  }

  .event-intro {
    font-size: 20px;
  }

  .event-details div {
    display: block;
  }

  .event-details dt,
  .event-details dd {
    font-size: 12px;
  }

  .booth-number {
    font-size: 19px;
  }

  .event-gift {
    width: 88%;
    padding: 17px 10px;
    font-size: 12px;
  }

  .site-footer {
    padding: 24px 15px 18px;
  }

  .footer-inner {
    min-height: 0;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
    padding-bottom: 74px;
  }

  .footer-links a {
    font-size: 10px;
  }

  .footer-building {
    bottom: -18px;
  }

  .footer-bottom {
    min-height: 54px;
    justify-content: center;
  }

  .footer-bottom img {
    width: 230px;
  }
}

@media (max-width: 359px) {
  .pain-card figcaption {
    font-size: 10.5px;
  }

  .pain-card:nth-child(3) figcaption {
    font-size: 8.6px;
  }

  .message-bubble p {
    font-size: 15px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}
