@charset "utf-8";

/*
Theme Name: 華空乃抹茶1.2
Author: TATSUYA FUJITA
Author URI: 
Description: 架空の抹茶スイーツ店のテーマです。
Version: 1.2
*/

:root {
  --primary-color: rgb(41, 61, 31);
  --primary-color-rgb: 41, 61, 31;
  --contrast-color: #f9f9f9;
  --contrast-color-rgb: 249, 249, 249;
  --accent-color: #c6b269;
  --accent-color-rgb: 198, 178, 105;
  --text-color: #333;
  --logo-size: clamp(50px, 6.147vw, 90px);
  --v-space: clamp(40px, 5.464vw, 80px);
}

/*********************************

              Base 共通

**********************************/

* {
  list-style: none;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: "Noto Serif JP", serif;
  min-width: 375px;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(15px, 1fr) minmax(auto, 1440px) minmax(
      15px,
      1fr
    );
  background-color: var(--contrast-color);
  color: var(--text-color);
  animation: fadeIn 2s ease 0s 1 normal;
  -webkit-animation: fadeIn 2s ease 0s 1 normal;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

body > * {
  grid-column: 2 / -2;
}

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

/* tel */
a[href^="tel:"] {
  pointer-events: none;

  @media (max-width: 768px) {
    pointer-events: auto;
  }
}

a.tx-dec {
  color: #0000ee;
  text-decoration: underline;
}

.sans {
  font-family: "Noto Sans JP", sans-serif;
}

.serif {
  font-family: "Noto Serif JP", serif;
}

.accent-color {
  color: var(--accent-color);
  text-shadow: 0.03em 0.03em var(--primary-color);
}

.t-center {
  text-align: center;
}

/*************************

flex-row-reverse

**************************/

.flex-rev {
  flex-direction: row-reverse;
}

/*************************

      ドロワーメニュー
      body固定用

**************************/
.fixed {
  overflow-y: hidden;
}

/*************************

        Header 設定

****************************/
.header {
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  align-items: flex-start;
  grid-row: 1 / 2;
  z-index: 3;
  padding-top: clamp(15px, 3vw, 60px);
  writing-mode: vertical-rl;
}

.logo {
  filter: brightness(0) invert(100%)
    drop-shadow(0px 0px 1px var(--primary-color));
  display: block;
}

.logo--header {
  width: var(--logo-size);
  z-index: 101;

  @media (max-width: 768px) {
    position: fixed;
    left: 15px;
    top: 15px;
  }
}

.hamburger {
  display: none;

  @media (max-width: 768px) {
    position: fixed;
    top: 15px;
    right: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 101;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transform: rotate(-90deg);
    border: 2px solid var(--contrast-color);
    box-shadow: 0px 0px 3px var(--primary-color);
  }
}

@media (max-width: 768px) {
  .hamburger span,
  .hamburger span::before,
  .hamburger span::after {
    content: "";
    display: inline-block;
    position: absolute;
    transition: all 0.4s;
    border-radius: 1px;
    background-color: var(--contrast-color);
    box-shadow: 0px 0px 3px var(--primary-color);
    width: 18px;
  }

  .hamburger span {
    height: 2px;

    &::before {
      top: -10px;
      height: 2px;
      box-shadow: 0px 0px 3px var(--primary-color);
      width: 65%;
    }

    &::after {
      top: 10px;
      height: 2px;
      box-shadow: 0px 0px 3px var(--primary-color);
    }
  }

  .hamburger.active span {
    background: transparent;
    box-shadow: none;

    &::before {
      -webkit-transform: rotate(45deg);
      -moz-transform: rotate(45deg);
      transform: rotate(45deg);
      top: 0;
      width: 100%;
      height: 2px;
    }

    &::after {
      -webkit-transform: rotate(-45deg);
      -moz-transform: rotate(-45deg);
      transform: rotate(-45deg);
      top: 0;
      height: 2px;
    }
  }

  .header__nav {
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
  }

  .header__nav.active {
    position: fixed;
    display: flex;
    align-items: center;
    place-content: center;
    column-gap: calc(var(--v-space) * 2);
    z-index: 100;
    background-color: rgba(var(--primary-color-rgb), 0.97);
    opacity: 1;
    visibility: visible;
  }
}

/********************************

            header menu

*********************************/

.header__menu {
  display: flex;
  flex-direction: column;
  gap: 1.5em;

  @media (max-width: 768px) {
    align-items: flex-start;
    gap: 2.5em;
  }
}

.header__menu li {
  font-weight: 400;
  font-size: 18px;
  color: var(--contrast-color);
  letter-spacing: 0.2em;
  transition: transform 0.4s ease;
  background-color: rgba(var(--primary-color-rgb), 0.8);
  box-shadow: 1px -1px 3px var(--contrast-color);
  border-radius: 0.8em 0 0.8em 0;

  @media (max-width: 768px) {
    background-color: initial;
    box-shadow: initial;
    border-radius: initial;
    display: inline;
    transition: transform 0.8s ease;
    opacity: 0;
    transform: translateY(-3em);
  }

  &:hover {
    transform: translateY(-1em);
  }
}

.header__menu li.ready {
  @media (max-width: 768px) {
    opacity: 1;
    transform: translateY(0);
  }
}

.header__menu li a {
  display: block;
  padding: 0.8em 0.3em;

  @media (max-width: 768px) {
    display: inline;
    padding: 0;
    &:hover {
      color: var(--accent-color);
    }
  }
}

/*********************************

            sns メニュー

**********************************/
.sns__menu {
  position: fixed;
  top: 50%;
  right: 0;
  writing-mode: vertical-lr;

  @media (max-width: 768px) {
    display: flex;
    justify-content: center;
    gap: 30px;
    position: unset;
    top: auto;
  }
}

.sns__menu li {
  width: 120px;
  transform: translateX(50%) translateY(-50%);
  background-color: var(--primary-color);
  box-shadow: 0px 0px 2px var(--contrast-color);
  transition: transform 0.1s ease-out;

  &:hover {
    transform: translateX(35%) translateY(-50%);
  }

  @media (max-width: 768px) {
    width: 60px;
    transform: none;
    background-color: transparent;
    box-shadow: none;
    opacity: 0;
    transition: opacity 0.8s 0.8s ease;

    &:hover {
      transform: none;
    }
  }
}

.sns__menu li.open {
  @media (max-width: 768px) {
    opacity: 1;
  }
}

.sns__menu img {
  display: block;

  @media (max-width: 768px) {
    display: block;
  }
}

/*********************************

          front-hero

*********************************/

.front-hero {
  grid-column: 1 / -1;
  grid-row: 1 / 2;
  position: relative;
  background-color: var(--primary-color);
  height: 100svh;
}

.front-hero__slider {
  position: relative;
  width: 100%;
  height: inherit;
  overflow: hidden;
}

.front-hero__slide {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: inherit;
  height: inherit;
  animation: front-hero__slider 10s linear infinite;
}


@keyframes front-hero__slider {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.2);
  }
}

/**********************

hero内配置title

***********************/

.front-hero__name {
  overflow: hidden;
  position: absolute;
  bottom: 0;
  left: 0;
  width: clamp(370px, 39.0625vw, 1400px);
  height: auto;
}

.front-hero__name > img {
	display: block;
}

/***********************

      Footer 設定

**************************/

.footer {
  grid-column: 1 / -1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: var(--v-space);
  padding-top: calc(var(--v-space) * 1.5);
  color: var(--contrast-color);
  font-size: 16px;

  &::before {
    content: "";
    background-color: var(--primary-color);
    width: 100%;
    height: calc(var(--v-space) * 1.5 + 100%);
    height: 100%;
    grid-column: 1 / -1;
    z-index: -5;
    position: relative;
    margin-top: calc(var(--v-space) * -1.5);
    position: absolute;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}

.footer__menu {
  display: flex;
  justify-content: space-around;
  gap: clamp(20px, 3.2vw, 50px);

  @media (max-width: 768px) {
    flex-direction: column;
    writing-mode: vertical-rl;
    gap: 2em;
  }
}

.footer__menu li a {
  display: inline-block;
  font-weight: 400;
  font-size: inherit;
  color: var(--contrast-color);
  transition: color 0.4s ease;

  &:hover {
    color: var(--accent-color);
  }
}

.logo--footer {
  width: calc(var(--logo-size) * 1.2);
  text-align: center;
}

.footer__shop {
  font-weight: 400;
  font-size: inherit;
  text-align: center;
  color: inherit;
  line-height: 2;
  margin-top: calc(var(--v-space) / 2 * -1);
}

.footer__name {
  text-align: inherit;
  font-size: 1.5em;
  color: inherit;
}

.footer__address {
  font-size: inherit;
  color: inherit;
  text-align: inherit;
  margin-top: 0.5em;
}

.footer__tel {
  color: inherit;
  font-size: 1.2em;
  margin-top: 0.6em;
}

.footer__tel-link {
  display: inline-block;
}

.footer__copy-light {
  font-size: 0.8em;
  align-self: center;
  color: inherit;
  margin-bottom: calc(var(--v-space) / 2);
}

.footer__copy-light-link {
  display: inline-block;
}

/*******************************

        TOPへ戻るボタン

*******************************/

.upbtn {
  position: fixed;
  right: 15px;
  bottom: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 100;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--contrast-color);
  mix-blend-mode: difference;
}

.upbtn span {
  display: inline-block;
  vertical-align: middle;
  color: var(--contrast-color);
  line-height: 1;
  position: relative;
  width: 0.1em;
  height: 1em;
  background: currentColor;
  mix-blend-mode: luminosity;

  &::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    border: 0.1em solid currentColor;
    border-left: 0;
    border-bottom: 0;
    transform: rotate(-45deg);
    transform-origin: top right;
    position: absolute;
    top: -0.2em;
    right: 50%;
    box-sizing: border-box;
    mix-blend-mode: luminosity;
  }
}

/********************

      共通パーツ

**********************/

.btn {
  position: relative;
  display: block;
  width: 300px;
  border-radius: 10px;
  margin: 0 auto;
  text-align: center;
  letter-spacing: 0.1em;
  background: #333;
  color: #fff;
  font-weight: 400;
  font-size: 15px;
  padding: 15px 0;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0px 0px 15px var(--contrast-color);

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.3) 100%
    );
    transform: skewX(-25deg);
  }
}

/************************************

ボタンをhoverした際の移動のアニメーション

*************************************/

.btn:hover::before {
  animation: shine 1s;
}

@keyframes shine {
  100% {
    left: 125%;
  }
}

/********************************

section

********************************/

.section {
  padding-bottom: calc(var(--v-space) * 2.5);
  position: relative;
}

.section__inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: calc(var(--v-space) * 1.5);
  margin-top: var(--v-space);
  margin-bottom: calc(var(--v-space) * 1.5);

  &:has(.heading) {
    margin-top: calc(var(--v-space) * 1.5);
  }

  @media (max-width: 768px) {
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: calc(var(--v-space) * 2);
  }
}

/********************************

   見出し

********************************/

.heading {
  writing-mode: vertical-rl;
  font-size: clamp(18px, 1.707vw, 25px);
  font-weight: 700;
  letter-spacing: 0.05em;
  position: relative;
  padding: min(6.305vw, 100px) clamp(50px, 9.142vw, 145px) min(6.305vw, 100px) 0;
  color: #f9f9f9;
  mix-blend-mode: difference;

  &::before {
    content: attr(data-en);
    position: absolute;
    top: 0;
    right: 0;
    font-size: clamp(50px, 8.879vw, 130px);
    color: transparent;
    -webkit-text-stroke: 0.01em #8f8f8f;
    text-stroke: 0.01em #8f8f8f;
  }
}

/**********************

固定ページ contact privacy-policy見出し用

************************/

.heading.heading--middle {
  padding: clamp(50px, 8.333vw, 120px) clamp(55px, 7.638vw, 110px)
    clamp(50px, 8.333vw, 120px) 0;

  &::before {
    font-size: clamp(50px, 6.944vw, 100px);
  }
}

.heading.heading--small {
  padding: clamp(40px, 4.722vw, 68px) clamp(38px, 4.166vw, 60px)
    clamp(40px, 4.722vw, 68px) 0;
  &::before {
    white-space: nowrap;
    font-size: clamp(33px, 3.819vw, 55px);
  }
}

/********************************

card

********************************/

.card-wrapper {
  display: grid;
  /* grid-template-columns: repeat(4, 1fr); */
  grid-template-columns: repeat(auto-fit, minmax(298px, 1fr));
  gap: var(--v-space);
  margin-bottom: calc(var(--v-space) * 1.5);

  &:last-child {
    margin-bottom: 0;
  }

  @media (max-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card-heading {
  grid-column: 1 / -1;
  font-size: clamp(24px, 1.891vw, 30px);
  text-align: center;
  padding-bottom: 1em;
  background-image: repeating-linear-gradient(
      45deg,
      var(--accent-color) 0px,
      var(--accent-color) 1px,
      rgba(0 0 0 / 0) 0%,
      rgba(0 0 0 / 0) 50%
    ),
    repeating-linear-gradient(
      -45deg,
      var(--accent-color) 0px,
      var(--accent-color) 1px,
      rgba(0 0 0 / 0) 0%,
      rgba(0 0 0 / 0) 50%
    );
  background-size: 8px 8px;
  background-repeat: repeat-x;
  background-position: center bottom;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  color: inherit;
}

.card.card--large {
  width: clamp(360px, 50.441vw, 800px);
  margin-top: calc(var(--v-space) * 1.5);
  position: relative;

  @media (max-width: 768px) {
    width: 85%;
  }
}

.card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 15% 0 15% 0;
}

.card__label {
  position: absolute;
  top: -6%;
  right: 6%;
  writing-mode: vertical-lr;
  text-orientation: upright;
  font-size: clamp(1.2em, 3vw, 30px);
  color: var(--contrast-color);
  text-shadow: 0.1em 0.1em 0.2em #333;
  background-color: var(--accent-color);
  padding-top: 1em;
  width: calc(clamp(0.9em, 3vw, 30px) + 1.4em);
  display: grid;
  align-content: center;

  &::after {
    position: absolute;
    content: "";
    top: 100%;
    left: 0;
    display: block;
    border: calc((clamp(0.9em, 3vw, 30px) + 1.4em) / 2) solid
      var(--accent-color);
    border-bottom-width: 0.8em;
    border-bottom-color: transparent;
  }
}

.card__body {
  text-align: center;
  text-shadow: 0.03em 0.03em var(--primary-color);
}

.card__body.card__body--large {
  text-align: left;
  line-height: inherit;
  width: 80%;
  margin: 0 auto;

  @media (max-width: 768px) {
    width: 100%;
    font-size: 14px;
  }
}

.card__title {
  font-size: clamp(18px, 1.387vw, 22px);
  margin: 1em auto 0;
}

.card__title.card__title--large {
  font-size: 2em;
  line-height: 1.6;
}

.card__sub-title {
  font-size: 1.6em;
  line-height: 1.8;
}

.card__text {
  text-align: left;
  margin: 1em auto 0;
  font-size: inherit;
  line-height: 1.6;
}

.card__price {
  margin: 1em auto 0;
}

.card__price.card__price--large {
  text-align: left;
  font-size: 1.5em;
}

/********************

      Menu section

**********************/

.menu {
  color: var(--accent-color);

  &::before {
    content: "";
    position: absolute;
    background-color: var(--primary-color);
    height: calc(var(--v-space) * 6 + 100%);
    width: 100vw;
    z-index: -30;
    clip-path: polygon(0 55vw, 100% 0, 100% 100%, 0 100%);
    margin-top: calc(var(--v-space) * -3.5);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  &::after {
    content: "";
    position: absolute;
    background-color: var(--accent-color);
    height: 100%;
    width: 100vw;
    z-index: -10;
    top: 0;
    left: 0;
    margin-top: calc(var(--v-space) * -1);
    clip-path: polygon(0 55vw, 100% 0, 100% 0.5vw, 0 55.5vw);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  @media (max-width: 768px) {
    &::before {
      margin-top: calc(var(--v-space) * 2);
    }
    &::after {
      margin-top: calc(var(--v-space) * 6);
    }
  }
}

.menu.menu--archive {
  &::before {
    margin-top: calc(var(--v-space) * -6);
  }
  &::after {
    margin-top: calc(var(--v-space) * -3);
  }

  @media (max-width: 768px) {
    &::before {
      margin-top: calc(var(--v-space) * -3.5);
    }
    &::after {
      margin-top: calc(var(--v-space) * -1);
    }
  }
}
/********************

      About section

**********************/

.about {
  color: var(--accent-color);
  &::after {
    content: "";
    position: absolute;
    background-color: var(--accent-color);
    height: 100%;
    width: 100vw;
    z-index: -10;
    top: 0;
    left: 0;
    clip-path: polygon(0 0, 100% 55vw, 100% 55.5vw, 0 0.5vw);
    margin-top: calc(var(--v-space) * 1.5);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  @media (max-width: 768px) {
    &::after {
      margin-top: calc(var(--v-space) * 8);
    }
  }
}

/********************************

            news section

**********************************/

.news-list {
  writing-mode: vertical-rl;
  text-orientation: upright;
  color: var(--text-color);
  font-weight: 400;
  margin-top: calc(var(--v-space) * 1.5);

  @media (max-width: 768px) {
    writing-mode: initial;
    margin-top: calc(var(--v-space) * 2);
    width: 100%;
  }
}

.news-list li {
  display: block;
  background-color: var(--contrast-color);
  font-size: clamp(14px, 1.092vw, 16px);
  position: relative;
  border-right: 1px solid #666;
  transition: all 0.4s ease;
  max-height: 30em;

  &:hover {
    background-color: rgba(var(--accent-color-rgb), 0.4);
  }

  &:last-child {
    border-left: 1px solid #666;
  }

  &::before {
    font-size: 0.8em;
    text-orientation: initial;
    content: attr(data-date);
    position: absolute;
    top: 1.4em;
    right: 1.4em;
    pointer-events: none;
  }

  @media (max-width: 768px) {
    border-right: none;
    border-top: 1px solid #666;
    display: grid;
    grid-auto-columns: 1fr;

    &:active {
      background-color: var(--accent-color);
    }

    &:last-child {
      border-left: none;
      border-bottom: 1px solid #666;
    }

    &::before {
      top: 1.4em;
      left: 1em;
    }
  }
}

.news-list li a {
  display: block;
  padding: 2em 3em 2em 2.2em;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-height: 28em;

  @media (max-width: 768px) {
    padding: 2.8em 2em 1.6em 2em;
  }
}

.news-list.news-list--archive {
  writing-mode: initial;
  margin-top: 0;
  margin-bottom: var(--v-space);
}

.news-list.news-list--archive li {
  border-right: none;
  border-top: 1px solid #666;
  display: grid;
  grid-auto-columns: 1fr;
  width: 100%;

  &:last-child {
    border-left: none;
    border-bottom: 1px solid #666;
  }

  &::before {
    top: 1.4em;
    left: 1em;
  }
}

.news-list.news-list--archive li a {
  display: block;
  padding: 2.8em 2em 1.6em 2em;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/**************************************

           parallax

***************************************/
.parallax__wrapper {
  position: relative;
  grid-column: 1 / -1;
  height: 100vh;
}

.parallax__inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);

  &::before,
  &::after {
    content: "KACOO no MATCHA";
    font-weight: 400;
    font-size: min(9.375vw, 180px);
    line-height: 1;
    font-weight: 700;
    text-align: center;
    display: inline-block;
    white-space: nowrap;
    position: absolute;
    width: 100%;
    height: auto;
    bottom: 0;
    filter: brightness(0) invert(1)
      drop-shadow(2px 2px 1px var(--primary-color));
    animation: loop 30s linear infinite;
  }

  &::before {
    left: 0;
  }

  &::after {
    left: 100%;
  }

  @media (max-width: 768px) {
    &::before,
    &::after {
      font-size: min(14.0625vw, 270px);
      width: 150%;
    }
    &::after {
      left: 150%;
    }
  }
}

@keyframes loop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.parallax__img {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -5;
  display: block;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
}

.parallax__img--front {
  background-image: url(images/entrance02.jpg);
}

.parallax__img--menu {
  background-image: url(images/figure-menu.jpg);
}

/**************************************

          map area

***************************************/

.map-wrapper {
  grid-column: 1 / -1;
  aspect-ratio: 5 / 2;
  position: relative;

  @media (max-width: 768px) {
    aspect-ratio: 5 / 4;
  }
}

.map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  -webkit-overflow-scrolling: touch;
}

.content-wrapper {
  max-width: 768px;
  padding-top: calc(var(--v-space) * 1.5);
  padding-bottom: var(--v-space);
  margin-left: auto;
  margin-right: auto;
}

.content-wrapper img {
  width: 100%;
  margin: 0 auto 3.2em;
}

.content-wrapper p {
  margin-bottom: 3.2em;

  &:last-child {
    margin-bottom: 3.6em;
  }
}

.post-date {
  font-size: 0.8em;
}

.content-title {
  font-size: 1.6em;
  margin-bottom: 1.4em;
}

/*********************

wordpress ページネーション

*********************/

.page-numbers {
  display: flex;
  justify-content: center;
  gap: 1.2em;
}

.page-numbers li {
  display: inline-block;
  color: var(--contrast-color);
  background-color: var(--primary-color);
}

.page-numbers li a {
  display: block;
  padding: 0.3em 0.8em;
}

.page-numbers.current {
  display: block;
  padding: 0.3em 0.8em;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  background-color: var(--contrast-color);
}

/*********************

シングルページネーション

*********************/

.page-nation-single {
  display: flex;
}

.page-nation-single li {
  flex-grow: 1;
  transition: all 0.4s;
}

.page-nation-single li a {
  display: grid;
  place-content: center;
  height: 4em;
}

.page-nation-single li a:hover {
  background-color: rgba(var(--accent-color-rgb), 0.4);
}

.page-nation-single__pre,
.page-nation-single__next {
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}

.page-nation-single__pre {
  border-right: 1px solid #333;
}

/**********************

archive single用HERO

*************************/

.sub-hero {
  grid-column: 1 / -1;
  grid-row: 1 / 2;
  position: relative;
  background-image: url(images/hero03.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 70svh;
  display: grid;
  place-content: center;

  @media (max-width: 768px) {
    height: 50svh;
  }
}

/**********************

追加ページ用HERO

*************************/

.sub-hero.sub-hero--page {
  background-image: url(images/hero01.jpg);
  height: 50svh;
  @media (max-width: 768px) {
    height: 25svh;
  }
}

/**************************************

              form

***************************************/

.form-area {
  font-family: sans-serif;
}

.form-area input,
.form-area button,
.form-area textarea,
.form-area select {
  border: solid 2px var(--primary-color);
  border-radius: 2em;
  padding: 0.8em 1em;

  @media (max-width: 768px) {
    width: 100%;
  }
}

.form-area input[type="text"],
.form-area input[type="tel"] {
  max-width: 16em;
}

.form-area input[type="email"] {
  max-width: 30em;
}

.form-area input[type="submit"] {
  max-width: 300px;
}

.form-area input[type="checkbox"] {
  width: 20px;
  margin-left: 10px;
  -moz-transform: scale(1.4);
  -webkit-transform: scale(1.4);
  transform: scale(1.4);
}

.form-area input:focus,
.form-area textarea:focus {
  background-color: rgba(var(--accent-color-rgb), 0.4);
}

.form-area select {
  width: 100%;
}
.form-area textarea {
  width: 100%;
}

.form-area dt {
  color: #333;
  padding-left: 1em;
}

.form-area dt span {
  display: inline-block;
  margin-left: 0.5em;
  font-size: 0.6em;
  color: #fff;
  background-color: var(--primary-color);
  padding: 0.1em 0.6em;
  border-radius: 0.5em;
}

.form-area dd {
  margin-bottom: 2.8em;
}
.form-area dt p:last-child,
.form-area dd p:last-child {
  margin-bottom: 0.5em;
}
/**reCHAPCHA**/
.grecaptcha-badge {
  visibility: hidden;
}