.br768{
    display: none;
}
.br480{
    display: none;
}
/* リセットとベーススタイル */

.content_wrapper  {
    font-family: 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
}

.content_wrapper a {
    text-decoration: none;
}

.content_wrapper img {
    max-width: 100%;
    height: auto;
}
.link_btn{
    position: relative;
}
.link_btn:after{
    content: ">";
    padding-left: 2rem;
    transition: all 0.3s;
    display: inline-block;
}
.link_btn:hover{
}
.link_btn:hover:after{
    transform: translateX(6px);
}
/* ヒーローセクション */
.hero {
    background-image: url(../images/hero_bg.webp);
    background-size: cover;
    background-position: center bottom;
    text-align: center;
    padding-bottom: 12%;
    margin-bottom: -4%;
}

.hero-content {
    text-align: center;
}

.hero-title {
    margin-bottom: 1rem;
    padding: 5% 0;
}
.hero-title img{
    width: 580px;
    max-width: 75%;
}

.hero-subtitle {
    margin-bottom: 2rem;
    padding:0 0 3% 0;
}
.hero-subtitle img{
    width: 535px;
    max-width: 70%;
}

.hero-description {
    color: #333;
    
    margin-bottom: 5%;
}
.hero-description p {
    margin-bottom: 1%;
    font-size: clamp(1.4rem, 2.0vw, 2.4rem);
    font-family: YakuHanMP, "游明朝 Medium", "Yu Mincho Medium", "YuMincho Medium", "Noto Serif JP", serif;
    text-align: center;
}

.hero-note {
    margin-top: 2rem;
    
    
}

/* SDGsセクション */

.sdgs-content {
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.6);
    padding: 1.5rem 4%;
}

.sdgs-logo {
    flex-shrink: 0;
    width: 25%;
    flex: 1;
}

.sdgs-logo img {
    max-width: 90%;
    max-height: 90%;
}

.sdgs-text {
    flex: 2.5;
}

.sdgs-title {
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1;
}

.sdgs-description {
    line-height: 1.6;
    font-size: clamp(1.4rem, 1.4vw, 1.6rem);
}

.sdgs-button {
    flex: 1;
    display: inline-block;
    background: #159CDA;
    color: #fff;
    padding: 0.7rem 1.0vw;
    font-weight: 700;
    transition: background 0.3s, color 0.3s;
    font-size: clamp(1.3rem, 1.4vw, 1.6rem);
}

.sdgs-button:hover {
}

/* アクションボタン */
.action-buttons {
    margin-bottom: 3%;
}

.button-container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.action-btn {
    padding: 2.5rem 2rem;
    text-align: center;
    font-size: 2rem;
    font-size: clamp(1.6rem, 1.8vw, 2rem);
    font-weight: 700;
    color: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
    align-items: center;
    justify-content: center;
    position: relative;
}
.action-btn:after {
    content: "";
    display: block;
    background-image: url(../images/btn_arrow.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 100%;
    padding-top: 3%;
    width: 100%;
    margin-top: 2%;
    transition: all 0.3s;

}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
}
.action-btn:hover:after {
    transform: translateY(8px);
}

.action-btn-green {
    background: linear-gradient(135deg, #4a8f2e 0%, #5a9f3e 100%);
}

.action-btn-blue {
    background: linear-gradient(135deg, #1565c0 0%, #1e88e5 100%);
}



.section-inner {
    text-align: center;
}

.section-title {
    color: #333;
    font-size: clamp(1.8rem, 2.0vw, 2.4rem);
    margin-bottom: 4%;
}
.section-title:after {
    content: "";
    padding-top: 6px;
    width: 160px;
    margin: 0 auto;
    display: block;
    margin-top: 1%;
}
.green .section-title:after {
    background-color: #477E1E;
}
.blue .section-title:after {
    background-color: #0071BC;
}
.section-description {
    font-size: clamp(1.5rem, 1.6vw, 1.8rem);
    color: #333;
    margin-bottom: 3%;
    font-weight: bold;
}

/* プロジェクトダイアグラム */
.project-diagram {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 3rem;
    background: #fff;
    padding: 3rem 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-diagram:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.diagram-header {
    text-align: center;
    margin-bottom: 2rem;
}

.diagram-title {
    
    font-weight: 300;
    color: #5a9f3e;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.title-large {
    
    font-weight: 700;
}

.title-main {
    font-weight: 300;
}

.diagram-subtitle {
    
    color: #333;
}

.diagram-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    align-items: stretch;
}

.diagram-text {
    flex: 1;
    text-align: center;
}
.diagram-text h3{
    background-image: url(../images/rproject_logo.svg);
    background-position: center top;
    background-size: 42% auto;
    padding-top: 16%;
    margin-bottom: 3%;
}

.diagram-description {
    font-size: clamp(1.6rem, 1.6vw, 1.8rem);
}

.diagram-button {
    display: inline-block;
    background: #5a9f3e;
    color: #fff;
    padding: 0.7rem 0;
    
    transition: background 0.3s;
}

.diagram-button:hover {
    background: #4a8f2e;
}
.diagram-circles{
    flex:1;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
.diagram-circles > div{
    margin-bottom: 3%;
}
.diagram-circles > div img{
    display: inline-block;
    width: 40%;
    height: auto;
    margin-right: -11%;
}
.diagram-circles a{
    width: 100%;
    text-align: center;
    font-size: clamp(1.4rem, 1.4vw, 1.6rem);
}




/* カードセクション */
.cards-section {
    padding: 4rem 2rem;
    background-repeat: repeat;
    background-position: right bottom;
    width: 96%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5%;
}
.card {
    background: #fff;
    width: calc((100% - 5.0rem ) / 3 );
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.cards-section.green{
    background-image: url(../images/cont01_bg.jpg);
}
.cards-section.blue{
    background-image: url(../images/cont02_bg.jpg);
}
.cards-grid {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.card-banner {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
    align-items: stretch;
}
.banner-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.banner-image {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-image img {
    width: 100%;
    height: auto;
}
.banner-title {
    font-size: clamp(1.5rem, 1.5vw, 1.8rem);
    margin-bottom: 3%;
    color: #333;
    line-height: 1.4;
    border-left: 5px solid #477E1E;
    padding-left: 0.6rem;
}
.green .banner-title {
    border-left: 5px solid #477E1E;
}
.blue .banner-title {
    border-left: 5px solid #0071BC;
}
.banner-description {    font-size: clamp(1.4rem, 1.4vw, 1.6rem);    font-size: clamp(1.4rem, 1.4vw, 1.6rem);
    margin-bottom: 1rem;
    color: #555;
    flex: 1;
    line-height: 1.6;
}
.banner-button {
    display: inline-block;
    color: #fff;
    padding: 0.7rem 2rem;
    width: 100%;
    text-align: center;
    transition: background 0.3s;
    font-size: clamp(1.4rem, 1.4vw, 1.6rem);
}
.green .banner-button {
    background-color: #477E1E;
}
.blue .banner-button {
    background-color: #0071BC;
}
.banner-button:hover {
}

/* その他の取り組み */
.other-initiatives {
    background: #fff;
    padding: 3rem 2rem;
}

.section-divider {
    
    color: #999;
    text-align: center;
    letter-spacing: 0.1em;
}

/* 社会イニシアティブ */

.section-title-white {
    
    margin-bottom: 1.5rem;
    color: #333;
}

.section-description-white {
    
    
    color: #333;
}


/* 最終セクション */
.final-section {
    background: #fff;
    padding: 3rem 2rem;
}

/* フッター */
.lpfooter {
    background: #f5f5f5;
    padding: 3rem 2rem 2rem;
}

.lpfooter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.lpfooter-title {
    
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.lpfooter-links {
    list-style: none;
}

.lpfooter-links li {
    margin-bottom: 0.5rem;
}

.lpfooter-links a {
    
    color: #666;
    transition: color 0.3s;
}

.lpfooter-links a:hover {
    color: #c8102e;
}

.social-links {
    list-style: none;
}

.social-link {
    display: inline-block;
    margin-bottom: 0.5rem;
    
    color: #666;
    transition: color 0.3s;
}

.social-link:hover {
    color: #c8102e;
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {

    .sdgs-content {
        gap: 2rem;
    }

    .project-diagram {
        width: 95%;
    }
    .diagram-content {
        flex-direction: column;
    }

    .diagram-circles {
        width: 100%;
    }
    .diagram-circles > div{
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }
    .cards-grid {
        width: 95%;
    }
    .card {
        width: calc((100% - 2.5rem) / 2);
    }

    .card-large {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .br768{
        display: inherit;
    }
    .sdgs-content {
        flex-direction: column;
        text-align: center;
    }

    .sdgs-logo {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    .sdgs-button {
        width: 100%;
    }

    .button-container {
        grid-template-columns: 1fr;
    }
    .project-diagram {
        width: 95%;
    }
    .diagram-circles {
        height: auto;
        position: static;
    }
    .diagram-circles > div{
        width: 80%;
    }
    .cards-grid {
        width: 95%;
    }
    .card {
        width: 100%;
    }

    .card-large {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .br480{
        display: inherit;
    }
    .action-btn {
        padding: 2rem 1.5rem;
    }
    .diagram-circles > div{
        width: 100%;
    }

}