@charset "utf-8";

:root {
    --fsize-24: 1, 5rem;
    --fsize-35: 2.1875rem;
    --fsize-48: 3rem;
    --font-base: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    --font-point: "Zen Kaku Gothic Antique", sans-serif;
    --main-color: #E9FFFF;
    --sub-color: #00A0E9;
    --accent-color: #16A85F;
    --point-color: #AAE3FB;
}

/************** 共通CSS **************/

table a[target="_blank"] {
    position: relative;
}

.small_btn {
    color: #fff;
    background-color: var(--accent-color);
    padding: 0.5rem 1rem;
    text-align: center;
    font-weight: bold;
    letter-spacing: 0.1rem;
    border-radius: 20px;
    display: inline-block;
    margin: 1rem auto;
    width: 100%;
}

.small_btn:hover {
    background-color: var(--sub-color);
}

.text_red {
    color: #e90000;
    font-weight: bold;
    font-size: 2rem;
}

.point_text {
    background-color: var(--accent-color);
    color: #fff;
    font-weight: bold;
    width: 30%;
    padding: 0.5em;
    font-size: 1.2rem;
    text-align: center;
    margin: 5rem auto 1rem;
    letter-spacing: 0.1rem;
}

.h_text {
    margin-bottom: 2.5rem;
}

table {
    border-collapse: collapse;
    width: 100%;
}

tr {
    border-bottom: 1px solid var(--point-color);
    padding: 1rem 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 1.9rem;
    gap: 1rem;
}

th {
    color: var(--sub-color);
    text-align: left;
    font-size: clamp(1.2rem, 1.5vw, 1.9rem);
    width: 30%;
}

td {
    font-weight: bold;
    font-size: clamp(16px, 1.2vw, 1.2rem);
    width: 70%;
}


a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}

.h_lead {
    font-size: clamp(1.5rem, 2.5vw, 3rem);
    font-family: var(--font-point);
    font-weight: bold;
    letter-spacing: 0.1em;
    line-height: 2;
    margin-bottom: 1.5rem;
}

.h_lead_line {
    position: relative;
    z-index: 2;
}

.h_lead_line::after {
    content: "";
    background-color: var(--point-color);
    width: 101%;
    height: 30px;
    display: inline-block;
    position: absolute;
    top: 0%;
    left: -1%;
    z-index: -1;
    border-radius: 30px;
    transform: translateY(0.9em);
}

article .h_lead_line::after {
    height: 14px;
    top: 0%;
    left: -0.5%;
}

.h_point_text {
    font-size: clamp(3rem, 6vw, 6rem);
    color: var(--sub-color);
    line-height: 1;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

button {
    position: relative;
    max-width: 470px;
    width: 70%;
    border-radius: 50px;
    border: none;
    font-size: clamp(1rem, 1.6vw, 1.8rem);
    font-weight: bold;
    letter-spacing: 0.1rem;
    margin: 4rem auto;
    display: block;
    border-radius: 50px;
    z-index: 9;
    transition: all ease 0.2s;
}

a {
    transition: all ease 0.2s;
}

button a:hover {
    opacity: 1;
    background-color: var(--sub-color);
    color: #fff;
}

button a {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    position: relative;
    padding: 2rem;
    transition: all ease 0.2s;
}

button a::after {
    content: "";
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.common_btn a {
    background-color: var(--accent-color);
    color: #fff;
}

.common_btn a::after {
    background-image: url(../image/w-arrow.png);
}

.common_btn_w a {
    background-color: #fff;
    color: var(--sub-color);
}

.common_btn_w:hover {
    background-color: var(--accent-color);
    color: #fff;
}

.common_btn_w:hover a::after {
    background-image: url(../image/w-arrow.png);
}

.common_btn_w a::after {
    background-image: url(../image/b-arrow.png);
}

.double_line {
    border-radius: 20px;
    border: 20px solid #fff;
}

.double_line img {
    border-radius: 20px;
    border: 20px solid var(--point-color);
}

.category span {
    padding: 0.5rem 1rem;
    color: #fff;
    display: inline-block;
    margin-right: 1rem;
    text-align: center;
    font-size: clamp(14px, 1vw, 1rem);
    white-space: nowrap;
    border-radius: 30px;
    background-color: #16A85F;
}

.category1 {
    background-color: #16A85F !important;
}

.category2 {
    background-color: #A89016 !important;
}

.category3 {
    background-color: #1669A8 !important;
}

.category4 {
    background-color: #AB3B3B !important;
}

.category5 {
    background-color: #7D3C98 !important;
}

.other {
    background-color: #4d4d4d !important;
}


/***** footer *****/
footer {
    background-color: var(--sub-color);
    position: relative;
    margin-top: 250px;
    padding-top: 4rem;
}

footer .logo_area {
    width: 100%;
    font-family: var(--font-point);
    font-weight: bold;
    margin-bottom: 30px;
}

footer .nintei_logo {
    width: 50%;
}

.nintei_logo img {
    border-radius: 20px;
}

footer::before {
    position: absolute;
    top: -15%;
    left: 50%;
    content: "";
    width: 150vw;
    height: 70vh;
    transform: translateX(-50%);
    max-height: 100%;
    display: block;
    border-radius: 100%;
    background-color: var(--sub-color);
    z-index: -1;
}

.footer_area {
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 9rem;
    width: 80%;
}

.left_area {
    width: 35%;
}

.right_area {
    width: calc(65% - 8rem);
}

footer iframe {
    border-radius: 30px;
}

footer,
footer a {
    color: #fff;
}

footer .corporate div {
    display: flex;
    margin-bottom: 1rem;
    font-size: clamp(16px, 1.3vw, 1.25rem);
    gap: 10px;
}

footer .corporate div+div {
    align-items: center;
}

footer .corporate img {
    width: 30px;
    height: 30px;
}

footer .corporate+img {
    border-radius: 20px;
}

footer .corporate {
    margin-bottom: 1.9rem;
}

footer ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    background-color: #fff;
    margin: 3.1rem auto 0;
    border-radius: 50px;
    padding: 1.9rem 1rem;
    width: 80%;
}

footer ul li {
    border-right: 1px solid var(--sub-color);
    padding-right: 0.7rem;
    line-height: 1.2;
}

footer ul li:last-child {
    border-right: none;
}

footer ul li a {
    color: var(--sub-color);
    font-weight: bold;
    letter-spacing: 0.1rem;
    font-size: clamp(14px, 1.2vw, 1.2rem);
    display: block;
}

footer small {
    display: block;
    text-align: center;
    padding: 3.1rem 0;
}

/************** end 共通CSS **************/

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

html {
    overflow-y: scroll;
    position: relative;
    overflow-x: hidden;
    line-height: 2;
}

p {
    font-size: clamp(16px, 1.2vw, 1.2rem);
}

img {
    max-width: 100%;
    width: 100%;
    display: block;
}

body {
    line-height: 1.5;
    color: #1D1D1D;
    background-color: var(--main-color);
    font-family: var(--font-base);
    overflow: hidden;
}

section,
article {
    position: relative;
}

a {
    text-decoration: none;
}

a:hover {
    cursor: pointer
}

header {
    position: relative;
    overflow: hidden;
    padding: 1.9rem;
}

.header_area {
    display: flex;
    align-items: center;
}

h1 {
    font-family: var(--font-point);
    font-weight: 900;
    margin: 0;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 3rem);
    font-family: var(--font-point);
    color: var(--sub-color);
    margin-bottom: 1rem;
}

li {
    list-style: none;
}

.logo_area {
    font-size: clamp(1.5rem, 2.2vw, 3rem);
    width: 30%;
    padding: 1rem;
    background: #fff;
    border-radius: 20px;
}

.logo_area a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1D1D1D;
    gap: 0.5rem;
    font-size: clamp(1.5rem, 2.2vw, 2.2rem);
    font-weight: 900;
}

.logo_area a img {
    max-width: 60px;
}

.nav_area {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 2.5rem;
    width: calc(70% - 230px);
    list-style: none;
}

.nav_area li {
    display: flex;
    align-items: center;
}

.nav_area li::before {
    content: "";
    display: inline-block;
    border-radius: 10px;
    width: 5px;
    height: 5px;
    background: var(--sub-color);
    margin-right: 8px;
}

.nav_area a {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    font-weight: bold;
    color: #1D1D1D;
}

.nav_area a:hover {
    color: var(--sub-color);
}

/***** ハンバーガーメニュー *****/
.curved_bg {
    width: 250px;
    height: 180px;
    transform: translate(30%);
    margin-bottom: 1.25rem;
    background-color: var(--accent-color);
    border-radius: 130% 0 140% 120%;
    z-index: 1;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.curved_bg.menu_open {
    border-radius: 50% 0 70% 50%;
}

.hamburger_btn {
    position: absolute;
    top: 50%;
    right: 70px;
    transform: translate(50%, -50%);
    z-index: 10;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.hamburger_lines {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.hamburger_lines span {
    width: 55px;
    height: 6px;
    background: #fff;
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger_lines span:nth-child(2) {
    background-color: var(--point-color);
    margin-left: 10px;
}


.hamburger_btn.hamburger_btn_active span:nth-child(1) {
    transform: rotate(45deg) translate(14px, 14px);
}

.hamburger_btn.hamburger_btn_active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger_btn.hamburger_btn_active span:nth-child(3) {
    transform: rotate(-45deg) translate(14px, -14px);
    margin-left: 0;
}

.menu_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 8;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.menu_overlay.menu_overlay_active {
    opacity: 1;
    visibility: visible;
}


.mobile_menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background-color: var(--accent-color);
    z-index: 9;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile_menu.mobile_menu_active {
    right: 0;
    overflow-y: scroll;
}

.menu_nav {
    padding: 6rem 0;
}

.menu_nav a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 1.1rem;
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.menu_nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.menu_nav a:hover::before {
    left: 0;
}

.menu_nav a:hover {
    border-left-color: var(--point-color);
    padding-left: 2.5rem;
}

.menu_nav a.menu_nav_active {
    background: rgba(255, 255, 255, 0.2);
    border-left-color: var(--point-color);
}

/***** end ハンバーガーメニュー *****/

.sticky_area {
    position: fixed;
    top: -5%;
    right: 0;
    z-index: 999;
}

.sticky_link {
    display: inline-block;
    flex-direction: column;
    gap: 1.25rem;
    position: absolute;
    right: 0;
}

.sticky_link a:hover {
    background-color: var(--sub-color);
}

.sticky_link div {
    margin-bottom: 1.25rem;
}

.sticky_link div a {
    background-color: var(--accent-color);
    color: #fff;
    font-weight: bold;
    width: 180px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px 0 0 20px;
    padding: 0.5em;
    line-height: 1;
    font-size: 16px;
}

.sticky_link img {
    width: 20px;
    height: auto;
    margin-right: 8px;
}

footer ul li a:hover {
    opacity: 0.7;
}

@media (max-width: 1200px) {
    .header_area .nav_area {
        display: none;
    }
}

@media (max-width: 1280px) {

    button {
        margin: 2rem auto;
    }

    .menu_nav a {
        padding: 0.5rem;
    }

    .sticky_link div {
        margin-bottom: 0.5rem;
    }

    .logo_area {
        font-size: clamp(1.5rem, 2.2vw, 3rem);
        width: 100%;
    }

    /* .header_area .nav_area {
        display: none;
    } */

    .curved_bg {
        width: 180px;
        height: 150px;
        margin-bottom: 0.5rem;
    }

    .hamburger_btn {
        top: 55%;
        right: 50px;
    }

    .sticky_link div a {
        width: 160px;
        height: 50px;
        font-size: 14px;
    }

    .footer_area,
    footer ul {
        width: 90%;
    }

    .footer_area,
    footer ul {
        flex-wrap: wrap;
    }

    .left_area {
        width: 40%;
    }

    .right_area {
        width: calc(60% - 5rem);
    }

    button {
        width: 90%;
    }

    footer {
        padding-top: 0rem;
    }

    footer ul {
        gap: 1rem;
        padding: 2rem;
        border-radius: 20px;
        justify-content: flex-start;
        margin: 2rem auto 0;
    }

    footer ul li {
        width: calc(50% - 0.5rem);
        margin-bottom: 5px;
        padding-right: 2px;
    }

    footer ul li:nth-of-type(1n) {
        border-right: 1px solid var(--sub-color);
    }

    footer ul li:nth-of-type(2n) {
        border-right: none;
    }

    footer ul li a {
        font-size: clamp(14px, 1vw, 1.2rem);
    }

    .logo_area,
    footer .corporate+img {
        max-width: 400px;
    }

    .left_area,
    .right_area {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .double_line img {
        border: 10px solid var(--point-color);
    }

    footer::before {
        top: -10%;
        height: 35vh;
    }

    .footer_area {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1.9rem 1rem;
    }

    .point_text {
        width: 100%;
    }

    tr {
        flex-direction: column;
    }

    th {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    td {
        width: 100%;
    }

    a[href^="tel:"] {
        pointer-events: auto;
        cursor: pointer;
    }

    .h_lead {
        line-height: 1.5;
    }

    .h_lead_line::after {
        content: none !important;
    }

    .hamburger_btn.hamburger_btn_active span:nth-child(1) {
        transform: rotate(45deg) translate(14px, 14px);
    }

    .hamburger_btn.hamburger_btn_active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        margin-left: 0;
    }

    button {
        max-width: 100%;
        width: 400px;
    }

    /* Responsive Design */
    .menu_nav {
        padding: 4rem 1rem 0;
    }

    .hamburger_lines {
        gap: 0.6rem;
    }

    .hamburger_lines span {
        width: 40px;
        height: 4px;
    }

    .hamburger_btn {
        top: 55%;
        right: 32px;
    }

    .curved_bg {
        width: 120px;
        height: 110px;
    }

    .mobile_menu {
        width: 100%;
        right: -100%;
    }

    .content {
        padding: 20px 15px;
    }

    .demo-card {
        padding: 25px;
    }

    .line {
        width: 25px;
        height: 2px;
    }

    .line:nth-child(2) {
        width: 20px;
        margin-left: 5px;
    }

    .line:nth-child(3) {
        width: 15px;
        margin-left: 10px;
    }

    .sticky_link span {
        display: none;
    }

    .sticky_link div a {
        width: auto;
        height: auto;
    }

    .sticky_link img {
        width: 20px;
        height: auto;
        margin: 0 0 0 5px;
    }
}