.main{
margin-bottom: -140px;
} .home_container > .hero {
width: 100%;
padding-bottom: clamp(25px, 2.6041666667vw, 50px);
}
.home_hero {
display: grid;
grid-template-columns: 1fr min(60%, 1520px);
column-gap: 20px;
grid-template-areas:
'hero_catch hero_slider'
'hero_catch home_message';
position: relative;
}
.home_hero > .media{
width: 100%;
height: 100%;
max-height: 960px;
grid-area: hero_slider;
position: relative;
z-index: 1;
}
.home_hero > .media > .-home-hero-media{
width: 100%;
height: min(100vh, 960px);
object-fit: cover;
}
.home_hero > .catch{
grid-area: hero_catch;
line-height: 1.6;
position: relative;
}
.home_hero > .catch > .inner{
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.home_hero > .catch > .inner > .flx{
background-color: rgba(220, 246, 218, .9);
border-radius: 24px;
width: min(50vw , 730px);
position: absolute;
top: 50%;
left: 10%;
transform: translateY(-50%);
z-index: 10;
padding: clamp(20px, 4.6875vw, 90px) clamp(10px, 2.6041666667vw, 50px);
}
.home_hero > .catch > .inner > .flx > .txt{
text-align: center;
}
.home_hero > .catch > .inner > .flx > .txt > h2{
font-size: var(--font-50);
font-weight: bold;
letter-spacing: .05em;
margin-bottom: clamp(30px, 2.6041666667vw, 50px);
}
.home_hero > .catch > .inner > .flx > .txt > h2 > span{
color: var(--color-green-dark);
}
.home_hero > .catch > .inner > .flx > .txt > p{
font-size: var(--font-25);
font-weight: 500;
letter-spacing: .09em;
margin-bottom: clamp(30px, 2.6041666667vw, 50px);
}
.home_hero > .catch > .inner > .flx > .media{
display: grid;
grid-template-columns: repeat(4, 1fr);
justify-items: center;
gap: 5px;
width: min(100% , 578px);
margin-inline: auto;
}
@media (max-width:1110px) {
.home_hero > .catch > .inner > .flx > .txt > p{
font-size: var(--font-20);
}
}
@media (max-width:767px) {
.home_hero{
grid-template-columns: 100%;
grid-template-rows: 100vh, auto;
grid-template-areas:
'hero_slider'
'home_message';
}
.home_hero > .media{
position: relative;
}
.home_hero > .catch{
top: 0;
height: 100vh;
position: absolute;
padding: 0 0 0 5%;
writing-mode: horizontal-tb;
display: flex;
align-items: flex-end;
}
.home_hero > .media > .-home-hero-media{
height: 90vh;
}
.home_hero > .catch > .inner{
width: 100%;
height: auto;
margin: 0 0 50vh;
position: relative;
top: initial;
z-index: 1;
}
.home_hero > .catch > .inner > .flx{
width: 90vw;
}
.home_container > .hero{
padding-bottom: 0;
}
}
@media (max-width:560px) {
.home_hero > .catch > .inner > .flx > .txt > h2{
font-size: 28px;
}
} .c-splide.-home-hero-media,
.c-splide.-home-hero-media .splide,
.c-splide.-home-hero-media .splide__track,
.c-splide.-home-hero-media .splide__list,
.c-splide.-home-hero-media .splide__slide {
height: 100%;
}
.c-splide.-home-hero-media .splide__slide {
overflow: hidden;
position: relative;
}
.c-splide.-home-hero-media .image {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover;
transition: 7s linear;
}
.c-splide.-home-hero-media .splide__slide.is-active .image {
transform: scale(1.05);
} .home_container > .headlineWrap {
position: relative;
z-index: 1;
}
.home_container > .headlineWrap > .inner {
position: absolute;
inset: auto 0 100px auto;
width: min(95%,800px);
margin-inline: 0 0;
}
.home-headline {
display: flex;
background: var(--color-white);
border-radius: 999px 0px 0px 999px;
color: var(--color-black-b);
box-shadow: var(--shadow-opacity25);
}
.home-headline > .header {
flex: 0 0 auto;
display: grid;
place-items: center;
position: relative;
border-right: 1px solid var(--color-gray-b);
text-indent: 0.2em;
width: 10em;
} .home-headline > .header > .heading {
font-family: var(--font-en);
font-size: var(--font-16);
letter-spacing: 2px;
}
.home-headline > .body {
flex: 1 1 0%;
overflow: hidden;
padding: 1.2em 0;
}
.home-headline_article {
display: inline-flex;
align-items: baseline;
white-space: nowrap;
}
.home-headline_article > .date {
flex: 0 0 auto;
width: 6.2em;
font-family: var(--font-en);
font-size: var(--font-16);
}
.home-headline_article > .title {
flex: 1 1 0%;
font-weight: 400;
font-size: var(--font-16);
}
.home-headline_article:hover > .title {
text-decoration: underline;
}
.c-splide.-home-headline .splide__slide{
min-width: 100%;
padding-inline: 2em 7em;
}
@media (max-width:960px) {
.home-headline > .header{
width: 8em;
}
}
@media (max-width:767px) {
.home_container > .headlineWrap > .inner{
bottom: 0;
width: 100%;
}
.home-headline{
border-radius: 0;
}
.home-headline_article > .date,
.home-headline_article > .title{
font-size: 14px;
}
.home-headline > .header > .heading {
font-size: 14px;
}
.home-headline > .header{
width: 5em;
}
} .message{
width: min(90vw, 1543px);;
height: 100%;
margin-left: auto;
padding: clamp(30px, 3.6458333333vw, 70px) 0;
}
.message > .inner{
border-radius: 6px;
box-shadow: var(--shadow-opacity10);
background: var(--color-gradient-green);
padding: clamp(30px, 3.125vw, 60px) 0 clamp(30px, 3.125vw, 60px) clamp(10px, 3.6458333333vw, 70px);
position: relative;
overflow: hidden;
}
.message > .inner > .deco{
position: absolute;
inset: 30px auto 0 clamp(20px, 10.4166666667vw, 200px);
z-index: -1;
}
.home_message > .flx{
display: flex;
justify-content: space-between;
gap: clamp(30px, 3.125vw, 60px);
}
.home_message > .flx > .item > .catch{
font-size: var(--font-26);
color: var(--color-green-dark);
font-weight: 600;
letter-spacing: 1.5px;
line-height: 1.6;
margin-bottom: 2em;
}
.home_message > .flx > .item > .txt{
font-size: var(--font-17);
letter-spacing: .5px;
line-height: 2; font-weight: 500;
}
.home_message > .flx > .item.-content{
width: 563px;
max-width: 100%;
position: relative;
}
.link_box{
position: absolute;
bottom: 0;
right: 0;
}
.home_message > .flx > .item > .link_box .c-square{
margin-left: auto;
}
.home_message > .flx > .item > .img{
width: min(50vw, 840px);
border-radius: 8px 0 0 8px;
}
.home_message > .flx > .item.img_warp{
position: relative;
height: 100%;
}
.home_message > .flx > .item.img_warp::after{
content: attr(data-text);
position: absolute;
bottom: 10%;
left: 10%;
font-size: var(--font-18);
font-weight: bold;
font-family: var(--font-serif);
color: var(--color-black-b);
letter-spacing: 1.5px;
}
@media (max-width:960px) {
.home_message > .flx{
flex-direction: column-reverse;
}
.home_message > .flx > .item.-content{
width: 100%;
padding-right: 4em;
}
.home_message > .flx > .item > .img{
width: 100%;
}
.home_message > .flx > .item > .catch{
margin-bottom: 1em;
}
.home_message > .flx > .item > .link_box .c-square{
margin-right: 1em;
}
.message > .inner > .deco{
inset: auto auto 30px clamp(20px, 10.4166666667vw, 200px);
}
}
@media (max-width:767px) {
.message{
margin-inline: auto;
}
.message > .inner{
padding-inline: 15px;
}
.home_message > .flx > .item.-content{
padding-right: 0em;
}
} .access{
width: min(90vw, 1543px);
height: 100%;
margin: 0 auto;
padding: clamp(30px, 3.6458333333vw, 70px) 0 clamp(30px, 3.6458333333vw, 70px);
}
.home_access > .flx{
display: flex;
justify-content: space-between;
align-items: flex-end;
gap: 30px;
padding-right: 2em;
}
.home_access > .flx > .item.-map{
width: min(45vw,841px);
height: 100%;
}
#access-map{
border-radius: 8px;
width: 100%;
height: 420px;
}
.home_access > .flx > .item.-time {
width: min(88vw,692px);
height: 100%;
}
.bg_wrap {
position: relative;
margin-bottom: 2em;
} .table{
width: 100%;
table-layout: auto;
border-collapse: separate;
border-spacing: 0;
}
.list_head .list_main .list_ttl{
font-size: var(--font-18);
letter-spacing: 2px;
}
.table th,
.table td{
padding: 1em 10px;
vertical-align: middle;
text-align: center;
position: relative;
font-weight: 500;
}
.table td{
width: calc((min(88vw,692px) - 250px) / 7);
}
.list_about{
background-color: var(--color-white);
}
.list_about .bottom_left{
border-bottom-left-radius: 10px;
padding-bottom: 2em;
}
.list_about .bottom_right{
border-bottom-right-radius: 10px;
}
.list_about .top_left{
border-top-left-radius: 10px;
padding-top: 2em;
}
.list_about .top_right{
border-top-right-radius: 10px;
}
.table .list_about th {
width: min(17vw, 200px);
}
.list_about .time{
font-family: var(--font-en);
font-size: var(--font-18);
letter-spacing: 2px;
}
.list_about .time .option{
font-size: var(--font-15);
color: var(--color-brown);
letter-spacing: 0;
}
.list_about .tri,
.list_about .maru{
position: absolute;
top: 50%;
left: 50%;
translate: -50% -50%; 
display: inline-block;
}
.list_about .tri{
width: 10px;
height: 2px;
background-color: var(--color-black-c);
}
.list_about .maru{
width: 18px;
height: 18px;
border-radius: 100%;
background: var(--color-green-c);
}
.list_about .maru.-brown{
background: var(--color-brown);
}
.home_access > .flx > .item > .content{
margin-top: 3em;
margin-left: 1.5em;
}
.home_access > .flx > .item > .content > p{
line-height: 1.6;
font-size: var(--font-16);
}
.home_access > .flx > .item > .btn > .bg{
position: relative;
}
.home_access > .flx > .item > .btn > .bg > img{
border-radius: 10px;
opacity: .4;
}
.home_access > .flx > .item > .btn > .bg > .active{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.home_access > .flx > .item > .btn > .bg > .active{
display: inline-block;
}
.home_access > .flx > .item > .btn > .bg > .active > a{
display: flex;
gap: 10px;
align-items: center;
background-color: #02B64B;
padding-inline: 1em;
padding-block: 14px;
color: var(--color-white);
font-size: var(--font-18);
font-weight: 600;
font-family: var(--font-en);
border-radius: 50px;
box-shadow: var(--shadow-opacity30);
transition: var(--transition-duration) var(--transition-timing-function); width: 331px;
max-width: 100%;
justify-content: center;
}
@media (hover : hover) {
.home_access > .flx > .item > .btn > .bg > .active > a:hover{
box-shadow: none;
}
}
@media (max-width:1240px) {
.bg_wrap::before {
right: 0;
}
.home_access > .flx{
padding-right: 0;
}
.home_access > .flx{
gap: 20px;
}
}
@media (max-width:1070px) {
.home_access > .flx{
flex-direction: column-reverse; }
.home_access > .flx > .item.-map{
width: 100%;
text-align: center;
}
.home_access > .flx > .item.-time{
width: 100%;
}
.home_access > .flx > .item > .content{
margin-top: 2em;
margin-left: 0;
}
.home_access > .flx > .item > .btn > .bg > img{
width: 100%;
height: 173px;
object-fit: cover;
}
}
@media (max-width:960px) {
.list_about .bottom_left,.list_about .top_left{
padding-left: 5px;
}
.table .list_about th{
width: min(18vw, 200px);
}
}
@media (max-width:560px) {
.table th, 
.table td{
padding: 1em 0;
}
.list_about .top_left{
padding-left: 5px;
padding-top: 1em;
}
.list_about .bottom_left{
padding-bottom: 1em;
}
.list_head .list_main .list_ttl{
letter-spacing: 1px;
}
.list_about .time{
letter-spacing: 1px;
}
.bg_wrap::before{
bottom: -15px;
}
.bg_wrap{
margin-bottom: 1em;
}
#access-map{
height: 300px;
}
}
@media (max-width:460px) {
.home_access > .flx > .item > .btn > .bg > .active > a{
width: 280px;
}
} .news{
padding: clamp(80px, 12.5vw, 240px) 0 clamp(30px, 3.6458333333vw, 70px);;
position: relative;
}
.news::before{
content: '';
width: 100%;
height: 530px;
background: url(//yotsuba-naika.jp/wp-content/themes/yotsuba-naika/assets/img/home_news-bg.jpg) no-repeat top / cover;
position: absolute;
top: 0;
left: 0;
z-index: -1;
}
.news > .inner{
background-color: var(--color-white);
width: min(90vw, 1543px);
margin: 0 auto;
padding: 0 clamp(30px, 3.125vw, 60px) clamp(25px, 2.6041666667vw, 50px);
border-radius: 10px;
}
.home_news > .-typeA.-flx{
width: 100%;
display: flex;
justify-content: space-between;
align-items: flex-end;
padding: 0;
}
.home_news > .c-heading > .ttl{
display: flex;
align-items: center;
padding: 1em 0;
}
.home_news--link{
display: flex;
align-items: center;
position: relative;
font-size: var(--font-17);
font-family: var(--font-en);
font-style: italic;
transition: var(--transition-duration);
padding-left: 200px;
height: 100px;
font-weight: 400;
}
.home_news--link::before{
content: '';
display: block;
width: 164px;
height: 1px;
background: var(--color-green-c);
position: absolute;
top: 50%;
right: 0%;
transform: translateX(-50%);
}
.home_news--link:hover,
.home_news--link:hover:after{
opacity: var(--transition-opacity);
}
.home_news > .body{
margin-top: clamp(24px, 2.8571428571vw, 40px);
}
@media (max-width:1000px) {
.news::before{
height: 300px;
}
}
@media (max-width:960px) {
.home_news--link{
height: 90px;
padding-left: 45px;
}
.home_news--link::before{
width: 40px;
right: 35%;
}
} .medical-info{
position: relative;
}
.medical-info::after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
opacity: 0; 
background: url(//yotsuba-naika.jp/wp-content/themes/yotsuba-naika/assets/img/features-bg.jpg) no-repeat center / cover;
transition: 0.45s ease-in-out;
}
.medical-info.-active::after {
opacity: 1; 
}
.medical-info > .inner{
width: min(90vw, 1400px);
height: 100%;
margin: 0 auto;
padding: clamp(30px, 3.6458333333vw, 70px) 0 100px;
}
.home_medical-info > .list > .grid{
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 39px 22px;
}
.home_medical-info > .list > .grid > .item > .item_link{
display: block;
position: relative;
background-color: var(--color-green-light);
padding: 60px 1em 120px;
border-radius: 10px;
overflow: hidden;
transition: all .6s;
height: 100%;
}
.item_link::before {
content: '';
position: absolute;
width: 100px;
height: 100px;
background: white;
border-radius: 50%;
bottom: calc(8% + 25px);
left: 50%;
transform: translate(-50%, 50%) scale(0);
transition: transform 0.6s ease-out;
z-index: 1;
}
.item_link > * {
position: relative;
z-index: 2;
}
.home_medical-info > .list > .grid > .item > .item_link > .ttl{
text-align: center;
margin-bottom: 30px;
}
.home_medical-info > .list > .grid > .item > .item_link > .ttl > p{
font-size: var(--font-50);
color: var(--color-white);
font-weight: 500;
font-family: var(--font-en);
text-shadow: var(--text-shadow-opacity50);
transition: all .6s;
margin-bottom: 25px;
}
.home_medical-info > .list > .grid > .item > .item_link > .ttl > p > span{
font-size: var(--font-35);
margin-right: 10px;
}
.home_medical-info > .list > .grid > .item > .item_link > .ttl > h3{
font-size: var(--font-30);
font-weight: bold;
letter-spacing: 0.5px;
margin-bottom: 25px;
line-height: 1.6;
}
.home_medical-info > .list > .grid > .item > .item_link > .content{
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 2em;
}
.home_medical-info > .list > .grid > .item > .item_link > .content > .txt{
text-align: left;
}
.home_medical-info > .list > .grid > .item > .item_link > .content > .txt > p{
font-size: var(--font-18);
font-family: var(--font-en);
font-weight: 600;
letter-spacing: 2px;
line-height: 2;
color: var(--color-green);
}
.home_medical-info > .list > .grid > .item > .item_link > .content > p{
font-size: var(--font-16);
font-family: var(--font-en);
font-weight: 600;
letter-spacing: 2px;
line-height: 1.6;
margin: 1.5em 0;
color: var(--color-green);
}
@media (hover: hover) {
.item_link:hover::before {
transform: translate(-50%, 50%) scale(15);
}
.home_medical-info > .list > .grid > .item > .item_link{
opacity: 1;
}
.item_link:hover .c-square.-noLink.-center::after {
scale: 1.5;
}
.home_medical-info > .list > .grid > .item > .item_link:hover > .ttl > p{
color: var(--color-green);
text-shadow: none;
transition: all .6s;
}
}
@media (max-width:1240px) {
.home_medical-info > .list > .grid{
grid-template: repeat(3, 1fr) / repeat(2, 1fr);
}
}
@media (max-width:767px) {
.home_medical-info > .list > .grid{
gap: 20px 10px;
}
.home_medical-info > .list > .grid > .item > .item_link{
padding: 30px 0.5em 65px;
}
.home_medical-info > .list > .grid > .item > .item_link > .ttl > p{
margin-bottom: 10px;
}
.home_medical-info > .list > .grid > .item > .item_link > .ttl > h3{
margin-bottom: 10px;
}
}
@media (max-width:640px) {
.home_medical-info > .list > .grid{
grid-template: 1fr / 1fr;
}
} .features{
height: 100%;
margin: 0 auto;
opacity: 0;
transition: 0.45s ease-in-out;
}
.features.-active{
opacity: 1;
}
.home_features{
position: relative;
display: grid;
justify-items: center;
grid-template-columns: 1fr min(1120px,1120 / 1920 * 100 * 1vw);
grid-template-columns: min(.714fr,800 / 1920 * 100 * 1vw) 1fr;
background: url(//yotsuba-naika.jp/wp-content/themes/yotsuba-naika/assets/img/features-bg.jpg) no-repeat center / cover;
padding-bottom: 150px;
}
.home_features > .img_box{
width: 100%;
height: calc(100vh - 100px);
max-height: 100%;
position: sticky;
top: 120px;
transition: .4s .2s ease-in-out;
}
.home_features > .img_box > img,
.home_features > .img_box > video{
height: 100%;
width: 100%;
object-fit: cover;
object-position: top;
margin-left: auto;
}
.home_features > .txt_box{
width: min(100% , 854px);
height: 100%;
padding: clamp(0px, 5.2083333333vw, 100px) clamp(20px, 3.4375vw, 66px) 0;
color: #fff;
position: relative;
z-index: 1;
}
.home_features > .txt_box > .item{
margin-bottom: 70px;
}
.home_features > .txt_box > .item:last-child{
margin-bottom: 0;
}
.home_features > .txt_box > .item > .number {
margin-bottom: 20px;
}
.home_features > .txt_box > .item > .number > p{
font-size: var(--font-70);
font-family: var(--font-en);
}
.home_features > .txt_box > .item > .number > p > span{
font-size: var(--font-35);
}
.home_features > .txt_box > .item > .content{
background: var(--color-white);
border-radius: 10px;
padding: clamp(30px, 2.6041666667vw, 50px) clamp(15px, 3.6458333333vw, 70px);
letter-spacing: .5px;
line-height: 1.6;
}
.home_features > .txt_box > .item > .content > h3{
color: var(--color-brown);
font-size: var(--font-28);
font-weight: bold;
text-align: center;
padding-bottom: 38px;
margin-bottom: 40px;
border-bottom: 1px solid var(--color-black-b);
}
.home_features > .txt_box > .item > .content > p{
font-size: var(--font-16);
color: var(--color-black-c);
line-height: 2;
}
@media (max-width:960px) {
.home_features{
padding-bottom: 125px;
}
.home_features > .txt_box > .item > .content > h3{
text-align: left;
padding-bottom: 25px;
margin-bottom: 30px;
}
.home_features > .img_box{
top: 0;
height: 100vh;
}
.home_features > .txt_box > .item:last-child{
margin-bottom: 70px;
}
}
@media (max-width:767px) {
.home_features{
grid-template-columns: 1fr;
}
.home_features > .img_box{
height: 100vh;
top: 0;
}
.home_features > .img_box::after{
content: '';
width: 100%;
height: 100%;
display: block;
position: absolute;
top: 0;
left: 0;
background: rgb(0 0 0 / 40%); }
.home_features > .txt_box{
padding-top: 0;
top: -30%;
}
.home_features > .txt_box > .item > .content{
background: rgba(255, 255, 255, 0.9);
}
.home_features > .txt_box > .item > .content > h3{
padding-bottom: 20px;
margin-bottom: 20px;
}
.home_features > .txt_box > .item,
.home_features > .txt_box > .item:last-child{
margin-bottom: 50px;
}
} .recruit{
position: relative;
z-index: 1;
}
.recruit > .inner > .home_recruit{
width: var(--content-width-medium);
padding: clamp(30px, 3.6458333333vw, 70px) clamp(30px, 3.125vw, 60px);
position: relative;
top: -70px;
left: 50%;
transform: translateX(-50%);
background-color: var(--color-white);
}
.home_recruit > .bnr{
width: min(100%,1000px);
margin-inline: auto;
margin-bottom: clamp(30px,3.6458333333vw,70px);
}
.home_recruit > .c-info{
margin: 0 auto;
}
.home_recruit > .img{
text-align: center;
margin-top: clamp(30px, 3.6458333333vw, 70px);
}
.home_recruit > .bnr > .link{
display: block;
border: 2px solid var(--color-gray);
}
@media (hover : hover) {
.home_recruit > .bnr > .link:hover{
opacity: 0.65;
}
}
@media (max-width:560px) {
.recruit > .inner > .home_recruit{
padding-inline: 1em;
width: 100%;
}
}