@charset "UTF-8";


/*****************************************************
　画像　
*****************************************************/
.company-img{
	margin:0 auto 75px;
	max-width:631px;
	width:100%;
}


/*****************************************************
　セクション　
*****************************************************/
/* セクションタイトル 
------------------------------------------------- */


.inner3 {
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}

.contact-box2 {
    padding: 25px 25px 25px;
	margin-bottom: 90px;
}

.contact-ttl {
    color: #64b82b;
    font-size: 28px;
    font-size: 2.8rem;
    letter-spacing: 0.01em;
    line-height: 1.4;
    margin: 0 0 10px;
    text-align: left;
}


.p-section-ttl{
	font-size:42px;
	font-size:4.2rem;
	margin:0 0 60px;
	text-align:center;
}
.summary-txt {
    color: #4d2e15;
    font-size: 18px;
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    line-height: 1.7;
    text-align: center;
}

.summary-txt {
    color: #4d2e15;
    font-size: 18px;
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    line-height: 1.7;
    text-align: left;
}



/* アコーディオンのスタイル */

.acd-header {
text-align: center;
margin-bottom: 60px;
font-family: 'Zen Maru Gothic', sans-serif;
        }

.acd-title {
            font-size: 32px;
            font-weight: bold;
            color: #333;
            margin-bottom: 10px;
        }


.accordion-item {
    margin-bottom: 35px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.accordion-header {
    position: relative;
    cursor: pointer;
    padding: 20px 60px 20px 20px;
    background: #64b82b;
    color: #fff;
    transition: all 0.3s ease;
    user-select: none;
}

.accordion-header:hover {
    background: #5aa526;
}

.accordion-header h2 {
    margin: 0;
    font-size: 2.5rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    text-align: left;
}

/* 開閉アイコン */
.accordion-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background: #fff;
    transition: all 0.3s ease;
}

.accordion-icon::before {
    width: 20px;
    height: 3px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.accordion-icon::after {
    width: 3px;
    height: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* アクティブ時はマイナスアイコンに */
.accordion-header.active .accordion-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.accordion-header.active .accordion-icon {
    transform: translateY(-50%) rotate(180deg);
}

/* アコーディオンコンテンツ */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, padding 0.5s ease;
    opacity: 0;
    padding: 0 20px;
}

.accordion-content.active {
    max-height: 3000px; /* 十分に大きな値を設定 */
    opacity: 1;
    padding: 30px 20px;
}

/* テーブルのスタイル */
.company-detail {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.company-detail th,
.company-detail td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: left;
    vertical-align: top;
}

.company-detail th {
    background-color: #f1eeea;
    font-weight: 600;
    width: 200px;
}

.company-detail td {
    line-height: 1.8;
}

.company-detail a {
    color: #667eea;
    text-decoration: none;
}

.company-detail a:hover {
    text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .accordion-header {
        padding: 15px 50px 15px 15px;
    }
    
    .accordion-header h2 {
        font-size: 1.2rem;
        font-family: 'Zen Maru Gothic', sans-serif;
        font-weight: 700;
    }
    
    .accordion-icon {
        right: 15px;
        width: 25px;
        height: 25px;
    }
    
    .accordion-icon::before {
        width: 16px;
    }
    
    .accordion-icon::after {
        height: 16px;
    }
    
    .accordion-content.active {
        padding: 20px 15px;
    }
    
    .company-detail th,
    .company-detail td {
        display: block;
        width: 100%;
        padding: 10px;
    }
    
    .company-detail th {
        border-bottom: none;
        background-color: #667eea;
        color: #fff;
    }
    
    .company-detail td {
        border-top: none;
        margin-bottom: 20px;
    }
}

/* 全体のコンテナ */
.inner {
    max-width: 1200px;
    margin: 90px auto 10px auto;
    padding: 0px 0px;
}

.inner2 {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0px 0px;
}

.section {
    padding: 40px 0;
}


/* チャットセクション*/

  .chat-section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px 20px;
	   font-family: 'Zen Maru Gothic', sans-serif;
        }

        .chat-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .chat-header img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            margin-bottom: 20px;
        }

        .chat-title {
            font-size: 32px;
            font-weight: bold;
            color: #333;
            margin-bottom: 10px;
        }

        .chat-subtitle {
            font-size: 18px;
            color: #666;
        }

        .chat-container {
            border-radius: 16px;
            padding: 5px;
            margin-bottom: 5px;
        }

        .chat-message {
            display: flex;
            margin-bottom: 30px;
            animation: fadeIn 0.5s ease-in;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .chat-message.left {
            justify-content: flex-start;
        }

        .chat-message.right {
            justify-content: flex-end;
        }

        .chat-avatar-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            flex-shrink: 0;
        }

        .chat-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            overflow: hidden;
            background: #f0f0f0;
            margin-bottom: 8px;
        }

        .chat-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .chat-avatar-name {
            font-size: 12px;
            color: #666;
            text-align: center;
            font-weight: 500;
        }

        .chat-message.left .chat-avatar-wrapper {
            margin-right: 16px;
        }

        .chat-message.right .chat-avatar-wrapper {
            margin-left: 16px;
            order: 2;
        }

        .chat-bubble {
            max-width: 70%;
            padding: 16px 20px;
            border-radius: 20px;
            font-size: 15px;
            line-height: 1.8;
        }

        .chat-message.left .chat-bubble {
            background: #ffffff;
            border-bottom-left-radius: 4px;
        }

        .chat-message.right .chat-bubble {
            background: #d1e1c5;
            border-bottom-right-radius: 4px;
            order: 1;
        }

        .chat-images {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-top: 40px;
        }

        .chat-images img {
            width: 100%;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        /* タブレット */
        @media (max-width: 768px) {
            .chat-section {
                padding: 40px 16px;
            }

            .chat-container {
                padding: 24px;
            }

            .chat-title {
                font-size: 24px;
            }

            .chat-subtitle {
                font-size: 16px;
            }

            .chat-avatar {
                width: 70px;
                height: 70px;
            }

            .chat-message.left .chat-avatar-wrapper {
                margin-right: 12px;
            }

            .chat-message.right .chat-avatar-wrapper {
                margin-left: 12px;
            }

            .chat-bubble {
                max-width: 75%;
                padding: 14px 16px;
                font-size: 14px;
            }

            .chat-images {
                gap: 16px;
            }
        }

        /* スマートフォン */
        @media (max-width: 480px) {
            .chat-section {
                padding: 30px 12px;
            }

            .chat-container {
                padding: 20px;
                border-radius: 12px;
            }

            .chat-title {
                font-size: 20px;
            }

            .chat-subtitle {
                font-size: 14px;
            }

            .chat-message {
                margin-bottom: 20px;
            }

            .chat-avatar {
                width: 60px;
                height: 60px;
            }

            .chat-message.left .chat-avatar-wrapper {
                margin-right: 10px;
            }

            .chat-message.right .chat-avatar-wrapper {
                margin-left: 10px;
            }

            .chat-bubble {
                max-width: 80%;
                padding: 12px 14px;
                font-size: 14px;
                border-radius: 16px;
            }

            .chat-images {
                grid-template-columns: 1fr;
                gap: 12px;
                margin-top: 30px;
            }
        }



@media screen and (max-width:1024px){
	/*****************************************************
	　画像　
	*****************************************************/
	.company-img{
		margin:0 auto 9.61vw;
		max-width:none;
		width:80vw;
	}
	.company-img img{
		width:100%;
	}


	/*****************************************************
	　セクション　
	*****************************************************/
	/* セクションタイトル 
	------------------------------------------------- */
	.p-section-ttl{
		font-size:5.64vw;
		margin:0 0 7.69vw;
	}


