/*!
Theme Name: Vita Fit
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: vitafit
Tags: custom, block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, full-site-editing, one-column, template-editing, wide-blocks
*/

/* Theme Custom CSS start */

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

body {
  --alphabetic-font: var(--wp--preset--font-family--alphabetic-font);
  --kana-font: var(--wp--preset--font-family--kana-font);
  --base-font-family: var(--kana-font);
}


html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  font-family: var(--base-font-family);
  letter-spacing: 0.1em;
}


@media (min-width: 1024px) {
  body {
    --wp--custom--ratio-break-point: 1920;
  }
}

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

/* //FIXME (set a color for hover in settings?) */
a:where(:not(.wp-element-button):not([class])):hover {
  color: currentColor 
}


/**************************************************************
* WP styles
(//MEMO was previously generated into "wp-block-library"
But now cherry picked and define into this stylesheet)
**************************************************************/

.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
**************************************************************/

@media all and (max-width: 1023px) {
  .is-layout-constrained {
    padding-left: 5%;
    padding-right: 5%;
  }
}

@media all and (min-width: 1024px) and (max-width: 1260px) {
  .is-layout-constrained {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}



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


/* c-headline
********************************/
.c-headline {
  position: relative;
  margin-bottom: calc(160/var(--wp--custom--ratio-break-point) * 100vw);
}


.c-headline__alphabetic {
  position: relative;
  display: inline-block;
  margin-bottom: 0.25rem;
  font-family: var(--alphabetic-font);
  font-size: clamp(1.875rem, 1.875rem + ((1vw - 0.48rem) * 1.683), 3.75rem);
  font-weight: bold;
  line-height: 1.2;
}

.c-headline__kana {
  display: table;
  font-weight: bold;
  line-height: 1;
}

.c-headline[class*="--widescreen-centered"] {
  text-align: center;
}
.c-headline[class*="--widescreen-centered"] .c-headline__kana {
  margin-left: auto;
  margin-right: auto;
}

@media all and (max-width: 1023px) {
  .c-headline {
    text-align: center;
    padding-left: 5.333%;
    padding-right: 5.333%;
  }

  .c-headline__alphabetic {
    word-break: break-all;
  }

  .c-headline__kana {
    margin: auto;
  }
}

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

/* wp-block-button
************************************************/
.wp-block-button:not(.has-custom-width) {
  width: 100%;
  height: 50px;
}

.wp-block-button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.wp-block-button__link {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  /* font-family: var(--alphabetic-font) var(--kana-font); issue on japanese browser... */
  font-family: "Poppins", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic"; /* //FIXME add a variable from admin?? */
  letter-spacing: 0.05em;
}

@media (min-width: 1024px) {
  .wp-block-button:not(.has-custom-width) {
    max-width: 400px;
    min-width: 400px;
  }
}


/* rail-horizontal-txt
************************************************/
.rail-horizontal-txt {
  position: relative;
  overflow: hidden;
  margin-top: -1rem;
}

.rail-horizontal-txt__body {
  overflow: hidden;
  display: flex;
  flex-wrap: nowrap;
  align-items: end;
  gap: 1.5rem;
  width: 100%;
}

.rail-horizontal-txt__body > p {
  display: block;
  flex: 0 0 auto;
  line-height: 1;
  word-break: break-all;
}



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

/* gheader
************************************************/
.gheader {
  position: relative;
  background-color: var(--wp--preset--color--primary);
}

.gheader__body .wp-block-columns {
  justify-content: space-between;
  align-items: center !important;
  margin-bottom: inherit;
  padding-top: 35px;
  padding-bottom: 35px;
}

.gheader .wp-block-site-logo {
  position: relative;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.gheader .wp-block-site-logo > a {
  display: block;
}
.gheader .wp-block-site-logo > a img {
  display: block;
  margin: auto;
}

.gheader__nav-block {
  display: grid;
  padding-right: 3.125%;
}

@media all and (max-width: 1023px) {
  .gheader .wp-block-site-logo {
    width: 135px;
    padding-left: 5%;
  }
}

/* gnav
************************************************/
.gnav {
  position: relative;
}

@media (max-width: 1023px) {
  .gnav {
    display: none;
  }
}

/* gfooter
************************************************/
.gfooter {
  position: relative;
  z-index: 0;
  padding-top: 6.25vmax;
  padding-bottom: 1.5625vmax;
}

.gfooter .wp-block-site-logo {
  margin-bottom: 30px;
  filter: invert(1);
}

.gfooter .wp-block-social-links {
  display: flex;
  gap: 24px;
}

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

@media (max-width: 1023px) {
  .gfooter .wp-block-columns {
    gap: 2rem;
  }
}



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

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

@media (max-width: 1023px) {

}

/* nav-contact-btn
********************************/
.nav-contact-btn {
  width: 100%;
  height: 50px;
}

@media all and (max-width: 1023px) {
  .nav-contact-btn {
    margin-top: 2rem;
    padding-left: 5%;
    padding-right: 5%;
    opacity: 0;
    transition: opacity 0.3s ease;
    transition-delay: 1s;
  }
}

@media all and (min-width: 1024px) {
  .nav-contact-btn {
    max-width: 190px;
  }
}

/* nav-*
********************************/
.nav-links > li {
  letter-spacing: 0.05em;
}

.nav-links > li,
.nav-links > li a {
  color: var(--wp--preset--color--foreground-inverted);
  text-decoration: none;
}

@media all and (max-width: 1023px) {  
  .nav-links {
    display: grid;
    grid-template-columns: 80%;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 60%;
    margin-top: 100px;
    text-align: center;
  }
}

@media all and (min-width: 1024px) {
  .nav-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 30px;
  }
}

/* hover */
@media (hover: hover) {
  html[style*="scroll-behavior"] .nav-links > li,
  html[style*="scroll-behavior"] .nav-links > li a {
    transition: color 0.3s ease-out;
  }

  .nav-links > li :hover {
    color: var(--wp--preset--color--foreground);
  }
}

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

/* footer-contact-info */
.footer-contact-info {
  margin-bottom: 30px;
}
.footer-contact-info > li {
  line-height: 2.2;
}
.footer-contact-info > li a {
  text-decoration: none;
}

/* footer-nav */
.footer-nav {
  display: grid;
  gap: 1rem;
}

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

@media (min-width: 1024px) {
  .footer-nav {
    grid-template-columns: repeat(3, 20%);
    gap: 25px 60px;
    justify-content: flex-end;
  }
}

/* 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);
  }
}

/* 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.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);
}

/* copyright */
.copyright {
  margin-top: 10vw;
  font-size: 10px;
  font-family: var(--alphabetic-font);
  font-weight: normal;
  text-align: center;
}

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



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

.hero {
  position: relative;
  height: 100vh;
  background: linear-gradient(to bottom, var(--wp--preset--color--primary) 40%, var(--wp--preset--color--background) 40%);
}

.hero__slider,
.editor-styles-wrapper .hero__slider {
  position: absolute;
  top: 0;
  right: 0;
  width: 1350px;
  height: 860px;
}

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

.hero-copy,
.hero-lead {
  position: relative;
  z-index: 99;
}

.hero-copy {
  padding-top: 180px;
  font-size: clamp(1.75rem, 1.75rem + ((1vw - 0.48rem) * 1.683), 3.125rem);
}
.hero-copy > strong {
  background-color: var(--wp--preset--color--background);
  padding-left: 2.5%;
}

.hero-lead {
  max-width: 500px;
  margin-top: calc(60/var(--wp--custom--ratio-break-point) * 100vw);;
  padding-left: 2.5%;
  font-size: var(--wp--preset--font-size--medium);
  letter-spacing: 0;
  line-height: 2.25;
  background-color: var(--wp--preset--color--background);
}

.hero .rail-horizontal-txt {
  position: absolute;
  bottom: 0;
  z-index: 99;
}

.hero .rail-horizontal-txt__body > p {
  font-family: var(--alphabetic-font);
  font-size: clamp(2.5rem, 2.5rem + ((1vw - 0.48rem) * 1.683), 7.5rem);
  font-weight: bold;
  color: var(--wp--preset--color--primary);
}

@media all and (max-width: 1023px) {
  .hero__body {
    position: absolute;
    bottom: 18vh;
  }

  .hero-copy {
    margin-top: 100px;
  }

  .hero-lead {
    padding: 5%;
    font-size: 0.85rem;
    line-height: 1.8;
  }
  .hero-lead > br {
    display: none;
  }

  .hero__slider {
    position: absolute;
    top: 0;
    right: 0;
  }
}

@media all and (max-width: 767px) {
  .hero {
    height: 90vh;
  }

  .hero__slider {
    width: 330px;
    height: 420px;  
  }
}

@media all and (min-width: 767px) and (max-width: 1023px) {
  .hero {
    height: 70vh;
  }

  .hero__slider {
    width: 660px;
    height: 700px;  
  }
}


/**************************************************************
* FREESPACE
**************************************************************/

.freespace {
  padding-top: calc(120/var(--wp--custom--ratio-break-point) * 100vmax);
}

.freespace-heading {
  margin-bottom: calc(60/1920 * 100vw);
  text-align: center;
  font-size: clamp(1.75rem, 1.75rem + ((1vw - 0.48rem) * 1.683), 3.125rem);
}

.freespace-banner {
  margin-bottom: calc(20/1920 * 100vw);
  text-align: center;
}

.freespace-annotations {
  display: grid;
  justify-content: center;
}

@media all and (max-width: 1023px) {
  .freespace-heading {
    font-size: clamp(1.25rem, 1.25rem + ((1vw - 0.48rem) * 1.4), 2.5rem);
  }
}

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

.concept {
  position: relative;
  padding-top: 12.5vmax;
  padding-bottom: 13vw;
}

/* concept-list
************************************************/
.concept-list {
  position: relative;
  display: grid;
  gap: 14vw;
  counter-reset: concept-item-counter;
}

.concept-list > .concept-item {
  counter-increment: concept-item-counter;
}

@media all and (min-width: 1024px) {
  .concept-list > .concept-item:nth-child(even) {
    flex-flow: row-reverse;
  }
}

/* concept-item
************************************************/
.concept-item {
  position: relative;
}

.concept-item__body {
  position: relative;
}

.concept-item__body > .wp-block-group {
  position: relative;
  padding: 8%;
}
.concept-item__body > .wp-block-group::before {
  content: counter(concept-item-counter, decimal-leading-zero);
  display: grid;
  margin-bottom: 0.5rem;
  text-align: center;
  font-family: var(--alphabetic-font);
  font-size: clamp(1.75rem, 1.75rem + ((1vw - 0.48rem) * 1.683), 3.125rem);
  color: var(--wp--preset--color--primary);
  line-height: 1;
}

.concept-item__body .wp-block-heading {
  margin-bottom: calc(50/var(--wp--custom--ratio-break-point) * 100vw);;
  text-align: center;
}

.concept-item__body p {
  line-height: 2;
}

.concept-item__fig {
  position: relative;
}

@media all and (max-width: 1023px) {
  .concept-item {
    flex-direction: column-reverse;
  }

  .concept-item .wp-block-heading.has-x-large-font-size {
    font-size: clamp(1.25rem, 1.25rem + ((1vw - 0.48rem) * 1.4), 2.5rem) !important;
  }
}

@media all and (min-width: 1024px) {
  .concept-item > div:nth-child(1) {
    top: 7.765vw;
  }
  .concept-list > .concept-item:nth-child(odd) > div:nth-child(1) {
    left: 50px;
  }
  .concept-list > .concept-item:nth-child(even) > div:nth-child(1) {
    right: 50px;
  }
  
  .concept-list > .concept-item:nth-child(odd) > div:nth-child(2) {
    right: 10%;
  }
  .concept-list > .concept-item:nth-child(even) > div:nth-child(2) {
    left: 10%;
  }

  .concept-item__body {
    z-index: 10;
  }

  .concept-item__body > .wp-block-group {
    padding: 8% 16%;
  }
}



/**************************************************************
* EQUIPEMENT
**************************************************************/

.equipement {
  padding-top: 7.8125vmax;
  padding-bottom: 13vmax;
  background-color: var(--wp--preset--color--background-secondary);
}



/**************************************************************
* PLAN
**************************************************************/

.plan {
  position: relative;
}

.plan .c-headline {
  color: var(--wp--preset--color--foreground-inverted);
}
.plan .c-headline::before,
.plan .c-headline::after {
  background-color: var(--wp--preset--color--foreground-inverted);
}

.plan-aside {
  position: relative;
}

.plan-aside .wp-block-cover {
  min-height: calc(150/666 * 100vmax);
}

.plan__inner-wrapper {
  position: relative;
  padding-top: 8.333vmax;
  background: linear-gradient(to bottom, var(--wp--preset--color--primary) 55%, var(--wp--preset--color--background) 55%);
}


@media (min-width: 1024px) {
  .plan-aside .wp-block-cover {
    min-height: 650px;
  }
}

/* plan-list
************************************************/
.plan-list {
  gap: 2vmax;
}

@media (min-width: 1024px) {
  .plan-list {
    gap: 1vmax;
  }
}

/* plan-item
************************************************/
.plan-item {
  padding-top: calc(120/var(--wp--custom--ratio-break-point) * 100vw);
  padding-bottom: calc(120/var(--wp--custom--ratio-break-point) * 100vw);
  padding-left: calc(60/var(--wp--custom--ratio-break-point) * 100vw);
  padding-right: calc(60/var(--wp--custom--ratio-break-point) * 100vw);
  border-radius: 6px;
}

.plan-item :where(h3, h4, h5, h6) {
  position: relative;
  margin-bottom: calc(60/var(--wp--custom--ratio-break-point) * 100vw);
  text-align: center;
  font-size: var(--wp--preset--font-size--large);
}

.plan-item__price {
  margin-bottom: calc(60/var(--wp--custom--ratio-break-point) * 100vw);
  text-align: center;
  font-size: var(--wp--preset--font-size--large);
  line-height: 1;
}
.plan-item__price > strong {
  font-size: var(--wp--preset--font-size--x-large);
  font-family: var(--alphabetic-font);
}


.plan-item__check-list {
  display: grid;
  justify-content: center;
}

.plan-item__check-list > li {
  position: relative;
  line-height: 3;
}



/**************************************************************
* PROGRAM
**************************************************************/

.program {
  padding-top: 12.5vmax;
}

/* .program-list
************************************************/
.program-list {
  gap: calc(30/var(--wp--custom--ratio-break-point) * 100vw);
}

/* .program-item
************************************************/
.program-item {
  background: var(--wp--preset--color--foreground);
  color: var(--wp--preset--color--foreground-inverted);
}

.program-item > :where(h3, h4, h5, h6),
.program-item > p {
  padding-left: 30px;
  padding-right: 30px;
}

.program-item > :where(h3, h4, h5, h6) {
  margin-bottom: calc(30/var(--wp--custom--ratio-break-point) * 100vw);
  padding-top: calc(50/var(--wp--custom--ratio-break-point) * 100vw);
  text-align: center;
}

.program-item > p {
  padding-bottom: calc(60/var(--wp--custom--ratio-break-point) * 100vw);
}

.program-item > figure {
  overflow: hidden;
  height: calc(720/var(--wp--custom--ratio-break-point) * 50.25vw);
}

.program-item > figure img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}



/**************************************************************
* STAFF
**************************************************************/

.staff {
  padding-top: 12.5vmax;
}

/* .staff-item
************************************************/
.staff-item {
  background: var(--wp--preset--color--foreground);
  color: var(--wp--preset--color--foreground-inverted);
}

.staff-item__fig {
  position: relative;
  overflow: hidden;
  height: calc(754/var(--wp--custom--ratio-break-point) * 50.25vw);
}
.staff-item__fig img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.staff-item__body {
  padding: 1rem;
}

@media all and (min-width: 1024px) {
  .staff-item__body {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* hover */
@media (hover: hover) {
  .staff-item .wp-block-button:hover,
  .staff-item .wp-block-button .wp-block-button__link:hover {
    color: var(--wp--preset--color--foreground)
  }
  .staff-item .wp-block-button .wp-block-button__link:hover::before,
  .staff-item .wp-block-button .wp-block-button__link:hover::after {
    background-color: var(--wp--preset--color--background);
  }
}



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

.news {
  padding-top: 12.5vmax;
  padding-bottom: 6.25vmax;
}

.news .wp-block-columns {
  justify-content: space-between;
  gap: calc(100/1920 * 100vw);
}

/* news-*
************************************************/
.news-list {
  position: relative;
}

.news-item {
  display: grid;
  gap: 5%;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.news-list li .news-item {
  border-top: 1px solid var(--wp--preset--color--primary);
}
.news-list li:last-child .news-item {
  border-bottom: 1px solid var(--wp--preset--color--primary);
}
.news-list li .news-item::before,
.news-list li .news-item::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  display: block;
  background-color: rgba(0, 0, 0, 0.5);
}
.news-list li .news-item::before {
  top: 0;
}
.news-list li .news-item::after {
  bottom: 0;
}

.news-item__title {
  margin-bottom: 1rem;
}

@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: auto;
  }
  
  .news-item {
    grid-template-columns: 15% 1fr;
  }
  .news-item > dd {
    padding-right: 15%;
  }
}



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

.instagram {
  padding-top: 8.8vmax;
  padding-bottom: 6.25vmax;
}

.instagram .c-headline {
  color: var(--wp--preset--color--foreground-inverted);
}

/* instagram-gallery
************************************************/
.instagram-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  margin-bottom: 60px;
}

.instagram-gallery__item {
  display: flex;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.instagram-gallery__item a {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  line-height: 0;
}

.instagram-gallery__thumbnail-image {
  position: absolute;
  width: 100%;
  height: 100%;
}

.instagram-gallery__thumbnail-image > img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

@media all and (min-width: 1024px) {
  .instagram-gallery {
    grid-template-columns: repeat(5, 1fr);
  }

  /* .instagram-gallery__item a {
    display: inline-block;
    width: 100%;
    height: 22vmax;
  } */
}

/* @media all and (max-width: 767px) {
  .instagram-gallery__item a {
    display: inline-block;
    width: 170px;
    height: 170px;
  }
}

@media all and (min-width: 768px) and (max-width: 1023px) {
  .instagram-gallery__item a {
    display: inline-block;
    width: 360px;
    height: 360px;
  }
}

@media all and (min-width: 1536px) {
  .instagram-gallery__item a {
    display: inline-block;
    width: 300px;
    height: 300px;
  }
} */


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

.faq {
  padding-top: 8.333vmax;
}

/* faq-item
************************************************/
.faq-item {
  position: relative;
}

.faq-item__question,
.faq-item__answer {
  width: 100%;
  position: relative;
  padding: 20px 30px;
  padding-left: 80px;
}
.faq-item__question {
  background-color: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--foreground-inverted);
}
.faq-item__answer {
  background-color: var(--wp--preset--color--foreground);
  color: var(--wp--preset--color--foreground-inverted);
}
.faq-item__question::before,
.faq-item__answer::before {
  content: "";
  position: absolute;
  font-family: var(--alphabetic-font);
  font-size: 18px;
  font-weight: normal;
  transform: translateX(-130%);
}
.faq-item__question::before {
  content: "Q ／";
}
.faq-item__answer::before {
  content: "A ／";
}

@media all and (min-width: 1024px) {
  .faq-item {
    display: grid;
    grid-template-columns: subgrid;
    grid-template-rows: auto 1fr;
    height: 100%;
    background-color: var(--wp--preset--color--foreground);
  }
  .faq-item__question {
    align-self: flex-start;
    min-height: var(--faq-item-answer-height);
  }
  .faq-item__answer {
    align-self: stretch;
  }
  
  .faq-item__question,
  .faq-item__answer {
    padding: 50px 60px;
    padding-left: 140px;
  }
  .faq-item__question::before,
  .faq-item__answer::before {
    font-size: 32px;
  }
}



/**************************************************************
* ACCESS
**************************************************************/

.access {
  padding-top: 14.58vmax;
  padding-bottom: 6.25vmax;
}

.access .wp-block-columns {
  gap: calc(100/1920 * 100vw);
}

/* google-map
********************************/
.google-map {
  position: relative;
}

@media all and (max-width: 1023px) {
  .google-map > iframe {
    height: 40vh !important;
  }
}

/* access-contents
********************************/
.access-contents {
  position: relative;
}

.access-contents :is(p, ul):not(:last-child) {
  padding-bottom: calc(30/1920 * 100vw);
}

.access-contents a {
  text-decoration: none !important;
}

.access-contents table {
  width: 100%;
  border-collapse: collapse;
}
.access-contents table td {
  padding-top: calc(30/var(--wp--custom--ratio-break-point) * 100vw);
  padding-bottom: calc(30/var(--wp--custom--ratio-break-point) * 100vw);
  vertical-align: top;
  border-bottom: 1px solid #707070;
}
.access-contents table tr td:first-child {
  min-width: calc(150/1920 * 100vw);
  border-color: var(--wp--preset--color--primary);
}
.access-contents table tr:first-child > td {
  padding-top: inherit;
}
.access-contents table tr:last-child > td {
  padding-bottom: inherit;
  border-bottom: none;
}
.access-contents table tr td:nth-child(2) {
  padding-left: 50px;
}



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

.contact {
  padding-top: 7.8125vmax;
  padding-bottom: 6.25vmax;
  background-color: var(--wp--preset--color--background-secondary);
}

.contact__form-wrapper {
  max-width: 800px;
  margin: auto;
}



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

.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;
}

.js-acc .wp-block-heading::after {
  transform: rotatez(135deg) scale(1);
}
.js-acc.is-unfolded .wp-block-heading::after {
  transform: rotate(-45deg) scale(1);
}

.js-acc > p {
  height: 0;
  visibility: hidden;
  opacity: 0;
}

.js-acc.is-unfolded > p {
  height: 100%;
  visibility: visible;
  opacity: 1;
}

.js-acc.is-unfolded .wp-block-heading + p {
  margin-top: 1.5rem;
}

@media all and (min-width: 1024px) {
  .js-acc > p {
    transition: opacity 0.3s ease-out;
  }
}


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

/* 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;
}


/* Theme Custom CSS end */