@charset "UTF-8";
/*
Theme Name: slight Original Theme
Theme URI: https://example.com
Description: 株式会社slightのオリジナルテーマです。
Version: 1.0
Author: 須川 信浩
*/

/*基本設定*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.8;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/*各セクションの基本設定*/

.section-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 0.05em;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: #69E0C5;
}

/*ヘッダー*/

.header {
    width: 100%;
    height: 70px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    left: 0;
    z-index: 100;
}



.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo img {
    height: 30px;
}

.nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin-top: 10px;
}

.nav ul li {
    margin-left: 25px;
    font-size: 14px;
    font-weight: bold;
}


.nav ul li a {
    position: relative; 
    text-decoration: none;
    padding-bottom: 8px; 
    display: inline-block;
}



.nav ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;             
    width: 0;            
    height: 2px;       
    background-color: #69E0C5; 
    transition: width 0.3s ease; 
}


.nav ul li a:hover::after {
    width: 100%; 
}

.nav ul li a:hover {
    opacity: 1;
}


.nav ul li a.btn-contact-header::after {
    display: none;
}

.btn-contact-header {
    background-color: #38d8b3;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    margin-bottom: 10px;
}

/*メインビジュアル*/

.main-visual {
    height: 75vh;
    min-height: 450px;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('img/fv-02.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: #fff;
}

.mv-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

.mv-content h1 {
    font-size: 38px;
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: 700;
}

.mv-content p {
    font-size: 21px;
    letter-spacing: 0.05em;
}

.mv-title-serif {
    font-family: "Noto Serif JP", "ヒラギノ明朝 ProN", "Hiragino Mincho Pro", "MS P明朝", serif !important;
    font-weight: 700; 
    letter-spacing: 0.1em; 
}

.mv-subtitle-serif {
    font-family: "Noto Serif JP", "ヒラギノ明朝 ProN", "Hiragino Mincho Pro", "MS P明朝", serif !important;
    letter-spacing: 0.1em; 
}

/*事業内容*/

.services-section {
    padding: 100px 0;
    background: url('img/background.jpg') no-repeat center center/cover;
}

.service-cards {
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

.card {
    flex: 1;
    background: #fff;
    padding: 40px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.card-icon {
    margin-bottom: 20px;
    height: 60px;
}

.card-icon img {
    height: 100%;
}

.card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #222;
}

.card p {
    font-size: 14px;
    color: #666;
    text-align: left;
}

/*選ばれる理由*/

.strengths-section {
    padding: 100px 0;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
}

.text-white {
    color: #fff;
}

.strength-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.strength-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

.strength-title {
    font-weight: bold;
    font-size: 18px;
    width: 220px;
    border-right: 3px solid #69E0C5;
    padding-right: 20px;
    margin-right: 20px;
    flex-shrink: 0;
}

.strength-desc {
    flex: 1;
    font-size: 14px;
    color: #444;
}

/*会社概要*/

.about-section {
    padding: 80px 0;
}

.about-table-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 6px;
}

.about-table {
    width: 100%;
    border-collapse: collapse;
}

.about-table th, .about-table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    font-size: 15px;
}

.about-table th {
    width: 30%;
    text-align: left;
    font-weight: bold;
    color: #222;
}

.about-table td {
    color: #555;
}

/*代表メッセージ*/

.message-section {
    padding: 80px 0;
    background: url('img/background.jpg') no-repeat center center/cover;
}

.message-content {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.profile-img {
    flex: 0 0 200px;
}

.profile-img img {
    border-radius: 4px;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.profile-text .role {
    font-size: 15px;
    color: #38d8b3;
    margin-bottom: 5px;
    font-weight: bold;
}

.profile-text .name {
    font-size: 22px;
    font-weight: bold;
}

.profile-text .rubi {
    font-size: 14px;
    font-weight: bold;
    margin-top: -8px;
    margin-bottom: 15px;
}

.profile-text .body-text {
    font-size: 15px;
    color: #555;
}

/*コンタクトセクション*/

.contact-section {
    background-color: #63e0c3;
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

.contact-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center; 
    color: #333;
    position: relative;    
    padding-bottom: 20px;  
    margin-bottom: 30px;    
}

.contact-title::after {
    content: "";
    position: absolute;
    bottom: 0;              
    left: 50%;             
    transform: translateX(-50%); 
    width: 60px;           
    height: 3px;          
    background-color: #ffffff; 
}

.contact-text {
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.5;
    font-weight: bold;
    color: #333;
}

.contact-tel a {
    font-size: 32px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: -1rem;
}

.contact-tel span {
    font-size: 16px;
    display: block;
}


.contact-subtext {
    display: inline-block;
    border: 1px solid #000000;
    padding: 4px 12px;       
    margin-bottom: 1rem;
    font-size: 13pt;     
    color: #333;
    font-weight: bold;
}

.contact-text2-container {
    background-color: rgba(255, 255, 255, 0.4); 
    border: 1px solid rgba(255, 255, 255, 0.3);   
    padding: 25px;                          
    border-radius: 10px;                        
    max-width: 700px;                           
    margin: 20px auto;                          
    
}

.contact-text2 {
    text-align: left;                           
    line-height: 1.8;      
    color: #333;
    font-size: 15px;
}

.contact-btn {
    background-color: #333;
    padding: 20px;                          
    border-radius: 10px;                        
    max-width: 700px;                           
    margin: 20px auto;                          
    color: #ffff;
    font-weight: bold;
}

.contact-btn p{
    font-size: 13pt;
}

/*フッター*/

.footer {
    background-color: #333;
    color: #aaa;
}

.footer-service {
    margin-top: 1rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-logo {
    height: 30px;
    margin-bottom: 15px;
}

.footer-left {
    margin-top: 1rem;
}

.footer-left p {
    font-size: 13px;
    line-height: 1.5;
}

.footer-address {
    margin-top: 1rem;
}


.footer-right ul {
    list-style: none;
}

.footer-right ul li {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-right ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding: 20px 0;
    font-size: 12px;
}

.footer-contact {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;   

    letter-spacing: 0.05em;
}

.footer-contact a {
    color: #69E0C5;
    display: inline-block; 
    position: relative;    
    padding-top: 15px;    
}


.footer-contact a::before { 
    content: "";
    position: absolute;
    top: 0;                
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: #fff;
}


/* ハンバーガーメニュー */
.hamburger {
    display: none; 
    position: relative;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110; 
}


.hamburger span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #333;
    left: 0;
    transition: transform 0.3s, opacity 0.3s, top 0.3s;
}


.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { top: 22px; }


.hamburger.is-active span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
    top: 11px;
    transform: rotate(-45deg);
}

.js-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s, transform 0.8s;
}
.js-fade.is-show {
    opacity: 1;
    transform: translateY(0);
}


/* レスポンシブ設定*/


@media screen and (max-width: 960px) {
    .service-cards {
        gap: 15px;
    }
    .card {
        padding: 30px 15px;
    }
    .strength-title {
        width: 180px;
    }
}


@media screen and (max-width: 768px) {

    .section-title {
        font-size: 20px;
        margin-bottom: 30px;
    }
    

    .hamburger {
        display: block;
    }


    .nav {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98); 
        z-index: 105;
        

        transform: translateX(100%);
        transition: transform 0.4s ease;
        

        display: flex;
        align-items: center;
        justify-content: center;
    }


    .nav.is-active {
        transform: translateX(0);
    }


    .nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0;
    }

    .nav ul li {
        margin-left: 0;
        margin-bottom: 30px; 
        font-size: 18px;
    }

    .btn-contact-header {
        display: inline-block;
        padding: 12px 40px; 
    }

    
    body.admin-bar .header {
        top: 46px;
    }

    .main-visual {
        height: auto;
        padding: 80px 0;
    }
    .mv-content h1 {
        font-size: 28px;
    }
    .mv-content p {
        font-size: 14px;
    }


    .service-cards {
        flex-direction: column;
        gap: 20px;
    }


    .strength-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    .strength-title {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid #69E0C5;
        padding-right: 0;
        padding-bottom: 5px;
        margin-right: 0;
        margin-bottom: 10px;
    }


    .about-table-wrapper {
        padding: 15px;
    }
    .about-table th, .about-table td {
        display: block;
        width: 100%;
        padding: 10px 5px;
    }
    .about-table th {
        border-bottom: none;
        padding-bottom: 0;
    }


    .message-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .profile-img {
        flex: 0 0 auto;
        width: 150px;
    }


    .contact-tel a {
        font-size: 24px;
    }

    .footer-inner {
    flex-direction: column;
    gap: 30px;
    align-items: stretch; /* 全体の右寄せをリセットします */
    }


    .footer-left {
        align-self: flex-start;
    }


    .footer-right {
        align-self: flex-end;
        width: 100%; /* 必要に応じて右寄せを強調・維持するための記述 */
        display: flex;
        flex-direction: column;
        align-items: flex-end; /* 子要素（メニューやボタン）も右に寄せます */
    }
    }


/* お問い合わせページ設定／コンタクトフォーム７用 */
.contact-page-main {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-title {
    text-align: center;
    font-size: 2rem;
    color: #69E0C5;
    margin-bottom: 10px;
}

.page-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}



.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper p{
	color:black;
}
	


.wpcf7 dl dt,
.wpcf7 dl dd {
    color: #333333;
}


.wpcf7 dl dt {
    margin-bottom: 8px;
    font-weight: bold;
}

.wpcf7 dl dd {
    margin-bottom: 25px;
    margin-left: 0;
}


.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    display: block;
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1rem;
    color: #333333;
}

.wpcf7 textarea {
    height: 180px;
}


.page-confirm .wpcf7 dl dd {
    padding: 10px;
    background: #f0f4f9; 
    border-radius: 4px;
    min-height: 1.5em;
    color: #333333;
}


.form-buttons {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
	margin:30px auto 0;
}


.form-buttons p {
    display: contents !important; 
}


.wpcf7-previous,
.wpcf7-submit {
    flex: 0 1 auto !important;
    white-space: nowrap; 
}


.wpcf7 input[type="submit"] {
    background-color: #69E0C5;
    color: #ffffff !important;
    padding: 15px 60px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s;
    -webkit-appearance: none; 
}

.wpcf7 input[type="submit"]:hover {
    background-color: #50c5aa;
    color: #ffffff !important;
}


.wpcf7-previous {
    background-color: #999 !important; 
    color: #fff !important;
    padding: 15px 60px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
}


.wpcf7 .wpcf7-not-valid-tip {
    color: #d32f2f;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.wpcf7-spinner {
    position: absolute; 
}

.wpcf7-response-output {
	    color: #d32f2f;
}


@media screen and (max-width: 768px) {

.wpcf7-turnstile {
    margin-left: 5px !important; 
    margin-bottom: 20px;
}
    .wpcf7-turnstile {
        transform: scale(0.85); 
        transform-origin: left;
    }
}
