/* ==================================================
   page.css
   富田林整骨院 ページ専用
================================================== */
/* ========================================
   トップページ・最新のお知らせ
======================================== */

.top-news {
    padding: 70px 20px;
    background: #f5f8f3;
}

.top-news__inner {
    width: min(100%, 1000px);
    margin: 0 auto;
}

.top-news__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.top-news__english {
    margin: 0 0 5px;
    color: #6dbe45;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.top-news__title {
    margin: 0;
    color: #333;
    font-size: clamp(27px, 4vw, 38px);
    line-height: 1.4;
}

.top-news__list {
    overflow: hidden;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 7px 24px rgba(0, 0, 0, 0.06);
}

.top-news__item{
    display:grid;
    grid-template-columns:130px 1fr 30px;
    align-items:center;
    gap:20px;
    padding:22px 25px;
    text-decoration:none;
    color:#333;
    border-bottom:1px solid #e5e5e5;
    transition:.25s;
}


.top-news__item:last-child {
    border-bottom: none;
}

.top-news__item:hover{
    background:#f5faf3;
}

.top-news__date{
    color:#666;
    font-size:14px;
    font-weight:600;
}

.top-news__item-title{
    font-size:17px;
    font-weight:500;
}

.top-news__arrow{
    text-align:right;
    color:#6DBE45;
    font-size:24px;
    transition:.2s;
}


.top-news__item:hover .top-news__arrow{
    transform:translateX(5px);
}

.top-news__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 175px;
    padding: 12px 22px;
    border: 1px solid #6dbe45;
    border-radius: 999px;
    background: #fff;
    color: #4f9e31;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition:
        background-color 0.2s,
        color 0.2s;
}

.top-news__more:hover {
    background: #6dbe45;
    color: #fff;
}

.top-news__more--sp {
    display: none;
}

.top-news__empty {
    margin: 0;
    padding: 35px 20px;
    background: #fff;
    border-radius: 12px;
    color: #666;
    text-align: center;
}

@media (max-width: 768px) {

    .top-news {
        padding: 45px 15px;
        text-align: center;
    }

    .top-news__inner {
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .top-news__heading {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-bottom: 22px;
        text-align: center;
    }

    .top-news__heading > div {
        width: 100%;
        text-align: center;
    }

    .top-news__english {
        width: 100%;
        margin: 0 0 8px;
        text-align: center;
    }

    .top-news__title {
        width: 100%;
        margin: 0;
        text-align: center;
    }

    .top-news__more--pc {
        display: none;
    }

    .top-news__more--sp {
        display: flex;
        justify-content: center;
        width: min(100%, 240px);
        margin: 25px auto 0;
    }

    .top-news__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 18px;
        text-align: center;
    }

    .top-news__date {
        width: 100%;
        margin: 0;
        font-size: 13px;
        text-align: center;
    }

    .top-news__item-title {
        width: 100%;
        margin: 0;
        font-size: 17px;
        font-weight: bold;
        text-align: center;
    }

    .top-news__arrow {
        display: none;
    }
}

/* ==================================================
   お知らせ一覧ページ
================================================== */

.news-list-page {
    background: #f7f9f6;
}

.news-list-section {
    padding: 70px 20px;
}

.news-list-section__inner {
    width: min(100%, 1000px);
    margin: 0 auto;
}

.news-list-section__heading {
    margin-bottom: 35px;
    text-align: center;
}

.news-list-section__english {
    margin: 0 0 8px;
    color: #6dbe45;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-align: center;
}

.news-list-section__title {
    margin: 0;
    color: #333;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.4;
    text-align: center;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.news-card {
    overflow: hidden;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 7px 24px rgba(0, 0, 0, 0.07);
    transition:
        transform 0.25s,
        box-shadow 0.25s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.news-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #333;
    text-decoration: none;
}

.news-card__image {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #eaf2e6;
}

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

.news-card:hover .news-card__image img {
    transform: scale(1.04);
}

.news-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 23px;
}

.news-card__date {
    display: block;
    margin-bottom: 10px;
    color: #777;
    font-size: 14px;
}

.news-card__title {
    margin: 0 0 15px;
    color: #333;
    font-size: 20px;
    line-height: 1.6;
}

.news-card__excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 20px;
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.news-card__more {
    display: inline-block;
    margin-top: auto;
    color: #4f9e31;
    font-size: 14px;
    font-weight: 700;
}

.news-card__more::after {
    margin-left: 6px;
    content: "→";
}

.news-list-section__empty {
    margin: 0;
    padding: 40px 20px;
    background: #fff;
    border-radius: 12px;
    color: #666;
    text-align: center;
}

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

    .news-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .news-list-section {
        padding: 45px 15px;
    }

    .news-list-section__heading {
        margin-bottom: 25px;
    }

    .news-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-card__content {
        padding: 20px;
        text-align: center;
    }

    .news-card__date {
        text-align: center;
    }

    .news-card__title {
        font-size: 18px;
        text-align: center;
    }

    .news-card__excerpt {
        text-align: center;
    }
}
/* ==================================================
   ニュース用の編集
================================================== */


.news-detail-page {
    padding: 60px 20px;
    background: #f7f9f6;
}

.news-detail {
    width: min(100%, 850px);
    margin: 0 auto;
    padding: 45px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
}

.news-detail__heading {
    padding-bottom: 25px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e3ecdf;
}

.news-detail__date {
    margin: 0 0 10px;
    color: #777;
    font-size: 15px;
}

.news-detail__title {
    margin: 0;
    color: #333;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.5;
}

.news-detail__thumbnail {
    margin-bottom: 35px;
}

.news-detail__thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    border-radius: 12px;
}

.news-detail__excerpt {
    padding: 20px;
    margin-bottom: 35px;
    background: #f2f8ef;
    border-left: 5px solid #6dbe45;
    border-radius: 8px;
    color: #444;
    line-height: 2;
}

.news-detail__body {
    color: #333;
    font-size: 17px;
    line-height: 2;
}

.news-detail__text {
    margin-bottom: 32px;
}

.news-detail__image {
    margin: 35px 0;
}

.news-detail__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.news-detail__image figcaption {
    margin-top: 10px;
    color: #777;
    font-size: 14px;
    text-align: center;
}

.news-detail__back {
    padding-top: 30px;
    margin-top: 50px;
    border-top: 1px solid #ddd;
    text-align: center;
}

.news-detail__back a {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 999px;
    background: #6dbe45;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
}

.news-detail__back a:hover {
    opacity: 0.85;
}

@media (max-width: 768px) {
    .news-detail-page {
        padding: 30px 15px;
    }

    .news-detail {
        padding: 25px 18px;
        border-radius: 10px;
    }

    .news-detail__body {
        font-size: 16px;
    }
}


/* ==========================
   メインビジュアル
========================== */

.mv{
    position:relative;
    width:100%;
    height:600px;
    overflow:hidden;
}

.mv h1{

    position:absolute;

    top:50%;

    left:50%;

    transform:translate(-50%,-50%);

    color:#fff;

    font-size:42px;

    text-align:center;

    width:90%;

    z-index:5;

    text-shadow:0 3px 8px rgba(0,0,0,.4);

}

/* ==========================
   スライダー
========================== */

.items{

    position:absolute;

    inset:0;

    opacity:0;

    animation:slideShow 18s infinite;

}

.items img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.items:nth-child(1){

    animation-delay:0s;

}

.items:nth-child(2){

    animation-delay:3s;

}

.items:nth-child(3){

    animation-delay:6s;

}

.items:nth-child(4){

    animation-delay:9s;

}

.items:nth-child(5){

    animation-delay:12s;

}

.items:nth-child(6){

    animation-delay:15s;

}

@keyframes slideShow{

0%{

opacity:0;

}

8%{

opacity:1;

}

25%{

opacity:1;

}

33%{

opacity:0;

}

100%{

opacity:0;

}

}

/* ==========================
   TOP帯
========================== */

.bar{

    background:#0e6227;

    color:#fff;

    text-align:center;

    padding:8px;

    font-size:18px;

}
.bar h1{
  font-size: 28px;
  color: white;
  margin-bottom: 2px;
}


/* ==========================
   TOP文章
========================== */

.home-content{

    padding-top:90px;

}

.home-content h1{

    color:#fff;

}

.home-content p{

    color:#fff;

    text-align:center;

    font-size:20px;

}

/* ==========================
   LP
========================== */

.lp{

    background:#f3f9f0;;

    padding:5px 0;

}

/* ==========================
   画像
========================== */


.pikature{

    display:flex;

    gap:20px;

    justify-content:center;

    flex-wrap:wrap;

}

.pikature img{

    width:100%;

    max-width:480px;

    border-radius:10px;

}

/* ==========================
   セクション余白
========================== */

section{

    padding:60px 0;

}

/* ==========================
   カードアニメーション
========================== */

.fadeUp{

    opacity:0;

    transform:translateY(30px);

    transition:.6s;

}

.fadeUp.active{

    opacity:1;

    transform:none;

}

/* ==========================
   hover
========================== */

.item{

    transition:.3s;

}

.item:hover{

    transform:translateY(-5px);

    box-shadow:0 8px 20px rgba(0,0,0,.15);

}

/* ==========================
   モバイル
========================== */

@media(max-width:768px){

.mv{

    height:320px;

}

.mv h1{

    font-size:28px;

}

.home-content{

    padding-top:70px;

}

.home-content p{

    font-size:18px;

}

.bar{

    font-size:16px;
margin-bottom:0px;
}

section{

    padding:10px 0;

}

.lp{

    padding:10px 0;

}

.pikature{

    display:block;

}

.pikature img{

    margin:15px auto;

}
.yoyaku{
  display: none;
}
}

/* ==========================
   iPhone SE
========================== */

@media(max-width:360px){

.mv{

    height:260px;

}

.mv h1{

    font-size:22px;

}

.home-content p{

    font-size:16px;

}

}


/* ==================================================
   パンくずリスト
================================================== */
.breadcrumb {
    position: static;
    width: 100%;
    padding: 12px 20px;
    background: #f5f8f3;
    border-bottom: 1px solid #e3e3e3;
    opacity: 1;
}

.breadcrumb__inner {
    width: min(100%, 1000px);
    margin: 0 auto;
    color: #666;
    font-size: 14px;
}

.breadcrumb a {
    display: inline;
    padding: 0;
    color: #6dbe45;
    text-decoration: none;
}

.breadcrumb a:hover {
    background: transparent;
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 6px;
}

@media (max-width: 768px) {
    .breadcrumb {
        padding: 10px 15px;
    }

    .breadcrumb__inner {
        font-size: 13px;
    }

    .news-list-page,
    .news-detail-page {
        padding-bottom: 20px;
    }

    .top-news__heading,
    .top-news__heading > div,
    .top-news__english,
    .top-news__title {
        width: 100%;
        text-align: center;
    }
}
/* ==========================
   Instagram埋め込み
========================== */

.instagram-area {
    width: 100%;
    overflow: visible;
}

.instagram-area .instagram-media {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 540px !important;
    margin: 0 auto !important;
}

.instagram-area iframe {
    width: 100% !important;
    min-height: 700px !important;
    height: 700px !important;
    max-height: none !important;
    display: block !important;
}
@media (max-width: 768px) {

    .instagram-area {
        width: 100%;
        overflow: visible;
    }

    .instagram-area iframe {
        min-height: 650px !important;
        height: 650px !important;
    }
}

body,
.top,
.as,
.lp {
    background-color: #f3f9f0 !important;
}

.waku,
.point,
.hideaway-feature__item {
    background-color: #ffffff;
}
