@charset "UTF-8";

/*
  footer/footer.css
  - 目的: サイトのフッター（ロゴ、ナビ、著作表示、波エフェクト）
  - 改善: 不要な `!important` を除去し、セクションに説明を追加
*/

/* フォント */
@font-face {
    font-family: "Quicksand";
    src: url("../font/Quicksand-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "NotoSansJP";
    src: url("../font/NotoSansJP-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

/* ==================================================
   FOOTER BASE：フッター全体の余白・背景・基本組み
   ================================================== */
footer {
    font-family: "NotoSansJP";
    letter-spacing: 0.1rem;
    line-height: 1.6;
    background-color: #ffffff;
    padding-top: 20px;
    position: relative;
}

.footer {
    max-width: 1100px; /* トップと同じ最大幅に揃える */
    margin: 60px auto 0; /* 上の余白を広めにしてトップに揃える */
    border-top: rgba(24, 170, 162, 0.86) solid 5px;
    display: flex;
    justify-content: space-between;
    /*左右に配置する*/
    padding: 60px 30px;
    box-sizing: border-box;
}

.footer_info {
    display: flex;
    align-items: flex-start;
}

.footer_logo img {
    width: 100px;
    height: 100px;
}

.footer_info_cap {
    padding-left: 15px;
}

/* ==================================================
   FOOTER NAV：右側のフッターナビ
   ================================================== */
.footer_list {
    width: 240px;
}

.footer_list ul {
    padding-left: 20px;
}

.footer_list li {
    list-style: none;
}

.footer_list p{
    color: #000000;
    font-size: 16px;
    font-family: "NotoSansJP";
    font-weight: bold;
    line-height: 2;
    position: relative;
}
.footer_list ul li a {
    color: #000000;
    font-size: 16px;
    font-family: "NotoSansJP";
    font-weight: bold;
    line-height: 2;
    position: relative;
    transition: color 0.3s ease;
}

/* ol の中（挨拶・ABOT・業務内容・プロジェクト）*/
.footer_list ol li a {
    color: #000000;
    font-size: 15px;
    font-family: "NotoSansJP";
    font-weight: bold;
    line-height: 2;
    position: relative;
    transition: color 0.3s ease;
}

/* ul の中（HOME・COMPANY・CONTACT・SITE POLICY）*/
.footer_list ul li a {
    color: #000000;
    font-size: 16px;
    font-family: "NotoSansJP";
    font-weight: bold;
    line-height: 2;
    position: relative;
}

/* sub-menu-listu（実績・事業内容）*/
.sub-menu-listu li a {
    color: #000000;
    font-weight: bold;
}

/* フッター背景を白に */
footer {
    background-color: #ffffff;
}


/*フッターナビの下線　伸びるアニメーション*/
.footer_list a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #000000;
    bottom: -1px;
    transform: scale(0, 1);
    /*水平方向を0（非表示）、垂直方向を1（通常の高さ）*/
    transform-origin: right top;
    /*変形の基準点を右上*/
    transition: transform 0.3s;
    /*変化がスムーズに行われるように0.3秒のトランジション効果を指定*/
}

/*ホバーしたときの下線*/
.footer_list a:hover::after {
    transform: scale(1, 1);
    /*水平方向を1に変更下線を表示*/
    transform-origin: left top;
    /*変形の基準点を左上*/
}

.sublist {
    padding-left: 10px;
}

.footer_list a:hover,
.footer_list a:focus {
    color: #0ba29a;
}

/* ==================================================
   FOOTER COMPANY INFO：会社名・住所・電話の表示とホバー演出
   ================================================== */
.footer_info_cap h1 {
    font-family: "NotoSansJP";
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.2;
    color: #000000;
}

.footer_info_cap h1 a {
    padding-bottom: 4px;
}

.footer_info_cap h2,
.footer_info_cap p {
    color: #000000;
}

.footer_info_cap p {
    margin: 0;
    font-size: 18px;
}

.footer_info_cap a,
.footer-contact-effect {
    display: inline-block;
    color: inherit;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer_info_cap a:hover,
.footer_info_cap a:focus,
.footer-contact-effect:hover {
    color: #0ba29a;
    transform: translateX(4px);
}

.footer_info_cap a::after,
.footer-contact-effect::after {
    position: absolute;
    left: 0;
    bottom: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #0ba29a;
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform 0.3s ease;
}

.footer_info_cap a:hover::after,
.footer_info_cap a:focus::after,
.footer-contact-effect:hover::after {
    transform: scale(1, 1);
    transform-origin: left top;
}

/* ==================================================
   FOOTER WAVE：下部の波アニメーション
   ================================================== */
/*波アニメーション　SVG*/
svg {
    width: 100%;
    margin: -60px 0px 0px 0px;
}

/*波（ウェーブ）*/
.wave {
    /*アニメーションの期間を8秒に設定、linearはアニメーションが一定の速度で進行する*/
    animation: wave 8s linear;
    /*infinite　アニメーションを無限に繰り返す*/
    animation-iteration-count: infinite;
    /*path要素内の塗りを指定*/
    fill: rgba(24, 170, 162);

}

#wave2 {
    animation-duration: 10s;
    /*アニメーションの再生方向を逆にする*/
    animation-direction: reverse;
    /*透明度*/
    opacity: .6;
    height: 50px;
}

@keyframes wave {
    to {
        transform: translateX(-100%);
    }
}

a {
    text-decoration: none;
}

/*SVGの下の空白を隠すためにcopyrightを位置を指定してSVGの上に重ねている*/
.copyright {
    background: rgba(24, 170, 162);
    text-align: center;
    padding: 13px 0;
    margin: 0; /* SVGとの重なりはやめて下に流す */
    z-index: 10;
    position: relative; /* フッター内で通常のフローにする */
    width: 100%;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    color: #fff;
}

.copyright,
.copyright small,
.copyright text {
    color: #ffffff;
    font-size: 15px;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
}

/* ==================================================
   FOOTER CTA：固定表示のお問い合わせボタン
   ================================================== */
.footer_cta {
    display: flex;
    gap: 10px;
    position: fixed;
    right: 96px;
    bottom: 20px;
    z-index: 9000;
}

.footer-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0ba29a 0%, #696ac5 100%);
    color: #ffffff;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 24px rgba(11, 162, 154, 0.22);
    white-space: nowrap;
}

.footer-contact-button i,
.footer-contact-button span {
    color: #ffffff;
}

.footer-contact-button:hover,
.footer-contact-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(11, 162, 154, 0.25);
}

.footer_copyright {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 0.95rem;
    color: #ffffff;
}
.footer_copyright a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.sns_link .link a{
    font-size: 45px;
    color: white;
}
.sns_link .link p{
    color: white;
    margin: 0;
}
.site_link a img{
    width: 200px;
}

.footer_links_650px {
    display: none;
}

/*横幅がマックス650pxまでの時*/
@media screen and (max-width: 650px) {
    footer {
        padding-bottom: 86px;
    }

    .footer {
        display: block;
        text-align: center;
        padding: 44px 20px 52px;
        margin-top: 40px;
    }

    .footer_info {
        display: block;
        text-align: center;
    }

    .footer_logo img {
        display: block;
        margin: 0 auto;
    }

    .footer_info_cap {
        display: block;
        padding-left: 0;
        margin-top: 16px;
        text-align: center;
    }

    .footer_info_cap h1 {
        font-size: 26px;
    }

    .footer_info_cap p {
        font-size: 16px;
        margin-top: 8px;
    }

    .footer_list {
        width: 100%;
        margin: 28px auto 0;
        text-align: center;
    }

    .footer_list ul,
    .footer_list ol {
        padding-left: 0;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .footer_list li,
    .footer_list ol li {
        text-align: center;
    }

    .footer_list ul li a,
    .footer_list ol li a {
        font-size: 16px;
    }

    svg {
        height: 30vw;
    }

    svg text {
        font-size: 0.2em;
        letter-spacing: normal;
    }

    .footer_links {
        display: none;
    }

    .footer_links_650px {
        display: flex;
        margin-bottom: 25px;
    }

    .footer_cta {
        left: 0;
        right: 0;
        bottom: 0;
        gap: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.96);
        border-top: 1px solid rgba(11, 162, 154, 0.2);
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
    }

    .footer-contact-button {
        flex: 1;
        min-width: 0;
        min-height: 60px;
        padding: 8px 4px;
        border-radius: 0;
        box-shadow: none;
        font-size: 12px;
        flex-direction: column;
        gap: 3px;
    }

    .fixed_top {
        right: 14px;
        bottom: 78px;
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
}
