/*
Theme Name: gritspress
*/
@charset "utf-8";
.formbtn {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
   flex-wrap: wrap;
}

div#contactForm .formbtn input[type="submit"], div#contactForm .formbtn input[type="button"]{
   margin-left: inherit;
   margin-right: inherit;
   position: relative;
}


a.formbtn__link {
    width: 180px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #36782f;
    color: #fff;
    text-decoration: none;
    padding-top: 2px;
}

.fixed_btn a {
    width: 100px;
    border-radius: 100%;
    overflow: hidden;
}

.gmap.vs-02 {
	height: 475px;
    border-radius: 1rem;
	overflow:hidden;
}

.top_news__bg{
	position: relative;
}

.top_news__bg:before{
	content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f7f4ef;
    background-image: url(https://orio-sij.jp/wp-content/uploads/2026/07/top-bgnew01.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(0.8rem);
}

.top_news__bg .info_item:first-child{
	background-color: #fff;
    padding: 2rem;
    border-radius: 1rem;
}

.top_news__bg .info_block{
	margin-top: 0px;
}

@media (max-width: 1040px){
  .gmap.vs-02 {
	height: 422px;
  }
}

@media (max-width: 767px){
  a.formbtn__link {
      width: 170px;
  }
  .formbtn {
      gap: 1rem;
  }
  
  
  div#contactForm .formbtn input[type="submit"], div#contactForm .formbtn input[type="button"]{
    width: 45%;
  }
  
  .gmap.vs-02 {
	height: 300px;
  }
  
  .top_news__bg {
    padding: 20px 0;
 }
}


.concern-ranking {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
    padding: 2rem 2rem 0.8rem;
    border: 1px solid #78a971;
    background-color: #fff;
    box-sizing: border-box;
}

.concern-ranking__column {
    min-width: 0;
}

.concern-ranking__title {
    position: relative;
    margin: 0 0 1.6rem;
    padding: 1rem 1rem 0.6rem 1.8rem;
    background-color: #e5f6e2;
    color: #579157;
    font-size: 2rem;
    font-weight: 700;
    line-height: 140%;
}

.concern-ranking__title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: #27813a;
}

.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ranking-list li {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    color: #000;
    font-size: 1.9rem;
    font-weight: 500;
    line-height: 180%;
}

.ranking-list__rank {
    flex-shrink: 0;
    color: #f5a623;
    font-weight: 700;
}

.gender-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.gender-list__item p {
    margin: 0;
  	color: #000;
    font-size: 1.9rem;
    font-weight: 500;
    line-height: 150%;
}

.gender-list__label {
    margin-bottom: 2px !important;
    font-weight: 700 !important;
    line-height: 150%;
}

.gender-list__label--male {
    color: #4586d8 !important;
}

.gender-list__label--female {
    color: #e66969 !important;
}

@media screen and (max-width: 767px) {
    .concern-ranking {
       margin-top: 15px;
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 15px;
    }

    .concern-ranking__title {
        font-size: 16px;
    }

    .ranking-list li,
    .gender-list__item p {
        font-size: 15px;
    }
}

.top_catch_ttl.vs-02 img {
    display: block;
    margin: 0 auto;
}

.pediatric-articles {
    width: 100%;
    padding: 2rem 0px 1.5rem;
    box-sizing: border-box;
}

.pediatric-articles__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 1.5rem;
    row-gap: 3rem;
    max-width: 1300px;
    margin: 0 auto;
}

.article-card {
    position: relative;
    min-width: 0;
}

.article-card::before {
    content: "";
    position: absolute;
    top: -0.5rem;
    left: -0.5rem;
    z-index: 2;
    width: 5rem;
    height: 0.5rem;
    background-color: #36782f;
}

.article-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.article-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 1.47 / 1;
    overflow: hidden;
    background-color: #f3f3f3;
}

.article-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-card__body {
    padding-top: 1.7rem;
}

.article-card__title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #282522;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
      margin-bottom: 0.7rem;
}

.article-card__text {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #68635e;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 180%;
    letter-spacing: 0.00em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    margin-top: 0 !important;
}

.article-card__link:hover .article-card__image img {
    transform: scale(1.05);
}

.article-card__link:hover .article-card__title {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Tablet */
@media screen and (max-width: 1024px) {
    .pediatric-articles__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .article-card__title {
        font-size: 1.8rem;
    }
}

/* Mobile */
@media screen and (max-width: 767px) {
    .pediatric-articles {
        padding: 3rem 0;
    }

    .pediatric-articles__grid {
        grid-template-columns: 1fr;
        row-gap: 35px;
    }

    .article-card::before {
        top: -8px;
        left: -5px;
        width: 65px;
        height: 8px;
    }

    .article-card__body {
        padding-top: 14px;
    }

    .article-card__title {
        font-size: 17px;
        line-height: 1.55;
    }

    .article-card__text {
        font-size: 14px;
    }
}

.fixed_btn.vs-02{
    right: 130px;
    transition: 0.7s;
}

.fixed_btn.vs-02 a{
    border-radius: 0;
    width: 350px;
}

.fixed_btn.is-scroll{
	bottom: 12px;
}

.fixed_btn.is-scroll a {
    width: 250px;
}

/* Nút close */
.floating-banner .close {
	position: absolute;
	top: -12px;
	right: -12px;
	width: 28px;
	height: 28px;
	background: #333;
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	z-index: 2;
}

.floating-banner .close::before,
.floating-banner .close::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 2px;
	background: #fff;
	transform-origin: center;
}

.floating-banner .close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.floating-banner .close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.floating-banner .close:hover {
	background: #000;
}

.floating-banner.is-closed {
	 cursor: default;
    pointer-events: none;
    opacity: 0;
    z-index: -1;
    position: relative;
}

.fixed_btn.is-closed. * {
    cursor: default;
    pointer-events: none;
    opacity: 0;
    z-index: -1;
    position: relative;
}

.mainvisual{
	position: relative;
	z-index: 0;
}

.mainvisual::before{
	content: "";
	position: absolute;
	width: 32.813vw;
	height: 22.448vw;
	bottom: 0;
	left: 0;
	z-index: 1;
	background: url(images/main_bg02.png.webp) no-repeat center bottom;
	background-size: contain;
}

.mainvisual::after{
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 45.208vw;
	height: 22.448vw;
	z-index: 1;
	background: url(images/main_bg01.png.webp) no-repeat center bottom;
	background-size: contain;
}

.mainvisual-desc{
	position: absolute;
	bottom: 7.292vw;
	left: 3.125vw;
	z-index: 3;
	background: rgba(255,255,255,0.5);
}

.mainvisual-desc img{
	width: 23.281vw;
}

.mainvisual-tile {
	position: relative;
	width: 100%;
	height: 47.8646vw; 
	max-height: 919px;
	list-style: none;
	margin: 0;
	z-index: 0;
	overflow: hidden;
}

.mainvisual-tile::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	z-index: -2;

	width: calc(100% - 53.6458vw); 
	height: 100%;

	background: #f9ee7c;
	clip-path: polygon(
		0 0,
		100% 0,
		100% 100%,
		100% 100%
	);
}

.mainvisual-tile::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: -1;

	width: calc(100% - 59.8958vw); 
	height: 41.9271vw;
	max-height: 805px;

	background: #367932;
	clip-path: polygon(
		100% 0,
		0 100%,
		100% 100%
	);
}

/* --- Slider layers ---*/
.mainvisual-tile > li {
	position: absolute;
	pointer-events: none;
}

.mainvisual-tile > li:nth-child(n + 5) {
	opacity: 0;
	transition: opacity var(--tile-fade, 800ms) ease;
}

.mainvisual-tile > li:nth-child(n + 5).show {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.mainvisual-tile > li:nth-child(n + 5) {
		transition-duration: 1ms;
	}
}

.mainvisual-tile .mgp01 {
	top: 0;
	left: 0;
	z-index: 0;

	width: 59.8958vw; 
	max-width: 1150px;

	height: 47.8646vw; 
	max-height: 919px;

	clip-path: polygon(
		0 0,
		100% 0,
		7.1354vw 100%,
		0 100%
	);
}

.mainvisual-tile .mgp01::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;

	width: 100%;
	height: calc(100% - 19.2708vw); 

	background: #f9ee7c;
	clip-path: polygon(
		100% 64%,
		100% 100%,
		0 100%,
		0 0
	);
}

.mainvisual-tile .mgp01 img {
	position: relative;

	display: block;
	width: 100%;

	height: 37.7604vw;
	max-height: 725px;

	object-fit: cover;

	clip-path: polygon(
		0 0,
		100% 0,
		18.2292vw 100%,
		0 19.2708vw 
	);
}

.mainvisual-tile .mgp02 {
	top: 0;
	right: 0;
	z-index: 2;

	width: calc(100% - 59.8958vw); 
	height: 41.9271vw; 
	max-height: 805px;
}

.mainvisual-tile .mgp02 img {
	display: block;
	width: 100%;
	height: 100%;

	object-fit: cover;

	clip-path: polygon(
		0 0,
		100% 0,
		100% 100%,
		100% 100%
	);
}

.mainvisual-tile .mgp03 {
	right: 0;
	bottom: 0;
	z-index: 3;

	width: 33.125vw; 
	max-width: 636px;

	height: 32.4479vw; 
	max-height: 623px;
}

.mainvisual-tile .mgp03 img {
	display: block;
	width: 100%;
	height: 100%;

	object-fit: cover;

	clip-path: polygon(
		100% 0,
		100% 100%,
		0 100%
	);
}

.mainvisual-tile .mgp04 {
	right: 1.5104vw; 
	bottom: 0;
	z-index: 1;

	width: 92.4479vw; 
	max-width: 1775px;

	height: 47.3958vw; 
	max-height: 910px;
}

.mainvisual-tile .mgp04 img {
	display: block;
	width: 100%;
	height: 100%;

	object-fit: cover;

	clip-path: polygon(
		55.4% 0,
		100% 91.7%,
		100% 100%,
		100% 100%,
		0 100%
	);
}

@media screen and (max-width: 1280px) {

	.mainvisual-tile {
		height: 57.8646vw;
	}

	.mainvisual-tile::before {
		height: 100%;
	}

	.mainvisual-tile::after {
		height: 87.5952%;
	}

	.mainvisual-tile .mgp01 {
		height: 100%;
	}

	.mainvisual-tile .mgp01::before {
		height: 59.7388%;
	}

	.mainvisual-tile .mgp01 img {
		height: 78.8901%;

		clip-path: polygon(
			0 0,
			100% 0,
			30.4348% 100%,
			0 51.0345%
		);
	}

	.mainvisual-tile .mgp02 {
		height: 87.5952%;
	}

	.mainvisual-tile .mgp03 {
		height: 67.7911%;
	}

	.mainvisual-tile .mgp04 {
		height: 99.0207%;
	}
}

@media (max-width: 767px) {
	.mainvisual-tile{
		height: 144vw;
	}

	.mainvisual-tile::before{
		z-index: 4;
		opacity: 0;
		width: 56vw;
		height: 56vw;
		top: auto;
		bottom: 0;
		clip-path: polygon(100% 0, 0% 100%, 100% 100%);
	}

	.mainvisual-tile::after{
		z-index: 5;
		width: 74.667vw;
		height: 74.667vw;
		left: 0;
		background: #fff589;
		clip-path: polygon(0 0, 0% 100%, 100% 100%);
	}

	.mainvisual-tile .mgp01{
		width: 79.467vw;
		height: 67vw;
	}

	.mainvisual-tile .mgp01::before{
		content: none;
	}

	.mainvisual-tile .mgp01 img{
		clip-path: inherit;
		height: 100%;
	}

	.mainvisual-tile .mgp02{
		width: 56.533vw;
		height: 58.4vw;
	}

	.mainvisual-tile .mgp02 img{
		clip-path: polygon(0 0, 100% 100%, 100% 0);
	}

	.mainvisual-tile .mgp03{
		width: 56vw;
		height: 56vw;		
	}

	.mainvisual-tile .mgp03 img{
		clip-path: inherit;
		clip-path: polygon(100% 0, 0% 100%, 100% 100%);
	}

	.mainvisual-tile .mgp04{
		width: 100%;
		height: 136.8vw;
		right: 0;
	}

	.mainvisual-tile .mgp04 img{
		clip-path: inherit;
		clip-path: polygon(57.333vw 0%, 100% 42.667vw, 100% 100%, 0 100%, 0% 58.667vw);
	}

	.mainvisual-desc{
		bottom: 4vw;
		left: 4vw;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.mainvisual-desc img{
		width: 53vw;
	}
  
  .fixed_btn.vs-02{
  right: 4vw;
    bottom: 17.333vw;
  }
  .fixed_btn.is-scroll{
  bottom: 17.333vw;
  }
  
  .fixed_btn.vs-02 a{
  width: 93.333vw;
  }
  
  .fixed_btn.is-scroll a{
  width: 66.667vw;
  }
}
