*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  color: #222;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
}

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

a {
  color: #24467a;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.heading-text {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 64px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header__logo {
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0;
  color: #222;
  text-decoration: none;
}

.site-header__logo:hover {
  text-decoration: none;
}

.site-header__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin: 0 -8px 0 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.site-header__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: #222;
}

.site-header__nav {
  display: none;
  border-top: 1px solid #e5e5e5;
  background: #fff;
}

.site-header__nav.is-open {
  display: block;
}

.site-header__nav-list {
  list-style: none;
  margin: 0;
  padding: 8px 20px 16px;
}

.site-header__nav-list a {
  display: block;
  padding: 12px 0;
  color: #222;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.site-header__nav-list a:hover {
  color: #24467a;
  text-decoration: none;
}

.site-header__nav-pc {
  display: none;
}

@media (min-width: 960px) {
  .site-header__toggle {
    display: none;
  }

  .site-header__nav {
    display: none !important;
  }

  .site-header__nav-pc {
    display: flex;
    gap: 32px;
    align-items: flex-end;
  }

  .site-header__nav-pc a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #222;
    text-decoration: none;
    line-height: 1.3;
  }

  .site-header__nav-pc a:hover {
    color: #24467a;
    text-decoration: none;
  }

  .site-header__nav-pc-en {
    font-family: Montserrat, sans-serif;
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 0.08em;
    color: #888;
  }

  .site-header__nav-pc-ja {
    font-size: 13px;
    font-weight: 500;
  }
}

/* Hero */
.hero {
  padding-top: 48px;
}

.hero__tagline {
  margin: 0 auto 24px;
  padding: 0 20px;
  max-width: 960px;
  font-weight: 300;
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-align: left;
  color: #222;
}

.hero__collage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 360px;
  overflow: hidden;
}

.hero__collage-main {
  height: 100%;
  overflow: hidden;
}

.hero__collage-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__collage-side {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}

.hero__collage-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
  min-height: 0;
}

.hero__collage-top img,
.hero__collage-bottom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__collage-bottom {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.hero__collage-logo {
  position: absolute;
  left: 20px;
  bottom: -0.15em;
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

@media (min-width: 960px) {
  .hero__tagline {
    margin-left: auto;
    margin-right: auto;
    font-size: 44px;
  }

  .hero__collage {
    height: 560px;
  }

  .hero__collage-logo {
    left: calc((100% - 960px) / 2 + 20px);
    font-size: 140px;
  }
}

/* Intro */
.intro {
  padding: 56px 20px;
  text-align: center;
}

.intro__title {
  margin: 0 0 24px;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.1em;
  color: #222;
}

.intro__body {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  color: #444;
}

@media (min-width: 960px) {
  .intro__title {
    font-size: 30px;
  }
}

/* Section spacing */
.section-block {
  margin-bottom: 72px;
}

@media (min-width: 960px) {
  .section-block {
    margin-bottom: 112px;
  }
}

/* Card */
.card {
  margin-bottom: 0;
}

.card__wrap {
  position: relative;
  padding-bottom: 12px;
  padding-right: 12px;
}

.card__border {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 0;
  bottom: 0;
  border: 1px solid #24467a;
  pointer-events: none;
}

.card__photo {
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: 220px;
}

.card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__label {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 82%;
  padding: 16px 16px 28px;
  background: #fff;
}

.card__label-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.card__label-kicker {
  font-size: 14px;
  color: #888;
}

.card__label-title {
  margin: 0;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
  color: #222;
}

.card__en {
  position: absolute;
  right: 8px;
  bottom: 4px;
  z-index: 2;
  font-family: Lora, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 40px;
  line-height: 1;
  color: #222;
  white-space: nowrap;
  pointer-events: none;
}

@media (min-width: 960px) {
  .card__photo {
    height: 380px;
  }

  .card__label {
    width: 520px;
    padding: 20px 24px 36px;
  }

  .card__en {
    font-size: 64px;
    right: 16px;
    bottom: 8px;
  }
}

/* Zero sake block */
.zerosake {
  margin-top: 40px;
}

.zerosake__logo {
  width: 200px;
  margin: 0 auto 16px;
}

.zerosake__kind {
  margin: 0 0 12px;
  font-size: 13px;
  color: #888;
  text-align: center;
}

.zerosake__text {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 2;
  color: #222;
  text-align: left;
}

/* About table */
.about-heading {
  margin: 40px 0 24px;
  text-align: center;
}

.about-heading__en {
  margin: 0 0 8px;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: 0.05em;
  color: #222;
}

.about-heading__ja {
  margin: 0;
  font-size: 14px;
  color: #222;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table tr {
  border-bottom: 1px solid #e5e5e5;
}

.info-table th,
.info-table td {
  padding: 16px 0;
  vertical-align: top;
  text-align: left;
}

.info-table th {
  width: 96px;
  padding-right: 12px;
  font-size: 14px;
  font-weight: 400;
  color: #888;
}

.info-table td {
  font-size: 15px;
  color: #222;
}

.info-table ol {
  margin: 0;
  padding-left: 1.25em;
}

.info-table li {
  margin-bottom: 0.5em;
}

.info-table li:last-child {
  margin-bottom: 0;
}

/* Contact follow */
.contact-follow__text {
  margin: 40px 0 24px;
  font-size: 15px;
  line-height: 2;
  color: #222;
  text-align: left;
}

/* Buttons */
.btn-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  margin: 0 auto;
  border: 1px solid #24467a;
  background: transparent;
  color: #24467a;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.btn-outline:hover {
  text-decoration: none;
  background: rgba(36, 70, 122, 0.04);
}

.btn-outline svg {
  flex-shrink: 0;
}

@media (min-width: 960px) {
  .btn-outline {
    width: 320px;
  }
}

/* Footer */
.site-footer {
  padding: 48px 20px 40px;
  background: #f5f5f3;
  text-align: center;
}

.site-footer__links {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 2;
}

.site-footer__links li {
  margin: 0;
}

.site-footer__links a {
  color: #222;
  text-decoration: none;
}

.site-footer__links a:hover {
  color: #24467a;
  text-decoration: none;
}

.site-footer__logo {
  margin: 0 0 8px;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #222;
}

.site-footer__name {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #222;
}

.site-footer__copy {
  margin: 0;
  font-size: 11px;
  color: #222;
}

/* カードの英字が日本語の一言に重ならないよう、札の下に英字の場所をあける */
.card__label { padding-bottom: 48px; }
.card__en { font-size: 32px; bottom: 6px; }
.hero__collage-logo { font-size: clamp(44px, 15vw, 140px); }
@media (min-width: 960px) {
  .card__label { padding-bottom: 76px; }
  .card__en { font-size: 60px; bottom: 6px; }
}

/* 320幅で一言・見出し・英字ロゴが折れたり切れたりしないよう、幅で字の大きさを決める */
.hero__collage-logo { font-size: min(12vw, 140px); }
@media (max-width: 959px) {
  .hero__tagline { font-size: clamp(24px, 7.6vw, 32px); }
  .intro__title, .intro h2 { font-size: clamp(20px, 6.4vw, 26px); }
}
@media (max-width: 374px) {
  .intro__body { font-size: 13.5px; }
}
@media (max-width: 959px) {
  .card__label-title { font-size: clamp(17px, 5.4vw, 20px); }
}
/* 英字ロゴは写真の中に収めて切らない */
.hero__collage-logo { bottom: 6px !important; top: auto !important; line-height: 1 !important; transform: none !important; margin: 0 !important; }

/* v2：写真の主役が札に隠れないよう1枚ずつ位置を合わせる */
.hero__collage-main img { object-position: 62% 40%; }
.hero__collage-top img:first-child { object-position: 82% 25%; }
.hero__collage-top img:last-child { object-position: 35% 30%; }
.hero__collage-bottom img { object-position: 45% 40%; }
#business .card__photo img { object-position: 20% 25%; }
#company .card__photo img { object-position: 40% 30%; }
#contact .card__photo img { object-position: 30% 15%; }

/* v2：ゼロ酒の紹介はストアカの事業紹介の組み方（ロゴ・種類・段落を真ん中）に合わせる */
.zerosake {
  max-width: 640px;
  margin: 48px auto 0;
  text-align: center;
}
.zerosake__logo {
  display: block;
  width: 160px;
  height: auto;
  margin: 0 auto 12px;
}
.zerosake__text {
  text-align: center;
}

/* v2：ストアカのカードと同じく、札は写真の上寄りに浮かせて下にも写真を見せる。英字は札の下端にまたがせる */
.card__photo { height: 320px; }
.card__label {
  top: 48px;
  bottom: auto;
  width: 76%;
  padding: 14px 16px 30px;
}
.card__en {
  right: 12px;
  bottom: -0.42em;
  font-size: 34px;
}
@media (min-width: 960px) {
  .card__photo { height: 420px; }
  .card__label { top: 72px; width: 520px; padding: 22px 28px 52px; }
  .card__en { right: 24px; bottom: -0.42em; font-size: 60px; }
}
/* 英字は写真の暗いところで読めなくなるので、札の中に収める */
.card__label { padding-bottom: 54px; }
.card__en { bottom: 8px; }
@media (min-width: 960px) {
  .card__label { padding-bottom: 88px; }
  .card__en { bottom: 12px; }
}
/* スマホでは札を少し下げ、写真の上の人の顔を札で隠さない */
@media (max-width: 959px) {
  .card__label { top: 104px; }
}
.pc-br { display: none; }
@media (min-width: 960px) { .pc-br { display: inline; } }

/* Contact page */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-page {
  padding: 48px 0 72px;
}

.contact-page__inner {
  max-width: 640px;
}

.contact-page__heading {
  margin-top: 0;
  margin-bottom: 40px;
}

.contact-form {
  width: 100%;
  max-width: 100%;
}

.contact-field {
  margin-bottom: 24px;
}

.contact-field__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.contact-field__label {
  font-size: 14px;
  font-weight: 500;
  color: #222;
}

.contact-field__badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  border: 1px solid #24467a;
  color: #24467a;
}

.contact-field__badge--opt {
  border-color: #888;
  color: #666;
}

.contact-field__input {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #222;
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
}

.contact-field__input:focus {
  outline: 2px solid #24467a;
  outline-offset: 0;
  border-color: #24467a;
}

.contact-field__textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-field__error {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.4;
  color: #c00;
}

.contact-form__turnstile {
  margin: 8px 0 24px;
}

.contact-form__server-error {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.4;
  color: #c00;
  text-align: center;
}

.contact-form__submit {
  display: block;
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0 16px;
  border: none;
  background: #24467a;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.contact-form__submit:hover:not(:disabled) {
  background: #1d385f;
}

.contact-form__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contact-success {
  padding: 48px 0;
  text-align: center;
}

.contact-success__title {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
  color: #222;
}

.contact-success__note {
  margin: 0;
  font-size: 15px;
  color: #444;
}

@media (min-width: 960px) {
  .contact-page {
    padding-bottom: 112px;
  }

  .contact-success__title {
    font-size: 26px;
  }
}
