@charset "UTF-8";

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

.container {
    max-width: 750px;
    margin: 0 auto;
    background-color: #fff;
}

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

.mb-4 {
    margin-bottom: 1.5rem;
}

p {
    margin-bottom: 0;
}

ul {
    margin-left: 0;
    list-style-type: none;
}

.section-title-bubble {
    background: #1a2b4c;
    color: #fff;
    display: inline-block;
    padding: 0.5rem 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    font-weight: bold;
}

.hero {
    background-image: url('../img/main.jpg');
    background-size: cover;
    background-position: center;
    height: 50vh;
    position: relative;
}

.hero-text-area {
    padding-top: 30px;
}

.hero-main-copy {
    padding: 0 30px;
}

.hero-subtitle {
    text-align: center;
    letter-spacing: 2px;
    color: black;
    text-shadow: 0 0 5px rgba(255, 255, 0, 0.6);
    margin-top: 10px;
}

.service-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    position: absolute;
    bottom: 13%;
    left: 0;
    width: 100%;
}

.badge {
    width: 45%;
}

.hero-license-info {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    width: 100%;
    text-align: center;
    color: white;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
}

.cta-bar {
    position: relative;
    background-image: url('../img/contact.jpg');
    background-size: cover;
    background-position: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 2;
    text-align: center;
    padding: 20px;
}

.cta-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(50, 100, 200, 0.7) 0%,
        rgba(20, 50, 120, 0.9) 100%
    );
    z-index: 1;
}

.cta-zenmen {
    z-index: 4;
    width: 80%;
}

.cta-zenmen h2 {
    width: 40%;
    margin: 0 auto;
}

.cta-text {
    margin-top: 20px;
}

.cta-bar .phone-number {
    margin: 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-text-2 {
    margin: 10px;
    font-size: 14px;
}

.cta-mail {
    color: white;
    text-decoration: none;
    border-bottom: 2px solid white;
    padding-bottom: 5px;
}

.cta-mail i {
    padding-right: 10px;
}

.solution {
    position: relative;
}

.kaiketu {
    position: absolute;
    top: 6%;
    left: 10%;
    width: 50%;
    filter: drop-shadow(3px 3px 2px rgba(0, 0, 0, 0.3));
}

.ser-content {
    padding: 20px;
}

.ser-title {
    padding: 30px 40px 0 40px;
}

.ser-title h2 img {
    width: 60%;
}

.ser-title p {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.bg-8cd {
    background-color: #8cd800;
}

.bg-bae {
    background-color: #bae000;
}

.ser-card {
    background-color: white;
    border-radius: 20px;
    margin: 30px;
    padding: 30px;
}

.ser-card-img {
    display: flex;
    align-items: center;
    gap: 30px;
}

.ser-card-img img {
    width: 40%;
}

.ser-card-text {
    width: 55%;
    background-color: red;
    border-radius: 10px;
    padding: 20px;
}

.ser-card-text h3 {
    text-align: center;
    color: yellow;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 20px;
}

.ser-card-text p {
    color: white;
}

.ser-text h3 {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border-bottom: 3px solid black;
    padding-bottom: 10px;
}

.features {
    background-color: #0277bd;
    padding: 3rem 1rem;
    color: #fff;
}

.features-grid {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.feature-box {
    background: #fff;
    color: #333;
    padding: 1.5rem 1rem;
    border-radius: 8px;
    flex: 1;
    text-align: center;
}

.feature-title {
    background: yellow;
    display: inline-block;
    padding: 20px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.feature-title span {
    display: block;
    font-size: 20px;
    color: red;
    font-weight: bold;
}

.feature-icon {
    font-size: 2.5rem;
    color: #0277bd;
    margin-top: 1rem;
}

.flow {
    background-color: #4fc3f7;
    padding: 3rem 1rem;
}

.flow-container {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 1.5rem;
    border-radius: 8px;
}

.flow p {
    color: white;
}

.flow-image {
    width: 40%;
    border-radius: 8px;
    overflow: hidden;
}

.flow-steps {
    width: 60%;
}

.flow-steps ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
}

.flow-steps li {
    width: 45%;
}

.customer-voices {
    padding: 60px 20px;
    background-color: #89c4ff;
}

.customer-voices p {
    color: white;
    margin-bottom: 20px;
}

.customer-voices .section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: white;
}

.voice-cards-container {
    display: flex;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.voice-card {
    flex: 1;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.voice-content {
    text-align: center;
    margin-bottom: 20px;
}

.voice-card .voice-name {
    font-size: 1.3em;
    color: #007bff;
    margin-bottom: 10px;
}

.voice-card .voice-text {
    line-height: 1.6;
    color: #555;
}

.voice-illustration {
    margin-top: auto;
}

.voice-illustration .customer-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #eee;
}

footer {
    background-color: #1a2b4c;
    color: #fff;
    text-align: center;
    padding: 2rem 1rem;
}

.foot-content {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.foot-content img {
    width: 30%;
}

.foot-comp {
    width: 65%;
    text-align: left;
    font-size: 14px;
}

.foot-comp img {
    width: 10%;
}

.foot-comp table {
    width: 100%;
}

.foot-comp th {
    width: 20%;
}

.foot-comp td {
    width: 75%;
}

.copyright {
    font-size: 0.8rem;
    margin-top: 2rem;
    opacity: 0.7;
}

.contact-section {
    padding: 3rem 1rem;
    background-color: #fff;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 0.95rem;
}

.required {
    background: #d32f2f;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #ff9800;
    outline: none;
    box-shadow: 0 0 5px rgba(255, 152, 0, 0.3);
}

.privacy-policy {
    text-align: center;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.privacy-policy a {
    color: #0277bd;
    text-decoration: underline;
    font-weight: bold;
}

.submit-btn {
    background-color: #d32f2f;
    color: #fff;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    width: 100%;
    max-width: 300px;
    transition: background .3s, transform .1s;
}

.submit-btn:hover {
    background-color: #b71c1c;
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 0;
    border: 1px solid #888;
    width: 90%;
    max-width: 700px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn .3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    background-color: #1a2b4c;
    color: white;
    padding: 1rem;
    border-radius: 8px 8px 0 0;
}

.modal-header h3 {
    margin: 0;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    margin-right: 15px;
    margin-top: 5px;
    line-height: 1;
}

.close-btn:hover {
    color: #fff;
    cursor: pointer;
}

.modal-body {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
    line-height: 1.8;
}

.modal-body h4 {
    border-left: 4px solid #d32f2f;
    padding-left: 10px;
    margin-top: 1.5rem;
}

.modal-body ul {
    margin-left: 1.5rem;
}

.modal-body p {
    margin-bottom: 1rem;
}

.company-info {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 5px;
}

.company-info p {
    margin-bottom: .2rem;
}

.decorated-title {
    text-align: center;
    position: relative;
    padding-bottom: 25px;
    margin-bottom: 40px;
    font-size: 2.5em;
    font-weight: bold;
    color: white;
}

.contact-section .decorated-title {
    color: black;
}

.decorated-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
}

.decorated-title::after {
    content: '';
    box-shadow:
        -20px 0 0 0 #007bff,
        0 0 0 0 #007bff,
        20px 0 0 0 #007bff;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #007bff;
    transform: translateX(-50%);
    z-index: 3;
}

@media (min-width: 751px) {
    a[href^="tel:"] {
        pointer-events: none;
        cursor: default;
    }
}