@charset "UTF-8";

/* ----------------------------------
 * 繝ｪ繧ｻ繝�ヨ & 繝吶�繧ｹ繧ｹ繧ｿ繧､繝ｫ
 * ---------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    background-color: #000;
}

/* ----------------------------------
 * 繧ｹ繝ｩ繧､繝繝ｼ�郁レ譎ｯ逕ｻ蜒丞�繧頑崛縺茨ｼ�
 * ---------------------------------- */
.bg-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    list-style: none;
}
.bg-slider li {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: imageFade 75s linear infinite;
}

.bg-slider li:nth-child(1) { background-image: url('bg1.jpg'); animation-delay: 0s; }
.bg-slider li:nth-child(2) { background-image: url('bg2.jpg'); animation-delay: 5s; }
.bg-slider li:nth-child(3) { background-image: url('bg3.jpg'); animation-delay: 10s; }
.bg-slider li:nth-child(4) { background-image: url('bg4.jpg'); animation-delay: 15s; }
.bg-slider li:nth-child(5) { background-image: url('bg5.jpg'); animation-delay: 20s; }
.bg-slider li:nth-child(6) { background-image: url('bg6.jpg'); animation-delay: 25s; }
.bg-slider li:nth-child(7) { background-image: url('bg7.jpg'); animation-delay: 30s; }
.bg-slider li:nth-child(8) { background-image: url('bg8.jpg'); animation-delay: 35s; }
.bg-slider li:nth-child(9) { background-image: url('bg9.jpg'); animation-delay: 40s; }
.bg-slider li:nth-child(10) { background-image: url('bg10.jpg'); animation-delay: 45s; }
.bg-slider li:nth-child(11) { background-image: url('bg11.jpg'); animation-delay: 50s; }
.bg-slider li:nth-child(12) { background-image: url('bg12.jpg'); animation-delay: 55s; }
.bg-slider li:nth-child(13) { background-image: url('bg13.jpg'); animation-delay: 60s; }
.bg-slider li:nth-child(14) { background-image: url('bg14.jpg'); animation-delay: 65s; }
.bg-slider li:nth-child(15) { background-image: url('bg15.jpg'); animation-delay: 70s; }

@keyframes imageFade {
    0% { opacity: 0; }
    2% { opacity: 1; }
    6.66% { opacity: 1; }
    8.66% { opacity: 0; }
    100% { opacity: 0; }
}

.bg-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* ----------------------------------
 * 荳ｭ螟ｮ驟咲ｽｮ縺ｮ繧ｳ繝ｳ繝�Φ繝�お繝ｪ繧｢
 * ---------------------------------- */
.container {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.content {
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    /* 繝代た繧ｳ繝ｳ逕ｻ髱｢縺ｧ蜿ｳ荳九お繝ｪ繧｢縺ｨ陲ｫ繧九�繧帝亟縺舌◆繧√∝ｰ代＠縺�縺台ｸ翫↓驟咲ｽｮ */
    margin-top: -60px;
}

.content h1 {
    font-size: 3rem;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    font-weight: 700;
}

.content p {
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    line-height: 1.8;
}

/* ----------------------------------
 * 蜿ｳ荳九�蠎苓�諠��ｱ繧ｹ繧ｿ繧､繝ｫ
 * ---------------------------------- */
.footer-info {
    position: fixed;
    right: 50px;
    bottom: 50px;
    z-index: 20;
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 18px 28px;
    border-radius: 0;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    backdrop-filter: blur(3px);
}

/* 蟾ｦ蛛ｴ�夂判蜒上お繝ｪ繧｢��85px豁｣譁ｹ蠖｢�� */
.footer-img {
    width: 85px;  
    height: 85px; 
    margin-right: 22px; 
    flex-shrink: 0;
}
.footer-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0; 
    border: 1px solid rgba(255, 255, 255, 0.3); 
}

/* 蜿ｳ蛛ｴ�壹ユ繧ｭ繧ｹ繝医お繝ｪ繧｢縺ｮ繝舌Λ繝ｳ繧ｹ隱ｿ謨ｴ */
.footer-text {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: -10px;
    line-height: 1.5;
}
.footer-text .address {
    font-size: 0.9rem; 
    letter-spacing: 0.05em;
    margin-bottom: 8px; 
    opacity: 0.85;
}
.footer-text .tel {
    font-size: 0.9rem;
    letter-spacing: 0.08em; 
    line-height: 1;
}
.footer-text .tel a{color:#fff;text-decoration: none;transition: color 0.2s ease; }

.footer-text .tel a:hover {
    color: #ccc; 
}

/* 髮ｻ隧ｱ繧｢繧､繧ｳ繝ｳ縺ｮ隱ｿ謨ｴ */
.footer-text .tel i {
    margin-right: 8px;
    color: #f8f8f8;
    font-size: 0.8rem;
    margin-top: -0px;
    display: inline;
}

/* ----------------------------------
 * 繝ｬ繧ｹ繝昴Φ繧ｷ繝厄ｼ医せ繝槭�蜷代￠隱ｿ謨ｴ��
 * ---------------------------------- */
@media (max-width: 768px) {
    /* 蝗ｺ螳夐�鄂ｮ縺ｫ縺吶ｋ縺溘ａ繧ｹ繧ｯ繝ｭ繝ｼ繝ｫ繧堤ｦ∵ｭ｢ */
    body, html {
        overflow: hidden;
    }
    .container {
        height: 100%;
        padding: 20px;
    }
    .content {
        /* 繧ｹ繝槭�逕ｻ髱｢縺ｧ荳九�蝗ｺ螳壽ュ蝣ｱ縺ｨ陲ｫ繧翫↓縺上￥縺吶ｋ縺溘ａ縲√さ繝ｳ繝�Φ繝�ｒ蟆代＠荳翫↓蠑輔″荳翫￡繧� */
        margin-top: -100px;
    }
    .content h1 {
        font-size: 1.7rem;
        letter-spacing: 0.1em;
        margin-bottom: 15px;
    }
    .content p {
        font-size: 0.85rem;
        line-height: 1.7;
    }

    /* 笘�せ繝槭�譎ゑｼ夂判髱｢荳九°繧�30px縺ｮ菴咲ｽｮ縺ｫ蝗ｺ螳� */
    .footer-info {
        position: fixed;
        left: 50%;
        bottom: 30px; /* 荳九°繧�30px縺ゅ￠繧� */
        right: auto;
        transform: translateX(-50%); /* 荳ｭ螟ｮ蟇�○ */
        margin: 0;
        
        /* 讓ｪ蟷��險ｭ螳夲ｼ壽枚蟄励′邨ｶ蟇ｾ縺ｫ謾ｹ陦後＆繧後↑縺�ｈ縺�∽ｸｭ霄ｫ縺ｫ縺ｴ縺｣縺溘ｊ蜷医ｏ縺帙ｋ */
        width: max-content; 
        max-width: 92%; /* 荳�′荳逕ｻ髱｢蟷�′髱槫ｸｸ縺ｫ迢ｭ縺�せ繝槭�縺ｧ繧ゅ∝ｷｦ蜿ｳ縺ｫ譛菴朱剞縺ｮ菴咏區繧呈ｮ九☆ */
        
        padding: 12px 18px;
    }
    .footer-img {
        width: 65px; /* 繝�く繧ｹ繝医�1陦瑚｡ｨ遉ｺ縺ｫ蜷医ｏ縺帙※縲∝�逵溘ｂ蟆代＠縺�縺代さ繝ｳ繝代け繝医↓隱ｿ謨ｴ */
        height: 65px;
        margin-right: 15px;
    }
    
    /* 蜿ｳ蛛ｴ�壹ユ繧ｭ繧ｹ繝医お繝ｪ繧｢ */
    .footer-text {
        margin-top: 0; /* 荳贋ｸ九�繧ｺ繝ｬ繧貞ｾｮ隱ｿ謨ｴ */
    }
    .footer-text .address {
        font-size: 0.8rem;
        margin-bottom: 4px;
        white-space: nowrap; /* 笘�ｽ乗園繧堤ｵｶ蟇ｾ縺ｫ騾比ｸｭ縺ｧ謾ｹ陦後＆縺帙↑縺�ｨｭ螳� */
    }
    .footer-text .tel {
        font-size: 1rem;
        white-space: nowrap; /* 笘�崕隧ｱ逡ｪ蜿ｷ繧堤ｵｶ蟇ｾ縺ｫ騾比ｸｭ縺ｧ謾ｹ陦後＆縺帙↑縺�ｨｭ螳� */
    }
}

@media (max-width: 480px) {
    /* 逕ｻ髱｢蟷�′髱槫ｸｸ縺ｫ迢ｭ縺�せ繝槭���iPhone SE縺ｪ縺ｩ�牙髄縺代�蠕ｮ隱ｿ謨ｴ */
    .footer-info {
        bottom: 90px; 
        padding: 10px 14px;
        max-width: 95%;
    }
    .footer-img {
        width: 55px;
        height: 55px;
        margin-right: 10px;
    }
    /* 讓ｪ蟷�′貅｢繧後↑縺�ｈ縺�∝ｰ上＆縺ｪ繧ｹ繝槭�縺ｧ縺ｯ譁�ｭ励し繧､繧ｺ繧定�蜍輔〒譛驕ｩ蛹悶＠縺ｾ縺� */
    .footer-text .address {
        font-size: 0.72rem;
    }
    .footer-text .tel {
        font-size: 0.9rem;
    }
}

/* ----------------------------------
 * スマホ横向き・画面の高さが低い時の調整
 * ---------------------------------- */
@media (max-height: 540px) and (orientation: landscape) {
   
    body, html {
        overflow-y: auto;
        height: auto;
        min-height: 100%;
    }

   
    .container {
        height: auto;
        min-height: 60vh;
        display: block;
        padding:70px 20px 70px; /* 下部にフッターのスペースを確保 */
    }

    .content {
        margin-top: 0;
        margin-bottom: 40px;
    }

 
    .footer-info {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        margin: 0 auto;
        width: max-content;
        max-width: 92%;
        box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    }
}