/* ページ見出し（SEO・アクセシビリティ用・画面上は非表示） */
.header-banner .page-h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
    font-size: 1px;
    line-height: 1;
    color: transparent;
}

.yoyaku-cta a.btn-primary:focus-visible {
    outline: 3px solid #ff7a1a;
    outline-offset: 3px;
}

:root {
    --text-attention: #ff4045;
    --bronze: #9f8568;
    --light-brown: #f2ebe6;
    --soft-pink: #f7edff;
    --soft-lavender: #f7edff;
    --light-pink: #fef7f8;
    --text-dark: #614857;
    --text-light: #8b7d7d;
    --accent-coral: #ff6f61;
    --compass-blue: #00AECB;
    --compass-skyblue: #EAFAFF;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Noto Sans', sans-serif;
    line-height: 1.7;
    background: linear-gradient(135deg, var(--light-pink) 0%, var(--soft-lavender) 100%);
    color: var(--text-dark);
    min-height: 100vh;
}

.main-content {
    min-height: calc(100vh - 200px);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

#main-container, #sub-container{
    background-color: #ffefe8; 
}

@media (min-width: 768px) {
    #main-container section, #sub-container section{
        width: 1000px;
        margin: 0 auto;
    }
}

.sp-only {
    display: none;
}

.pc-only {
    display: block;
}

/* ヘッダーバナーのスタイル */
.header-banner {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.header-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/*予約１*/

.yoyaku-cta {
    background-color: white;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 0;
}

.yoyaku-cta .h3{
    font-size: 2.0rem;
}

.yoyaku-cta h2{
    font-size: 1.5rem;
    padding: 10px 0 40px 0;
    line-height: 1.4;
}

.yoyaku-cta .text-attention {
    color: #fb7331;
    font-weight: bold;
    font-size: 3.2rem;
}

.yoyaku-cta a{
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #fff;
}

.yoyaku-cta a.btn-primary:hover,
.yoyaku-cta a.btn-primary:focus {
    color: #fff;
    text-decoration: none;
}

.yoyaku-cta a img{
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

.yoyaku-cta-container{
    position: relative;
}


@media (max-width: 768px) {
    .yoyaku-cta{
        padding: 20px 0;
    }
    .yoyaku-cta h2{
        line-height: 1.3;
        padding: 10px 0 20px 0;
    }
    .yoyaku-cta .text-attention {
        font-size: 2.5rem;
    }

    .yoyaku-cta .seminar-date{
        font-size: 1.3rem;
    }

    .yoyaku-cta .yoyaku-cta-logo{
        width: 200px;
    }

    .yoyaku-cta .yoyaku-cta-man_sp-img{
        margin: 0 auto;
        padding-bottom: 10px;
    }
}

@media (min-width: 768px) {
    .yoyaku-cta .yoyaku-cta-man-img {
        height: auto;
        position: absolute;
        bottom: 0;
        left: calc(50% + 400px);
        transform: translateX(-50%);
    }
    .yoyaku-cta-logo{
        width: 300px;
    }

    .yoyaku-cta-coin-img{
        position: absolute;
        bottom: 100px;
        left: calc(50% - 350px);
        transform: translateX(-50%);
    }

    .yoyaku-cta-mendoumi-img{
        position: absolute;
        bottom: 0;
        right: calc(50% - 380px);
        transform: translateX(50%);
        height: auto;
        max-width: 220px;
    }
}

/*講師紹介*/
#koushi .instructor-block .row, #seminarInfo .seminar-detail{    
    border-radius: 20px;
    border: 2px solid var(--bronze);
    padding: 20px;
    background-color: white;
    align-items: center;
}

#koushi h2{
    overflow: hidden;
    width: 400px;
    height: 90px;
    padding-top: 45px;            
    margin: 0 auto;
    font-size: 2.0rem;
    font-weight: 700;
    position: relative;
    top: 3px;
    z-index: 1;
    color: transparent;
    border-bottom: 2px solid white;
}


#koushi h2::before{
    content: attr(data-text);
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--bronze);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}
#koushi h2::after{
    position: absolute;
    background-color: white;
    top: 105%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: '';
    display: block;
    width: 400px;
    height: 170px;
    border-radius: 50%;
    border: 2px solid var(--bronze);
    z-index: 1;
}       

#seminarInfo h2{
    overflow: hidden;
    width: 400px;
    height: 90px;
    padding-top: 45px;            
    margin: 0 auto;
    font-size: 2.0rem;
    font-weight: 700;
    position: relative;
    top: 3px;
    z-index: 1;
    color: transparent;
    border-bottom: 2px solid white;
}
#seminarInfo h2::before{
    content: attr(data-text);
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--bronze);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}
#seminarInfo h2::after{
    position: absolute;
    background-color: white;
    top: 105%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: '';
    display: block;
    width: 400px;
    height: 170px;
    border-radius: 50%;
    border: 2px solid var(--bronze);
    z-index: 1;
}

 @media (max-width: 768px) {
    #koushi h2,#seminarInfo h2{
        width: 240px;
        padding-top: 30px;   
        top: 4.25px;
    }

    #koushi h2::before,#seminarInfo h2::before{
        font-size: 1.8rem;
        top: 20px;
    }

    #koushi h2::after,#seminarInfo h2::after{
        width: 240px;
    }
}

/*セミナー詳細*/
#seminarInfo .seminar-detail{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    font-size: 1.5rem;
}

#seminarInfo .seminar-detail li{
    margin-bottom: 20px;
}

#seminarInfo .seminar-detail li:last-child{
    margin-bottom: 0;
}

@media (min-width: 768px) {
    #seminarInfo .seminar-detail .achievements{
        width: 800px;
    }
    #seminarInfo .seminar-detail .detail-info{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    #seminarInfo .seminar-detail .detail-info .map{
        width: 50%;
    }
    #seminarInfo .seminar-detail .detail-info .map img{
        width: 100%;
    }
}

@media (max-width: 768px) {
    #seminarInfo{
        margin: 0 20px;
    }
    #seminarInfo .seminar-detail {
        font-size: 1.0rem;
    }
    #seminarInfo .seminar-detail .seminar-detail-container{
        width: 100%;
    }
    #seminarInfo .seminar-detail .detail-info .map img{
        width: 100%;
    }
}

/*参加者特典*/
#participantInfo{
    padding: 30px;
}

#participantInfo h2{
    background-image: url('../img/okazaki202607/txt_bg_tokuten_pc.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 400px;
    margin: 0 auto;
    padding: 10px 20px;
    font-size: 2.0rem;
    font-weight: 700;
    color: white;
}

#participantInfo .participant-info-text{
    margin: 0 auto;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bronze);
    border: 1px solid var(--bronze);
    border-radius: 90px;
    background-color: white;
    padding: 10px 20px;
}




@media (min-width: 768px) {
    #participantInfo .participant-info{
        margin: 0 auto;
        display: flex;
        flex-direction: row;
        gap: 20px;
        align-items: center;
        justify-content: center;
    }

    #participantInfo .participant-info-text{
        width: 700px;
    }
}

@media (max-width: 768px) {
    #participantInfo .participant-info{
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        justify-content: center;
    }

    #participantInfo .participant-info-text{        
        font-size: 1.0rem;
    }
}

@media (max-width: 768px) {
    .sp-only {
        display: block;
    }
    .pc-only {
        display: none;
    }

    #participantInfo h2{
        background-image: url('../img/okazaki202607/txt_bg_tokuten_pc.png');
        width: 100%;
        font-size: 1.5rem;
    }
    
    
    /* 講師紹介のSP表示調整 */
    #koushi .instructor-block {
        margin-bottom: 24px;
    }

    .instructor-profile {
        height: auto;
        padding: 20px;
    }
    
    #koushi .instructor-photo img {
        height: auto;
        max-height: 300px;
    }
    
    .achievements {
        flex-direction: column;
        gap: 15px;
    }
    
    .achievement-item {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 15px 20px;
        text-align: center;
    }
    
    /* イントロセクションのSP背景画像 */
    #intro {
        background-image: url('../img/okazaki202607/background.png');
    }
}
/* カスタムリストスタイル */
.custom-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.list-item-left,
.list-item-right {
    padding: 10px;
    border-radius: 0;
    background: white;
    font-size: 1.3rem;
    font-weight: 500;
    box-shadow: 0 8px 25px rgba(248, 181, 193, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.list-item-left img,
.list-item-right img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    margin-left: auto;
}

@media (max-width: 768px) {

    .custom-list {
        margin-top: 40px;
    }

    #intro .list-item-left,
    #intro .list-item-right {
        position: relative;
        font-size: 1.0rem;
        overflow: visible;
        margin-top: 40px;
        margin-bottom: 30px;
        padding-top: 36px;
    }

    #intro .list-item-left img,
    #intro .list-item-right img {
        position: absolute;
        top: -32px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
        z-index: 1;
        margin-left: 0;
    }
}

.list-item-left:hover,
.list-item-right:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(235, 220, 190, 0.4);
    border-color: var(--accent-coral);
}

.list-item-left {
    align-self: flex-start;
    margin-right: auto;
}

.list-item-right {
    align-self: flex-end;
    margin-left: auto;
}

.voice-name{
    margin-top: 10px;
}


/* アニメーション効果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.list-item-left,
.list-item-right {
    animation: fadeInUp 0.6s ease-out;
}

.btn-primary {
    animation: float 3s ease-in-out infinite;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .main-content {
        min-height: calc(100vh - 150px);
        border-radius: 15px;
    }
    
    .list-item-left,
    .list-item-right {
        width: 100%;
        max-width: 90%;
        align-self: center !important;
        margin: 0 auto !important;
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
        justify-content: center;
    }

    #intro .list-item-left,
    #intro .list-item-right {
        padding-top: 36px;
    }
    
    #participantVoice ul {
        width: 100%;
    }
    
    .btn-primary {
        width: 100%;
        max-width: 300px;
    }
    
    .instructor-profile {
        padding: 20px;
    }
    
    .instructor-name {
        font-size: 1.8rem;
    }
    
    .achievements {
        gap: 15px;
    }
    
    .achievement-item {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .achievements {
        flex-direction: column;
    }
}

/* セクション共通スタイル */
section {
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(248, 181, 193, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* 見出しスタイル */
h2, h3, h4 {
    color: var(--text-dark);
    font-weight: 400;
    position: relative;
}

/* 申込フォーム */
#entry-form {
    background: #fffaf3;
}

#entry-form .entry-form-header {
    text-align: center;
    margin: 0 auto 22px;
}

#entry-form .entry-form-title {
    display: inline-block;
    position: relative;
    margin: 0;
    padding: 10px 28px;
    border: 2px solid var(--bronze, #9f8568);
    border-radius: 999px;
    background: #fff;
    color: var(--bronze, #9f8568);
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

#entry-form .entry-form-title::before,
#entry-form .entry-form-title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 26px;
    height: 2px;
    background: var(--bronze, #9f8568);
    transform: translateY(-50%);
}

#entry-form .entry-form-title::before {
    left: -40px;
}

#entry-form .entry-form-title::after {
    right: -40px;
}

#entry-form .entry-form-lead {
    margin: 12px 0 0;
    color: #6f5c4b;
    font-size: 1rem;
    font-weight: 500;
}

#entry-form .mktoForm {
    width: 100% !important;
    max-width: 760px;
    margin: 0 auto;
    padding: 24px 20px;
    background: #ffffff;
    border: 1px solid #f0e3d2;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

#entry-form .mktoFormRow {
    margin-bottom: 14px !important;
}

#entry-form .mktoFormCol,
#entry-form .mktoFieldWrap {
    width: 100% !important;
}

#entry-form .mktoLabel {
    width: 100% !important;
    float: none !important;
    display: block;
    margin-bottom: 6px !important;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

#entry-form .mktoAsterix {
    color: #d12a2a;
    padding-right: 4px;
}

#entry-form input.mktoField:not([type="radio"]):not([type="checkbox"]),
#entry-form select.mktoField,
#entry-form textarea.mktoField {
    width: 100% !important;
    min-height: 44px;
    padding: 10px 12px !important;
    border: 1px solid #d6d6d6 !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    background: #fff;
    box-sizing: border-box;
}

#entry-form textarea.mktoField {
    min-height: 120px;
    resize: vertical;
}

#entry-form input.mktoField:not([type="radio"]):not([type="checkbox"]):focus,
#entry-form select.mktoField:focus,
#entry-form textarea.mktoField:focus {
    outline: none;
    border-color: #f08b2d !important;
    box-shadow: 0 0 0 3px rgba(240, 139, 45, 0.2);
}

#entry-form input.mktoField[type="radio"],
#entry-form input.mktoField[type="checkbox"] {
    width: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

#entry-form .mktoCheckboxList,
#entry-form .mktoRadioList {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

#entry-form .mktoFieldWrap:has(.mktoCheckboxList),
#entry-form .mktoFieldWrap:has(.mktoRadioList) {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

#entry-form .mktoFieldWrap:has(.mktoCheckboxList) > .mktoLabel,
#entry-form .mktoFieldWrap:has(.mktoRadioList) > .mktoLabel {
    width: 220px !important;
    min-width: 220px;
    margin-bottom: 0 !important;
    padding-top: 2px;
}

#entry-form .mktoFieldWrap:has(.mktoCheckboxList) > .mktoGutter,
#entry-form .mktoFieldWrap:has(.mktoRadioList) > .mktoGutter {
    display: none !important;
}

#entry-form .mktoFieldWrap:has(.mktoCheckboxList) > .mktoCheckboxList,
#entry-form .mktoFieldWrap:has(.mktoRadioList) > .mktoRadioList {
    flex: 1 1 auto;
    width: auto !important;
}

#entry-form .mktoCheckboxList > label,
#entry-form .mktoRadioList > label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px;
    margin: 0 0 8px 0 !important;
    line-height: 1.5;
    float: none !important;
    width: 100% !important;
    padding: 0 !important;
    text-align: left !important;
}

#entry-form .mktoCheckboxList > label:last-child,
#entry-form .mktoRadioList > label:last-child {
    margin-bottom: 0 !important;
}

#entry-form .mktoCheckboxList > label > input.mktoField,
#entry-form .mktoRadioList > label > input.mktoField {
    margin-top: 0.25em;
    flex: 0 0 auto;
}

#entry-form .mktoCheckboxList > label > span,
#entry-form .mktoRadioList > label > span {
    display: inline-block;
    flex: 1 1 auto;
}

#entry-form .mktoRadioList input.mktoField[type="radio"],
#entry-form .mktoCheckboxList input.mktoField[type="checkbox"] {
    display: block;
    float: left;
    clear: left;
    margin: 0.25em 8px 0 0 !important;
}

#entry-form .mktoRadioList input.mktoField[type="radio"] + label,
#entry-form .mktoCheckboxList input.mktoField[type="checkbox"] + label {
    display: block !important;
    margin: 0 0 8px 24px !important;
    line-height: 1.4;
    float: none !important;
    width: calc(100% - 24px) !important;
    text-align: left !important;
    font-weight: 400;
    cursor: pointer;
}

#entry-form .mktoError .mktoErrorMsg {
    border-radius: 6px;
    font-size: 12px;
}

#entry-form .mktoButtonRow {
    margin-top: 20px !important;
    text-align: center;
}

#entry-form .mktoButtonWrap {
    margin-left: 0 !important;
}

#entry-form .mktoButton {
    width: 100%;
    max-width: 360px;
    height: 52px;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #ff9f43 0%, #ff7a1a 100%) !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

#entry-form .mktoButton:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    #entry-form {
        padding-left: 20px;
        padding-right: 20px;
    }

    #entry-form .entry-form-header {
        padding-left: 4px;
        padding-right: 4px;
    }

    #entry-form .entry-form-title {
        font-size: 1.4rem;
        padding: 8px 18px;
    }

    #entry-form .entry-form-title::before,
    #entry-form .entry-form-title::after {
        width: 16px;
    }

    #entry-form .entry-form-title::before {
        left: -24px;
    }

    #entry-form .entry-form-title::after {
        right: -24px;
    }

    #entry-form .entry-form-lead {
        font-size: 0.92rem;
    }

    #entry-form .mktoForm {
        width: 100% !important;
        max-width: 100%;
        padding: 18px 16px;
        border-radius: 10px;
        box-sizing: border-box;
    }

    #entry-form .mktoFieldWrap:has(.mktoCheckboxList),
    #entry-form .mktoFieldWrap:has(.mktoRadioList) {
        display: block;
    }

    #entry-form .mktoFieldWrap:has(.mktoCheckboxList) > .mktoLabel,
    #entry-form .mktoFieldWrap:has(.mktoRadioList) > .mktoLabel {
        width: 100% !important;
        min-width: 0;
        margin-bottom: 6px !important;
        padding-top: 0;
    }

    #entry-form .mktoButtonRow {
        padding-left: 4px;
        padding-right: 4px;
    }

    #entry-form .mktoButton {
        width: 100%;
        max-width: 100%;
        height: 48px;
        font-size: 16px !important;
        box-sizing: border-box;
    }

    .yoyaku-cta .btn-primary {
        font-size: 1.1rem;
        padding: 12px 20px;
    }
}

/* ボタンスタイル */
.btn-primary {
    background: #ff3b00;
    border: none;
    border-radius: 5px;
    padding: 15px 40px;
    font-weight: 500;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(251, 115, 49, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(248, 181, 193, 0.6);
    background: linear-gradient(135deg, var(--accent-coral) 0%, var(--bronze) 100%);
}

/*イントロ*/
#intro, #main-container,#sub-container{
    background-image: url('../img/okazaki202607/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

#intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
}

#intro .row {
    position: relative;
}

#intro ul li{
    list-style: none;
    width: 600px;
    max-width: 100%;
}

@media (max-width: 768px) {
    #intro ul li {
        width: 100%;
    }
}

#intro .large-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

/*講師紹介*/
#koushi {
    margin: 20px 0;
    padding: 40px 20px !important;
}

#koushi .instructor-block {
    margin-bottom: 30px;
}

#koushi .instructor-block:last-child {
    margin-bottom: 0;
}

#koushi .instructor-photo img {
    max-height: 420px;
    width: auto;
    max-width: 100%;
    object-fit: cover;
    border-radius: 12px;
}

#seminarInfo .map a {
    display: block;
}

#seminarInfo .map a:hover {
    opacity: 0.9;
}

.instructor-profile {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 768px) {
    #koushi {
        margin: 20px 0;
        padding: 20px 20px !important;
    }
    .instructor-profile {
        padding: 5px;
    }
}

.instructor-name {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 8px;
    white-space: nowrap;
}

.instructor-title, .seminar-title {
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 400;
    padding: 8px 18px;
    display: inline-block;
    background-color: var(--bronze);
    color: white;
    border-radius: 90px;
    padding: 5px 30px;
    margin-bottom: 10px;
    text-align: center;
}

@media (max-width: 768px) {
    .instructor-title, .seminar-title {
        font-size: 1.0rem;
        padding: 5px 10px;
    }
}

        
.achievements {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

@media (min-width: 769px) {
    .achievements {
    flex-direction: column;
    }
}


.achievement-item {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 5px 10px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 90px;
    border-left: 20px solid var(--bronze);
    background-color: var(--light-pink);
}

.achievement-item:hover {
    transform: translateY(-2px);
}

.instructor-description {
    margin-bottom: 25px;
    padding: 18px;
}

.instructor-description p {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    text-align: center;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    text-align: center;
    font-weight: 500;
    position: relative;
}
.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100px;
    height: 1px;
    background-color: black;
    transform: translateY(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    width: 100px;
    height: 1px;
    background-color: black;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .section-title::before, .section-title::after {
        width: 50px;
    }
}

/* 講師画像のスタイル */
#koushi .instructor-photo img {
    transition: all 0.3s ease;
}

#koushi .instructor-photo img:hover {
    transform: translateY(-5px);
}

/* 会場の様子 */
#pastSeminar .past-seminar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 1000px;
    padding: 0 20px;
}

#pastSeminar .past-seminar-item {
    width: 100%;
}

#pastSeminar .past-seminar-item picture,
#pastSeminar .past-seminar-item img {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    #pastSeminar .past-seminar-container {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }

    #pastSeminar .past-seminar-item {
        flex: 1 1 0;
        max-width: calc(50% - 0.75rem);
    }
}

/*参加者の声*/
#participantVoice h2::before ,#pastSeminar h2::before{
    content: url('../img/okazaki202607/banzai_L.png');
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}

#participantVoice h2::after ,#pastSeminar h2::after{
    content: url('../img/okazaki202607/banzai_R.png');
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

#participantVoice ul{
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

#participantVoice ul li{
    list-style: none;
}

.voice-text-container{
    padding: 10px;
}

.list-item{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    background-color: #fff;
    padding: 10px;
}

#participantVoice .list-item img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* レスポンシブ対応 - SP画面での幅制限を解除 */
@media (max-width: 768px) {
    #participantVoice ul {
        width: 100%;
        max-width: 100%;
    }

    .list-item{
        margin: 10px;
        font-size: 1.0rem;
    }

    #participantVoice .list-item img {
        width: 60px;
        height: 60px;
    }

    #participantVoice .custom-list {
        gap: 10px;
    }
}
