@charset "uth-8";

html{
    font-size: 100%;
    background: #fff;
    font-size: 16px;
}
body {
    color: #2C2D35;
    font-size: 1rem;
    margin: 0;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP";
}

h1 {
    font-size: 3.5rem;
    margin-block-start: 0;
    margin-block-end: 0;
}
h2 {
    font-size: clamp(1.5rem, 2rem, 2rem);
    margin-block-start: 0;
    margin-block-end: 0;
}
img {
    border: 0;
    margin: 0;
    vertical-align: top;
    max-width: 100%;
    overflow: clip;
}
a {
    text-decoration: none;
}


/* メインビジュアル */

.main-visual {
    background-image: url("../img/mainvisual.jpg");
    background-position: center;
    background-size: cover;
    height: 600px;
    width: 100%;
}
.header {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
}
.logo-container {
    width: 66.8%;
    display: flex;
}
.logo {
    max-height: 100px;
    margin-top: 50px;
    float: left;
}
.contact-conteiner {
    width: 33.2%;
    float: right;
}
.contact-box {
    margin-top: 50px;
    padding: 10px 20px;
    background-color: #fff;
    position: relative;
}
.mail-box {
    margin-bottom: 5px;
    padding: 10px 16px;
    font-size: clamp(12px, 1.6vw, 16px);
    background-color: #06C765;
    color: #fff;
    border-radius: 4px;
    display: block;
    width: auto;
    vertical-align: middle;
    text-align: center;
    transition: background-color 0.3s, transform 0.1s;
    position: relative;
    overflow: hidden;
}
.mail-box:hover {
    background-color: #009900; /* ホバー時の色 */
    transform: translateY(2px); /* ボタンが少し下がる */
}
/* キラッと光るエフェクト */
.mail-box::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -200%; /* 初期位置を左外に設定 */
    width: 100%;
    height: 200%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: rotate(25deg);
    transition: none; /* デフォルトではアニメーションをオフ */
}
.mail-box:hover::before {
    left: 200%; /* ホバー時に右外へ移動 */
    transition: left 0.3s ease-out; /* ホバー時のみアニメーション */
}
.mail-icon {
    margin-right: 10px;
    max-width: clamp(16px, 3.2vw, 32px);
    vertical-align: text-bottom;
}
.phone-box {
    font-size: clamp(12px, 1.6vw, 16px);
    color: #06C765;
    display: block;
    width: auto;
    vertical-align: middle;
    text-align: center;
}
.phone-box:hover {
    color: #009900; /* ホバー時の色 */
    transform: translateY(2px); /* ボタンが少し下がる */
}
.phone-icon {
    margin-right: 10px;
    max-width: clamp(8px, 3.2vw, 16px);
    vertical-align: text-bottom;
}
.header-bottom {
    position: relative;
    top: 111px;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}
.accnt {
    font-size: 5rem;
    color: #FF1A00;
}

/* ContactSection */
.contact-section {
    background-image: url("../img/contact.jpg");
    background-position: center;
    background-size: cover;
    height: 110px;
    padding: 38px 0;
    color: #fff;
}
.contact-txt {
    text-align: center;
    width: 80%;
    margin: auto;
}
.contact-line {
    width: 50%;
    padding: 26px 0 0 0;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    vertical-align: middle;
}
.contact-mail {
    height: 30px;
    padding: 16px 27px;
    max-width: 265px;
    margin: auto 0;
    font-size: clamp(1rem, 1.6vw, 1.5rem);
    background-color: #06C765;
    color: #fff;
    border-radius: 4px;
    display: block;
    width: auto;
    text-align: center;
    transition: background-color 0.3s, transform 0.1s;
    position: relative;
    overflow: hidden;

}
.contact-mail:hover {
    background-color: #009900; /* ホバー時の色 */
    transform: translateY(2px); /* ボタンが少し下がる */
}
/* キラッと光るエフェクト */
.contact-mail::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -150%; /* 初期位置を左外に設定 */
    width: 100%;
    height: 300%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: rotate(25deg);
    transition: none; /* デフォルトではアニメーションをオフ */
}
.contact-mail:hover::before {
    top: 50%;
    left: 150%; /* ホバー時に右外へ移動 */
    transition: left 0.3s ease-out; /* ホバー時のみアニメーション */
}

.contact-phone {
    padding: 16px 0;
    color: #fff;
    vertical-align: middle;
    text-align: center;
}
.contact-phone:hover {
    opacity: 60%;
    transform: translateY(2px); /* ボタンが少し下がる */
}
.l-font {
    font-size: 1.5rem;
}

/* worry-section */
.worry-section {
    background-image: url("../img/worry.jpg");
    background-position: center;
    background-size: cover;
    padding: 50px 0;
}
.worry-block {
    width: 60%;
    margin-left: 5%;
    margin-right: 35%;
}
.worry-title {
    margin-bottom: 50px;
}
.worry-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.worry-item {
    width: 150px;
    height: 130px;
    padding: 5px 5px;
    background-color: #fff;
    box-shadow: 0 0 8px 4px #ccc;
    text-align: center;
    vertical-align: middle;
    position: relative;
}
.item-txt {
    position: relative;
    font-size: 1.3rem;
    font-weight: bold;
    top: 50%; 
    transform: translateY(-50%)
}
.worry-desc {
    max-width: 350px;
    margin-top: 50px;
    padding: 15px 40px;
    background-color: #06C765;
    color: #fff;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
.green-txt {
    color: #06C765;
}
.accnt-white {
    background-color: #fff;
    color: #06C765;
    font-size: 2.5rem;
    padding: 0 10px 5px 10px;
}


/* feature-section */
.feature-section {
    background-color: #CDF4E0;
    width: 100%;
    padding: 0 0 20px 0;
}
.feature-block {
    width: 70%;
    margin: auto;
}
h2.feature-title {
    padding: 50px 0;
    text-align: center;
}
.feature-item {
    display: flex;
    max-height: 250px;
    margin: 0 auto 50px auto;
    width: 70%;
}
.feature-img {
    max-width: 100%;
    height: 250px;
}
.feature-desc {
    width: 100%;
    padding: 20px;
    background-color: #fff;
    text-align: left;
}
.feature-point {
    font-size: 1.3rem;
    font-style: italic;
    font-weight: lighter;
    margin-right: 10px;
}
.feature-theme {
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0;
}
h3.feature {
    margin-block-start: 0;
    margin-block-end: 0;
}

/* price */
.price-section {
    background-color: #fff;
    padding: 50px 0;
}
.price-title {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: auto;
}
.price-title::before,
.price-title::after {
    content: '';
    height: 2.0px;
    flex-grow: 1;
    background-color: #2C2D35;
}
.price-plans {
    width: 80%;
    margin: auto;
    margin-top: 20px;
    justify-content: space-between;
    display: flex;
}
.price-plan {
    text-align: center;
    width: 300px;
    border-collapse: collapse;
    margin: auto;
}
.price-plan th {
    background-color: #06C765;
    color: #fff;
    font-size: 1.5rem;
    padding: 10px;
    border: solid 3px;
    border-color: #06C765;
}
.price-plan td {
    font-size: 1.5rem;
    padding: 10px;
    border: solid 3px;
    border-color: #06C765;
}
.cost {
    font-size: 3rem;
    font-weight: bold;
}


/* FAQ section */
.faq-title {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: auto;
}
.faq-title::before,
.faq-title::after {
    content: '';
    height: 2.0px;
    flex-grow: 1;
    background-color: #2C2D35;
}
.faq-list {
    width: 80%;
    margin: auto;
    margin-top: 20px;
}
table.faq-2 {
    border: 1px solid   #2C2D35;
    text-align: center;
    border-collapse: collapse;
    margin-left: 20px;
}
.faq-2  th,
.faq-2  td{
    text-align: center;
    padding: 5px;
    border: 1px solid   #2C2D35;
}
.toggle {
    display: none;
}
.question {
    padding: 10px;
    display: block;
    color: #fff;
    background-color: #06C765;
}
.question::before {
    content: "";
    width: 6px;
    height: 6px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    -webkit-transform: rotate(45deg);
    position: absolute;
    top: calc(50% - 3px);
    right: 20px;
    transform: rotate(135deg);
}
.question:hover {
    background-color: #009900; /* ホバー時の色 */
    transform: translateY(2px); /* ボタンが少し下がる */
}
.question,
.answer {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: all 0.3s;
}
.answer {
    height: 0;
    margin-bottom: 20px;
    padding: 0 10px;
    overflow: hidden;
}
.toggle:checked + .question + .answer {
    height: auto;
    padding: 10px;
    transition: all 0.3s;
}
.toggle:checked + .question::before {
    transform: rotate(-45deg) !important;
}

/* Company section */
.company {
    background-color: #CDF4E0;
    padding: 50px 0 0 0;
}
.company-title {
    padding: 50px 0 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: auto;
}
.company-body {
    width: 80%;
    display: flex;
    margin: auto;
    justify-content: space-between;
}
.about-table {
    width: 40%;
    padding: 0 10px;
    background-color: #fff;
    align-content: center;
    align-items: center;
}
.company-map {
    width: 60%;
}
tr {
    align-content: center;
    align-content: normal;
}
.about-head {
    padding: 20px 10px;
    border-bottom: 2px dotted #2C2D35;
}
.about-content {
    padding: 20px 10px;
    border-bottom: 2px dotted #2C2D35;
}
.about-content a:hover {
    opacity: 60%;
    transform: translateY(2px); /* ボタンが少し下がる */
}
.copyright {
    text-align: center;
    font-size: 0.7rem;
    padding: 30px 0;
}

.profile-title {
    padding: 50px 0  20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: auto;
}
.profile-body {
    width: 80%;
    display: flex;
    margin: auto;
}
img.profile {
    width: 26.4%;
    max-width: 350px;
}
.profile-txt {
    padding: 20px;
    vertical-align: middle;
    width: 73.6%;
    background-color: #fff;
    line-height: 180%;
    font-weight: normal;
}
.message-txt {
    padding: 20px;
    vertical-align: middle;
    width: 73.6%;
    background-color: #fff;
    font-weight: normal;
}

/* representative */
#representative .body {
    background-color: #fff;
    width: 80%;
    margin: auto;
}
#representative .title{
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: auto;
}
#representative .message {
    margin-bottom: 50px;
    padding: 20px 20px 0 20px;
}
#representative .heading {
    font-weight: bold;
    font-size: 1.3rem;
}
#representative .profile-block {
    display: flex;
    padding: 0 20px 20px 20px;
}
#representative .photo {
    width: 250px;
    margin: 0 30px 0 0;
}
#representative .photo img {
    width: 250px;
}
#representative .profiles {
    margin: 0 20px;
}
#representative .photo-txt {
    padding: 5px;
    margin: 0;
    text-align: center;
}

/* レスポンシブ対応 */
.feature-img-phone {
    max-width: 100%;
    height: 250px;
    display: none;
}
.feature-img-pc {
    max-width: 100%;
    height: 250px;
}
@media screen and (max-width: 1000px) {
    .feature-item {
        display: contents;
    }
    .feature-img {
        display: flex;
        margin: auto;
    }
    .feature-img-phone {
        display: flex;
        margin: auto;
    }
    .feature-img-pc {
        display: none;
    }
    .feature-desc {
        width: 80%;
        margin: 0 auto 30px auto;
    }
    .price-plans {
        display: contents;
    }
    .price-plan {
        margin-top: 30px;
    }
    #representative .profile-block {
        display: contents;
    }
    #representative .profiles {
        margin: 0 20px;
        padding: 0 0 20px 0;
    }
    #representative .photo {
        margin: auto;
    }
    .company-body {
        display: contents;
    }
    .company-map,
    .about-table {
        width: 80%;
        height: 250px;
        margin: auto;
        padding: 0 10px 10px 10px;
    }
    .l-font {
        font-size: 1rem;
    }
}

@media screen and (max-width: 586px) {
    .accnt {
        font-size: 2rem;
        color: #FF1A00;
    }
    .main-title {
        font-size: 1.5rem;
    }
    .contact-line {
        width: 80%;
    }
    .mail-icon,
    .phone-icon {
        display: none;
    }
    .worry-section {
        background-color: #fff;
        background-image: none;
    }
    .worry-block {
        width: 80%;
        margin: auto;
    }
    h2 {
        font-size: 1.5rem;
    }
    .worry-desc {
        font-size: 1.3rem;
        width: 80%;
    }
    .worry-item {
        margin: auto;
    }
}
