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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 800ms;
}

@media (min-width: 769px) {
    [data-aos] {
        opacity: 0;
    }
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    color: #333;
    padding: 0.5rem 2.5rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header .logo img {
    width: 400px;
}

.menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: #eef5fe;
    color: #151e77;
    border-radius: 50%;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
}

main {
    width: 100%;
    padding: 6rem 0rem 0rem 0rem;
    min-width: 200px;
}

main section {
    align-content: center;
    align-items: center;
    /*border-radius: 48px;*/
    display: flex;
    flex: none;
    flex-direction: column;
    flex-wrap: nowrap;
    height: 100%;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 1rem 2rem;
    padding-bottom: 3rem;
    padding-top: 3rem;
}
.spbigfont{
    font-size: 120%;
    font-weight: bold;
}
section {
    scroll-margin-top: 100px;
}

#section1 {
    background-color: #eef5fe;
    padding-top: 1rem;
}
#section2 {
    background-color: #fffaeb;
    /* margin-top: 5rem;*/
}

#section3 {
    background-color: #ffffff;
    margin-top: 2rem;
}
#section4 {
    background-color: #fff4f6;
}
#section5 {
    background-color: #ffffff;
    margin: 2rem 0rem;
}
#section6 {
    background-color: #151e77;
}

.header-title {
    font-size: clamp(1.5rem, 2vw, 2.5rem);
    font-weight: bold;
    margin-bottom: 1rem;
    /*margin-top: 3rem;*/
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    color: #151e77;
}

.htb{
    font-size: clamp(1.7rem, 5vw, 3.2rem);
}
.hts{
    font-size: clamp(1.2rem, 2vw, 2.5rem);
    }
.hts3{
    margin-top: 3rem;
}

.subtitle {
    font-size: clamp(0.5rem, 5vw, 1.5rem);
    margin-bottom: 1rem;
    color: #333;
}
.subtitsec3 {
    font-size: clamp(0.5rem, 5vw, 1.5rem);
    padding: 2rem 3rem;
    color: #fff;
}

.responsive-image {
    max-width: 90%;
    height: auto;
    margin: 1rem 0;
}

.stress-factors {
    display: block;
    width: 100%;
    margin-top: 2rem;
}

.stress-factorsup,
.stress-factorsdown {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: center;
}

.factor {
    border: 4px solid #45323a;
    border-radius: 10px;
    padding: 1rem 2rem;
    margin: 0.1rem 0.5rem;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    box-shadow: 5px 14px 7px 3px rgb(0 0 0);
    background-color: #ffffff;
    font-weight: bold;
}

.fcenter{
 padding: 2rem 2rem;
}

.balloon1 {
    position: relative;
    padding: 20px;
    border-radius: 10px;
    color: #ffffff;
    background-color: #826463;
    margin-left: 210px;
    margin-bottom: 3rem;
    margin-top: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.balloonimg{
    width: 100%;
}

.balloon1 .icon {
    position: absolute;
    left: -250px;
}

.balloon1::before {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    left: -15px;
    top: 20px;
    border-right: 15px solid #826463;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
}

.item-001 {
    display: flex;
    justify-content: space-around;
    gap: 0 1rem;
    align-content: flex-start;
    margin-bottom: 3rem;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-bottom: 3rem;
}

.item-001 img {
    max-width: 150px;
    height: 100%;
    border: 3px solid #f2f2f2;
    border-radius: 50%;
}

.item-001 p {
    position: relative;
    margin: 3px 0 0;
    padding: .8em 1em;
    border-radius: 5px;
    background-color: #f2f2f2;
    color: #333333;
    font-size: clamp(1rem, 2vw, 1.5rem);
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.item-001 p::before {
    position: absolute;
    left: -15px;
    width: 15px;
    height: 30px;
    background-color: #f2f2f2;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
    content: '';
}

.contact-container {
    width: 80%;
    margin: 50px auto;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 40px;
    text-align: center;
}

.contact-container h2 {
    font-size: clamp(1.5rem, 2vw, 2.5rem);
    margin-bottom: 20px;
}

.contact-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.contact-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    padding: 15px 50px;
    border-radius: 50px;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.phone-btn {
    background-color: #FFA500;
}

.mail-btn {
    background-color: #192584;
}

.url-btn {
    min-width: 60%;
    background-color: #03A9F4;
}

.contact-btn .detailbtn {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
}

.company-title,
.phone-call,
.mail-consult {
    font-size: clamp(1.2rem, 1.5vw, 2.5rem);
    font-weight: bold;
    color: #ffffff;
}

.footernote {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: #555;
    margin: 20px;
}

.flex-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
}

.flex-item {
    text-align: center;
    width: 50%;
    padding: 20px;
}

.qa-container {
    width: 95%;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
    text-align: left;
    font-size: clamp(1rem, 2vw, 1.5rem);
}
        
.qa-header {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
        
.qa-header:hover {
    background-color: #fde0e0;
}
        
.qa-header .question {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: bold;
    color: #d9534f;
    padding: 10px;
}
.questionmark,
.answermark{
    background-color: #d9534f;
        border-radius: 50%;
        color: #fff;
        text-align: center;
        margin-right: 15px;
        padding: 3px 12px;
}
.answermark {
    background-color: #06c755;
}

.qa-header .toggle-icon {
    font-size: 20px;
    color: #7f7d7d;
    transition: transform 0.3s;
}
        
.qa-content {
    display: none;
    padding: 20px;
    font-size: clamp(1rem, 2vw, 1.5rem);
    line-height: 1.6;
    color: #555;
    background-color: #ffffff;
}
        
.qa-content.active {
    display: block;
}
        
.qa-content p {
    margin: 0;
    padding: 10px 30px 10px 10px;
}


@keyframes zoomIn {
    from {
        transform: scale(0);
        opacity: 0;
}

    to {
        transform: scale(1);
        opacity: 1;
}
}

@keyframes zoomOut {
    from {
        transform: scale(1);
        opacity: 1;
}

    to {
        transform: scale(0);
        opacity: 0;
}
}

.fullscreen-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #eef5fe;
    color: #000000;
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    opacity: 0;
    transform: scale(0);
}

.fullscreen-menu.show-menu {
    display: flex;
    animation: zoomIn 0.5s forwards;
}

.fullscreen-menu.hide-menu {
    animation: zoomOut 0.5s forwards;
}

.fullscreen-menu .menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem;
    background-color: #ffffff;
    color: #000000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    left: 0;
    min-width: 200px;
}

.fullscreen-menu .menu-content {
    width: 100%;
    margin-top: 0;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.fullscreen-menu .menu-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 80%;
    align-content: flex-start;
    align-items: flex-start;
    background: rgba(0, 0, 0, 0.0);
    flex: none;
    flex-direction: column;
    flex-wrap: nowrap;
    height: 100%;
}

.fullscreen-menu .menu-content ul li {
    position: relative;
    /*margin: 1rem 0;*/
    align-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.0);
    border-bottom: 1px solid #808080;
    height: 80px;
    display: flex;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease;
    min-width: 200px;
}

.fullscreen-menu .menu-content ul li::after {
    content: "→";
    position: absolute;
    right: 1.5rem;
    color: #000000;
    font-size: 1.5rem;
    font-weight: bolder;
    transition: color 0.3s ease;
}

.fullscreen-menu .menu-content ul li a {
    color: #000000;
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.3s;
    display: block;
    width: 100%;
    height: 100%;
    text-align: left;
    line-height: 80px;
    padding-left: 1rem;
}

.fullscreen-menu .menu-content ul li:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.fullscreen-menu .menu-content ul li:hover::after {
    color: #000000;
}

.fullscreen-menu .menu-content ul li a:hover {
    color: #151e77;
}

#fullscreenMenu .logo img {
    width: 400px;
}
.close-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: #eef5fe;
    color: #000;
    border-radius: 50%;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 1001;
}

.checkcontainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 20px;
    gap: 20px;
}

.checkitem {
    background-color: #eef5fe;
    border: 2px solid #151e77;
    border-radius: 8px;
    padding: 1.5rem;
    width: calc(50% - 20px);
    box-sizing: border-box;
    font-size: clamp(1rem, 2vw, 1.5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align:left;
}

.checkmark {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    position: relative;
    background-color: #ffffff;
}

.checkmark::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 6px;
    border-left: 4px solid red;
    border-bottom: 4px solid red;
    transform: rotate(-45deg);
    top: 2px;
    left: 2px;
}
.contact-container {
    width: 90%;
    margin: 50px auto;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 40px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-container h2 {
    font-size: clamp(1.5rem, 2vw, 2.5rem);
    margin-bottom: 20px;
    margin-top: 2rem;
}

.contact-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.contact-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    padding: 15px 50px;
    border-radius: 50px;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.phone-btn {
    background-color:#FF9800;
}

.mail-btn {
    background-color: #4CAF50;
}

.url-btn {
    min-width: 60%;
    background-color: #2196F3
}

.contact-btn .detailbtn {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
}

.company-title,
.phone-call,
.mail-consult {
    font-size: clamp(1.2rem, 1.5vw, 2.5rem);
    font-weight: bold;
    color: #ffffff;
}

.footernote {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: #555;
    margin: 20px;
}

.mail-button {
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: 160px;
    height: 160px;
    background-color: #151e77c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1001;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    transition: transform 0.2s ease-in-out;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.mail-button::before {
    content: "✉";
    font-size: 3rem;
    line-height: 2.5rem;
}

.mail-button:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.3);
}

.mailbuttonp {
    display: inline-block;
    font-size: 1.1rem;
}

.mailbuttons {
    width: 70%;
    font-size: 0.6rem;
}

footer {
    color: #151e77;
    background-color: #eef5fe;
    text-align: center;
    padding: 1rem;
    font-size: 0.7rem;
}

@media (max-width: 768px) {
[data-aos] {
            opacity: 1 !important;
}
header {
        flex-wrap: wrap;
        text-align: center;
        padding: 1rem 1rem;
        min-width: 200px;
}
header .logo img {
    width: 300px;
}

#fullscreenMenu .logo img {
    width: 300px;
}

.close-icon {
    width: 60px;
    height: 60px;
}

.menu-icon {
        width: 60px;
        height: 60px;
}
main {
        margin: 0px;
        width: calc(100% - 0px);
        padding: 3rem 0rem 0rem 0rem;
}
main section{
    padding:2rem 0.5rem;
    border-radius: 0px;
}
#section1{
    margin-top:3rem;
}
#section3 {
    padding: 1rem 1rem 1rem 1rem;
}
#section5 {
    margin:0rem;
}
.stress-factors {
    display: block;
    width: 100%;
    margin-top: 1rem;
}
.factor {
    border: 2px solid #45323a;
    padding: 0.5rem 0.5rem;
    margin: 0.1rem;
    box-shadow: 1px 8px 7px 3px rgb(0 0 0);
}
.fcenter {
    padding: 1.5rem 1.5rem;
}
.subtitle {
    margin-bottom: 0.5rem;
}

.subtitsec3 {
    margin-bottom: 1rem;
    padding: 3rem 1rem 2rem 2rem;
}
.balloon1{
    padding: 0px;
    margin-left: 100px;
}
.balloonimg {
    width:80%;
}
.balloon1 .icon {
    left: -180px;
    bottom: 0px;
}

.item-001 img {
    max-width: 120px;
}
.flex-item {
    width: 100%;
    padding:0px;
}
.qa-content {
    padding-top: 0px;
}
.qa-content p{
    padding: 10px 10px 10px 10px;
}
.checkitem {
    width: calc(50% - 20px);
}
.contact-container {
    width: 100%;
    border-radius: 0;
    padding: 0px;
}

.contact-btns {
    flex-direction: column;
    gap: 15px;
}

.contact-btn {
    width: 90%;
    min-width: 200px;
    margin: 0 auto;
    border-radius: 20px;
    padding: 15px 20px;
}
.htb{
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    }

.hts3 {
    margin-top: 0rem;
}
.fullscreen-menu .menu-content ul li {
        height: 60px;
        min-width: 200px;
}

.fullscreen-menu .menu-content ul li::after {
        font-size: 1.2rem;
}

.fullscreen-menu .menu-content ul li a {
        font-size: 1rem;
        /*line-height:1.5rem;*/
}

.mail-button::before {
        font-size: 2rem;
        line-height: 1.5rem;
}
.mail-button {
             width: 120px;
             height: 120px;
            bottom: 5px;

     }
.mailbuttonp {
        font-size: 0.9rem;
}

.mailbuttons {
        width: 60%;
        font-size: 0.6rem;
        line-height: 0.9rem;
}
footer {
        font-size: 0.6rem;
}
}

@media (max-width: 480px) {
.checkitem {
        width: 100%;
    }
header .logo img {
    width: 200px;
}

#fullscreenMenu .logo img {
    width: 200px;
}

.close-icon {
    width: 40px;
    height: 40px;
}

.menu-icon {
    width: 40px;
    height: 40px;
}
#section1 {
    margin-top: 1rem;
}
}