/* タカトクの会社情報ページ用CSS */

.abouts-container {
    max-width: 1200px;
    padding:  40px 80px;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
    background-color: #fff;
}

.abouts-card {
    overflow: hidden;
}

/* CSSタブシステム */
.css-tabs {
    position: relative;
}

/* ラジオボタンを非表示 */
.css-tabs input[type="radio"] {
    display: none;
}

/* タブナビゲーション */
.tab-navigation {
    display: flex;
    background: #8B7355;
}

.tab-button {
    flex: 1;
    padding: 24px 32px  20px;
    background: #8B7355;
    color: #333;
    border: none;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border-bottom: 3px solid transparent;
    text-align: center;
    display: block;
}

.tab-button:first-child {
    background: #F8F8F8;
    border-bottom: 3px solid #8f7a37;

}

.tab-button:last-child {
    background: #F8F8F8;
    border-bottom: 3px solid #8f7a37;

}

.tab-button:hover {
    opacity: 0.8;
}

/* アクティブタブのスタイル */
#tab-features:checked ~ .tab-navigation label[for="tab-features"],
#tab-overview:checked ~ .tab-navigation label[for="tab-overview"] {
    background: #8f7a37;
    color: #fff;
}

/* タブコンテンツ */
.tab-content {
    background: white;
    min-height: 470px;
    position: relative;
}

.tab-panel {
    display: none;
    padding: 30px 0 30px ;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
}


/* デフォルトで「タカトクの特長」を表示 */
#panel-features {
    display: block;
    position: static;
}

/* アクティブパネルの表示 */
#tab-features:checked ~ .tab-content #panel-features {
    display: block;
    position: static;
}

#tab-overview:checked ~ .tab-content #panel-overview {
    display: block;
    position: static;
}

#tab-overview:checked ~ .tab-content #panel-features {
    display: none;
}

/* 会社情報テーブル */
.company-info-table {
    width: 100%;
}

.company-info-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.company-info-table th {
    background: #D3D3D3;
    padding: 15px 20px;
    text-align: left;
    font-weight: bold;
    border: 1px solid #ccc;
    width: 150px;
    vertical-align: top;
}

.company-info-table td {
    padding: 15px 20px;
    border: 1px solid #ccc;
    vertical-align: center;
    line-height: 1.6;
}

.company-info-table td a{
    color: #8B7355;
    text-decoration: underline;
}
.company-info-table td a:hover{
        color: #4A90E2;
        transition: all 0.3s ease;
        text-decoration: underline
    }


/* 会社概要セクション */
.company-overview {
    max-width: 100%;
}

.overview-section {
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.overview-section:last-child {
    border-bottom: none;
}

.section-header {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.section-header h3 {
    margin: 0;
    font-size: 20px;
    color: #8B7355;
    font-weight: bold;
}

.section-image {
    width: 200px;
    height: auto;
    margin-right: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.section-text {
    flex: 1;
}

.overview-section p {
    line-height: 1.8;
    color: #333;
    margin: 0;
    font-size: 14px;
}

/* 価格チャート */
.price-chart {
    display: flex;
    align-items: center;
    margin-right: 20px;
    gap: 10px;
}

.chart-item {
    text-align: center;
    min-width: 80px;
}

.chart-label {
    padding: 8px 12px;
    border-radius: 4px;
    color: white;
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 5px;
}

.chart-label.blue {
    background: #4A90E2;
}

.chart-label.orange {
    background: #F5A623;
}

.chart-label.green {
    background: #7ED321;
}

.chart-label.red {
    background: #D0021B;
}

.chart-number {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 5px 0;
}

.chart-desc {
    font-size: 12px;
    color: #666;
}

/* 決済システム */
.payment-system {
    margin-right: 20px;
}

.payment-flow {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.flow-item {
    background: #4A90E2;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.flow-arrow {
    color: #666;
    font-weight: bold;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    .abouts-container {
        margin: 1rem auto;
        padding: 0.5rem;
    }
    
    .tab-panel {
        padding: 20px;
    }
    
    #panel-overview.tab-panel{
        padding: 60px 20px 0px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-image {
        margin-right: 0;
        margin-bottom: 15px;
        width: 100%;
        max-width: 300px;
    }
    
    .price-chart {
        margin-right: 0;
        margin-bottom: 15px;
        flex-wrap: wrap;
    }
    
    .payment-flow {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .company-info-table th {
        width: 100%;
        padding: 10px 15px;
    }
    
    .company-info-table td {
        padding: 10px 15px;
    }
    .company-info-table table {
        width: 100%;
        border-collapse: collapse;
      }
    
      .company-info-table tr {
        display: block;
        
      }
    
      .company-info-table th,
      .company-info-table td {
        display: block;
        text-align: left;
        padding: 0;
      }
    
      .company-info-table th {
        font-weight: bold;
      }
    
      
}

@media (max-width: 480px) {
    .tab-button {
        padding: 0.8rem;
        font-size: 18px;
    }
    
    .company-info-table th{
        padding: 8px 10px;
        font-size: 13px;
    }

    .company-info-table td {
        padding: 20px 10px;
        font-size: 13px;
    }
    
    .section-header h3 {
        font-size: 18px;
    }
    
    .overview-section p {
        font-size: 13px;
    }
}

  