/*
Theme Name: MERIT 2026
Theme URI: https://www.merit-inc.co/
Author: wakizashi
Version: 1.0.0
Text Domain: merit
*/

/* ============================================================
   TOPページ・共通（新デザイン index.html の style.css を移植）
   ============================================================ */
* {
  box-sizing: border-box;
}
*::before, *::after {
  box-sizing: border-box;
}

body {
  width: 100%;
  padding: 0;
  margin: 0;
  position: relative;
}

.hide {
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    display: block;
    height: 0px !important;
    padding: 0px !important;
    margin: 0px !important;
}



/* all */
h1, h2, h3, h4, h5, p, dt, dd, li, th, td, address, strong, em, table, dl, ul, ol, img,
article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  padding: 0;
  margin: 0;
  background: transparent;
}

/* font */
h1, h2, h3, h4, h5, p, dt, dd, li, th, td, a, address, strong, em, form, input, textarea, select, submit,
article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  color: inherit;
  line-height: inherit;
  font-family: inherit;
  font-size: inherit;
}

/* リセット */
a {
  border: none;
  color: inherit;
  word-wrap: break-word;
  text-decoration: underline;
  position: relative;
}
a:hover {
  opacity: 1;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

address, em {
  font-style: normal;
}

ul, ol {
  list-style: none none outside;
}

img {
  display: block;
  border: none;
}

html {
  scroll-behavior: smooth;
}


a {
  text-decoration: none;
}

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

svg{
 overflow:visible;
}

:root{
    --desktop-max: 1400px;
}

.js-title,
.js-fadeUp,
.js-fadeLeft,
.js-fadeRight,
.js-fadewrapper,
.js-fadeUp-normal {
  will-change: transform, opacity;
}

html{
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif, "LINE Seed JP", sans-serif , Arial, Helvetica, sans-serif;
}

.line-seed {
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 700;
}

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


/* ハンバーガー */

.hamburger_wrapper {
    position: fixed;
    right: 4vw;
    top: 4vw;
    z-index: 999;
    background: #fff100;
    padding: 1vw;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    opacity: 1;
    visibility: visible;
}

.hamburger_wrapper.is-show {
    opacity: 1;
    visibility: visible;
}

.menu {
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    position: relative;
    z-index: 100;
    display: block;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
}

.menu::before {
    position: absolute;
    content: "MENU";
    letter-spacing: normal;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
    font-family: 'LINE Seed JP';
    font-weight: bold;
    left: calc(-1vw - 1rem - 10px);
}

.menu span {
    display: block;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000000;
    position: absolute;
    transition: all 0.3s ease;
}

.bar {
    top: calc(50% - 10px);
}

.bar2 {
    top: 50%;
}

.bar3 {
    top: calc(50% + 10px);
}


/* ボタンクリック時 */
.menu.is-active .bar {
  transform: translateY(10px) rotate(45deg);
}
.menu.is-active .bar2 {
  opacity: 0;
}
.menu.is-active .bar3 {
  transform: translateY(-10px) rotate(-45deg);
}

/* ナビゲーション（全画面メニュー）は末尾の「全画面メニュー」を参照 */


.content-wrapper {
    padding: 0 0 15rem;
    width: 100%;
    /* margin: 0% auto; */
    position: relative;
}

.content-wrapper.mask-image {
    --height: 17vw;
    mask-image: url(img/mask-image.svg), linear-gradient(to bottom, transparent 0%, transparent var(--height), #000 var(--height), #000 100%);
    mask-size: 100%;
    margin-top: calc(-1 * var(--height));
    mask-position: 0 0px;
    padding: var(--height) 0;
    background-color: #fbe63b;
    background-image: url(img/texture-noise.webp);
}

p{
    line-height: 220%;
}

#body {
    background: #fffde3;
}

#body .pc{
    display: unset!important;
    visibility: visible;
}

#body .mobile{
    display: none!important;
    visibility: hidden;
}

#body #header {
    padding: 5vw 4vw 3vw;
    box-sizing: border-box;
}

#body .site-logo {
    width: 20%;
}

#body .to-top{

}

#body .title-h2{
  
}

#body .title-h2 .svg-text{
  
}

#body .title-h2 img {
    height: 3rem;
    margin: 0 auto;
}

    /* ローディング画面全体 */
    #loading {
      position: fixed;
      inset: 0;
      z-index: 9999;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: #ffffff;
      transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    /* 読み込み完了時に非表示 */
    #loading.is-loaded {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }

    /* スピナー */
.spinner {
    width: 44px;
    height: 44px;
    border: 4px solid #f9deea;
    border-top-color: #e75297;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

#body .fv {
    width: 95%;
    margin: 0 auto;
    background: #F7D6D8;
    overflow: clip;
    border-radius: 30px;
    max-width: var(--desktop-max);
}

#body .fv .content-body {
    position: relative;
}

#body .fv .fv-text {
    display: block;
    margin: 0 auto;
    padding: 5rem 5rem 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 0;
}

#body .fv .fv-image img{
	display: block;
}

#body .fv .fv-image {
    position: relative;
    z-index: 1;
    padding: 10% 0 0;
    display: block!important;
}

#body .fv .fv-image.mobile {
    display: none!important;
}

#body .fv .copy-box {
    position: absolute;
    z-index: 1;
    bottom: 17%;
    right: 6%;
    display: flex;
    flex-direction: column;
    font-size: 3.25rem;
    color: #545454;
    font-weight: bold;
    letter-spacing: 3px;
    line-height: 150%;
    gap: 1rem;
}

/* 直下のspan（各行の枠） */
#body .fv .copy-box > span {
    position: relative;
    width: fit-content;
    display: inline-block;
    padding: 0 1rem;      /* 白帯がはみ出ていた左右1remを親の余白にする */
    overflow: clip;       /* 上下・左右とも枠内で切り抜く（hiddenでもOK） */
}

#body .fv .copy-box .line {
    position: absolute;
    background: #fff;
    width: 100%;          /* 親のpaddingを含めた幅ぴったりにする */
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;              /* -1rem をやめて 0 にする */
    display: inline-block;
    margin: 0;
}

#body .fv .copy-box .text-fadein {
    display: inline-block; /* GSAPのx/y移動を確実に効かせるため */
}

#body .cloud01 {
    position: absolute;
    width: 20%;
    top: -7vw;
    z-index: 2;
}

#body .cloud02 {
    position: absolute;
    width: 20%;
    top: 3vw;
    right: 7%;
    z-index: 2;
}

#body .about {
    width: 95%;
    margin: 5% auto;
    position: relative;
    padding: 0 0 0 4rem;
    max-width: var(--desktop-max);
}

#body .about .merit-everyone {
    width: 30%;
    display: block;
    padding: 8rem 0 0;
}

#body .about p {
    margin: 2rem 0 0;
    font-size: 1rem;
    padding: 0 0 5rem;
}

#body .about p>span {
    display: block;
    margin: 1rem 0 0;
}

#body .about p>span span {
    font-weight: 500;
    font-size: 125%;
    position: relative;
    width: fit-content;
    display: inline-block;
    margin: .5rem 0 .5rem;
}

#body .about p>span span.line {
    position: absolute;
    background: #fff;
    width: calc(100% + 0.5rem);
    height: 100%;
    z-index: -1;
    left: -0;
    display: inline-block;
    transform: scaleX(0);
    transform-origin: left center;
    margin: 0rem 0;
}

#body .about .mission {
    position: absolute;
    height: 110%;
    width: 10%;
    top: 3%;
    right: 5%;
}

#body .about .mission img {
    object-fit: contain;
    height: 100%;
}

#body .about .to-our-poupose {
    position: relative;
    z-index: 2;
}

#body .about .to-our-poupose .BoysAndGirl {
    position: absolute;
    width: 15%;
    top: 5vw;
}

#body .about .to-our-poupose .members {
    position: absolute;
    right: 10vw;
    top: -19vw;
    width: 33%;
}

#body .content-wrapper.yellow {
    margin: 5% auto 0;
    position: relative;
    background-color: #fbe63b;
}

#body .content-wrapper.yellow::before {
    content: "";
    position: absolute;
    background-image: url(img/our-purpose.webp);
    background-position: bottom;
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#body .our-poupose{
  
}

#body .our-poupose .title-h2{
  
}

#body .our-poupose .section-copy {
    text-align: center;
    display: block;
    font-size: 2.25rem;
    letter-spacing: 1px;
    line-height: 150%;
    font-weight: bold;
    color: #545454;
    margin: 2rem auto;
}

#body .our-poupose .purpose-list {
    display: flex;
    justify-content: space-between;
    width: 85%;
    margin: 6% auto 0;
    max-width: var(--desktop-max);
}

#body .our-poupose .list-item {
    width: 32%;
    background: #fff;
    border-radius: 20px;
    position: relative;
    padding: 1rem;
}

#body .our-poupose .fukidashi {
    position: absolute;
    width: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#body .our-poupose figure {
    background: #cbe2ae;
    border-radius: 20px;
    padding: 1rem 2rem;
}

#body .our-poupose p {
    text-align: center;
    margin: 2.5rem auto 1.5rem;
    font-weight: bold;
    color: #e75297;
    letter-spacing: 2px;
}

#body .our-poupose .flow {
    width: 85%;
    margin: 6% auto 0;
    background: #fff;
    border-radius: 20px;
    padding: 3% 3% calc(3% + 3.75rem);
    position: relative;
    max-width: var(--desktop-max);
}

#body .our-poupose .flow::after {
    content: "";
    background-image: url(img/fukidashi-tail.svg);
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    width: 100%;
    height: 5rem;
    bottom: -5rem;
    left: 0;
}

#body .our-poupose .flow .article-copy {
    text-align: center;
    display: block;
    font-weight: bold;
    color: #e75297;
    letter-spacing: 2px;
    font-size: 1.5rem;
    margin: 0 auto 2%;
}

#body .our-poupose .flow ul {
    display: flex;
    justify-content: space-between;
    position: relative;
}

#body .our-poupose .flow ul::after {
    content: "";
    background-image: url(img/arrow-long.svg);
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    width: 100%;
    height: 3.5rem;
    right: 0%;
    bottom: -3.5rem;
    z-index: 2;
}

#body .our-poupose .flow li {
    background: #f7d6d8;
    padding: 2rem;
    box-sizing: border-box;
    border-radius: 20px;
    text-align: center;
    line-height: 200%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30%;
    font-weight: 500;
    font-size: 1.1rem;
}

#body .our-poupose .flow li::after {
    content: "";
    background-image: url(img/arrow-short.svg);
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    width: 4rem;
    height: 2rem;
    right: -4rem;
    z-index: 2;
}

#body .our-poupose .flow li:last-child::after{
  content: none;
}

#body .our-business .to-our-business {
    display: flex!important;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: 0 auto;
    transform: translate(0px, -50%);
}



#body .our-business .to-our-business .family {
    width: 15%;
}

#body .our-business .to-our-business .boy {
    width: 45%;
    padding: 0 0 0rem;
}

#body .our-business .to-our-business .interview {
    width: 15%;
}

#body .our-business {
    background: #fff;
    padding: 0% 0 1%;
}

#body .our-business .section-copy {
    display: block;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 3rem auto 1rem;
    color: #545454;
}

#body .our-business>p {
    text-align: center;
}

#body .our-business .business-content {
    display: flex;
    align-items: center;
    margin: 10% auto;
}

#body .our-business .business-content figure {
    width: 50%;
    overflow: hidden;
    border-radius: 0 400px 400px 0;
    background: #ddd;
}

#body .our-business .business-content .text-box {
    width: 37%;
    margin: 0 auto;
    text-align: justify;
}

#body .our-business .business-content p {
  
}

#body .our-business .business-content .title-h3 {
    color: #e75297;
    font-size: 2rem;
}

#body .our-business .business-content .title-copy {
    color: #545454;
    font-size: 1.25rem;
    font-weight: bold;
    display: block;
    margin: 1.5rem 0 .25rem;
}

#body .our-business .business-content ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0 0;
}

#body .our-business .business-content .list-item {
    width: 9rem;
}

#body .our-business .lazuda.business-content{
  
}

#body .our-business .merit-links.business-content {
    flex-direction: row-reverse;
}



#body .our-business .post-in.business-content{
  
}

#body .our-business .business-content .lazuda-list{
  
}

#body .our-business .business-content .merit-links-list {
    width: 65%;
}

#body .our-business .business-content .post-in-list {
    margin: 10rem 0 0;
}

#body .our-business .lazuda.business-content figure {
    background: #6dbae8;
}

#body .our-business .merit-links.business-content figure {
    border-radius: 400px 0px 0px 400px;
    background: #b6d34b;
}

#body .our-business .post-in.business-content figure{
  background: #fff100;
}

#body .our-client .message-image{
    position: absolute;
    z-index: 2;
    width: 40%;
    right: 10%;
    bottom: 0%;
}

#body .our-client {
    background: #fff;
    padding: 0 0 30%;
    position: relative;
}

#body .our-client .client-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 85%;
    margin: 5% auto 0;
    gap: 1rem .5rem;
}

#body .our-client .client-list li {
    width: calc((100% - 2rem) / 5);
}

#body .our-client .client-list li img {
    border-radius: 20px;
    box-shadow: 0 0 5px 0px #00000024;
}

#body .content-wrapper.pink {
    background-color: #f9deea;
}

#body .our-message{
  
}

#body .our-message .title-h2{
  
}

#body .our-message .title-h2 .svg-text{
  
}

#body .our-message .content-body {
    display: flex;
    align-items: center;
    width: 90%;
    margin: 5% auto 0;
    max-width: var(--desktop-max);
}

#body .our-message .figure-body {
    width: 50%;
}

#body .our-message .figure-body img {
    margin: 0 auto 1rem;
    width: 42%;
}

#body .caption {
    display: block;
    text-align: center;
    font-size: 1.05rem;
    margin: 3rem auto 0;
    color: #545454;
}

#body .caption span {
    display: block;
    font-size: 1.75rem;
    font-weight: bold;
    color: #545454;
    margin: 0 0 .5rem;
}

#body .our-message .text-body {
    width: 60%;
}

#body .our-message .text-copy {
    font-size: 1.5rem;
    font-weight: bold;
    color: #545454;
    margin: 0 0 2rem;
    display: block;
}

#body .our-message .text-body p{

}

#body .board-member {
    background: #fff;
    padding: 10% 0;
}

#body .board-member .member-list {
    display: flex;
    width: 90%;
    margin: 5% auto 0;
    gap: 1rem;
    max-width: var(--desktop-max);
}


#body .board-member .list-item{

}

#body .board-member .member-photo{

}

.footer {
    background: #fff;
    padding: 0 0 10%;
}

.footer .footer-image{

}

.footer .footer-body {
    display: flex;
    justify-content: space-between;
    padding: 5% 0;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.footer .footer-body .logo {
    width: 20%;
}

.footer .information {
    display: flex;
    line-height: 190%;
    justify-content: space-between;
    width: 50%;
}

.footer .information .address{

}

.footer .information .tel{

}

.footer .information .address span {
    font-weight: 500;
}

.footer .information .tel span {
    font-weight: bold;
    font-size: 1.75rem;
}

.footer .sns-list {
    width: 15%;
}

.footer .sns-list .list-item{

}

.footer .copyright{
    text-align: center;
    display: block;
}






@media(width<=768px){

html{
    font-size: 14px;
}

#body .pc{
    display: none!important;
    visibility: hidden;
    line-height: 0;
}

#body .mobile{
    display: unset!important;
    visibility: visible;
}


#body #header {
    padding: 15vw 4vw 5vw;
    box-sizing: border-box;
}

#body .site-logo {
    width: 45%;
}

.hamburger_wrapper {
    padding: 3vw;
    top: 11vw;
}

.menu {
    width: 1.25rem;
    height: 1.25rem;
}

.menu::before{
    display: none;
}

.bar {
    top: calc(50% - 7px);
}

.bar3 {
    top: calc(50% + 7px);
}

/* スマホ時のバー間隔(7px)に合わせて×印を補正 */
.menu.is-active .bar {
  transform: translateY(7px) rotate(45deg);
}
.menu.is-active .bar3 {
  transform: translateY(-7px) rotate(-45deg);
}

#body .title-h2 img {
    height: 2.25rem;
}

#body .fv {
    width: 100%;
    border-radius: 0px;
}

#body .fv .copy-box {
    writing-mode: vertical-rl;
    font-size: 1.75rem;
    gap: .5rem;
    align-items: flex-start;
    line-height: 100%;
}

#body .fv .copy-box > span {
    padding: 1rem 0rem;
}

#body .fv .copy-box .line {
    width: calc(100% + 1rem);
    left: -0.5rem;
}

#body .fv .copy-box .text-fadein {
    line-height: 160%;
}

#body .fv .fv-image.pc{
    display: none;
}

#body .fv .fv-image.mobile{
    display: block!important;
}

#body .fv .fv-text {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 5rem 0;
}

#body .fv .fv-text img {
    max-width: unset;
    width: 90vw;
}

#body .about {
    width: 100%;
    padding: 0 0 0 0rem;
}

#body .about p {
    font-size: 1rem;
    text-align: center;
    padding: 0 0 7rem;
}

#body .about p>span span {
    display: block;
    margin: 0 auto .5rem;
}

#body .about p>span {
    display: block;
    margin: 2rem 0;
}

#body .about .merit-everyone {
    width: 60%;
    display: block;
    padding: 3rem 0 0;
    margin: 0 auto;
}

#body .cloud01 {
    width: 40%;
    top: -8%;
    left: 10%;
}

#body .cloud02 {
    width: 30%;
    top: unset;
    bottom: 10%;
    right: 8%;
}

#body .about .to-our-poupose .members {
    right: 36%;
    top: -19vw;
    width: 28%;
}

#body .about .to-our-poupose .BoysAndGirl {
    display: none;
    visibility: hidden;
}

#body .about .mission {
    height: 50%;
    width: 12%;
    top: 0%;
    right: 0%;
}

#body .our-poupose .section-copy {
    font-size: 1.75rem;
}

#body .our-poupose .purpose-list {
    flex-direction: column;
    gap: 3rem;
}

#body .our-poupose .list-item {
    width: 100%;
}

#body .our-poupose .purpose-list {
    width: 75%;
}

#body .our-poupose .flow {
    width: 75%;
    padding: 10% 3%;
    margin: 15% auto 0;
}

#body .our-poupose .flow .article-copy {
    font-size: 1.05rem;
    line-height: 200%;
    letter-spacing: normal;
    margin: 0 auto 2%;
}

#body .our-poupose .flow ul {
    flex-direction: column;
}

#body .our-poupose .flow ul {
    flex-direction: column;
    gap: 1rem;
}

#body .our-poupose .flow li {
    width: 80%;
    margin: 0 auto;
}

#body .our-poupose .flow li::after {
    width: 3rem;
    height: 1rem;
    right: calc(50% - 1.5rem);
    bottom: -1rem;
    transform: rotate(90deg);
}

#body .our-poupose .flow ul::after {
    background-image: url(img/arrow-long-mobile.svg);
    width: 18%;
    height: 100%;
    right: 0%;
    bottom: unset;
    z-index: 0;
}

#body .our-poupose .flow::after {
    height: 4rem;
    bottom: -3.75rem;
}

#body .content-wrapper.yellow::before{
    content: none;
}

#body .our-business .to-our-business .family,
#body .our-business .to-our-business .interview{
    display: none;
}

#body .our-business .to-our-business .boy {
    width: 55%;
    margin: 0 auto;
    transform: translate(0px, -40%);
}

#body .content-wrapper.yellow {
    padding: var(--height) 0 calc(var(--height) + 20%);
}

#body .our-business .section-copy {
    font-size: 1.75rem;
    line-height: 150%;
}

#body .our-business .business-content {
    flex-direction: column;
    margin: 10% auto 0;
}

#body .our-business .merit-links.business-content {
    flex-direction: column;
}

#body .our-business .business-content figure {
    width: 100%;
    border-radius: 0;
}

#body .our-business .merit-links.business-content figure {
    border-radius: 0;
}

#body .our-business .business-content figure img{
    object-fit: cover;
    object-position: 0rem -1rem;
    width: 100%;
    height: 18rem;
}

#body .our-business .business-content .text-box {
    width: 75%;
    text-align: center;
    margin: 5rem auto;
}

#body .our-business .business-content .title-h3 {
    margin: 0 auto 3rem;
}

#body .our-business .business-content .title-copy {
    margin: 1.5rem 0 1.25rem;
}

#body .our-business .business-content .merit-links-list {
    width: 100%;
}

#body .our-business .business-content .post-in-list {
    justify-content: center;
    margin: 3rem 0 0;
}


#body .our-client .client-list {
    width: 85%;
    gap: .5rem .5rem;
    position: relative;
}

#body .our-client .client-list li {
    width: calc((100% - 1rem) / 3);
}

#body .our-client .client-list li img {
    border-radius: 10px;
    box-shadow: 0 0 2px 0px #00000024;
}

#body .our-client .message-image{
        position: absolute;
        z-index: 2;
        width: 40%;
        right: 30%;
        bottom: 5%;
}

#body .our-message .content-body {
    flex-direction: column;
}

#body .our-client {
    padding: 0 0 40%;
}

#body .our-message .figure-body img {
    width: 60%;
}

#body .our-message .text-body {
    width: 85%;
}

#body .our-message .text-copy {
    text-align: center;
    line-height: 150%;
    margin: 3rem auto 2rem;
}

#body .caption {
    font-size: 1.25rem;
}


#body .caption {
    font-size: 1.25rem;
    margin: 2rem auto 0;
}


#body .our-business {
    padding: 0% 0 0%;
}

#body .board-member .member-list {
    width: 75%;
    flex-direction: column;
    gap: 4rem;
}








}


@media(1600px<=width){
	html{
		font-size: 18px;
	}
	
#body .our-business .business-content figure {
    width: 50%;
    border-radius: 400px;
}
	
#body .our-business .merit-links.business-content figure {
    border-radius: 400px;
}
	
#body .our-business .business-content .text-box {
    width: 35%;
}
	
#body .our-business .business-content {
    max-width: 2000px;
    justify-content: space-between;
}
	
}



/* ============================================================
   共通追加分
   ============================================================ */

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

#body .site-logo a {
    display: block;
}

/* 固定ボタン（ヘッダー） */
.hamburger_wrapper .menu:focus-visible {
    outline: none;
    outline-offset: 6px;
    border-radius: 50%;
}

html.is-menu-open {
    /*overflow: hidden;*/
}


/* ============================================================
   全画面メニュー
   ============================================================ */

.gnav {
    --gnav-pink: #e75297;
    --gnav-text: #545454;
    --ox: calc(100% - 4vw - 1.5rem);
    --oy: calc(4vw + 1.5rem);
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--gnav-text);
    overflow: hidden;
}

.gnav::backdrop {
    background: transparent;
}

.gnav-inner {
    position: relative;
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    background-color: #f9deea;
    background-image: url(img/texture-noise.webp);
    clip-path: circle(0% at var(--ox) var(--oy));
    transition: clip-path 0.75s cubic-bezier(0.77, 0, 0.18, 1);
}

.gnav.is-open .gnav-inner {
    clip-path: circle(200% at var(--ox) var(--oy));
}

/* 背景の水玉アクセント */
.gnav-inner::before,
.gnav-inner::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.gnav-inner::before {
    width: 38vw;
    aspect-ratio: 1;
    left: -12vw;
    bottom: -14vw;
    background: #fbe63b;
    opacity: .55;
}

.gnav-inner::after {
    width: 14vw;
    aspect-ratio: 1;
    right: 22vw;
    top: 9vw;
    background: #fff;
    opacity: .55;
}

.gnav-head {
    position: relative;
    z-index: 1;
    padding: 5vw 4vw 0vw;
}

.gnav-logo {
    display: block;
    width: 20%;
}

.gnav .hamburger_wrapper.is-close {
    opacity: 1;
    visibility: visible;
}

.gnav-body {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: start;
    width: 90%;
    max-width: var(--desktop-max);
    margin: 0 auto;
    padding: 2rem 0 0rem;
}

/* メニュー一覧 */
.gnav-list,
.gnav-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gnav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3rem;
    counter-reset: gnav;
}

.gnav-list > li {
    counter-increment: gnav;
    border-bottom: 2px dashed rgba(231, 82, 151, .35);
}

.gnav-list > li.menu-item-has-children {
    grid-column: 1 / -1;
}

.gnav-list > li > a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 0;
    font-family: "LINE Seed JP", sans-serif;
    font-weight: 700;
    font-size: clamp(1.15rem, 1.6vw, 1.6rem);
    letter-spacing: .05em;
    line-height: 1.4;
    color: var(--gnav-text);
    transition: color .25s;
}

.gnav-list > li > a::before {
    content: counter(gnav, decimal-leading-zero);
    font-size: .7rem;
    letter-spacing: .1em;
    color: var(--gnav-pink);
    min-width: 1.5rem;
}

.gnav-list > li > a::after {
    content: "";
    margin-left: auto;
    flex: 0 0 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: #fff100 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='%23545454' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1rem no-repeat;
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background-color .25s;
}

.gnav-list > li > a:hover,
.gnav-list > li.current-menu-item > a {
    color: var(--gnav-pink);
}

.gnav-list > li > a:hover::after {
    transform: translateX(.35rem);
}

.gnav-list .sub-menu {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    padding: 0 0 1.4rem 2.5rem;
}

.gnav-list .sub-menu a {
    display: inline-block;
    padding: .55rem 1.1rem;
    border-radius: 999px;
    background: #fff;
    font-size: .92rem;
    font-weight: 700;
    transition: background-color .25s, color .25s;
}

.gnav-list .sub-menu a:hover {
    background: var(--gnav-pink);
    color: #fff;
}

/* サイド（お問い合わせ・SNS） */
.gnav-side {
    position: sticky;
    top: 2rem;
    background: #fff;
    border-radius: 30px;
    padding: 2.5rem 2.25rem;
    display: grid;
    gap: 1.5rem;
}

.gnav-copy {
    font-size: 1.5rem;
    line-height: 1.6;
    letter-spacing: .05em;
}

.gnav-cta {
    display: grid;
    gap: .2rem;
    padding: 1.25rem 1.5rem;
    border-radius: 20px;
    background: #fff100;
    box-shadow: 0 6px 0 #545454;
    transition: transform .2s, box-shadow .2s;
}

.gnav-cta:hover {
    transform: translateY(4px);
    box-shadow: 0 2px 0 #545454;
}

.gnav-cta-en {
    font-size: .8rem;
    letter-spacing: .2em;
    color: var(--gnav-pink);
}

.gnav-cta-ja {
    font-size: 1.15rem;
}

.gnav-tel {
    font-size: 1.6rem;
    letter-spacing: .05em;
}

.gnav-tel span {
    font-size: .8rem;
    margin-right: .6rem;
    color: var(--gnav-pink);
    letter-spacing: .15em;
}

.gnav-sns-label {
    display: block;
    font-size: .8rem;
    letter-spacing: .2em;
    color: var(--gnav-pink);
    margin-bottom: .75rem;
}

/* 開くときに中身を順番に表示 */
.gnav-list > li,
.gnav-side > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .5s ease, transform .6s cubic-bezier(.22, 1, .36, 1);
    transition-delay: 0s;
}

.gnav.is-open .gnav-list > li,
.gnav.is-open .gnav-side > * {
    opacity: 1;
    transform: none;
    transition-delay: calc(.35s + var(--i, 0) * .05s);
}


/* SNSアイコン（メニュー・フッター共通） */
.sns-list {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    list-style: none;
}

.sns-list a {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: #f9deea;
    color: #e75297;
    transition: background-color .25s, color .25s, transform .25s;
}

.gnav .sns-list a {
    background: #e75297;
    color: #fff;
}

.sns-list a:hover {
    background: #e75297;
    color: #fff;
    transform: translateY(-3px);
}

.sns-list svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
}


/* フッター追加分 */
.footer .sns-list {
    width: auto;
    justify-content: flex-end;
    align-content: flex-start;
}

.footer .tel a {
    text-decoration: none;
}

.footer-nav {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto 2rem;
}

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem 1.75rem;
    font-size: .875rem;
}

.footer-nav a:hover {
    color: #e75297;
}


@media (prefers-reduced-motion: reduce) {
    .gnav-inner {
        clip-path: none;
        opacity: 0;
        transition: opacity .2s;
    }
    .gnav.is-open .gnav-inner {
        clip-path: none;
        opacity: 1;
    }
    .gnav-list > li,
    .gnav-side > * {
        transform: none;
        transition: none;
    }
}


@media (width <= 768px) {

.gnav-head {
    padding: 15vw 4vw 5vw;
}

.gnav-logo {
    width: 45%;
}

.gnav-body {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    width: 88%;
    padding: 0 0 4rem;
}

.gnav-list {
    grid-template-columns: 1fr;
}

.gnav-list > li > a {
    font-size: 1.2rem;
    padding: 1rem 0;
}

.gnav-list .sub-menu {
    padding: 0 0 1.2rem 0;
}

.gnav-side {
    position: static;
    padding: 2rem 1.5rem;
}

.gnav-inner::before {
    width: 70vw;
    left: -25vw;
    bottom: -20vw;
}

.gnav-inner::after {
    display: none;
}

.footer .footer-body {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.footer .footer-body .logo {
    width: 50%;
}

.footer .information {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.footer .sns-list {
    width: auto;
    justify-content: center;
}

.footer .copyright {
    font-size: .75rem;
    padding: 0 4vw;
}

}
