/* 共通 */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}


body {
    font-family: "Noto Serif JP", serif;
    color: #6E625C;
}

.pc-only {
    display: none;
}

.c_common-inner {
    padding: 0 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* ボタン角丸なし */
.wp-block-button__link {
    border-radius: 0!important;
}

@media (min-width: 1024px) {
    /* ヘッダー */
    .p-global-nav .c-navbar__item>.c-navbar__submenu {
        flex-wrap: wrap;
        display: flex;
        gap: 1px;
        min-width: 640px;
        background: transparent;
    }

    .p-global-nav .c-navbar__item[aria-haspopup=true]:before {
        border-bottom-color: #A08F82;

    }

    .p-global-nav .c-navbar__subitem {
        width: calc(25% - 3px / 4);
        text-align: center;
        background: #A08F82;

    }

    .p-global-nav .c-navbar__subitem>a {
        line-height: 1;
        font-weight: 600;
        height: 48px;
        padding: 0;
        display: grid;
        place-items: center;
    }
}

/* ヘッダーコンテンツ（PC） */
.c_header-contents__list {
    display: flex;
    gap: 24px;
    padding-left: 0;
    list-style: none;
}

.c_header-contents__link {
    height: 40px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    background-color: #87A082;
    padding: 0 16px 0 56px;
    transition: all 0.3s ease 0s;
}

.c_header-contents__link:hover {
    opacity: 0.7;
}

.c_header-contents__link--line {
    background-color: #06C755;
}

.c_header-contents__link--mail {
    background-color: #D4C1A6;
}

.c_header-contents__linkText {
    font-size: 16px;
    font-weight: 500;
    position: relative;
}

.c_header-contents__linkText:before {
    content: "";
    position: absolute;
    top: 50%;
    left: -42px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: url(./override/templates/view/img/icon_tel.svg) no-repeat center center /contain;
    }

.c_header-contents__link--line .c_header-contents__linkText:before {
    background: url(./override/templates/view/img/icon_line.svg) no-repeat center center /contain;
}

.c_header-contents__link--mail .c_header-contents__linkText:before {
    background: url(./override/templates/view/img/icon_mail.svg) no-repeat center center /contain;
}

/* ボタン */

.c_common-btn {
    display: block;
    width: fit-content;
    background-color: #87A082;
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 7px 26px 7px 16px;
    font-size: 16px;
    position: relative;
    transition: all 0.3s ease 0s;
}

.c_common-btn--brown {
    background-color: #A08F82;
    color: #fff;
}

.c_common-btn--beige {
    background-color: #D4C1A6;
    color: #fff;
}

.c_common-btn:hover {
    background-color: #fff;
    color: #87A082;
}

.c_common-btn--brown:hover {
    background-color: #fff;
    color: #D4C1A6;
}

.c_common-btn:before {
    position: absolute;
    top: 50%;
    right: 1em;
    width: 0.5em;
    height: 0.5em;
    transform: translateY(-50%) rotate(45deg);
    border-right: 1px solid currentColor;
    border-top: 1px solid currentColor;
    content: "";    
    transition: all 0.3s ease 0s;
}

.c_common-btn:hover:before {
    right: 0.7em;
}

/* セクションタイトル */
.c_common-titleHeader {
    text-align: center;
}

.c_common-titleHeader__title {
    font-size: 20px;
    font-weight: 400;
    padding-bottom: 9px;
    border-bottom: 1px solid #D4C1A6;
    position: relative;
}

.c_common-titleHeader__title:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 54px;
    height: 3px;
    background: #D4C1A6;
}

.c_common-titleHeader__subTitle {
    display: block;
    margin-top: 8px;
    font-size: 16px;
    color: #87A082;
    font-family: Belleza;
    line-height: 100%;
    letter-spacing: 0.48px;
}

@media screen and (min-width: 1024px) {
    .c_common-titleHeader {
        max-width: 668px;
        margin: 0 auto;

    }
    .c_common-titleHeader__title {
        font-size: 28px;
    }

    .c_common-titleHeader__title:before {
        width: 72px;
        height: 5px;
        bottom: -2px;
    }
}

/* 診察時間 */
.c_common-scheduleTable {
    border-collapse: collapse;
    width: 100%;
}

.c_common-scheduleTable tr {
    border-bottom: 1px solid #E4DACD;
}

.c_footer-schedule__table.c_common-scheduleTable thead tr {
    background-color: #E4DACD;
    }

.c_common-scheduleTable thead th {
    font-weight: 600;
    padding-bottom: 10px;
}

.c_footer-schedule__table.c_common-scheduleTable thead  th {
    padding: 6px 0;

}

.c_common-scheduleTable tbody th {
    font-weight: 600;
    font-size: 14px;
    padding: 10px 0;
}

.c_common-scheduleTable th:first-child {
    width: 104px;
}

.c_common-scheduleTable td {
    text-align: center;
}

.c_common-scheduleHoliday {
    margin-top: 10px;
    font-size: 15px;
    letter-spacing: 0.05em;
    display: block;
}

.c_footer-schedule__holiday.c_common-scheduleHoliday {
    margin-top: 0;
    font-size: 15px;
}

@media screen and (min-width: 1024px) {
    .pc-only {
        display: block;
    }

    .sp-only {
        display: none;
    }

    .c_common-inner {
        max-width: 1220px;
        padding: 0 30px;
    }

    .c_common-scheduleTable {
        font-size: 16px;
    }

    .c_common-scheduleTable th:first-child {
        width: 96px;

    }

    .c_common-scheduleHoliday {
        font-size: 16px;
        margin-top: 4px;
    }
}

/* 記事詳細 */
.c-meta__item--author {
    display: none;
}

/* フッター */

  .c-copyright--inverse {
    font-size: 12px;
    background-color: #87A082!important;
  }

  .c_footer-logo {
    max-width: 280px;
  }

  .c_footer-info-wrapper {
    width: 100%;
  }

  .c_footer-info {
    width: 100%;
  }

  .c_footer-schedule {
  }

  @media screen and (min-width: 1024px) {
    .l-footer {
        margin-bottom: 90px;
    }

    .c_footer-logo {
        max-width: 374px;
        margin-left: 0;
    }

    .c_footer-address {
        font-size: 17px;
    }
  }

  /* スマホ固定メニュー */
  .p-footer-sticky-nav {
    box-shadow: 0 0 4px rgba(0, 0, 0, .1);
    height: 72px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease;
  }

  .p-footer-sticky-nav.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .p-footer-sticky-nav .c-navbar {
    height: inherit;
  }

  .p-footer-sticky-nav .c-navbar__item {
    align-items: center;
  }

    .p-footer-sticky-nav .c-navbar__item:nth-child(2) {
    background: #06C755;
    color: #fff;
  }


  .p-footer-sticky-nav .c-navbar__item:last-child {
    background: #D4C1A6;
    color: #fff;

  }

  .p-footer-sticky-nav .c-navbar__item span {
    display: block;
    font-size: 10px;
  }

  .p-footer-sticky-nav a {
    font-weight: 500;
    font-size: 14px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .p-footer-sticky-nav a .svg-inline--fa {
    height: 2em;
  }

.p-footer-sticky-nav .c-navbar__item>a {
	padding: 10px 0;
}

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


/* ヘッダー */

.custom-logo-link img {
    display: block;
}

@media screen and (max-width: 1023px) {
    .custom-logo-link img {
        margin: 0 auto;
    }
    
}

/* ハンバーガーメニュー　MENU非表示 */
.c-hamburger-btn__label {
    clip: rect(1px,1px,1px,1px);
    position: absolute!important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    }

/*==================================================
# トップページ
==================================================*/
/* ファーストビュー */
.index-fv {
    max-width: 500px;
    margin: 0 auto;
}

.swiper-slide > img {
   object-fit: cover; 
   width: 100%;
   height: 100%;
}

.index-fv__sliderTitle {
    position: absolute;
    right: 0;
    bottom: 92px;
    color: #524843;
    font-size: 28px;
    line-height: calc(48 / 32);
}

.index-fv__sliderSlide:nth-child(2) .index-fv__sliderTitle {
    right: auto;
    left: 0;
    bottom: 249px;
}

.index-fv__sliderTitle span {
    background: rgba(255, 255, 255, 0.80);
    font-weight: 400;
    padding: 0 10px;

}

.index-fv__sliderSubTitle {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    color: #fff;
    opacity: 0.8;
    font-size: clamp(40px, calc(52 / 375 * 100vw), 54px);
    line-height: 1;
    white-space: nowrap;
    font-family: Cormorant;
}


@media (min-width: 1024px) {
   .index-fv {
    max-width: 1440px;
    margin: 0 auto;
   }

   .index-fv__sliderTitle {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 30px;
    top: 50%;
    right: auto;
    left: 0;
    transform: translateY(-50%);
    font-size: 40px;
   }

   .index-fv__sliderSlide:nth-child(2) .index-fv__sliderTitle { 
    bottom: auto;
   }
   
   .index-fv__sliderSubTitle {
    font-size: clamp(116px, calc(180 / 1440 * 100vw), 180px);
   }
}

/*お知らせ */
.index-info {
    padding: 30px 0 40px;
}

.index-info__inner {
    padding: 0 16px;
    max-width: 600px;
    margin: 0 auto;
}

.index-info__newsHeader {
    display: flex;
    gap: 8px;
    align-items: center;
    padding-bottom: 9px;
    border-bottom: 1px solid #D4C1A6;
    position: relative;
}

.index-info__newsHeader:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 54px;
    height: 3px;
    background: #D4C1A6;
}

.index-info__newsTitle {
    color: #6E625C;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1px;
}

.index-info__newsSubTitle {
    color: #87A082;
    font-family: Belleza;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0.48px;
}

.index-info__newsList {
    margin-top: 5px;
    list-style: none;
    padding-left: 0;
}

.index-info__newsItem {
    padding: 12px 0 20px;
    border-bottom: 1px solid #D4C1A6;
}

.index-info__newsLink {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease 0s;
    color: inherit;
}

.index-info__newsLink:hover {
    opacity: 0.7;
}

.index-info__newsMeta {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.index-info__newsDate {
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.03em;

}

.index-info__newsCategory {
    font-size: 14px;
    background-color: #87A082;
    color: #fff;
    padding: 4px 8px;
    line-height: 1;
    font-weight: 500;
}

.index-info__newsHeading {
    margin-top: 16px;
    font-weight: 500;
    line-height: 1.2;
	font-size: 16px;
}

.index-info__btnArea {
    margin-top: 24px;

}

.index-info__btn {
    margin-left: auto;
}


.index-info__banner {
    margin-top: 40px;
}

.index-info__bannerLink {
    display: block;
    max-width: 500px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .index-info {
        padding: 40px 0 80px;
    }

    .index-info__inner {
        padding: 0 30px;
        max-width: 1300px;
        margin: 0 auto;
    }

    .index-info__column {
        display: flex;
        gap: 40px;
    }

    .index-info__news {
        width: calc(668 / 1240 * 100%)
    }

    .index-info__newsHeader {
        gap: 16px;
        padding-bottom: 15px;
    }

    .index-info__newsHeader:before {
        width: 72px;
        height: 5px;
    }

    .index-info__newsTitle {
        font-size: 28px;
    }

    .index-info__newsSubTitle {
        font-size: 20px;
        letter-spacing: 0.6px;
    }

    .index-info__newsItem {
        padding: 16px 0;
    }

    .index-info__newsLink {
        display: flex;
        gap: 24px;
        align-items: center;
    }

    .index-info__newsMeta {
        gap: 16px;
        min-width: 174px;
        flex-shrink: 0;
    }

    .index-info__newsHeading {
        margin-top: 0;
    }

    .index-info__btnArea {
        margin-top: 16px;
    }

    .index-info__banner {
        margin-top: 0;
        width: calc(520 / 1240 * 100%);
    }

    .index-info__bannerLink {
        max-width: 100%;
    }

}


/* コンセプト */
.index-concept {
    padding: 40px 0;
    background: url(./override/templates/view/img/index-concept-bg_sp.png) no-repeat top left /cover;
}

.index-concept__inner {
    padding: 0 16px;
}


.index-concept__column {
    margin-top: 30px;
}

.index-concept__text {
    font-weight: 500;

}

.index-concept__text + .index-concept__text {
    margin-top: 20px;
}

.index-concept__schedule {
    margin-top: 40px;
}

.index-concept__scheduleBtnArea {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 24px;

}


@media (min-width: 1024px) {
    .index-concept {
        padding: 80px 0;
        background: url(./override/templates/view/img/index-concept-bg_pc.png) no-repeat top left /cover;
    }

    .index-concept__inner {
        padding: 0 30px;
        max-width: 1220px;
        margin: 0 auto;
    }

    .index-concept__column {
        margin-top: 50px;
        display: flex;
        justify-content: space-between;

    }

    .index-concept__block {
        width: calc(480 / 1160 * 100%);
    }


    
    .index-concept__schedule {
        margin-top: 0;
        width: calc(525 / 1160 * 100%);
    }

    .index-concept__scheduleBtnArea {
        margin-top: 40px;
        justify-content: flex-end;
    }
}


/* 診療メニュー */
.index-menu {
    padding: 30px 0 40px;
}

.index-menu__inner {
    padding: 0 16px;
    max-width: 600px;
    margin: 0 auto;
}

.index-menu__list {
    margin: 20px auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px 23px;
    list-style: none;
    justify-items: center;
    padding-left: 0;
}

.index-menu__item {
    background: linear-gradient(180deg, #F6F4F0 0%, #E4E1D5 100%);
    width: 100%;
}

.index-menu__link {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease 0s;
    padding: 16px 14px;
}

.index-menu__link:hover {
    opacity: 0.7;
}

.index-menu__heading {
    text-align: center;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.256em;
    padding-bottom: 10px;
    position: relative;
    font-size: 16px;
    width: 100%;
}

.index-menu__heading:before, .index-menu__heading:after {
    position: absolute;
    content: "";
    bottom: 0;
}

.index-menu__heading:before {
    left: 0;
    width: 40px;
    height: 1px;
    background: #957D5E;
}

.index-menu__heading:after {
    right: 0;
    width: calc(100% - 40px);
    height: 1px;
    background: #fff;
}

.index-menu__icon {
    margin-top: 9px;
}

.index-menu__search {
    margin-top: 40px;
}

.index-menu__searchTitle {
    border: 1px solid #6E625C;
    padding: 8px 20px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.48px;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
    position: relative;
}

.index-menu__searchTitle:before, .index-menu__searchTitle:after {
    position: absolute;
    content: "";
    top: 50%;
    transform: translateY(-50%);
    background: #6E625C;
    width: 44px;
    height: 1px;
}

.index-menu__searchTitle:before {
    left: -51px;
}

.index-menu__searchTitle:after {
    right: -51px;
}


.index-menu__tab {
    margin-top: 30px;
}

.c_menu-tab {

}

.c_menu-tab__menu {
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 20px 23px;
    grid-template-columns: repeat(auto-fit, minmax(152px, 1fr));

}

.c_menu-tab__menuItem {
    background: #A08F82;
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: 0.8px;
    padding: 11px 10px;
    transition: all 0.3s ease 0s;
    cursor: pointer;
}

.c_menu-tab__menuItem.is-active {
    background: #D7BAA4;
    position: relative;
}

.c_menu-tab__menuItem.is-active:before {
    content: "";
    position: absolute;
    bottom: -11px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #D7BAA4;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    width: 24px;
    height: 13px;
}


.c_menu-tab__content {
    margin-top: 40px;
    padding-left: 0;
    list-style: none;
}

.c_menu-tab__contentItem {
    display: none;
}

.c_menu-tab__contentItem.is-active {
    display: block;
}

.c_menu-tab__contentList {
    padding-left: 0;
    list-style: none;
    display: grid;
    gap: 16px 23px;
    grid-template-columns: repeat(auto-fit, minmax(152px, 1fr));

}

.c_menu-tab__contentListItem {
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(180deg, #F6F4F0 0%, #E4E1D5 100%);
    text-align: center;
    display: grid;
    align-items: center;
    min-height: 90px;
}

.c_menu-tab__contentListItem a {
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: grid;
    place-items: center;

}

.c_menu-tab__contentListItem a span {
    font-weight: 500;
    padding-bottom: 14px;
    position: relative;
    line-height: 1.2;
}

.c_menu-tab__contentListItem a span:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 2px;
    background: #fff;
}




@media screen and (min-width: 1024px) {
    .index-menu {
        padding: 80px 0;
    }

    .index-menu__inner {
        padding: 0 30px;
        max-width: 1206px;
    }

    .index-menu__list {
        margin-top: 55px;
        grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
        gap: 18px 20px;
    }

    .index-menu__item {
        min-height: 200px;
        display: flex;
        flex-direction: column;
    }

    .index-menu__link {
        padding: 32px 20px;
    }

    .index-menu__heading {
        font-size: 20px;
        padding-bottom: 16px;
    }

    .index-menu__heading:before {
        width: 73px;
        height: 2px;
    }

    .index-menu__heading:after {
        width: calc(100% - 73px);
    }

    .index-menu__icon {
        margin-top: 28px;
    }

    .index-menu__search {
        margin-top: 80px;
    }

    .index-menu__searchTitle {
        padding: 20px 82px;
        font-size: 24px;
        letter-spacing: 0.1em;
    }

    .index-menu__searchTitle:before, .index-menu__searchTitle:after {
        width: 240px;
    }

    .index-menu__searchTitle:before {
        left: -270px;
    }

    .index-menu__searchTitle:after {
        right: -270px;
    }

    .index-menu__tab {
        margin-top: 50px;
    }

    .c_menu-tab__menu {
        gap: 20px;
        padding: 0 20px;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .c_menu-tab__menuItem.is-active:before {
        bottom: -17px;
        width: 30px;
        height: 19px;
    }

    .c_menu-tab__content {
        margin-top: 56px;
    }

    .c_menu-tab__contentList {
        gap: 20px;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

    }

    .c_menu-tab__contentListItem {
        min-height: 120px;
        font-size: 18px;
    }

    .c_menu-tab__contentListItem a span:after {
        width: 40px;
    }
}


/* 当院が選ばれる理由 */
.index-reason {
    padding: 40px 0;
    background: url(./override/templates/view/img/index-reason-bg_sp.png) no-repeat top right /cover;
}

.index-reason__inner {
    padding: 0 16px;
    max-width: 600px;
    margin: 0 auto;
}

.index-reason__container {
    margin-top: 30px;
}

.index-reason__sliderWrapper {
    padding-left: 0;

}

.index-reason__sliderItem {
    background-color: #fff;
    padding-top: 20px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.index-reason__sliderItem:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    z-index: -1;
}

.index-reason__sliderSlide:first-of-type .index-reason__sliderItem:before {
    background: rgba(135, 160, 130, 0.40);
}

.index-reason__sliderSlide:nth-of-type(2) .index-reason__sliderItem:before {
    background: #D4C1A6;
}

.index-reason__sliderSlide:nth-of-type(3) .index-reason__sliderItem:before {
    background: #E4DACD;
}

.index-reason__sliderSlide:nth-of-type(4) .index-reason__sliderItem:before {
    background: #E4DACD;
}



.index-reason__block {

}

.index-reason__header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 20px;
}

.index-reason__number {
    text-align: center;
    font-family: "Cormorant Infant";
    font-size: 48px;
    font-style: italic;
    font-weight: 500;
    line-height: 0.66667;
}

.index-reason__heading {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.9px;
    display: inline-block;
    border-bottom: 1px solid #D4C1A6;
}

.index-reason__sliderSlide:first-of-type .index-reason__heading {
    border-bottom: 1px solid #87A082;
}

.index-reason__sliderSlide:nth-of-type(2) .index-reason__heading {
    border-bottom: 1px solid #D4C1A6;
}

.index-reason__sliderSlide:nth-of-type(3) .index-reason__heading {
    border-bottom: 1px solid #E4DACD;
}

.index-reason__sliderSlide:nth-of-type(4) .index-reason__heading {
    border-bottom: 1px solid #E4E1D5;
}

.index-reason__text {
    margin-top: 30px;
    padding: 0 16px;
}

.index-reason__image {
    margin-top: 24px;
}

.index-reason__sliderBtnArea {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.index-reason__sliderBtn {
    cursor: pointer;
}

.swiper-button-disabled {
    opacity: 0.5;
}

@media screen and (min-width: 1024px) {
    .index-reason {
        padding: 80px 0 150px;
        background: url(./override/templates/view/img/index-reason-bg_pc.png) no-repeat top right /cover;
    }

    .index-reason__inner {
        padding: 0;
        max-width: none;
    }

    .index-reason__container {
        margin-top: 50px;
    }

    .index-reason__sliderSlide {
        width: 1020px;
        height: 320px;
    }

    .index-reason__sliderItem {
        padding: 0;
        flex-direction: row;
        align-items: center;
        gap: 28px;
        height: 100%;
    }

    .index-reason__sliderItem:before {
        width: 80px;
        height: 80px;
    }

    .index-reason__block {
        width: calc(512 / 1020 * 100%);
        padding-left: 32px;
    }

    .index-reason__header {
        gap: 16px;
    }

    .index-reason__number {
        font-size: 72px;
    }


    .index-reason__heading {
        font-size: 22px;
        white-space: nowrap;
    }

    .index-reason__text {
        padding: 0;
    }

    .index-reason__image {
        margin-top: 0;
        width: calc(480 / 1020 * 100%);
        clip-path: polygon(16% 0, 100% 0%, 100% 100%, 0% 100%);
    }
}



/* ご挨拶 */
.index-greeting {
    padding: 40px 0;
}

.index-greeting__inner {
    padding: 0 16px;
    max-width: 600px;
    margin: 0 auto;

}

.index-greeting__column {
    margin-top: 30px;
    position: relative;
}

.index-greeting__column:before {
    content: "";
    position: absolute;
    top: -46px;
    left: -11px;
    aspect-ratio: 88 / 73;
    width: 88px;
    z-index: -1;
    background: url(./override/templates/view/img/index-greeting-illust01.svg) no-repeat center center /contain;
}

.index-greeting__column:after {
    content: "";
    position: absolute;
    bottom: -17px;
    right: 12px;
    aspect-ratio: 48 / 44;
    width: 48px;
    z-index: -1;
    background: url(./override/templates/view/img/index-greeting-illust02.svg) no-repeat center center /contain;
}

.index-greeting__photo {
    padding: 0 20px;

}

.index-greeting__textArea {
    padding: 120px 20px 30px;
    background: rgba(212, 193, 166, 0.20);
    box-shadow: 2px 4px 4px 0 rgba(0, 0, 0, 0.05);
    margin-top: -90px;
}

.index-greeting__heading {
    padding-left: 8px;
    border-left: 4px solid #87A082;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.9px;
}

.index-greeting__text {
    margin-top: 16px;
    line-height: 1.4;
    letter-spacing: 0.8px;
}

@media screen and (min-width: 1024px) {
    .index-greeting {
        padding: 80px 0;
    }

    .index-greeting__inner {
        padding: 0 30px;
        max-width: 1220px;
    }

    .index-greeting__column {
        margin-top: 50px;
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
    }

    .index-greeting__column:before {
        width: 233px;
        top: -149px;
        left: -98px;
    }

    .index-greeting__column:after {
        width: 120px;
        bottom: -40px;
        right: -94px;
    }

    .index-greeting__photo {
        padding: 0;
        width: calc(540 / 1160 * 100%);
    }

    .index-greeting__textArea {
        padding: 60px 12% 58px 48px;
        margin-top: 0;
        width: calc(720 / 1160 * 100%);
        margin-right: -9%;
    }

    .index-greeting__heading {
        font-size: 24px;
        padding-left: 16px;
    }
}

/* スライダー */

.index-slider {
    background: url(./override/templates/view/img/index-slider-bg.png) no-repeat center center /cover;
    padding: 32px 0;
}

.index-slider__wrapper {
    transition-timing-function: linear;
}

.index-slider__item img {
    height: auto;
    width: 100%;
    aspect-ratio: 260 / 173;
    object-fit: cover;
}

@media (min-width: 1024px) {
    .index-slider {
        padding: 53px 0;
    }
}

/* リンク */
.index-links {
    padding: 40px 0;
    background: url(./override/templates/view/img/index-links-bg_sp.png) no-repeat center center /cover;

}

.index-links__inner {
    padding: 0 16px;

}

.index-links__list {
    max-width: 240px;
    margin: 0 auto;
    display: flex;
    list-style: none;
    padding-left: 0;
    flex-direction: column;
    gap: 30px;
}

.index-links__item {
    width: 100%;

}

.index-links__link {
    width: 100%;
    height: 96px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 13px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease 0s;
    background-color: #87A082;
    
}

.index-links__link:before {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 14px);
    height: calc(100% - 14px);
    border: 1px solid #fff;
}

.index-links__link:after {
    position: absolute;
    content: "";
    top: 7px;
    left: 7px;
    width: 12px;
    height: 12px;
    clip-path: polygon(0 100%, 0 0, 100% 0);
    background-color: #fff;
}

.index-links__link:hover {
    opacity: 0.7;
}

.index-links__link--mail {
    background-color: #D4C1A6;

}

.index-links__link--recruit {
    background-color: #A08F82;

}

.index-links__linkText {
    color: #FFF;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.9px;
    line-height: 1.1;

}

@media screen and (min-width: 1024px) {
    .index-links {
        padding: 50px 0;
        background: url(./override/templates/view/img/index-links-bg_pc.png) no-repeat center center /cover;
    }

    .index-links__inner {
        padding: 0 30px;
    }

    .index-links__list {
        max-width: 780px;
        flex-direction: row;
        gap: 30px;
    }

    .index-links__item {
        flex: 1;
    }
}

/* PC固定ボタン */

.c_sticky-contents {
    position: fixed;
    bottom: 0;
    background-color: #87A082;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.c_sticky-contents.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


.c_sticky-contents__list {
    width: 100%;
    max-width: 1060px;
    display: flex;
    justify-content: center;
    gap: 50px;
    padding-left: 0;
    list-style: none;
}

.c_sticky-contents__item {
    flex: 1;
}

.c_sticky-contents__link {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 13px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease 0s;
    background-color: #fff;
    color: #87A082;
    border-radius: 8px;
}

.c_sticky-contents__link:hover {
    opacity: 0.7;
}


.c_sticky-contents__link--line {
    background-color: #06C755;
    color: #fff;
}

.c_sticky-contents__link--mail {
    background-color: #D4C1A6;
    color: #fff;
}

.c_sticky-contents__linkText {
    padding-left: 42px;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.05em;
    position: relative;

}

.c_sticky-contents__linkText:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: url(./override/templates/view/img/icon_tel02.svg) no-repeat center center /contain;
    }

.c_sticky-contents__link--line .c_sticky-contents__linkText:before {
    background: url(./override/templates/view/img/icon_line.svg) no-repeat center center /contain;
}

.c_sticky-contents__link--mail .c_sticky-contents__linkText:before {
    background: url(./override/templates/view/img/icon_mail.svg) no-repeat center center /contain;
}

@media screen and (max-width: 1023px) {
    .c_sticky-contents {
        display: none;
    }
    
}


@media screen and (min-width: 1024px) {
    #page-top {
        bottom: 100px;
    }
    
}


/* 下層ページ */
/* 固定ページヘッダー */
.c-page-header[data-has-image=true] {
    height: 200px;
}

 /* 固定ページタイトル */
 .c-page-header__title {
    font-size: 24px;
    text-align: center;
    color: #524843;
}

/* セクションタイトル */
h2.smb-section__title {
    font-size: 20px;
    padding-bottom: 9px;
    border-bottom: 1px solid #D4C1A6;
    position: relative;
}

h2.smb-section__title:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 54px;
    height: 3px;
    background: #D4C1A6;
}

h3.wp-block-heading {
    padding-left: 36px;
    position: relative;
}

h3.wp-block-heading:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(45deg);
    width: 22px;
    aspect-ratio: 1 / 1;
    background: rgba(135, 160, 130, 0.40);

}


.c_menu-box {
    background: linear-gradient(180deg, #E4E1D5 0%, #F6F4F0 100%);
}

.c_menu-list {
    list-style: none;
}

.c_menu-list a {
    text-decoration: none;
    color: #524843;
    position: relative;
}

.c_menu-list a:before {
    content: "";
    position: absolute;
    top: 50%;
    left: -24px;
    transform: translateY(-50%);
    width: 12px;
    aspect-ratio: 20 / 32;
    background: url(./override/templates/view/img/icon_right_arrow.svg) no-repeat center center /contain;
}

.wp-block-table th, .wp-block-table td:first-child {
    background: rgba(212, 193, 166, 0.10);
}

.wp-block-table td:last-child {

}

.c_page-button a {
    position: relative;
}

.c_page-button a:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 11px;
    transform: translateY(-50%);
    width: 6px;
    aspect-ratio: 4 / 8;
    background: url(./override/templates/view/img/icon_right_arrow_02.svg) no-repeat center center /contain;

}

@media screen and (min-width: 1024px) {
    .c-page-header[data-has-image=true] {
        height: 320px;
    }

    .c-page-header__title {
        font-size: 32px;
    }

    h2.smb-section__title {
        font-size: 28px;

    }

    h2.smb-section__title:before {
        width: 72px;
        bottom: -2px;
    }
}