@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Poppins:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@400;500;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    font-family: 'M PLUS 1p', sans-serif;
    font-size: 16px;
    line-height: 1.6em;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.4s;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.purple {
    color: #611a86;
}

.contents{
    width: 1200px;
    max-width: 100%;
    padding: 0 10px;
    margin: auto;
    box-sizing: border-box;
}

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

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.sp {
    display: none;
}

.pc {
    display: block;
}

.site-header {
    width: 100%;
    background-color: #ffffff;
}

/* header */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 85px;
    padding-left: 20px;
}

.logo-area {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: anchor-center;
}

.logo-text-top {
    font-size: 12px;
    color: #666666;
    margin-bottom: 5px;
    line-height: 1.2;
}

.logo {
    height: 50px;
}

/* PCメインナビエリア */
.pc-main-nav {
    display: flex;
    align-items: stretch;
}

.nav-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-right: 20px;
}

.nav-text-small {
    font-size: 0.8em;
}

.nav-text-large {
    font-size: 1.4em;
    font-weight: bold;
    color: #dc143c;
}

.pc-main-nav .nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 120px;
    color: #ffffff;
    font-weight: 500;
    font-size: 1.2em;
}

.pc-main-nav .nav-item.orange {
    background-color: #ff8c00;
}

.pc-main-nav .nav-item.yellow {
    background-color: #ffc000;
}

.pc-main-nav .nav-item.pink {
    background-color: #ff8095;
}

.pc-sub-nav {
    background-color: #d4ecef;
}

.pc-sub-nav ul {
    display: flex;
    justify-content: center;
}

.pc-sub-nav > ul > li {
    position: relative;
    border-right: 1px solid rgba(0, 0, 0, 0.3);
}

.pc-sub-nav > ul > li:first-child {
    border-left: 1px solid rgba(0, 0, 0, 0.3);
}

.pc-sub-nav a {
    display: block;
    padding: 15px 35px;
    font-size: 1.1em;
}

.pc-sub-nav a:hover {
    background-color: #9cd3da;
    opacity: 1;
}

/* --- PCドロップダウンサブメニュー --- */
.pc-sub-nav .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 240px;
    background-color: #9cd3da;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.pc-sub-nav .has-submenu:hover .submenu {
    display: block;
}

.pc-sub-nav .submenu li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pc-sub-nav .submenu a {
    padding: 12px 20px;
    font-size: 13px;
}

.pc-sub-nav .submenu a:hover {
    background-color: #44b5c2;
}

.menu-trigger {
    display: none;
}

.mobile-drawer {
    display: none;
}

footer{
    padding: 15px 0;
    box-sizing: border-box;
    background-color: #d4ecef;
    margin-top: 100px;
    padding-bottom: 85px;
}

.float-action-bar {
    position: fixed;
    bottom: -100px; 
    left: 0;
    width: 100%;
    height: 75px;
    display: flex;
    z-index: 9999;
    transition: bottom 0.4s ease;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.float-action-bar.is-visible {
    bottom: 0;
}

.float-btn-item {
    width: 50%;
    text-align: center;
    align-content: center;
    color: #fff;
}

.float-btn-item p{
    font-size: 0.9em;
    margin-bottom: 3px;
}

.float-btn-item i,
.float-btn-item span{
    font-size: 1.4em;
}

.float-btn-item span b{
    font-size: 0.6em;
    font-weight: normal;
}

.float-btn-item.tel {
    background-color: #34c759; /* グリーン系 */
}

.float-btn-item.document {
    background-color: darkorange; /* サイトカラーのオレンジ */
}

@media screen and (max-width: 900px) {
    .pc-sub-nav a {
        padding: 15px 25px;
        font-size: 1em;
    }
}

@media screen and (max-width: 768px) {
    .sp {
        display: block;
    }

    .pc {
        display: none !important;
    }

    .header-top {
        height: 60px;
        padding-left: 10px;
    }

    .logo {
        height: 40px;
    }

    .logo-text-top {
        display: none;
    }

    .pc-main-nav,
    .pc-sub-nav {
        display: none;
    }

    .menu-trigger {
        display: block;
        background-color: #d4ecef;
        border: none;
        width: 70px;
        cursor: pointer;
        position: relative;
        z-index: 1000;
    }

    .menu-trigger span {
        display: block;
        width: 30px;
        height: 2px;
        background-color: #333333;
        margin: 6px auto;
        transition: transform 0.3s, opacity 0.3s;
    }

    body.menu-open .menu-trigger span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    body.menu-open .menu-trigger span:nth-child(2) {
        opacity: 0;
    }
    body.menu-open .menu-trigger span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .mobile-drawer {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #d4ecef;
        z-index: 999;
        padding-top: 60px;
        overflow-y: auto;
    }

    body.menu-open .mobile-drawer {
        display: block;
    }

    body.menu-open {
        overflow: hidden;
    }

    .mobile-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .mobile-nav a {
        display: block;
        padding: 18px 20px;
    }

    .mobile-nav a::before {
        content: "▶";
        font-size: 10px;
        margin-right: 12px;
        vertical-align: middle;
    }

    .mobile-nav .submenu-item {
        background-color: rgba(0, 0, 0, 0.05);
        padding-left: 40px;
        font-size: 14px;
        font-weight: normal;
    }

    footer{
        margin-top: 80px;
    }

    .float-btn-item p{
        display: none;
    }

    .float-btn-item i,
    .float-btn-item span{
        font-size: 1.2em;
    }

    .float-btn-item span b{
        display: block;
    }
}