
html {
    scroll-behavior: smooth;
}

body {
    /* 1. 游ゴシックを最優先 */
    font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体",
                 /* 2. ヒラギノ角ゴシック */
                 "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3",
                 /* 3. メイリオ */
                 Meiryo, "メイリオ",
                 /* 4. BIZ UDゴシック */
                 "BIZ UDPGothic", "BIZ UDPゴシック",
                 /* 5. システムのデフォルトゴシック体 */
                 sans-serif;
                 font-feature-settings: "palt";
       animation: fadeIn 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;

}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #fff;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.06);
}

.en{
     font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight:700;

}

.logo img {
    height: 30px;
}

.navigation {
    display: flex;
    gap: 30px;
   
}

.navigation div a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
    font-weight: bold;
}

.navigation div a:hover {
    color: #0066CC;
}


/* main */
.main {
    overflow: hidden;
    position: relative;
}

.main .slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.main .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.main .slide.active {
    position: relative;
    opacity: 1;
}

.main .slide.active img {
    /* animation: zoomOut 15s ease-out forwards; */
}

@keyframes zoomOut {
    0% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.main img{
    display: block;
    z-index: -1;
    width: 100%;
    height: auto;
    transform-origin: center;
}



/* concept */
.concept {
    position: relative;
    padding: 90px 20px;
    text-align: center;
    overflow: hidden;
}

.concept::before {
    content: '';
    position: absolute;
    left: -42px;
    top: -2px;
    bottom: -1px;
    width: 200px;
    background-image: url('../images/bg-lt.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
}

.concept::after {
    content: '';
    position: absolute;
    right: -41px;
    top: -2px;
    bottom: -1px;
    width: 200px;
    background-image: url('../images/bg-rt.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
}

.concept_txt {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.concept h1 {
    font-size: clamp(1.8rem, calc(2rem + 2vw), 3rem);
    font-weight: bold;
    margin: 30px auto;
    color: #333;
    border-bottom: 5px #FEC843 solid;
    display: inline-block;
}

.concept p {
    font-size: clamp(1rem, calc(1rem + 0.5vw), 1.3rem);
    line-height: 1.9;
    color: #000;
    margin-bottom: 20px;
}


.promise {
    margin: 0 auto;
    padding: 80px 20px;
    background-color: #072F55;
}

.promise h2 {
    text-align: left;
    font-size: clamp(1.5rem, calc(1.5rem + 1vw), 2rem);
    margin-bottom: 60px;
    color: #fff;
    max-width: 1080px;
    margin: 60px auto;
    font-weight: bold;
    border-bottom: 2px solid rgba(255,255,255,1);
    padding-bottom: 10px;
    position: relative;
}

.promise h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 2px;
    background-color: #FEC843;
}

.promise-item {
    display: flex;
    align-items: center;
    margin: 0 auto 32px;
    position: relative;
    overflow: hidden;
    background-color: #fff;
    max-width: 1080px;
    min-height: 320px;
}

/* 偶数番目のアイテムは左右を反転 */
.promise-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.promise-image {
    flex: 0 0 55%;
    position: relative;
}

.promise-content {

    position: relative;
}

.promise-image {
    height: auto;
    overflow: hidden;
    position: relative;
}

.promise-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.promise-image picture {
    width: 100%;
    height: 100%;
    display: block;
}



.promise-content {
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promise-title {
    font-size: clamp(1.5rem, calc(1.5rem + 1.2vw), 2.2rem);
    font-weight: bold;
    color: #000;
}

.promise-subtitle {
    font-size: clamp(1rem, calc(1rem + 0.5vw), 1.3rem);
    color: #003F9E;
    margin-bottom: 20px;
}

.promise-text {
    line-height: 1.8;
    color: #000;
    font-size: clamp(0.95rem, calc(0.95rem + 0.5vw), 1.3rem);
    font-weight: bold;
}


/* 支援対象災害セクション */
.support_area {
    background: url(../images/bg-image.png);
    background-repeat: repeat;
    background-position: 0 -1px;
    padding: 60px 20px;
}

.support_box{
    background-color: #fff;
    padding: 4rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.support_box h3{
    font-weight: bold;
}


.support_area > div {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.support_area h3 {
    font-size: clamp(1.4rem, calc(1.4rem + 0.8vw), 1.8rem);
    margin-bottom: 30px;
    line-height: 1.1;
}

.support_area h3 span {
    font-size: 1rem;
    color: #000;
}

.support_area p {
    line-height: 2;
    color: #000;
    font-size: clamp(0.95rem, calc(0.95rem + 0.3vw), 1.1rem);
    text-align: left;
}


/* LCIF */

.lcif{
    background-color: #F5F5F5;
    padding: 4rem 0;
    color: #fff;
}

.lcif h2{
    font-size: clamp(1.8rem, calc(1.8rem + 1.5vw), 2.6rem);
    font-weight: bold;
     margin-bottom: .5rem;
}

.lcif h3{
    font-size: clamp(1.3rem, calc(1.3rem + 0.8vw), 1.6rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
}
.lcif p{
    font-size: clamp(1rem, calc(1rem + 0.3vw), 1.2rem);
    line-height: 2;
}

.bgimage{
    justify-content: center;
    padding: 90px;
    display: flex;
    align-items: center;
    height: 660px;
    position: relative;
    max-width:1080px;
    width:100%;
    flex-direction: column;
    margin: auto;
    align-items: flex-start;
    background-image: url('../images/lcif.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.text_area{
    width: 50%;
    position: relative;
    z-index: 1;
}

.lcif-content {
    width: 50%;
    padding-right: 40px;
}

footer{
    background: url(../images/ft-image.png);
    background-repeat: no-repeat;
    padding:8rem 0 4rem 0;
    text-align: center;
    color: #fff;
    background-size: cover;
}

footer .ft_contents {
    text-align: center;
    margin-bottom: 6rem;
}

.ftlogo p{
    font-weight: bold;
    font-size: clamp(1.1rem, calc(1.1rem + 0.5vw), 1.4rem);
    line-height: 1.85;
}

footer .ft_contents .ftlogo{
    width: 100%;
    max-width: 900px;
    margin: auto;
    text-align: center;
    
   
}

footer .ft_contents .ftlogo img {
    display: block;
    margin: 0 auto;
     margin-bottom: 3rem;
}

footer .address {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0 0 0;
    border-top: solid 1px #fff;
    
}

footer .address .cp_link a {
    color: #fff;
    text-decoration: none;
}

footer .address .cp_link a:hover {
    text-decoration: underline;
}

footer .logoList {
  display: flex;
  flex-wrap: wrap;    
  justify-content: center; 
  gap: 20px;       
  max-width: 700px;  
  margin: 0 auto 40px;

}

footer .logoList div {
  flex: 0 0 40%; 
  text-align: center;
}

footer .logoList img {
  max-width: 100%;
  height: auto;
  margin-bottom: 0rem !important;
}

/* 外部リンクアイコン */
.external-link::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 6px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyIDQuNUwxMiAzLjVMMy41IDMuNUMzLjIyIDMuNSAzIDMuNzIgMyA0TDMgMTIuNUMzIDEyLjc4IDMuMjIgMTMgMy41IDEzTDEyIDEzQzEyLjI4IDEzIDEyLjUgMTIuNzggMTIuNSAxMi41TDEyLjUgOC41IiBzdHJva2U9IiM2NjY2NjYiIHN0cm9rZS13aWR0aD0iMS41IiBmaWxsPSJub25lIi8+CjxwYXRoIGQ9Ik0xMCAySDEzVjYiIHN0cm9rZT0iIzY2NjY2NiIgc3Ryb2tlLXdpZHRoPSIxLjUiIGZpbGw9Im5vbmUiLz4KPHBhdGggZD0iTTEzIDJMOSA3IiBzdHJva2U9IiM2NjY2NjYiIHN0cm9rZS13aWR0aD0iMS41IiBmaWxsPSJub25lIi8+Cjwvc3ZnPgo=');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: baseline;
    transform: translateY(1px);
}

/* フッターの外部リンクアイコン（白色） */
footer .external-link::after {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyIDQuNUwxMiAzLjVMMy41IDMuNUMzLjIyIDMuNSAzIDMuNzIgMyA0TDMgMTIuNUMzIDEyLjc4IDMuMjIgMTMgMy41IDEzTDEyIDEzQzEyLjI4IDEzIDEyLjUgMTIuNzggMTIuNSAxMi41TDEyLjUgOC41IiBzdHJva2U9IiNmZmZmZmYiIHN0cm9rZS13aWR0aD0iMS41IiBmaWxsPSJub25lIi8+CjxwYXRoIGQ9Ik0xMCAySDEzVjYiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIGZpbGw9Im5vbmUiLz4KPHBhdGggZD0iTTEzIDJMOSA3IiBzdHJva2U9IiNmZmZmZmYiIHN0cm9rZS13aWR0aD0iMS41IiBmaWxsPSJub25lIi8+Cjwvc3ZnPgo=');
}

/* ========== Hamburger Menu ========== */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform:translateY(6.5px) rotate(44deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* オーバーレイ */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
}

/* スクロール禁止 */
body.menu-open {
    overflow: hidden;
}


/* ========== Tablet Responsive Styles ========== */
@media (max-width: 1090px) and (min-width: 901px) {
    .promise-content {
        padding: 30px 40px;
    }
    
    .promise-title {
        font-size: clamp(1.3rem, calc(1.3rem + 1vw), 1.8rem);
    }
    
    .promise-subtitle {
        font-size: clamp(0.9rem, calc(0.9rem + 0.4vw), 1.1rem);
    }
    
    .promise-text {
        font-size: clamp(0.9rem, calc(0.9rem + 0.4vw), 1.1rem);
    }
}

/* ========== Mobile Responsive Styles ========== */
@media (max-width: 900px) {
    /* Header */
    header {
        padding: 15px 20px;
        position: relative;
    }
    
    
    .hamburger-menu {
        display: flex;
    }
    
    .navigation {
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 80px;
        gap: 30px;
        font-size: 1.1rem;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0.3s ease;
        padding-left: 30px;
        z-index: 1000;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .navigation.active {
        transform: translateX(0);
        visibility: visible;
    }
    
    .navigation div a {
        font-size: 1.1rem;
        font-weight: bold;
    }
    
    /* Concept Section */
    .concept {
        padding: 30px;
    }
    
    .concept::before,
    .concept::after {
        width: 100%;
        background-size: cover;
        top: 0;
        bottom: 0;
    }
    
    .concept::before {
        left: -200px;
    }
    
    .concept::after {
        right: -200px;
    }
    
    .concept h1 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }
    
    .concept p {
        font-size: 1rem;
    }
    
    /* Promise Section */
    .promise {
        padding: 40px 15px 1px 15px;
    }
    
    .promise h2 {
        font-size: clamp(1.3rem, 4vw, 1.8rem);
        margin-bottom: 30px;
        text-align: left;
        margin: 0 auto 40px;
    }
    
    .promise-item {
        flex-direction: column !important;
        margin-bottom: 40px;
        min-height: auto;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    }
    
    .promise-image {
        width: 100%;
        height: auto;
        margin: 0 !important;
        flex: none;
    }
    
    .promise-image img {
        height: auto;
        object-fit: contain;
    }
    

    .concept_txt p{
        text-align: left;
    }
    
    
    .promise-content {
        padding: 20px 30px 30px !important;
        width: 100%;
        text-align: left;
        justify-content: flex-start;
        min-height: 180px;
        display: flex;
        flex-direction: column;
    }
    
    .promise-title {
        font-size: clamp(1.8rem, 4vw, 1.5rem);
        margin-bottom: 0;
        text-align: center;
    }
    
    .promise-subtitle {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        margin-bottom: 15px;
        text-align: center;
    }
    
    .promise-text {
        font-size: clamp(0.9rem, 3.5vw, 1rem);
        line-height: 1.7;
        font-weight: normal;
    }
    
    /* Support Area */
    .support_area {
        padding: 40px 15px;
    }
    
    .support_box {
        padding: 3rem 2rem;
    }
    
    .support_area h3 {
        font-size: clamp(2rem, 4vw, 1.6rem);
        margin-bottom: 20px;
        line-height: 1.4;
    }
    
    .support_area h3 span {
        font-size: clamp(0.8rem, 3vw, 1rem);
        display: block;
        margin-top: 5px;
    }
    
    .support_area p {
        font-size: clamp(0.85rem, 3.2vw, 1rem);
        text-align: left;
        line-height: 1.8;
    }
    
    /* LCIF Section */
    .lcif {
        padding:0;
    }
    
    .bgimage {
        padding: 40px 20px;
        height: auto;
        text-align: center;
        margin: 0;
        background-image: url('../images/lcifsp.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 400px;
    }
    
    .text_area {
        width: 100%;
    }
    
    .lcif h2 {
        font-size: clamp(1.4rem, 5vw, 2rem);
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .lcif h3 {
        font-size: clamp(1.1rem, 4vw, 1.4rem);
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    .lcif p {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        line-height: 1.8;
        text-align: left;
    }
    
    /* Footer */
    footer {
        padding: 4rem 0 2rem 0;
    }
    
    footer .ft_contents {
        margin-bottom: 3rem;
        padding: 0 20px;
    }
    
    .ftlogo p {
        font-size: clamp(1rem, 3.5vw, 1.2rem);
        line-height: 1.7;
        padding: 0 10px;
    }
    
    footer .address {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 2rem 20px 0 20px;
        margin: 0 20px;
    }
    
    footer .address .cp_link a,
    footer .address .cp_copy {
        font-size: clamp(0.9rem, 3vw, 1rem);
    }
}

