/* ブランドセクション */
.brands-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
    position: relative;
}

.brands-section .bg01 {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 1188px;
    z-index: 0;
    height: 100%;
}


/* ブランドセクション内のコンテナ */
.brands-section .brands-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* セクションタイトル */

.bland-logoimg{
  width: 15%;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 20px;
  display: grid;
  place-content: center;
}


.brands-section .section-title {
    text-align: center;
    margin-bottom: 20px;
}
.brands-section .section-title h2 {
    font-size: 28px;
    font-weight: bold;
    color: #2c3e50;
    letter-spacing: 0.08em;
    position: relative;
    display: inline-block;
}

/* タイトル下の装飾線 */
.brands-section .section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #0066cc;
    margin: 15px auto;
}

/* サブタイトル */
.brands-section .section-subtitle {
    text-align: center;
    margin-bottom: 60px;
    font-size: 14px;
    color: #667788;
    line-height: 1.8;
}

/* ブランドグリッド */
.brands-section .brands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

/* ブランドカード */
.brands-section .brand-card {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.brands-section .brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0066cc 0%, #0099ff 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.brands-section .brand-card:hover::before {
    transform: scaleX(1);
}
.brands-section .brand-card:hover {
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.12);
    transform: translateY(-4px);
    border-color: #0066cc;
}

/* ブランドロゴエリア */
.brands-section .brand-logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

/* ブランドバッジ */
.brands-section .brand-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: #ffffff;
    padding: 10px 24px;
    font-size: 11px;
    letter-spacing: 0.2em;
    font-weight: bold;
    line-height: 1;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2);
}

/* 各カードで異なるバッジ色 */
.brands-section .brand-card:nth-child(1) .brand-badge {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
}
.brands-section .brand-card:nth-child(2) .brand-badge {
    background: linear-gradient(135deg, #00a0e9 0%, #0080c9 100%);
}
.brands-section .brand-card:nth-child(3) .brand-badge {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e4080 100%);
}
.brands-section .brand-card:nth-child(4) .brand-badge {
    background: linear-gradient(135deg, #4a90e2 0%, #2a70c2 100%);
}

/* ブランド名 */
.brands-section .brand-name {
    font-size: 20px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

/* ブランド説明 */
.brands-section .brand-description {
    font-size: 13px;
    color: #667788;
    line-height: 1.8;
    margin-bottom: 30px;
    min-height: 60px;
}

/* CTAボタンエリア */
.brands-section .brand-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ボタンの基本スタイル */
.brands-section .btn {
    padding: 12px 28px;
    border: 1px solid #0066cc;
    background: #ffffff;
    color: #0066cc;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.05em;
    border-radius: 4px;
}
.brands-section .btn:hover {
    background: #f0f7ff;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
}

/* メインボタン */
.brands-section .btn-primary {
    background: #0066cc;
    color: #ffffff;
}
.brands-section .btn-primary:hover {
    background: #0052a3;
    border-color: #0052a3;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

/* カードのホバー時の追加効果 */
.brands-section .brand-card:hover .brand-badge {
    transform: scale(1.05);
}
.brands-section .brand-card:hover .brand-name {
    color: #0066cc;
}

/* レスポンシブデザイン - タブレット */
@media (max-width: 1024px) {
    .brands-section {
        padding: 60px 20px;
    }
    .brands-section .section-title h2 {
        font-size: 24px;
    }
    .brands-section .brands-grid {
        gap: 25px;
        max-width: 800px;
    }
    .brands-section .brand-card {
        padding: 35px 25px;
    }
    .brands-section .brand-logo-area {
        height: 70px;
        margin-bottom: 20px;
    }
    .brands-section .brand-name {
        font-size: 18px;
    }
    .brands-section .brand-description {
        font-size: 12px;
    }
}

/* レスポンシブデザイン - スマートフォン */
@media (max-width: 599px) {
    .brands-section {
        padding: 40px 15px;
        background: #f5f8fb;
    }
    .brands-section .section-title h2 {
        font-size: 20px;
    }
    .brands-section .section-title::after {
        width: 40px;
        height: 2px;
        margin: 10px auto;
    }
    .brands-section .section-subtitle {
        font-size: 12px;
        margin-bottom: 40px;
        padding: 0 10px;
    }
    .brands-section .brands-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .brands-section .brand-card {
        padding: 30px 20px;
        border-radius: 6px;
    }
    .brands-section .brand-card::before {
        height: 3px;
    }
    .brands-section .brand-logo-area {
        height: 60px;
        margin-bottom: 20px;
    }
    .brands-section .brand-badge {
        font-size: 10px;
        padding: 8px 18px;
        border-radius: 15px;
    }
    .brands-section .brand-name {
        font-size: 16px;
        margin-bottom: 12px;
    }
    .brands-section .brand-description {
        font-size: 12px;
        min-height: auto;
        margin-bottom: 20px;
    }
    .brands-section .brand-actions {
        flex-direction: column;
    }
    .brands-section .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 12px;
    }
}

/* 2025/11/11 */

.brands-section .brand-card.arucus .brand-badge{
  background: #349b85;
}

.brands-section .brand-card:nth-child(2).arucus:hover {
    box-shadow: 0 8px 24px #349b85;
    transform: translateY(-4px);
    border-color: #349b85;
}

.brands-section .brand-card.arucus::before{
  background: #349b85;
}

.brands-section .brand-card.arucus:hover .brand-name {
  color: #349b85;
}

.brands-section .brand-card.arucus .btn{
    border: 1px solid #349b85;
    color: #349b85;  
}

/* visse */

.brands-section .brand-card:nth-child(3).visse:hover {
  box-shadow: 0 8px 24px #deb04e;
  transform: translateY(-4px);
  border-color: #deb04e;
}

.brands-section .brand-card.visse::before{
  background: #deb04e;
}

.brands-section .brand-card.visse:hover .brand-name {
  color: #deb04e;
}

.brands-section .brand-card.visse .btn {
    border: 1px solid #deb04e;
    color: #deb04e;
}

.brands-section .brand-card:nth-child(3) .brand-badge {
    background: #deb04e;
}


/* kai */

.brands-section .brand-card:nth-child(4).kai:hover {
  box-shadow: 0 8px 24px #23110b;
  transform: translateY(-4px);
  border-color: #23110b;
}

.brands-section .brand-card.kai::before{
  background: #23110b;
}

.brands-section .brand-card.kai:hover .brand-name {
  color: #23110b;
}

.brands-section .brand-card.kai .btn {
    border: 1px solid #23110b;
    color: #23110b;
}

.brands-section .brand-card:nth-child(4) .brand-badge {
    background: #23110b;
}


/* 11/13 test.css追加 */

.accordion-toggle {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    padding-left: 0;
    font-weight: bold;
    background: transparent;
    color: rgba(0, 0, 0, 0.7);
    transition: background 0.2s;
}

/* .accordion-toggle:hover {
    background: #f0f0f0;
}
 */
/* プラス・マイナスアイコン */
.accordion-icon {
    width: 16px;
    height: 16px;
    position: relative;
    display: inline-block;
}

.icon-bar {
    position: absolute;
    background-color: #666;
    transition: all 0.3s ease;
}

.icon-bar.horizontal {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.icon-bar.vertical {
    width: 2px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
}

/* 開いた時は縦線を消す（マイナスになる） */
.accordion-toggle.open .icon-bar.vertical {
    opacity: 0;
    transform: translateX(-50%) rotate(90deg);
}

/* ホバー時の色変更 */
.accordion-toggle:hover .icon-bar {
    background-color: #0066cc;
}

.accordion-content {
    display: none;
}

.accordion-content ul.glist {
    margin: 0;
    padding: 0;
}

.accordion-content ul.glist li a {
    padding-left: 30px;
}

.home02-item .logoimg{
    margin-bottom: 10px;
    width: 15%;
}

/* top教室紹介 */

#classroom .home02con03 .arcus.home02-item h3{
  color: #349b85;
}

#classroom .home02con03 .arcus.home02-item h3 span{
  color: #349b85;
}


#classroom .home02con03 .arcus.home02-item li .left{
  background: #116654;
}

#classroom .home02con03 .arcus .btn{
  background-color: #349b85;
}

#classroom .home02con03 .arcus .btn a{
  border: 1px solid #349b85;
}

#classroom .home02con03 .arcus .btn a:hover{
  color: #349b85;
}

/* visse */

#classroom .home02con03 .visse.home02-item h3 span{
  color: #deb04e;
}

#classroom .home02con03 .visse.home02-item h3{
  color: #deb04e;
}

#classroom .home02con03 .visse.home02-item li .left{
  background: #c69429;
}

#classroom .home02con03 .visse .btn{
  background-color: #deb04e;
}

#classroom .home02con03 .visse .btn a{
  border: 1px solid #deb04e;
}

#classroom .home02con03 .visse .btn a:hover{
  color: #deb04e;
}

/* kai */

#classroom .home02con03 .kai.home02-item h3 span{
  color: #23110b;
}

#classroom .home02con03 .kai.home02-item h3{
  color: #23110b;
}

#classroom .home02con03 .kai.home02-item li .left{
  background: #23110b;
}

#classroom .home02con03 .kai .btn{
  background-color: #23110b;
}

#classroom .home02con03 .kai .btn a{
  border: 1px solid #23110b;
}

#classroom .home02con03 .kai .btn a:hover{
  color: #23110b;
}


.heightLine-learn.hi-auto{
  height: auto !important;
}

.heightLine-list.hi-auto{
  height: auto !important;
}

@media screen and (max-width:599px) {
 .bland-logoimg{
   width: 25%;
   height: auto !important;
 }
 
 
}


