/*!
Theme Name: Luminava Clinic
Author: -
Author URI: -
Description: -
Version: 1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luminava
Tags: custom, block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, full-site-editing, one-column, template-editing, wide-blocks
*/

/**************************************************************
* CSS vars
**************************************************************/

body {
  --grid-like-bg-square-size: 15px 15px;
  --alphabetic-font: var(--wp--preset--font-family--alphabetic-font);
  --kana-font: var(--wp--preset--font-family--kana-font);
  --base-font-family: var(--kana-font), Arial, "メイリオ", Meiryo, sans-serif;
}

@media (min-width: 1024px) {
  body {
    --grid-like-bg-square-size: 30px 30px;
  }
}



/**************************************************************
* Global settings
**************************************************************/

html {
  font-size: 3.733vw;
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-width: 320px;
  font-family: var(--base-font-family);
  letter-spacing: 0.05em;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden
}

@media (min-width: 768px) and (max-width: 1023px) {
  html {
    font-size: 1.5vw;
  }
}

@media (min-width: 1024px) {
  html {
    font-size: 0.8333vw;
  }
}

/* hover */
@media (hover: hover) {
  a img {
    transition: opacity 0.3s ease-out;
  }

  a:hover img {
    opacity: 0.8;
  }
}


/**************************************************************
* WP styles
//MEMO: 
cherry picked from "wp-block-library" and now defined here 
**************************************************************/

.wp-element-button {
  cursor: pointer
}

.has-regular-font-size {
  font-size: 1em
}

.has-larger-font-size {
  font-size: 2.625em
}

.has-normal-font-size {
  font-size: var(--wp--preset--font-size--normal)
}

.has-huge-font-size {
  font-size: var(--wp--preset--font-size--huge)
}

.has-text-align-center {
  text-align: center
}

.has-text-align-left {
  text-align: left
}

.has-text-align-right {
  text-align: right
}

.aligncenter {
  clear: both
}

.items-justified-left {
  justify-content: flex-start
}

.items-justified-center,
.is-content-justification-center {
  justify-content: center
}

.items-justified-right {
  justify-content: flex-end
}

.items-justified-space-between {
  justify-content: space-between
}



/**************************************************************
* WP overrides
**************************************************************/

/* wp-block-cover
********************************/
.wp-block-cover {
  padding: inherit;
}

.wp-block-cover,
.wp-block-cover-image {
  height: 100%;
}

.wp-block-cover,
.wp-block-cover-image {
  min-height: 100%;
}


/* wp-block-social
********************************/
.wp-block-social-links .wp-block-social-link.wp-social-link {
  display: inherit;
}

.wp-block-social-link-label.screen-reader-text {
  display: none;
}

/* wp-block-cb-carousel
********************************/
.wp-block-cb-carousel,
.wp-block-cb-carousel .slick-list,
.wp-block-cb-carousel .slick-track {
  height: 100%;
} 

.wp-block-cb-carousel .slick-slide {
  padding-left: inherit;
  padding-right: inherit;
}


/**************************************************************
* WPブロックの指定 (wp-)
**************************************************************/

/* wp-headline
********************************/
.wp-headline {
  position: relative;
}

.wp-headline:focus {
  outline: none;
}

.wp-headline__alphabetic {
  position: relative;
  display: inline-block;
  margin: inherit;
  font-family: var(--alphabetic-font);
  font-size: calc(120/28 * 1rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.05em;
  word-break: break-all;
  text-shadow: 0.5rem 0.5rem 0 var(--wp--preset--color--custom-primary-opacity-mode);
}

.wp-headline__kana {
  margin-top: calc(40/28 * 1rem);
  font-size: calc(36/28 * 1rem);
  font-weight: 500;
  letter-spacing: 0.3em;
}

@media (max-width: 1023px) {
  .wp-headline {
    text-align: center;
  }
}

@media (min-width: 1024px) {
  .wp-headline__alphabetic {
    font-size: calc(128/16 * 1rem);
    text-shadow: 0.75rem 0.75rem 0 var(--wp--preset--color--custom-primary-opacity-mode);
  }
  .wp-headline__kana {
    margin-top: calc(40/16 * 1rem);
    font-size: calc(20/16 * 1rem);
  }
}


/* wp-section
************************************************/
.wp-section {
  position: relative;
}


/* wp-block-button
************************************************/
.wp-block-button {
  position: relative;
}

/* 2024/09/30 修正 */
.wp-block-button:not(.has-custom-width) {
  width: 100%;
  /* height: 64px; */
  height: calc(51px + (64 - 51) * ((100vw - 1024px) / (1920 - 1024)));
}

.wp-block-button .wp-block-button__link {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-left: 1.25rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 50px;
  border: 1px solid var(--wp--preset--color--foreground);
  background: transparent;
}

@media (max-width: 1023px) {
  .wp-block-button {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* 2024/09/30 修正 */
@media (min-width: 1024px) {
  .wp-block-button:not(.has-custom-width) {
    /* max-width: 220px;
    min-width: 220px; */
    width: calc(175px + (220 - 175) * ((100vw - 1024px) / (1920 - 1024)));
  }
}



/**************************************************************
* コンテンツの共通要素
**************************************************************/

/* padded-content
************************************************/
.padded-content {
  padding-left: 5.333%;
  padding-right: 5.333%;
}

@media all and (min-width: 1024px) {
  .padded-content {
    padding-left: calc(3.66vw + 1rem);
    padding-right: calc(3.66vw + 1rem)
  }
}

@media all and (min-width: 1486px) {
  .padded-content {
    padding-left: calc(14vw + 1rem);
    padding-right: calc(14vw + 1rem)
  }
}

@media all and (min-width: 1920px) {
  .padded-content {
    margin-left: auto;
    margin-right: auto
  }
}



/**************************************************************
* グロバル要素
**************************************************************/

/* g-header
************************************************/
.g-header {
  position: relative;
  padding-left: 5.333%;
  padding-right: 5.333%;
}

.g-header__inner {
  position: relative;
  display: grid;
}

.g-header .wp-block-site-logo {
  position: relative;
  display: flex;
  align-items: center;
}

.g-header .wp-block-site-logo a {
  display: flex;
  width: 100%;
  height: 100%;
}

.g-header .wp-block-site-logo a img {
  display: block;
  width: 100%;
  margin: auto;
}

@media all and (max-width: 1023px) {
  .g-header {
    position: fixed;
    top: 0;
    z-index: 9999;
    padding-top: 5vw;
    padding-bottom: 5vw;
  }

  .g-header .wp-block-site-logo {
    width: 170px;
    margin-left: auto;
    margin-right: auto;
  }

  .g-header__inner {
    justify-content: start;
  }

  .g-header__nav-block {
    display: none;
  }
}

@media all and (min-width: 1024px) {
  .g-header {
    padding-top: 2.5vw;
    padding-bottom: 2.5vw;
  }

  .g-header__inner {
    display: flex;
    justify-content: space-between;
  }

  .g-header__nav-block {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: min(2.5vw, 40px);
  }
}


/* g-nav
************************************************/
.g-nav {
  position: relative;
  top: 0.05rem;
}

.g-nav__list {
  display: grid;
  position: relative;
}

.g-nav__list > li {
  font-size: 1rem;
  font-weight: 500;
}

@media all and (max-width: 1023px) {}

@media all and (min-width: 1024px) {
  .g-nav {
    display: flex;
    justify-content: flex-end;
  }

  .g-nav__list {
    display: flex;
    gap: calc(20/1600 * 100vw);
    padding-left: 1vw;
  }
}

@media all and (min-width: 1600px) {
  .g-nav__list {
    gap: calc(40/1920 * 100vw);
  }
}


/* g-footer
************************************************/
.g-footer {
  position: relative;
  padding-top: calc(100/28 * 1rem);
  padding-bottom: calc(100/28 * 1rem);
  padding-left: 5.333%;
  padding-right: 5.333%;
  background-color: var(--wp--preset--color--foreground);
}

.g-footer .wp-block-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.g-footer .wp-block-site-logo {
  max-width: calc(410/16 * 1rem);
}

.g-footer .wp-block-site-logo img {
  filter: invert(1);
}

.g-footer .wp-block-social-links {
  display: flex;
  gap: calc(20/16 * 1rem);
  justify-content: center;
}

.g-footer .wp-social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(50/16 * 1rem);
  height: calc(50/16 * 1rem);
  border-radius: 50%;
  border: 1px solid var(--wp--preset--color--foreground-inverted)
}

.g-footer__inner {
  color: var(--wp--preset--color--foreground-inverted);
}

.footer-info {
  margin-top: calc(40/16 * 1rem);
}

@media all and (max-width: 1023px) {
  .g-footer .wp-block-social-links {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .footer-info > li {
    display: flex;
    align-items: baseline;
  }
}

@media all and (min-width: 1024px) {
  .g-footer {
    padding-top: calc(100/16 * 1rem);
    padding-bottom: calc(100/16 * 1rem);
  }

  .footer-info > li {
    font-size: calc(14/16 * 1rem);
  }

  .g-footer .wp-block-social-links {
    justify-content: end; 
  }
}



/**************************************************************
* その他の要素
**************************************************************/

/* seo-tagline
********************************/
.seo-tagline {
  display: none;
}


/* miscellany 
************************************************/

/* sns icons */
.line-custom-icn {
  position: relative;
}

.line-custom-icn .wp-block-social-link-anchor::before {
  content: "";
  width: 1em;
  height: 1em;
  fill: currentColor;
  color: currentColor;
  background-repeat: no-repeat;
  background-position: center 0;
  background-size: contain;
  background-image: url(./assets/imagery/line_icn.svg);
}

.line-custom-icn .wp-block-social-link-anchor > svg {
  display: none;
}

.line-custom-icn[class*="--inverted"] .wp-block-social-link-anchor::before {
  filter: invert(1);
}

/* footer-nav */
.footer-nav {
  display: grid;
  gap: 1rem;
  margin-top: calc(100/28 * 1rem);
}

.footer-nav > li a {
  text-decoration: none;
}

@media (min-width: 1024px) {
  .footer-nav {
    grid-template-columns: repeat(4, 20%);
    gap: calc(25/16 * 1rem) calc(60/16 * 1rem);
    margin-top: calc(180/16 * 1rem);
  }
}

/* hover */
@media (hover: hover) {
  .footer-nav>li a:hover {
    transition: color 0.3s ease;
  }

  .footer-nav>li a:hover {
    color: var(--wp--preset--color--primary);
  }
}

/* copyright */
.copyright {
  font-family: var(--alphabetic-font);
  font-weight: normal;
  text-align: right;
}

@media all and (max-width: 1023px) {
  .copyright {
    text-align: center !important;
  }
}



/**************************************************************
* HERO
**************************************************************/

.hero {
  position: relative;
  margin-bottom: 6.25%;
  padding-left: 5.33%;
  padding-right: 5.33%;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
  width: 65%;
  height: 100%;
  display: block;
  background-color: var(--wp--preset--color--background-secondary);
}

.hero__body {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero .wp-block-cover,
.hero .wp-block-cover-image {
  overflow: hidden;
}

.hero-contents {
  position: relative;
  z-index: 99;
}

.hero-contents__catch, .hero-contents__noAnime {
  font-size: calc(48/28 * 1rem);
  font-weight: 400;
  line-height: 1.833;
  letter-spacing: 0.15em;
}

.hero-contents__txt {
  line-height: 2.25;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.hero-alphabetic-copy {
  font-family: var(--alphabetic-font);
  font-size: calc(24/28 * 1rem);
  font-weight: 600;
  line-height: 1.675;
  mix-blend-mode: multiply;
  text-shadow: 0.5rem 0.5rem 0 var(--wp--preset--color--primary);
}

.hero-slider .wp-block-cb-carousel .slick-dots {
  z-index: 999;
  width: 25px;
  right: 1rem;
  transform: translateY(-50%);
}

.hero-slider .wp-block-cb-carousel .slick-dots li button:before {
  opacity: 1;
  font-size: 10px;
  color: #dddddd;
}

.hero-slider .wp-block-cb-carousel .slick-dots li.slick-active button:before {
  color: var(--wp--preset--color--primary);
}

@media all and (max-width: 1023px) {
  .hero {
    padding-top: calc(160/24 * 1rem);
  }

  .hero__body {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto auto auto;
    padding-bottom: 2rem;
  }

  .hero-contents {
    order: 1;
  }

  .hero-alphabetic-copy {
    order: 2;
  }

  .hero-slider {
    order: 3;
  }

  .hero-slider {
    position: relative;
    height: 30vh;
    min-height: 290px;
  }

  .hero-alphabetic-copy {
    transform: translateY(40%);
  }
}

@media all and (min-width: 1024px) {
  .hero {
    padding-left: 8.333%;
    padding-right: 8.333%;
  }

  .hero-slider {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    max-width: 890px;
    max-height: 630px;
    width: 46.354vw;
    margin-top: auto;
    margin-bottom: auto;
  }

  .hero-contents__catch, .hero-contents__noAnime {
    font-size: calc(48/16 * 1rem);
  }

  .hero-alphabetic-copy {
    font-size: calc(40/16 * 1rem);
    mix-blend-mode: color-burn;
    text-shadow: 0.75rem 0.75rem 0 var(--wp--preset--color--primary);
  }
}

@media all and (min-width: 1920px) {
  .hero-slider {
    height: 68.48vw;
  }
}



/**************************************************************
* CAMPAIGN
**************************************************************/

.campaign {
  position: relative;
}

.campaign-contents {
  position: relative;
}

.campaign-contents .wp-block-image {
  margin-bottom: calc(40/16 * 1rem);
}

.campaign-contents p + p {
  margin-top: calc(40/16 * 1rem);
}



/**************************************************************
* PROBLEM
**************************************************************/

.problem {
  position: relative;
  padding-top: calc(160/28 * 1rem);
  padding-bottom: calc(700/28 * 1rem);
  background-color: var(--wp--preset--color--background-secondary);
  background-image:  linear-gradient(var(--wp--preset--color--background) 1px, transparent 1px), linear-gradient(to right, var(--wp--preset--color--background) 1px, transparent 1px);
  background-size: var(--grid-like-bg-square-size);
}

.problem-visual .wp-block-cover__image-background {
  box-shadow: 0px 0px 20px rgba(12, 28, 31, 0.12);
}

.problem-visual[class*="wp-block-cover"] .wp-block-cover__image-background,
.problem-visual[class*="wp-block-cover-image"] .wp-block-cover__image-background {
  height: auto;
}

.problem-contents {
  max-width: calc(720/16 * 1rem);
  margin-left: auto;
  margin-right: auto;
}

.problems-list {
  display: grid;
  gap: calc(20/16 * 1rem);
  margin-top: calc(80/16 * 1rem);
}
.problems-list > li {
  padding: calc(20/16 * 1rem) calc(40/16 * 1rem);
  border-radius: 40px;
  background-color: var(--wp--preset--color--background);
}

@media all and (max-width: 1023px) {
  .problem-visual {
    position: absolute;
    top: 75%;
  }

  .problem-visual[class*="--1"] {
    width: 43.466%;
    left: 5.333%;
  }
  
  .problem-visual[class*="--2"] {
    width: 32%;
    right: 5.333%;
    transform: translateY(1.5rem);
  }
}

@media all and (min-width: 1024px) {
  .problem {
    padding-top: calc(160/16 * 1rem);
    padding-bottom: calc(240/16 * 1rem);
  }

  .problem .wp-headline {
    text-align: center;
  }

  .problem-visual[class*="--1"] {
    width: 20.9vw;
    max-width: 400px;
    left: calc(3.66vw + 1rem);
  }
  .problem-visual[class*="--2"] {
    width: 15.2%;
    max-width: 290px;
    right: calc(3.66vw + 1rem);
  }

  .problem-visual[class*="--1"] .wp-block-cover__image-background {
    top: calc(370/16 * 1rem);
  }

  .problem-visual[class*="--2"] .wp-block-cover__image-background {
    top: calc(600/16 * 1rem);
    margin-top: inherit;
    margin-bottom: inherit;
  }
}



/**************************************************************
* NEWS
**************************************************************/

.news {
  position: relative;
  padding-top: calc(120/28 * 1rem);
  padding-bottom: calc(200/28 * 1rem);
}

@media all and (min-width: 1024px) {
  .news {
    padding-top: calc(120/16 * 1rem);
    padding-bottom: calc(200/16 * 1rem);
  }

  .news .wp-headline {
    text-align: center;
  }
}

.news-list {
  position: relative;
  overflow-y: scroll;
  height: 500px;
  margin-top: calc(80/16 * 1rem);
}

.news-item {
  display: grid;
  gap: 5%;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.news-list li:not(:last-child) .news-item {
  border-bottom: 1px dashed var(--wp--preset--color--primary);
}

@media all and (max-width: 1023px) {
  .news-list {
    padding-left: 5.8vw;
    padding-right: 5.8vw;
  }
}

@media all and (min-width: 1024px) {
  .news-list {
    max-width: 57.5rem;
    margin-left: auto;
    margin-right: auto;
  }
  
  .news-item {
    grid-template-columns: 15% 1fr;
  }
  .news-item > dd {
    padding-right: 15%;
  }
}



/**************************************************************
* SOLUTION
**************************************************************/

.solution {
  position: relative;
  padding-top: calc(120/28 * 1rem);
  padding-bottom: calc(200/28 * 1rem);
  text-align: center;
}

.solution-line1,
.solution-line2 {
  margin-bottom: calc(40/28 * 1rem);
  font-size: calc(24/28 * 1rem);
}

.solution-big-catch {
  display: inline-flex;
  margin-bottom: calc(30/28 * 1rem);
  font-size: calc(48/28 * 1rem);
  line-height: 1.25;
  padding-bottom: 0.45rem;
  background-image: linear-gradient(to left, var(--wp--preset--color--primary) 50%, transparent 50%);
  background-repeat: no-repeat;
  background-size: 200% 4px;
}

.solution-txt {
  line-height: 2;
}

@media all and (max-width: 1023px) {
  .solution {
    margin-left: 5.33%;
    margin-right: 5.33%;
  }

  .solution-big-catch {
    display: inline;
    line-height: 1.8;
  }

  .solution-line2 {
    margin-top: calc(70/28 * 1rem); /* solution-big-catch inline */
  }
}

@media all and (min-width: 1024px) {
  .solution {
    padding-top: calc(120/16 * 1rem);
    padding-bottom: calc(200/16 * 1rem);
  }
  
  .solution-line1,
  .solution-line2 {
    margin-bottom: calc(40/16 * 1rem);
    font-size: calc(24/16 * 1rem);
  }
  
  .solution-big-catch {
    margin-bottom: calc(30/16 * 1rem);
    padding-bottom: 0.75rem;
    font-size: calc(48/16 * 1rem);
  }
}

/* animations */
.solution-big-catch {
  transition: all 0.8s ease-in-out;
  background-position: 200% 100%;
}

.solution-big-catch.is-animated {
  background-position: 100% 100%;
}



/**************************************************************
* CONCEPT
**************************************************************/

.concept {
  position: relative;
}

.concept-lead {
  line-height: 3.33;
  letter-spacing: 0.1em;
}

.concept-alphabetic-catch {
  font-size: calc(24/28 * 1rem);
  letter-spacing: 0.1em;
  line-height: 1.5;
  color: var(--wp--preset--color--primary);
}

@media all and (max-width: 1023px) {
  .concept .wp-section {
    margin-left: 5.33%;
    margin-right: 5.33%;
  }

  .concept .wp-block-columns {
    gap: calc(40/28 * 1rem);
  }

  .concept-lead {
    margin-top: calc(80/16 * 1rem);
    margin-bottom: 2rem;
  }

  .concept-visual {
    height: 50vh;
    height: 50svh;
  }
}

@media all and (min-width: 1024px) {
  .concept-contents {
    padding-left: calc(3.66vw + 1rem);
    padding-bottom: 1rem;
  }

  .concept-contents > p {
    padding-top: calc(70/16 * 1rem);
    padding-left: calc(70/16 * 1rem);
    padding-right: calc(70/16 * 1rem);
  }

  .concept-alphabetic-catch {
    font-size: calc(24/16 * 1rem);
    mix-blend-mode: multiply;
  }
}

@media all and (min-width: 1486px) {
  .concept-contents {
    padding-left: calc(14vw + 1rem);
  }
}



/**************************************************************
* FEATURES
**************************************************************/

.features {
  padding-top: calc(200/28 * 1rem);
  padding-bottom: calc(200/28 * 1rem);
}

.features-list {
  display: grid;
  gap: calc(160/16 * 1rem);
  margin-top: calc(80/16 * 1rem);
  counter-reset: feature-item-counter;
}

.features-item {
  position: relative;
  counter-increment: feature-item-counter;
}

.features-item .wp-block-columns > div:nth-child(2) {
  position: relative;
}

.features-item .wp-block-heading {
  margin-bottom: calc(30/16 * 1rem);
  font-size: calc(36/28 * 1rem);
}
.features-item h3.wp-block-heading::before {
  content: counter(feature-item-counter, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0.8rem;
  z-index: 9;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: calc(160/28 * 1rem);
  height: calc(160/28 * 1rem);
  font-family: var(--alphabetic-font);
  font-size: calc(62/28 * 1rem);
  border-radius: 50%;
  transform: translateY(calc(-100% - calc(40/28 * 1rem)));
}
.features-item h3.wp-block-heading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: calc(160/28 * 1rem);
  height: calc(160/28 * 1rem);
  border-radius: 50%;
  border: 1px solid var(--wp--preset--color--primary);
  transform: translateY(calc(-100% - calc(40/28 * 1rem)));
}

.features-item p {
  line-height: 2;
}

@media all and (max-width: 1023px) {
  .features-item {
    padding-top: calc((160 + 40)/28 * 1rem);
  }

  .features-item .wp-block-columns {
    flex-flow: row-reverse;
    gap: calc(80/28 * 1rem);
  }
  .features-item .wp-block-columns > div:nth-child(1) {
    order: 2;
  }
  .features-item .wp-block-columns > div:nth-child(2) {
    order: 1;
  }

  .features-item .wp-block-columns > div:nth-child(1) {
    height: 50vh;
  }
}

@media all and (min-width: 1024px) {
  .features {
    padding-top: calc(200/16 * 1rem);
    padding-bottom: calc(200/16 * 1rem);
  }  

  .features .wp-headline {
    text-align: center;
  }

  .features-item {
    min-height: 600px;
  }

  .features-item .wp-block-columns {
    gap: calc(130/16 * 1rem);
    height: 100%;
  }

  .features-item .wp-block-columns > div:nth-child(1) {
    flex: 0 0 46.878%;
    max-height: 600px;
  }

  .features-item .wp-block-columns > div:nth-child(2) {
    align-self: center;
  }

  .features-item:nth-child(even) .wp-block-columns {
    flex-flow: row-reverse;
  }

  .features-item .wp-block-heading {
    font-size: calc(24/16 * 1rem);
  }
}

@media all and (min-width: 1920px) {
  .features-item:nth-child(odd) .wp-block-columns > div:nth-child(2) {
    padding-left: calc(90/16 * 1rem);
  }
  .features-item:nth-child(even) .wp-block-columns > div:nth-child(2) {
    right: calc(90/16 * 1rem);
  }
  .features-item:nth-child(even) .wp-block-columns h3.wp-block-heading::before {
    transform: translateY(calc(-100% - calc(40/28 * 1rem))) translateX(-100%);
  }
  .features-item:nth-child(even) .wp-block-columns h3.wp-block-heading::after {
    transform: translateY(calc(-100% - calc(40/28 * 1rem))) translateX(-100%);
  }
}



/**************************************************************
* MENU
**************************************************************/

.menu {
  position: relative;
  padding-top: calc(120/28 * 1rem);
  padding-bottom: calc(120/28 * 1rem);
  background-color: var(--wp--preset--color--background-secondary);
  background-image:  linear-gradient(
    var(--wp--preset--color--background) 1px, transparent 1px), linear-gradient(to right, var(--wp--preset--color--background) 1px, transparent 1px
  );
  background-size: var(--grid-like-bg-square-size);
}


.menu-contents {
  position: relative;
  margin-top: calc(80/16 * 1rem);
}

.menu-list {
  display: grid;
  gap: calc(40/16 * 1rem);
  align-items: flex-start;
  position: relative;
  margin-bottom: calc(90/16 * 1rem);
}

.menu-list > li {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: calc(10/16 * 1rem) calc(20/16 * 1rem);
  background-color: var(--wp--preset--color--background);
}

.menu-list > li > span {
  float: right;
}

.menu-contents > p {
  font-size: calc(14/16 * 1rem);
}

@media all and (min-width: 1024px) {
  .menu {
    padding-top: calc(120/16 * 1rem);
    padding-bottom: calc(120/16 * 1rem);
  }

  .menu-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(40/16 * 1rem) calc(100/16 * 1rem);
  }
}



/**************************************************************
* FLOW
**************************************************************/

.flow {
  position: relative;
  padding-top: calc(120/28 * 1rem);
  padding-bottom: calc(200/28 * 1rem);
}

.flow-list {
  display: grid;
  gap: calc(200/28 * 1rem);
  max-width: calc(1024/16 * 1rem);
  margin-top: calc(80/16 * 1rem);
  margin-left: auto;
  margin-right: auto;
  counter-reset: flow-item-counter;
}

.flow-item {
  display: grid;
  gap: calc(40/28 * 1rem);
  align-items: center;
  counter-increment: flow-item-counter;
}
.flow-item::before {
  content: counter(flow-item-counter, decimal-leading-zero);
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(100/28 * 1rem);
  height: calc(100/28 * 1rem);
  margin: auto;
  text-align: center;
  font-family: var(--alphabetic-font);
  font-size: calc(40/28 * 1rem);
  font-weight: 600;
  line-height: 2;
  color: var(--wp--preset--color--primary);
  border-radius: 50%;
  border: 1px solid var(--wp--preset--color--primary);
}

.flow-item .wp-block-heading {
  font-size: calc(18/16 * 1rem);
  margin-bottom: calc(20/16 * 1rem);
}

@media all and (max-width: 1023px) {
  .flow-item {
    padding-left: 10%;
    padding-right: 10%;
  }
  
  .flow-item .wp-block-image {
    max-width: calc(320/28 * 1rem);
    margin: auto;
  }

  .flow-item .wp-block-heading {
    text-align: center;
  }
}

@media all and (min-width: 1024px) {
  .flow {
    padding-top: calc(120/16 * 1rem);
    padding-bottom: calc(200/16 * 1rem);
  }

  .flow .wp-headline {
    text-align: center;
  }

  .flow-list {
    gap: calc(120/16 * 1rem);
  }

  .flow-item {
    grid-template-columns: calc(320/1024 * 100%) 1fr;
    gap: calc(40/16 * 1rem) calc(50/16 * 1rem);
  }
  .flow-item::before {
    width: calc(80/16 * 1rem);
    height: calc(80/16 * 1rem);
    font-size: calc(40/16 * 1rem);
  }
  .flow-item::before {
    grid-column: 1 / -1;
  }
}



/**************************************************************
* VOICE
**************************************************************/

.voice {
  position: relative;
  padding-bottom: calc(160/28 * 1rem);
  background-color: var(--wp--preset--color--background-secondary);
  background-image:  linear-gradient(var(--wp--preset--color--background) 1px, transparent 1px), linear-gradient(to right, var(--wp--preset--color--background) 1px, transparent 1px);
  background-size: var(--grid-like-bg-square-size);
}

.voice-upper-visual {
  margin-bottom: calc(200/28 * 1rem);
}

.voice-upper-visual__cover {
  height: 50vh;
  height: 50svh;
}

.voice-upper-visual__cover .wp-block-cover__background.has-custom-primary-opacity-mode-background-color {
  background-color: var(--wp--preset--color--custom-primary-opacity-mode);
}

.voices-list {
  position: relative;
  display: grid;
  gap: calc(100/28 * 1rem);
}

.voice-item {
  position: relative;
  padding: 10% 8%;
  border-radius: 30px 30px 30px 0;
  background-color: var(--wp--preset--color--background);
}
.voice-item::before {
  content: "“";
  position: absolute;
  top: 0.1rem;
  left: 0;
  font-size: calc(240/28 * 1rem);
  line-height: 0.5;
  color: var(--wp--preset--color--primary);
}
.voice-item::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: 30px 30px 30px 0;
  border: 1px solid var(--wp--preset--color--primary);
}

.voice-item__comment {
  margin-bottom: calc(40/28 * 1rem);
}

.voice-item__metatag {
  display: inline-block;
  padding: 0.2rem 1rem;
  background-color: var(--wp--preset--color--background-secondary);
}

@media all and (max-width: 1023px) {
  .voices-list {
    margin-top: calc(80/16 * 1rem);
  }
}

@media all and (min-width: 1024px) {
  .voice {
    padding-bottom: calc(160/16 * 1rem);
  }

  .voice-upper-visual {
    margin-bottom: calc(320/16 * 1rem);
  }

  .voice-upper-visual__cover {
    height: 100vh;
    height: 100svh;
  }

  .voices-list {
    gap: calc(100/16 * 1rem);
  }

  .voice-item {
    padding: calc(60/16 * 1rem) calc(120/16 * 1rem);
  }
  .voice-item::before {
    top: -0.5rem;
    font-size: calc(240/16 * 1rem);
    transform: translateX(50%);
  }
}



/**************************************************************
* INSTAGRAM
**************************************************************/

.instagram {
  padding-top: calc(160/28 * 1rem);
  padding-bottom: calc(160/28 * 1rem);
}

.instagram-heading {
  font-family: var(--alphabetic-font);
  font-size: calc(48/28 * 1rem);
  letter-spacing: 0.1em;
  margin-bottom: calc(60/28 * 1rem);
}

@media all and (max-width: 1023px) {
  .instagram-heading {
    text-align: center;
  }
}

@media all and (min-width: 1024px) {
  .instagram {
    padding-top: calc(200/16 * 1rem);
    padding-bottom: calc(200/16 * 1rem);
  }

  .instagram-heading {
    font-size: calc(48/16 * 1rem);
    margin-bottom: calc(60/16 * 1rem);
  }
}



/**************************************************************
* FAQ
**************************************************************/

.faq {
  position: relative;
}


.faq .wp-block-cover__background.has-background-dim {
  background-color: rgba(255, 255, 255, 0.4);
}


.faq-contents {
  max-width: calc(990/16 * 1rem);
  margin-left: auto;
  margin-right: auto;
  padding-top: calc(160/28 * 1rem);
  padding-bottom: calc(160/28 * 1rem);
}

@media all and (min-width: 1024px) {
  .faq .wp-headline {
    text-align: center;
  }
}

.faq-list {
  position: relative;
  display: grid;
  gap: calc(30/16 * 1rem);
  margin-top: calc(80/16 * 1rem);
}

.faq-item {
  position: relative;
}

.faq-item__question {
  position: relative;
  display: flex;
  padding: calc(30/28 * 1rem) calc(50/28 * 1rem);
  background-color: var(--wp--preset--color--background-secondary);
}
.faq-item__question::before {
  content: "Q";
  display: block;
  min-width: 1.5rem;
  max-width: 1.5rem;
  margin-right: calc(25/28 * 1rem);
  font-family: var(--alphabetic-font);
  font-size: calc(20/16 * 1rem);
  line-height: 1.15;
}

.faq-item__answer {
  position: relative;
  display: flex;
  padding: calc(30/28 * 1rem) calc(50/28 * 1rem) calc(40/28 * 1rem);
  background-color: var(--wp--preset--color--background);
}
.faq-item__answer::before {
  content: "A";
  display: block;
  min-width: 1.5rem;
  max-width: 1.5rem;
  margin-right: calc(25/28 * 1rem);
  font-family: var(--alphabetic-font);
  font-family: var();
  font-size: calc(20/16 * 1rem);
  line-height: 1.15;
}

@media all and (min-width: 1024px) {
  .faq-contents {
    padding-top: calc(160/16 * 1rem);
    padding-bottom: calc(160/16 * 1rem);
  }

  .faq-item__question {
    padding: calc(30/16 * 1rem) calc(50/16 * 1rem);
  }

  .faq-item__answer {
    padding: calc(30/16 * 1rem) calc(50/16 * 1rem) calc(40/16 * 1rem);
  }

  .faq-item__question::before,
  .faq-item__answer::before {
    margin-right: calc(50/16 * 1rem);
  }
}



/**************************************************************
* GREETINGS
**************************************************************/

.greetings {
  position: relative;
  padding-top: calc(160/28 * 1rem);
  padding-bottom: calc(160/28 * 1rem);
  background: var(--wp--preset--color--background-secondary);
}

.greetings-contents {
  display: grid;
  gap: calc(50/28 * 1rem);
  margin-top: calc(80/16 * 1rem);
}

.greetings-txt-block {
  position: relative;
  padding: 10% 8%;
  border-radius: 40px 40px 40px 0;
  background-color: var(--wp--preset--color--background);
}

.greetings-txt-block p {
  line-height: 2;
}

.greetings-txt-block p + p {
  margin-top: calc(30/16 * 1rem);
}

@media all and (max-width: 1023px) {
  .greetings-contents .wp-block-cover {
    height: 40vh;
    margin-left: 15%;
    margin-right: 15%;
  }
}

@media all and (min-width: 1024px) {
  .greetings {
    padding-top: calc(160/16 * 1rem);
    padding-bottom: calc(160/16 * 1rem);
  }

  .greetings-contents {
    grid-template-columns: calc(470/1280 * 100%) 1fr;
    padding-left: calc(150/1280 * 100%);
    gap: calc(100/16 * 1rem);
  }

  .greetings-txt-block {
    padding: calc(80/16 * 1rem) calc(60/16 * 1rem);
  }
}



/**************************************************************
* INFORMATION
**************************************************************/

.shop-info {
  position: relative;
  padding-top: calc(160/28 * 1rem);
  padding-bottom: calc(100/28 * 1rem);
}

.shop-info-contents {
  max-width: calc(1024/16 * 1rem);
  margin-top: calc(80/16 * 1rem);
  margin-left: auto;
  margin-right: auto;
}

.shop-info .location-map .wp-block-columns {
  gap: calc(60/28 * 1rem);
}

.shop-info .location-map .wp-block-column {
  position: relative;
}

@media all and (max-width: 1023px) {
  .shop-info .location-map .wp-block-column {
    min-height: 30vh;
  }
}

@media all and (min-width: 1024px) {
  .shop-info {
    padding-top: calc(160/16 * 1rem);
    padding-bottom: calc(200/16 * 1rem);
  }

  .shop-info .wp-headline {
    text-align: center;
  }

  .shop-info .location-map .wp-block-columns {
    gap: calc(60/16 * 1rem);
  }
}



/**************************************************************
* CONTACT
**************************************************************/

.contact {
  position: relative;
  padding-top: calc(120/28 * 1rem);
  padding-bottom: calc(160/28 * 1rem);
}

.contact .wp-block-buttons {
  gap: calc(40/16 * 1rem);
  margin-bottom: calc(80/28 * 1rem);
}

.contact .form-submit-area .wp-block-buttons {
  margin-bottom: inherit;
}

.contact .wp-block-button[class*="--line"],
.contact .wp-block-button[class*="--tel"] {
  width: 100%;
  height: 90px;
}
.contact .wp-block-button[class*="--line"]::after,
.contact .wp-block-button[class*="--tel"]::after {
  display: none;
}

.contact .wp-block-button::before,
.contact .wp-block-button .wp-block-button__link {
  border-radius: 50px;
}

.contact .wp-block-button[class*="--line"] .wp-block-button__link,
.contact .wp-block-button[class*="--tel"] .wp-block-button__link {
  font-family: var(--kana-font);
  font-weight: bold;
}

.contact .wp-block-button[class*="--line"]::before {
  background-color: #06c755;
}
.contact .wp-block-button[class*="--line"] .wp-block-button__link {
  color: var(--wp--preset--color--foreground-inverted);
}

.contact .wp-block-button[class*="--tel"] .wp-block-button__link {
  flex-direction: column;
  font-size: calc(14/16 * 1rem);
}
.contact .wp-block-button[class*="--tel"] .wp-block-button__link > strong {
  margin-top: 0.5rem;
  font-size: calc(32/16 * 1rem);
}

.contact .wp-block-button[class*="--line"] .wp-block-button__link,
.contact .wp-block-button[class*="--tel"] .wp-block-button__link {
  position: relative;
  padding-left: calc(90/16 * 1rem);
}
.contact .wp-block-button[class*="--line"] .wp-block-button__link::before,
.contact .wp-block-button[class*="--tel"] .wp-block-button__link::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(40/16 * 1rem);
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: auto;
  margin-bottom: auto;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}
.contact .wp-block-button[class*="--line"] .wp-block-button__link::before {
  background-image: url(./assets/imagery/line_icn.svg);
}
.contact .wp-block-button[class*="--tel"] .wp-block-button__link::before {
  width: 2rem;
  height: 2rem;
  background-image: url(./assets/imagery/contact_tel_icn.svg);
}

.contact-onward {
  margin-bottom: calc(40/16 * 1rem);
  font-size: calc(14/16 * 1rem);
  line-height: 2.28;
}

.contact-contents {
  max-width: calc(800/16 * 1rem);
  margin-top: calc(80/16 * 1rem);
  margin-left: auto;
  margin-right: auto;
}

@media all and (max-width: 1023px) {
  .contact .wp-block-button[class*="--line"] .wp-block-button__link,
  .contact .wp-block-button[class*="--tel"] .wp-block-button__link {
    padding-top: 0.25rem;
  }
}

@media all and (min-width: 1024px) {
  .contact {
    padding-top: calc(120/16 * 1rem);
    padding-bottom: calc(160/16 * 1rem);
  }

  .contact .wp-headline {
    text-align: center;
  }

  .contact .wp-block-buttons {
    gap: calc(40/16 * 1rem);
  }

  .contact-onward {
    text-align: center;
  }

  .contact .wp-block-button[class*="--line"],
  .contact .wp-block-button[class*="--tel"] {
    width: calc(50% - (40/16/2 * 1rem));
  }
}


/**************************************************************
* ステート周り
**************************************************************/

.is-hidden {
  display: none !important;
}

.is-fadeout {
  opacity: 0 !important;
}

.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
}

.is-disable-select {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* javascript */
.js-smooth-reveal {
  clip-path: inset(0% 120% 0% 0%);
  opacity: 0;
}


@media all and (min-width: 1024px) {}


/**************************************************************
* ユーティリティ
**************************************************************/

/* u-hide-**
************************************************/
.u-hide-sp,
.u-hide-pc {
  display: none !important;
}

@media screen and (max-width: 1023px) {
  .u-hide-pc {
    display: block !important;
  }
}

@media screen and (min-width: 1024px) {
  .u-hide-sp {
    display: block !important;
  }
}

/* u-flexible-center
************************************************/
.u-flexible-center {
  display: grid;
  justify-content: center;
  text-align: center;
}

/* u-bullet-list
************************************************/
ul.u-bullet-list li {
  list-style-type: disc;
  list-style-position: inside;
  text-indent: -1.2em;
  padding-left: 1.2em;
}