/* ======= Google Fonts ======= */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&Lato:wght@400;700&display=swap");

/* ======= Default styles ======= */
html,
body {
    font-family: "Roboto", "Noto Sans JP", sans-serif;
    height: auto!important;
    font-size: 16px;
    overflow-y: visible;
    overflow-x: hidden;
}

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

.no-scroll {
    overflow: hidden!important;
    height: 0vh!important;
}

/*** typography ***/
/* headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #333;
    font-family: "Roboto", "Noto Sans JP", sans-serif;
    font-weight: 400;
    letter-spacing: .5px;
    line-height: 1.2em;
    margin: 0 0 15px 0;;
}
/* paragraph */
p {
    color: #333;
    font-family: "Roboto", "Noto Sans JP", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.75em;
    margin: 0 0 15px;
}
@media screen and (max-width: 767px) {
    p {
        font-size: 14px;
        line-height: 175%!important;
    }
}

a {
    transition: background-color 0.3s ease, color 0.3s ease;
}

ul li {
    font-size: 14px;
}


/* margin */
.my-100 {
    margin-bottom: 100px;
    margin-top: 100px;
}

.mx-100 {
    margin-left: 100px;
    margin-right: 100px;
}

.mt-100 {
    margin-top: 100px;
}

@media screen and (max-width: 767px) {
    .my-100 {
        margin-bottom: 80px;
        margin-top: 80px;
    }

    .mx-100 {
        margin-left: 80px;
        margin-right: 80px;
    }

    .mt-100 {
        margin-top: 100px;
    }

}

/* padding */
.py-100 {
    padding-bottom: 100px;
    padding-top: 100px;
}

.px-100 {
    padding-left: 100px;
    padding-right: 100px;
}

@media screen and (max-width: 767px) {
    .py-100 {
        padding-bottom: 80px;
        padding-top: 80px;
    }

    .px-100 {
        padding-left: 80px;
        padding-right: 80px;
    }
}

/* br */
.pc-br {
    display: block;
}
.tb-br {
    display: none;
}
.sp-br {
    display: none;
}
@media screen and (max-width: 1023px) {
    .pc-br {
        display: none;
    }
    .tb-br {
        display: block;
    }
    .sp-br {
        display: none;
    }
}
@media screen and (max-width: 767px) {
    .pc-br {
        display: none;
    }
    .tb-br {
        display: none;
    }

    .sp-br {
        display: block;
    }
}

/* brand color */
.bg-blue {
    background-color: #1e1e88;
}

.bg-light-blue {
    background-color: #2430a5;
}

.bg-light-green {
    background-color: #3A958D;
}

.bg-light-green2 {
    background-color: #E6EFEE;
}

.bg-green {
    background-color: #076057;
}

.bg-green2 {
    background-color: #E6EFEE;
}

.bg-black {
    background-color: #333;
}

.bg-red {
    background-color: #c3282d;
}

.bg-pink {
    background-color: rgba(232, 206, 198, 0.5);
}

.bg-orange {
    background-color: #fa961e;
}

.bg-purple {
    background-color: #ededf6;
}

.bg-gray {
    background-color: #e9eef0;
}

.bg-dark {
    background-color: #808080;
}

.bg-light {
    background-color: #f5f3ef;
}

.text-blue {
    color: #1e1e88;
}

.text-blue2 {
    color: #2430A5;
}

.text-green {
    color: #076057;
}

.text-green2 {
    color: #20756C;
}

.text-gray {
    color: #333333;
}

.text-red {
    color: #c3282d;
}

.text-orange {
    color: #e2952f;
}

.text-dark {
    color: #808080;
}

.text-light {
    color: #d2d2e6;
}

.text-darkgray {
    color: #666;
}
.text-white-imp .bread-space__item li, .text-white-imp .breadcrumbs-item__text, .breadcrumbs-item__child_text, .text-white-imp .text-zinc-800{
    color: #ffffff !important;
}

/* border */
.border-b-1 {
    border-bottom: 1px solid;
}

.border-blue {
    border-color: #1e1e88;
}

.border-green {
    border-color: #076057;
}

.border-orange {
    border: 5px solid #e2952f4d;
}

.border-purple {
    border-color: #ededf6;
}

.border-dark {
    border-color: #333;
}

/* text */
.text-2xs {
    font-size: .6rem;
    line-height: 1rem;
}

.vertical-text {
    text-orientation: upright;
    writing-mode: vertical-rl;
}

@media (min-width: 1024px) {
    .w-default {
        width: 795px;
    }
}

.sp-contents,
.pc-contents {
    display: none;
}


/* breadcrumbs */
.breadcrumbs-item__text,
.breadcrumbs-item__child_text {
    color: #666;
    font-weight: 500;
    line-height: 14.5px;
}

@media (max-width: 767px) {
    .breadcrumbs-item__text,
    .breadcrumbs-item__child_text,
    .breadcrumbs-wrap .text-gray,
    .bottom-bread-wrap .text-gray {
        font-size: 10px;
    }
}
.breadcrumbs-item__text:hover,
.breadcrumbs-item__child_text:hover {
    color: #2430a5;
}

@media (max-width: 767px) {
    .breadcrumbs-item__child_text {
        line-height: 1.25rem;
    }
}

/* button_link_follow */
.btn-item__list {
    width: auto;
    max-width: 310px;
    bottom: 0;
    right: 31px;
    position: fixed;
    margin-bottom: 40px;
    transition: opacity 1s ease;
    opacity: 1;
    visibility: visible;
}

.btn-item__list.hidden {
    visibility: hidden; /* 非表示時 */
    opacity: 0; /* 非表示時 */
}

@media (max-width: 1440px) {
    .btn-item__list {
        margin-bottom: 80px;
    }
}

@media (max-width: 1023px) {
    .btn-item__list {
        max-width: 1023px;
        width: 100%;
        bottom: 0;
        left: 0;
        margin-bottom: 0;
        z-index: 100;
    }
}

@media screen and (min-width: 1024px) {
    /* tel, consul btn */
    .btn-contact-item {
        background: #1E1E88;
        border: 2px solid #1E1E88;
        border-radius: 8px;
        overflow: hidden;
        position: relative;
        transition: color 0.3s, background-color 0.3s;
        z-index: 1;
    }

    .ed-btn-contact-item {
        background: #076057;
        border: 2px solid #076057;
    }

    .btn-contact-item p{
        color: #fff;
    }
    .btn-contact-item svg {
        fill: currentColor; /* SVGの色をボタンのテキスト色に同期 */
        transition: fill 0.3s;
        border: 1px solid #1E1E88;
        border-radius: 8px;
    }
    
    /* 背景の変化用エフェクト */
    .btn-contact-item::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        transform: scale(0, 1);
        transform-origin: left;
        transition: transform 0.3s cubic-bezier(0.45, 0, 0.55, 1);
        z-index: -1;
    }
    
    .btn-contact-item:hover p{
        color: #1E1E88;
    }
    
    .btn-contact-item:hover::after {
        transform: scale(1, 1);
    }

    /* line btn */
    .btn-contact-line-item {
        background: #fff;
        border: 2px solid #02C755;
        border-radius: 8px;
        overflow: hidden;
        position: relative;
        transition: color 0.3s, background-color 0.3s;
        z-index: 1;
    }
    .btn-contact-line-item p{
        color: #333;
    }
    .btn-contact-line-item svg {
        fill: currentColor; /* SVGの色をボタンのテキスト色に同期 */
        transition: fill 0.3s;
    }
    
    /* 背景の変化用エフェクト */
    .btn-contact-line-item::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #02C755;
        transform: scale(0, 1);
        transform-origin: left;
        transition: transform 0.3s cubic-bezier(0.45, 0, 0.55, 1);
        z-index: -1;
    }
    
    .btn-contact-line-item:hover p{
        color: #fff;
    }
    
    .btn-contact-line-item:hover::after {
        transform: scale(1, 1);
    }
}

/* 共通ボタンスタイル */
.section-title {
    margin: 0px auto ;
    border-top: solid 2px #1e1e88;
    color: #1e1e88;
    position: relative;
    z-index: 0;
}

#cause .section-title,
#ml-ed .section-title {
    border-top: solid 2px #076057;
    color: #076057;
}

.section-title::after {
    border-top: solid 2px #ededf6;
    content: "";
    position: absolute;
    right: 0;
    top: -2px;
    width:calc(100% - 50px);
}

.accordion-wrap  {
    height: fit-content;
}

.accordion-wrap p {
    font-size: 12px;
}


.accordion-wrap a {
    transition: color 0.2s ease-in-out;
}

/* ボタンコンテナのベーススタイル */
.accordion-wrap a .bg-blue {
    transform: translateX(0); /* 初期値 */
    transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* ホバー時の親要素 */
.accordion-wrap a:hover {
    color: #1e1e88;
}

/* ホバー時の矢印コンテナ */
.accordion-wrap a:hover .bg-blue {
    transform: translateX(0.25rem);
    background-color: #1e1e88;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* group-hover:shadow-lg */
}

.about .underline-dotted, .bg-#fff .underline-dotted {
    border-bottom: dashed 1px #1e1e88;
    padding-bottom: 1px;
}

.about-text p {
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
}

@media screen and (max-width: 1023px) {
    .about-text p {
        font-size: 16px;
        font-weight: 400;
        line-height: 30px;
    }
}

@media screen and (min-width: 1024px) {
    .about {
        height: 930px;
        margin-bottom: 200px;
    }

    .about-item {
        margin-left: -110px;
        width: 316px;
    }
}

@media screen and (min-width: 1600px) {
    .about {
        height: 1140px;
    }
}

/* お知らせ */
.vertical-text {
    letter-spacing: .2em;
}

.info-wrap p {
    line-height: 21px;
}

.info-tag {
    align-items: center;
    background-color: #e9eef0;
    color: #1e1e88;
    font-size: 9px;
    font-weight: 700;
    height: 17px;
    padding: 1px 8px;
    width: 52px;
    border-radius: 2px;
}

.info-date {
    font-size: 9px;
    font-weight: 700;
}

/* bottom */
.bottom-wrap, .bottom-bread-wrap {
    position: relative;
    z-index: 10;
    background-color: #fff;
}

@media screen and (max-width: 767px) {
    .bottom-wrap, .bottom-bread-wrap {
        z-index: 1;
    }
}

.bottom-wrap p {
    line-height: 21px;
}

.bottom-wrap img {
    height: 102px;
    width: 102px;
}

.bottom-wrap .sub p {
    font-size: 10px;
    font-weight: 400;
}

/* btn_link_area */
.link-area-wrap {
    position: relative;
    background-color: #2430a5;
    z-index: 10;
}

 @media screen and (max-width: 767px) {
    .link-area-wrap {
        z-index: 1;
    }
 }

.link-area-wrap .area-title p {
    color: #ffffff;
    font-size: 10px;
    font-weight: 400;
    line-height: 17.5px;
}

.area-sub {
    color: #ffffff;
    font-size: 10px;
    font-weight: 500;
    line-height: 17.5px;
    margin-top: 66px;
    margin-bottom: 14px;
}

.tel-btn p{
    color: #1E1E88;
    font-size: 13px;
    font-weight: 400;
    margin-top: 6px;
}

.line-btn p {
    color: #02C755;
    font-size: 24px;
    font-weight: 500;
}

.line-btn .text-xs {
    font-size: 12px;
    font-weight: 400;
}

/* btn large, contact-btn */
.btn-large-item, .contact-btn {
    background: #fff;
    color: #1e1e88;
    overflow: hidden;
    position: relative;
    z-index: 1;
    overflow: hidden;
    position: relative;
    width: 19rem;
}

.btn-large-item::after, .contact-btn::after {
    background: #1e1e88;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: .3s cubic-bezier(0.45, 0, 0.55, 1);
    z-index: -1;
}

.btn-large-item:hover, .contact-btn:hover p{
    color: #fff;
}

.btn-large-item:hover::after, .contact-btn:hover::after {
    transform: scale(1, 1);
}

.c-arrow-link {
    position: relative;
    padding: 10px 40px;
    text-decoration: none;
    color: #1e1e88; /* 初期文字色 */
    background-color: #fff; /* 初期背景色 */
    border: 2px solid #1e1e88; /* 初期ボーダー */
     overflow: hidden;
    transition: color 0.3s ease, background-color 0.3s ease;
  }
  
  /* 矢印アイコン */
  .c-arrow-link--icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 40%;
    background-color: #1e1e88;
    color: #fff; /* デフォルトの矢印色 */
    transition: all 0.3s ease;
    overflow: hidden;
  }
  
  /* ボタンと矢印の配色アニメーション */
  .c-arrow-link:hover {
    animation: buttonHoverBg 0.6s ease forwards; /* ボタン全体 */
  }
  
  .c-arrow-link:hover .c-arrow-link--icon {
    animation: iconHoverBg 0.6s ease forwards; /* 矢印 */
  }
  
  /* アニメーションキー: ボタン */
  @keyframes buttonHoverBg {
    0% {
      background-color: #fff;
      color: #1e1e88;
      border-color: #1e1e88;
    }
    100% {
      background-color: #1e1e88;
      color: #fff;
      border-color: #1e1e88;
    }
  }
  
  /* アニメーションキー: 矢印アイコン */
  @keyframes iconHoverBg {
    0% {
      background-color: #1e1e88;
      color: #fff;
    }
    100% {
      background-color: #fff;
      color: #1e1e88;
    }
  }
  
  /* 矢印の移動アニメーション */
  .c-arrow-link--icon:before,
  .c-arrow-link--icon:after {
    content: "→";
    position: absolute;
    font-size: 16px; /* 矢印のサイズ */
    line-height: 1;
    animation-fill-mode: both;
    animation-duration: 0.6s;
  }
  
  .c-arrow-link--icon:after {
    transform: translateX(-150%);
  }
  
  .c-arrow-link.is-hover:hover .c-arrow-link--icon:before {
    animation-name: transformLeftRight;
    animation-duration: 0.3s;
  }
  
  .c-arrow-link.is-hover:hover .c-arrow-link--icon:after {
    animation-name: transformRightLeft;
    animation-duration: 0.3s;
  }
  
  /* 矢印の移動キー */
  @keyframes transformLeftRight {
    0% {
      transform: translateX(-150%);
    }
    100% {
      transform: translateX(0);
    }
  }
  
  @keyframes transformRightLeft {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(150%);
    }
  }

  @media screen and (max-width: 767px) {
    .btn-large-item, .contact-btn {
        width: 100%;
    }
}

  .scl-btn-item {
    overflow: hidden;
    position: relative;
    z-index: 1;
    overflow: hidden;
    position: relative;
  }

  .scl-check {
    position: relative;
    padding: 10px 40px;
    text-decoration: none;
    color: #fff; /* 初期文字色 */
    background-color: #2839a5; /* 初期背景色 */
    border: 2px solid #2839a5; /* 初期ボーダー */
    overflow: hidden;
    transition: color 0.3s ease, background-color 0.3s ease;
  }
  
  /* チェックアイコン */
  .scl-check--icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #2839a5;
    color: #fff;
    transition: fill 0.3s ease;
    overflow: hidden;
  }
  
  /* セルフチェックボタン */
  .scl-check:hover {
    animation: sclButtonHoverBg 0.3s ease forwards; /* ボタン全体 */
  }
  
  .scl-check:hover .scl-check--icon {
    animation: sclIconHoverBg 0.3s ease forwards; /* check */
  }

  .scl-check:hover .scl-check--svg path {
    fill: #2839a5;
  }

@keyframes sclButtonHoverBg {
    0% {
      background-color: #2839a5;
      color: #fff;
      border-color: #2839a5;
    }
    100% {
      background-color: #fff;
      color: #2839a5;
      border-color: #2839a5;
    }
  }
  
  @keyframes sclIconHoverBg {
    0% {
      background-color: #2839a5;
      color: #fff;
    }
    100% {
      background-color: #fff;
      color: #2839a5;
    }
  }


.column-info-category {
    font-size: 9px;
    max-width: 32px; /* 必要に応じて調整 */
    white-space: nowrap; /* 1行に制限 */
    overflow: hidden; /* はみ出た文字を非表示 */
    text-overflow: ellipsis; /* 省略記号を表示 */
}

.custom-list {
    list-style: none; /* デフォルトのリストマーカーを非表示 */
    padding-left: 20px; /* インデント調整 */
}

.custom-list li {
    position: relative;
    padding-left: 10px;
    display: flex;
}

.custom-list.orange li::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 0;
    transform: translateY(-40%);
    width: 9px; /* 丸のサイズ */
    height: 9px;
    background-color: #E2952F;
    border-radius: 30%;
}

.custom-list.pink li::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 0;
    transform: translateY(-40%);
    width: 9px; /* 丸のサイズ */
    height: 9px;
    background-color: #E8CEC6;
    border-radius: 30%;
}

/* Attention */
.attention p {
    margin-bottom: 0;
}

@media screen and (max-width: 1023px) {
    .attention svg {
        margin-top: 4px;
    }
}

.orange-items {
    border: 5px solid rgba(226, 149, 47, 0.3);
}

.orange-item svg {
    margin-top: 5px;
}

.orange-item p {
    font-size: 0.8125rem;
    line-height: 175%;
    width: calc(100% - 19px);
}

/* h3内、最後のテキスト下余白 */
.last-text {
    margin-bottom: 3.75rem;
}

.margin-t5 {
    margin-top: 0.3125rem;
}

.margin-t10 {
    margin-top: 0.625rem;
}

@media screen and (min-width: 1024px) {
    .sideNav {
        will-change: transform;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        -webkit-transform-style: preserve-3d;
    }
}
/* アフターケア */
.aftercare-list ul li:before{
    content: '■';
    position: absolute;
    left: 0;
    top: 0;
}
.aftercare-list ul li{
    position: relative;
    padding-left: 1.5rem;
    margin: 1rem 0;
}
.dr-advice{
    font-size: 1.2rem;
    padding-top: 1rem;
}
