/* 全ページ共通のスタイル */

:root {
  --red: #e60012;
  --navy: #1d50a2;
  --pale: #fff0f0;
  --white: #fff;
  --ink: #17304b;
  --wave-width: 350px;
  --wave-height: 70px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "M PLUS Rounded 1c",sans-serif;
  color: var(--ink);
  background: #fff;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.wrap {
  width: min(1120px,calc(100% - 44px));
  margin: auto;
}

.site-header {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 max(25px,calc((100vw - 1250px)/2));
  background: white;
  position: relative;
  z-index: 5;
}

.brand {
  display: block;
  min-width: 140px;
  max-width: 190px;
}

.brand img {
  width: 100%;
  height: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  color: var(--navy);
  white-space: nowrap;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  background: transparent;
  border-radius: 99px;
  transition: background .2s;
}

.nav a:hover,.nav a:focus-visible {
  color: var(--red);
}

.nav a:hover::after,.nav a:focus-visible::after {
  background: var(--red);
}

.contact,.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 100px;
  background: var(--navy);
  color: white;
  font-size: 13px;
  font-weight: 900;
  padding: 14px 25px;
  transition: transform .2s,border-color .2s,background-color .2s;
}

.contact:hover,.pill:hover:not(.disabled) {
  transform: translateY(-3px);
}

.contact {
  white-space: nowrap;
}

.contact,.pill {
  border: 2px solid transparent;
}

.backtop {
  border: 2px solid #ffffff;
}

.footer-banners a {
  border: 1px solid #cfd4d5;
}

.menu-toggle {
  display: none;
}

.section {
  padding: 78px 0;
}

.section-title {
  text-align: center;
  font-size: 36px;
  color: var(--navy);
  font-weight: 900;
  margin: 0 0 35px;
  letter-spacing: .02em;
}

.section-title small {
  display: block;
  font-size: 14px;
  color: var(--red);
  margin-top: 4px;
  letter-spacing: .08em;
}

.section-lead {
  text-align: center;
  margin: -15px 0 35px;
  font-size: 15px;
  font-weight: 700;
}

.eyebrow {
  color: var(--red);
}

.chip {
  display: inline-block;
  background: var(--red);
  color: white;
  border-radius: 40px;
  font-size: 11px;
  font-weight: 900;
  padding: 6px 13px;
}

.pill.disabled {
  background: #9ca8b6;
  cursor: default;
}

.banner-section {
  padding: 65px 0;
}

.banner-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.banner-grid a {
  height: 110px;
  border: 2px solid #d8e0ea;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  font-weight: 900;
  color: var(--navy);
}

.banner-grid img {
  height: 100%;
  width: 85px;
  object-fit: contain;
}

.footer {
  background: var(--navy);
  color: white;
  position: relative;
  padding: 60px 0 22px;
  overflow: hidden;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  font-size: 32px;
  font-weight: 900;
}

.footer-brand small {
  font-size: 13px;
}

.footer-main p {
  font-size: 13px;
  line-height: 2;
  color: white;
}

.footer-policies {
  display: flex;
  gap: 20px;
  font-size: 12px;
  margin-top: 20px;
}

.footer-sns strong {
  font-size: 16px;
  font-weight: 800;
  color: white;
}

.footer-sns>div {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.footer-sns a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 27px;
  font-weight: 900;
}

.copyright {
  text-align: center;
  font-size: 11px;
  opacity: .7;
  margin-top: 60px;
}

.footer-mascot {
  position: absolute;
  right: 8%;
  top: -42px;
  width: 110px;
}

.backtop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--red);
  color: white;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 26px;
  z-index: 4;
  box-shadow: none;
}

@media (max-width:1050px) {
  .nav {
    gap: 14px;
  }
}

@media (max-width:1050px) {
  .nav a {
    font-size: 11px;
  }
}

@media (max-width:1050px) {
  .contact {
    font-size: 11px;
    padding: 12px;
  }
}

@media (max-width:1050px) {
  .brand {
    max-width: 150px;
  }
}

@media (max-width:760px) {
  .site-header {
    height: 75px;
    padding: 0 20px;
  }
}

@media (max-width:760px) {
  .brand {
    max-width: 116px;
  }
}

@media (max-width:760px) {
  .menu-toggle {
    display: block;
    background: var(--navy);
    color: white;
    border: 0;
    border-radius: 9px;
    font-size: 25px;
    padding: 4px 12px;
    margin-left: auto;
  }
}

@media (max-width:760px) {
  .nav {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e6edf4;
    padding: 20px;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
  }
}

@media (max-width:760px) {
  .nav.open {
    display: grid;
  }
}

@media (max-width:760px) {
  .contact {
    display: none;
  }
}

@media (max-width:760px) {
  .section {
    padding: 55px 0;
  }
}

@media (max-width:760px) {
  .section-title {
    font-size: 29px;
  }
}

@media (max-width:760px) {
  .banner-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:760px) {
  .footer-main {
    flex-direction: column;
  }
}

@media (max-width:760px) {
  .footer-mascot {
    right: 0;
    width: 75px;
  }
}

@media (max-width:760px) {
  .footer-brand {
    font-size: 25px;
  }
}

.footer {
  background: #1d50a2;
  color: #263344;
  position: relative;
  padding: 45px 0 20px;
  overflow: visible;
}

.footer .wrap {
  width: min(1120px,calc(100% - 44px));
}

.footer-banners {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 22px;
  align-items: stretch;
  margin: 20px 0 42px;
}

.footer-banners a {
  display: block;
  border: 1px solid #cfd4d5;
  background: #fff;
  padding: 0;
  transition: opacity .2s,transform .2s,border-color .2s;
}

.footer-banners a:hover {
  transform: translateY(-3px);
  opacity: 1;
}

.footer-banners img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 35px;
}

.footer-info {
  min-width: 0;
  flex: 1;
}

.footer-info h2 {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .09em;
  margin: 0 0 9px;
  color: white;
}

.footer-info p {
  font-size: 11px;
  line-height: 1.9;
  margin: 0;
}

.footer-info p a:hover,.footer-policies a:hover {
  text-decoration: underline;
}

.footer-policies {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 12px;
  margin-top: 12px;
}

.footer-sns {
  text-align: center;
  flex: none;
  min-width: 270px;
}

.footer-sns strong {
  font-size: 12px;
  font-weight: 500;
}

.footer-sns .social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 12px;
}

.footer-sns .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  color: #000;
  width: 43px;
  height: 43px;
  font-family: Arial,sans-serif;
  font-weight: 400;
}

.footer-sns .social-links svg {
  width: 36px;
  height: 36px;
  display: block;
}

.footer .copyright {
  color: #59616b;
  font-size: 10px;
  opacity: 1;
  text-align: center;
  margin: 40px 0 0;
}

@media (max-width:760px) {
  .footer {
    padding: 35px 0 22px;
  }
}

@media (max-width:760px) {
  .footer-banners {
    gap: 10px;
    margin-bottom: 30px;
  }
}

@media (max-width:760px) {
  .footer-main {
    flex-direction: column;
    gap: 26px;
  }
}

@media (max-width:760px) {
  .footer-info h2 {
    font-size: 17px;
  }
}

@media (max-width:760px) {
  .footer-sns {
    width: 100%;
    min-width: 0;
    text-align: left;
  }
}

@media (max-width:760px) {
  .footer-sns .social-links {
    justify-content: flex-start;
  }
}

@media (max-width:760px) {
  .footer .copyright {
    margin-top: 30px;
  }
}

@media (max-width:520px) {
  .footer-banners {
    grid-template-columns: 1fr;
    max-width: 398px;
    margin-left: auto;
    margin-right: auto;
    gap: 12px;
  }
}

.footer-sns .social-links a {
  width: auto;
  min-width: 60px;
  height: auto;
  min-height: 55px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-sns .social-links .social-caption {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

/* SNSとショップのアイコンを同じ白丸背景に揃える */
.footer-sns .social-links svg {
  box-sizing: content-box;
  width: 34px;
  height: 34px;
  padding: 11px;
  border-radius: 50%;
  background: #fff;
}

/* ショップのバッグを青色に戻し、持ち手まで見やすくする */
.footer-sns .social-links .social-shop svg path:nth-child(1) {
  fill: #1d50a2;
}

.footer-sns .social-links .social-shop svg path:nth-child(2) {
  stroke: #1d50a2;
}

.subpage-hero {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 62px 20px 80px;
  position: relative;
  overflow: hidden;
}

.subpage-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: var(--wave-height);
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20400%20100%22%3E%3Cpath%20d%3D%22M0%2050%20C50%2050%2050%2012%20100%2012%20S150%2050%20200%2050%20S250%2088%20300%2088%20S350%2050%20400%2050%20V100%20H0%20Z%22%20fill%3D%22%23fff4f4%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: repeat-x;
  background-size: var(--wave-width) var(--wave-height);
  background-position: left bottom;
}

.subpage-hero>* {
  position: relative;
}

.subpage-hero h1 {
  font-size: clamp(30px,5vw,45px);
  margin: 0 0 4px;
  font-weight: 900;
}

.subpage-hero .en {
  font-size: 15px;
  letter-spacing: .08em;
  font-weight: 900;
}

.subpage-hero p {
  margin: 20px 0 0;
  line-height: 1.9;
  font-weight: 700;
}

.listing-section {
  padding: 68px 0 85px;
  background: #fff4f4;
}

.listing-section .section-title {
  margin-bottom: 24px;
}

.listing-intro {
  text-align: center;
  line-height: 1.9;
  margin-bottom: 30px;
}

.return-home {
  display: flex;
  width: max-content;
  margin: 38px auto 0;
}

@media (max-width:760px) {
  .subpage-hero {
    padding: 48px 18px 58px;
  }
}

@media (max-width:760px) {
  :root {
    --wave-width: 220px;
    --wave-height: 40px;
  }
}

.site-header,.nav,.menu-toggle,.contact {
  display: none !important;
}

@media (max-width:760px) {
  :root {
    --wave-width: 400px;
    --wave-height: 26px;
  }
}

@media (max-width:760px) {
  .subpage-hero::after {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20400%2036%27%20preserveAspectRatio%3D%27none%27%3E%3Cpath%20d%3D%27M0%2017%20C50%2017%2050%205%20100%205%20S150%2017%20200%2017%20S250%2029%20300%2029%20S350%2017%20400%2017%20V36%20H0%20Z%27%20fill%3D%27%23fff4f4%27%2F%3E%3C%2Fsvg%3E");
    background-size: 400px 26px;
    background-repeat: repeat-x;
    background-position: left bottom;
  }
}


/* スマホだけ改行 */
.sp-br {
  display: none;
}

@media (max-width: 760px) {
  .sp-br {
    display: inline;
  }
}

/* footer cat + white footer text */
.footer {
  position: relative;
  overflow: visible;
}

.footer-cat {
  position: absolute;
  right: 72px;
  left: auto;
  top: -92px;
  width: 200px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.footer-info p,
.footer-info p a,
.footer-policies a,
.footer-sns strong,
.footer .copyright {
  color: #fff;
}

.footer-sns .social-links a {
  color: #fff;
}

@media (max-width: 760px) {
  .footer-cat {
    width: 130px;
    top: -48px;
    right: 24px;
    left: auto;
  }
}
