body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* 横スクロールを防止 */
    position: relative;
}

html { scroll-behavior: smooth; }

main#top-main {
    padding: 0!important;
    margin: 0!important;
}

/* 背景装飾線 */
.background-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    overflow: visible;
}

.bg-line {
    position: absolute;
    width: 10px;
    height: 170px;
    background-color: #DE3545;
    border-radius: 5px;
    transform: rotate(45deg);
    z-index: 2;
}

.bg-line-left {
    left: 50px;
    transform-origin: center;
}

.bg-line-right {
    right: 30px;
    transform-origin: center;
}

.bg-line-left-1 { top: 75vh; }
.bg-line-left-2 { top: 190vh; }
.bg-line-left-3 { top: 335vh; }
.bg-line-left-4 { top: 470vh; }

.bg-line-right-1 { top: 120vh; }
.bg-line-right-2 { top: 260vh; }
.bg-line-right-3 { top: 385vh; }

/* レスポンシブ対応 - 背景装飾線 */
@media (max-width: 1200px) {
    .bg-line-left {
        left: 40px;
    }
    
    .bg-line-right {
        right: -15px;
    }
}

@media (max-width: 768px) {
    .bg-line-left {
        left: 30px;
    }
    
    .bg-line-right {
        right: -10px;
    }
    
    .bg-line {
        width: 8px;
        height: 60px;
        border-radius: 4px;
    }
}

@media (max-width: 480px) {
    .bg-line-left {
        left: 20px;
    }
    
    .bg-line-right {
        right: -5px;
    }
    
    .bg-line {
        width: 6px;
        height: 40px;
        border-radius: 3px;
    }
}

.hero {
    position: relative;
    text-align: center;
    overflow: hidden; /* 縦横両方のスクロールを防止 */
    height: calc(100vh - 76px - 146px); /* 高さを明確に指定 */
}

@media (max-width: 600px) {
    .hero {
        height: auto;
        min-height: calc(50svh + 140px);
        margin-bottom: 0;
    }
}

/* 右上バナー */
.hero-banner {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 315px;
    height: 55px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.hero-banner:hover {
    transform: translateY(-2px);
}

/* 人的資本経営とは */
.about-hcm {
    padding: 50px 0 80px;
    position: relative;
}

.about-hcm::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    background: #F6F6F6;
    border-radius: 0 20px 20px 0;
}

.about-hcm-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 10%;
    position: relative;
    z-index: 1;
}

.about-hcm-content {
    width: 40%;
}

.about-hcm-title {
    font-size: 25px;
    font-weight: 700;
    margin: 0 0 0;
    line-height: 1.3;
}

.about-hcm-subtitle {
    font-size: 15px;
    color: #DE3545;
    font-weight: 600;
    margin: 5px 0 32px;
    margin-left: 20px;
    letter-spacing: 0.5px;
    position: relative;
}

.about-hcm-subtitle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    width: 10px;
    height: 10px;
    background: #DE3545;
    border-radius: 50%;
    transform: translateY(-50%);
}

.about-hcm-text p {
    font-size: 16px;
    font-weight: 500;
    line-height: 2.5;
    margin-bottom: 20px;
}

.about-hcm-button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    padding: 15px 60px;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    margin-top: 32px;
    margin-left: auto;
    transition: all 0.3s ease;
}

.button-text {
    display: block;
}

.button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #DE3545;
    color: #ffffff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.about-hcm-button:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-hcm-button:hover .button-icon {
    background: #c82333;
}

.about-hcm-image {
    flex: 1;
    text-align: center;
}

.about-hcm-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.about-hcm-large-text {
    font-size: 90px;
    font-weight: 700;
    color: #c5c5c5;
    margin: 0;
    letter-spacing: 2px;
    text-align: right;
    margin-right: calc(100% / 3 * 1 / 6);
}

@media (max-width: 1024px) {
    .about-hcm-large-text {
        font-size: 70px;
    }
}

@media (max-width: 768px) {
    .about-hcm-large-text {
        font-size: 50px;
    }
}

@media (max-width: 1024px) {
    .about-hcm-container {
        flex-direction: column;
        gap: 30px;
    }

    .about-hcm-content {
        width: 100%;
    }

    .about-hcm-title {
        font-size: 32px;
    }

    .about-hcm-image img {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .about-hcm {
        padding: 60px 0;
    }
    
    .about-hcm-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-hcm-subtitle::before {
        width: 8px;
        height: 8px;
    }
    
    .about-hcm-title {
        font-size: 28px;
    }
    
    .about-hcm-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
        margin-left: 16px;
    }
    
    .about-hcm-text p {
        font-size: 15px;
    }
    
    .about-hcm-button {
        font-size: 14px;
        padding: 14px 20px;
        margin-top: 24px;
        gap: 10px;
    }
    
    .button-icon {
        width: 20px;
        height: 20px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .about-hcm {
        padding: 40px 0;
    }
    
    .about-hcm-container {
        padding: 0 16px;
        gap: 32px;
    }
    
    .about-hcm-subtitle::before {
        width: 6px;
        height: 6px;
    }
    
    .about-hcm-title {
        font-size: 24px;
    }
    
    .about-hcm-subtitle {
        margin-left: 12px;
    }
    
    .about-hcm-button {
        font-size: 13px;
        padding: 12px 18px;
        margin-top: 20px;
        gap: 8px;
    }
    
    .button-icon {
        width: 18px;
        height: 18px;
        font-size: 9px;
    }
}

.banner-image {
    width: 70px;
    height: 50px;
    flex-shrink: 0;
    margin-right: 12px;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    image-rendering: auto; /* ブラウザ最適化 */
    transform: translateZ(0); /* ハードウェアアクセラレーション */
    backface-visibility: hidden; /* レンダリング最適化 */
    filter: contrast(1.05) brightness(1.02); /* 画質補正 */
}

.banner-content {
    flex: 1;
    display: flex;
    justify-content: center; /* 修正: コンテンツ自体は中央寄せにする */
    align-items: center; /* 上下中央寄せ */
    height: 54px;
}

.banner-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px; /* 要素間のgap */
    text-align: right; /* 内部テキストを右寄せ */
    /* 修正: wrapper自体は中央配置のままにするためautoマージンを削除 */
}

.banner-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.banner-link {
    font-size: 11px;
    color: #000000;
    text-decoration: none; /* 変更: 下線を無くす */
    font-weight: 500;
    cursor: pointer;
    /* 追加: テキストと外部リンクアイコンを横並び・中央揃えにする */
    display: inline-flex;
    align-items: center;
}

/* 追加: 外部リンクマークを疑似要素で表示（HTML変更なし） */
.banner-link::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 6px;
    background: url('../images/top/icon-external-link.svg') no-repeat center/contain;
}

.banner-link:hover {
    text-decoration: none; /* 変更: ホバー時も下線なし */
}

.hero-image {
    width: 100%;
    height: calc(100vh - 76px - 146px);
    display: block;
    object-fit: cover;
}

@media (max-width: 600px) {
    .hero-image {
        min-height: 53vh;
        height: 50svh;
    }
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 4;
}

@media (max-width: 600px) {
    .hero-overlay {
        position: relative;
        bottom: auto;
        top: 15px;
        left: 0;
        width: 100%;
    }

    .hero-overlay .hero-vector-top1,
    .hero-overlay .hero-vector-bottom1 {
        display: none;
    }
}

.hero-vector-top {
    position: absolute;
    top: -57px;
    left: 0;
    display: flex;
    align-items: flex-end;
}

.hero-vector-top1 {
    display: block;
    width: 430px;  /* SVGの元サイズ 430×57 */
    height: 57px;
    max-width: 50vw;  /* レスポンシブ対応 */
}

.hero-vector-top2 {
    width: 17px;   /* SVGの元サイズ 17×13 */
    height: 13px;
    margin-bottom: 0;  /* 下揃えのため */
    position: relative;
    left: -1px;  /* 1px左に移動 */
    top: 1px;    /* 1px下に移動 */
}

.hero-text-top {
    position: absolute;
    bottom: 4px;  /* Vector内の適切な位置（下にずらし） */
    left: 40px;
    z-index: 3;
}

.hero-top-text {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

/* 下段装飾 */
.hero-vector-bottom {
    position: relative;
    display: flex;
    align-items: flex-end;  /* 下揃え */
}

.hero-vector-bottom1 {
    display: block;
    width: 530px;  /* SVGの元サイズ 530×73 */
    height: 73px;
    max-width: 60vw;  /* レスポンシブ対応 */
}

.hero-vector-bottom2 {
    width: 16px;   /* SVGの元サイズ 16×12 */
    height: 12px;
    margin-bottom: 0;  /* 下揃えのため */
    position: relative;
    left: -1px;  /* 1px左に移動 */
    top: 1px;    /* 1px下に移動 */
}

.hero-text-bottom {
    position: absolute;
    bottom: 20px;  /* Vector内の適切な位置 */
    left: 40px;
    z-index: 3;
}

.hero-bottom-text {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

.text-red {
    color: #DE3545; /* 赤色 */
}

/* 流れるテキスト */
.hero-scroll-text-container {
    position: absolute;
    left: 0;
    bottom: 65px;
    width: 100vw; /* 全幅を使用 */
    height: 100px;
    z-index: 1; /* hero-overlayより下層 */
    transform: translateY(50%);
}

.hero-scroll-text {
    position: absolute;
    white-space: nowrap;
    top: 50%;
    transform: translateY(-50%);
}

.hero-scroll-main {
    font-size: 100px;
    font-weight: 600;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    user-select: none; /* テキスト選択を無効化 */
    -webkit-user-select: none; /* Safari対応 */
    -moz-user-select: none; /* Firefox対応 */
    -ms-user-select: none; /* IE対応 */
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-banner {
        width: 280px;
        height: 42px;
        top: 15px;
        right: 15px;
        padding: 8px;
    }

    .banner-image {
        width: 60px;
        height: 43px;
        margin-right: 10px;
    }

    .banner-content {
        height: 48px;
    }

    .banner-title {
        font-size: 13px;
        font-weight: 500;
    }

    .banner-link {
        font-size: 10px;
        font-weight: 400;
    }

    .hero-vector-top1 {
        max-width: 55vw;
    }

    .hero-vector-bottom1 {
        max-width: 70vw;
    }

    .hero-text-top {
        bottom: 6px;
        left: 30px;
    }

    .hero-text-bottom {
        bottom: 15px;
        left: 30px;
    }

    .hero-top-text {
        font-size: 24px;
    }

    .hero-bottom-text {
    font-size: 24px;
    }

    .hero-scroll-text-container {
        width: 100vw;
        bottom: 153px;
    }

    .hero-scroll-main {
        font-size: 48px;
    }
}

/* 882px以下のみ：ヒーロー下端に下段装飾、その直上に上段装飾を隙間なく配置 */
@media (max-width: 882px) {
    .hero-vector-bottom { bottom: 0; left: 0; }
    .hero-vector-bottom1,.hero-vector-top1 { height: auto; }
    .hero-vector-top { bottom: 63px; left: 0; top: auto; }
}

@media (max-width: 646px) {
    .hero-vector-top { bottom: 58px; }
}

@media (max-width: 825px) {
    .hero-top-text,.hero-bottom-text { font-size: 30px; }
}

@media (max-width: 650px) {
    .hero-top-text,.hero-bottom-text { font-size: 27px; }
}

@media (max-width: 600px) {
    .hero-vector-top { bottom: 50px; }
    .hero-top-text,.hero-bottom-text { font-size: 24px; }
    /* 追加: 600px以下はヒーローテキストを左右中央に配置 */
    /* 親コンテナを全幅にして、テキストは中央寄せ */
    .hero-vector-top,
    .hero-vector-bottom {
        position: static; /* 修正: フロー配置に */
        top: auto; /* 修正 */
        left: auto; /* 修正 */
        width: 100%;
        display: contents; /* 修正: ラッパーの箱を消して余白要因を排除 */
        margin: 0; /* 追加: 余白ゼロ */
        padding: 0; /* 追加: 余白ゼロ */
    }
    .hero-text-top,
    .hero-text-bottom {
        position: static; /* 修正: フロー配置に */
        bottom: auto; /* 修正 */
        left: auto; /* 修正 */
        right: auto; /* 修正 */
        transform: none; /* 修正: 変形をリセット */
        text-align: center; /* 文字の中央寄せ */
        margin: 0; /* 余白を最小化 */
    }
    /* 追加: トップとボトムのテキスト間に5pxの余白 */
    .hero-text-top { margin-bottom: 10px; }

    .hero-scroll-text-container {
        height: 60px;
        top: 50vh;
        top: 50svh;
        bottom: auto;
        transform: translateY(-100%);
    }

    .hero-vector-bottom { bottom: 0; left: 0; }
}

/* 600px以下: 装飾画像を非表示にしてテキスト間の余白要因を排除 */
@media (max-width: 600px) {
    .hero-vector-top1,
    .hero-vector-top2,
    .hero-vector-bottom1,
    .hero-vector-bottom2 {
        display: none;
    }
}

@media (max-width: 540px) {
    .hero-top-text,.hero-bottom-text { font-size: 21px; }
}

@media (max-width: 520px) {
    .hero-vector-top { bottom: 38px; }
    .hero-vector-bottom { bottom: -8px; }
    .hero-vector-bottom { top: -7px;}
}

@media (max-width: 415px) {
    .hero-vector-top { bottom: 35px; }
}

@media (max-width: 385px) {
    .hero-vector-top { bottom: 32px; }
}

@media (max-width: 480px) {
    .hero-banner {
        width: 260px;
        height: 55px;
        top: 10px;
        right: 10px;
        padding: 5px;
    }
    
    .banner-image {
        width: 45px;
        height: 45px;
        margin-right: 8px;
    }
    
    .banner-content {
        height: 45px;
    }
    
    .banner-title {
        font-size: 12px;
    }
    
    .banner-link {
        font-size: 10px;
    }
    
    .hero-vector-top1 {
        max-width: 65vw;
    }
    
    .hero-vector-bottom1 {
        max-width: 80vw;
    }
    
    .hero-text-top {
        position: static; /* 修正: フロー配置に */
        bottom: auto; /* 修正 */
        left: auto; /* 修正 */
        transform: none; /* 修正 */
        text-align: center; /* 文字の中央寄せ */
        margin: 0; /* 余白を最小化 */
        margin-bottom: 5px; /* トップとボトムの間に5px */
    }
    
    .hero-text-bottom {
        position: static; /* 修正: フロー配置に */
        bottom: auto; /* 修正 */
        left: auto; /* 修正 */
        transform: none; /* 修正 */
        text-align: center; /* 文字の中央寄せ */
        margin: 0; /* 余白を最小化 */
    }
    
    .hero-top-text {
        font-size: 20px;
    }
    
    .hero-bottom-text {
        font-size: 20px;
    }
    
    .hero-scroll-text-container {
        width: 100vw;
        bottom: 0; /* 修正: 画像下端に固定 */
    }
    
    .hero-scroll-main {
        font-size: 36px;
    }
}

/* サービス紹介セクション */
.services {
    margin: 30px 0 80px;
}

@media (max-width: 768px) {
    .services {
        padding: 0;
        margin: 0 0 50px;
    }
}

.services-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

/* サービス紹介：カード全体をリンク化しても見た目を変えない */
.services .service-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.services .service-card-link:hover,
.services .service-card-link:focus-visible {
    text-decoration: none;
    color: inherit;
}

.service-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25); /* x0y4ぼかし4 000000の25% */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 10px 0; /* ユーザーエージェントスタイルをリセット */
    color: #333;
    line-height: 1.4;
    display: block; /* 明示的に指定 */
}

.service-card p {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 1315px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .services-container {
        padding: 0 20px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .service-card {
        padding: 20px 15px;
    }
    
    .service-card h3 {
        font-size: 14px;
    }
    
    .service-card p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* イベントコラム */
.events-columns {
    margin: 80px 0;
    position: relative;
}

@media (max-width: 768px) {
    .events-columns {
        padding: 60px 0 0;
        margin: 0;
    }
}

/* セミナーセクション背景 */
.events-columns-seminar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 260px;
    background: #FDF5F6;
    z-index: 0;
}

@media (max-width: 1024px) {
    .events-columns-seminar::after {
        height: 310px;
    }
}

@media (max-width: 768px) {
    .events-columns-seminar::after {
        height: 425px;
    }
}

.events-columns-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 40px 40px 0;
    display: flex;
    flex-direction: column;
    gap: 50px;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .events-columns-container {
        padding: 0 40px;
    }
}

.events-columns-content {
    width: 100%;
    text-align: left;
}

.events-columns-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

@media (max-width: 768px) {
    .events-columns-header {
        flex-direction: column;
        align-items: start;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .events-columns-header {
        align-items: flex-start;
    }
}

.events-columns-title-wrapper {
    flex: 0 0 auto;
    align-self: center;
}

.events-columns-controls {
    display: flex;
    gap: 15px;
    align-items: center;
    flex: 0 0 auto;
}

.events-columns-more-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.events-columns-more-link:hover {
    background: #f8f9fa;
    border-color: #DE3545;
    color: #DE3545;
}

.events-columns-more-icon {
    font-size: 12px;
    font-weight: 600;
}

.events-columns-btn-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.events-columns-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #DE3545;
    background: #ffffff;
    color: #DE3545;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.events-columns-btn svg {
    display: block;       /* 余計な隙間を消す */
}

.events-columns-btn:hover {
    background: #DE3545;
    color: #ffffff;
}

.events-columns-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.events-columns-btn:disabled:hover {
    background: #ffffff;
    color: #DE3545;
}

.events-columns-title {
    font-size: 25px;
    font-weight: 700;
    margin: 10px 0 5px;
    line-height: 1.3;
}

.events-columns-subtitle {
    font-size: 15px;
    color: #DE3545;
    font-weight: 600;
    margin: 0 0 20px 20px;
    letter-spacing: 0.5px;
    position: relative;
}

.events-columns-subtitle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    width: 10px;
    height: 10px;
    background: #DE3545;
    border-radius: 50%;
    transform: translateY(-50%);
}

.events-columns-description {
    flex: 1;
    margin-left: 40px;
    margin-right: 40px;
    display: flex;
    align-items: center;
}

.events-columns-description p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.events-columns-carousel {
    position: relative;
    width: 100%;
}

.events-columns-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    position: relative;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
}

.events-columns-scroll-container::-webkit-scrollbar {
    display: none;
}

.events-columns-list {
    display: flex;
    gap: 35px;;
}

.events-columns-item {
    flex: 0 0 265px;
    overflow: hidden;
    box-sizing: border-box;
}

.events-columns-item-wrapper {
    display: block;
    height: 100%;
}

.events-columns-item-image-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.events-columns-item-title-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.events-columns-item-title-link:hover {
    color: #DE3545;
}

.events-columns-item-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border: 2px solid #B6B6B6;
    border-radius: 15px;
    position: relative;
    box-sizing: border-box;
}

.events-columns-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 13px;
}

.events-columns-item-image-link:hover .events-columns-item-image img {
    transform: scale(1.05);
}

.events-columns-no-posts {
    flex: 0 0 100%;
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

.events-columns-item-content {
    padding: 20px 0;
}

.events-columns-item-meta {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #7D7D7D;
    margin-bottom: 8px;
}

.events-columns-item-status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.events-columns-item-availability {
    font-size: 11px;
    font-weight: 600;
    color: #DE3545;
    padding: 3px 15px;
    border-radius: 12px;
    border: 1px solid #DE3545;
    white-space: nowrap;
}

.events-columns-item-price {
    font-size: 11px;
    font-weight: 600;
    background: #D9D9D9;
    padding: 3px 15px;
    border-radius: 12px;
    border: 1px solid #ADADAD;
    white-space: nowrap;
}

.events-columns-item-date {
    font-weight: 500;
}

.events-columns-item-date::after {
    content: '/';
    font-size: 12px;
    margin: 0 8px;
}

.events-columns-item-category {
    font-weight: 600;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.events-columns-item-category:hover {
    color: #DE3545;
}

.events-columns-item-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.events-columns-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 15px;
    margin-top: 8px;
}

.events-columns-item-tag {
    font-size: 12px;
    font-weight: 400;
    color: #666;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.3s ease;
}

.events-columns-item-tag:hover {
    color: #DE3545;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .events-columns-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .events-columns-subtitle::before {
        left: 0;
        width: 8px;
        height: 8px;
    }

    .events-columns-title {
        font-size: 28px;
    }

    .events-columns-title-wrapper { text-align: center; }

    .events-columns-subtitle {
        font-size: 14px;
        display: inline-block;
        margin-left: 0;
        padding-left: 16px;
    }
    
    .events-columns-description {
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .events-columns-description p {
        font-size: 13px;
    }

    .events-columns-controls { align-self: flex-end; }

    .events-columns-item {
        flex: 0 0 280px;
    }
}

@media (max-width: 480px) {
    .events-columns {
        padding: 40px 0;
    }

    .events-columns-container {
        padding: 0 16px;
        gap: 32px;
    }
    
    .events-columns-subtitle::before {
        left: 0;
        width: 6px;
        height: 6px;
    }
    
    .events-columns-title {
        font-size: 24px;
    }
    
    .events-columns-subtitle {
        margin-left: 0;
        padding-left: 12px;
        display: inline-block;
        text-align: center;
    }
    
    .events-columns-title-wrapper {
        order: 0;
    }
    
    .events-columns-description {
        margin: 0;
        order: 1;
    }
    
    .events-columns-description p {
        font-size: 12px;
        line-height: 1.5;
    }
    
    .events-columns-controls {
        order: 2;
        align-self: flex-end;
    }

    .events-columns-item {
        flex: 0 0 260px;
    }
    
    .events-columns-item-content {
        padding: 16px;
    }
    
    .events-columns-item-title {
        font-size: 15px;
    }
    
    .events-columns-item-status {
        gap: 8px;
        margin-bottom: 10px;
    }
    
    .events-columns-item-availability,
    .events-columns-item-price {
        font-size: 11px;
        padding: 3px 6px;
    }

    .events-columns-item-tags {
        gap: 4px;
        margin-top: 6px;
    }

    .events-columns-item-tag {
        font-size: 10px;
        padding: 2px 6px;
    }
}

.service-detail {
    padding: 50px 0;
    position: relative;
}

.service-detail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 800px;
    background: #FDF5F6;
    border-radius: 0 20px 20px 0;
}

.service-detail-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.service-detail-content {
    width: 100%;
    position: relative;
}

.service-detail-header-blocks {
    width: 100%;
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
}

/* 左側ブロックと右側ブロックのレイアウト */
.service-detail-left-block {
    width: 50%;
    position: relative;
    z-index: 2;
}

.service-detail-right-block {
    width: 36%;
    position: absolute;
    right: 0;
    top: -35px;
    z-index: 1;
}

@media (max-width: 1024px) {
    .service-detail-right-block {
        width: 40%;
    }
}

@media (max-width: 650px) {
    .service-detail-right-block {
        width: 45%;
        font-size: 30px;
        display: table;
    }
}

.service-detail-header {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 5px;
    position: relative;
}

.service-detail-title {
    font-size: 25px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.service-detail-large-text {
    font-size: 90px;
    font-weight: 700;
    color: #f8d9db;
    letter-spacing: 2px;
}

@media (max-width: 1024px) {
    .service-detail-large-text {
        font-size: 70px;
    }
}

@media (max-width: 768px) {
    .service-detail-large-text {
        font-size: 50px;
    }
}

.service-detail-subtitle {
    font-size: 15px;
    color: #DE3545;
    font-weight: 600;
    margin: 5px 0 60px;
    margin-left: 20px;
    letter-spacing: 0.5px;
    position: relative;
}

.service-detail-subtitle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    width: 10px;
    height: 10px;
    background: #DE3545;
    border-radius: 50%;
    transform: translateY(-50%);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 40px;
}

.service-detail-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-detail-image {
    max-width: 140px;
    height: 70px;
    margin-bottom: 30px;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.service-detail-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px;
    line-height: 1.3;
}

.service-detail-description {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0 0 25px;
    flex-grow: 1;
}

.service-detail-button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 12px 24px;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid #DE3545;
    transition: all 0.3s ease;
}

.service-detail-button:hover {
    background: #DE3545;
    color: #ffffff;
}

.service-detail-button:hover .button-icon {
    background: #ffffff;
    color: #DE3545;
}

.service-detail-button .button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #DE3545;
    color: #ffffff;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .service-detail::after {
        height: 720px;
    }
    
    .service-detail-grid {
        gap: 30px;
    }
    
    .service-detail-title {
        font-size: 32px;
    }

    .service-detail-header {
        margin-bottom: 5px;
    }
    
    /* 左右ブロックの上層コンテナの調整 */
    .service-detail-header-blocks {
        margin-bottom: 30px;
    }
    
    /* 左側ブロックと右側ブロックの調整 */
    .service-detail-left-block {
        width: 60%;
    }
}

@media (max-width: 768px) {
    .service-detail {
        padding: 60px 0;
    }

    .service-detail::after {
        height: 600px;
    }

    .service-detail-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 25px;
    }

    .service-detail-title {
        font-size: 28px;
    }

    .service-detail-header {
        margin-bottom: 5px;
    }

    .service-detail-subtitle {
        font-size: 14px;
        margin-bottom: 40px;
        margin-left: 16px;
    }

    .service-detail-subtitle::before {
        width: 8px;
        height: 8px;
    }

    .service-detail-item {
        padding: 25px 15px;
    }

    .service-detail-image {
        width: auto;
        height: 65px;
        margin-bottom: 20px;
    }

    .service-detail-name {
        font-size: 16px;
    }

    .service-detail-description {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .service-detail-button {
        font-size: 13px;
        padding: 10px 20px;
    }

    /* 左右ブロックの上層コンテナの調整 */
    .service-detail-header-blocks {
        margin-bottom: 20px;
    }

    /* 左側ブロックと右側ブロックの調整 */
    .service-detail-left-block {
        width: 70%;
    }
}

@media (max-width: 480px) {
    .service-detail {
        padding: 40px 0;
    }
    
    .service-detail::after {
        height: 550px;
    }
    
    .service-detail-container {
        padding: 0 16px;
    }
    
    .service-detail-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
        gap: 20px;
    }
    
    .service-detail-title {
        font-size: 24px;
    }

    .service-detail-header {
        margin-bottom: 5px;
    }
    
    .service-detail-subtitle {
        margin-bottom: 32px;
        margin-left: 12px;
    }
    
    .service-detail-subtitle::before {
        width: 6px;
        height: 6px;
    }
    
    .service-detail-item {
        padding: 20px 15px;
    }

    .service-detail-image {
        width: auto;
        height: 65px;
    }

    .service-detail-name {
        font-size: 15px;
    }
    
    .service-detail-description {
        font-size: 12px;
        margin-bottom: 18px;
    }
    
    .service-detail-button {
        font-size: 12px;
        padding: 8px 16px;
        gap: 6px;
    }
    
    .service-detail-button .button-icon {
        width: 18px;
        height: 18px;
        font-size: 9px;
    }
    
    /* 左右ブロックの上層コンテナの調整 */
    .service-detail-header-blocks {
        margin-bottom: 15px;
    }
    
    /* 左側ブロックと右側ブロックの調整 */
    .service-detail-left-block {
        width: 80%;
    }
}

/* カンパニー */
.company {
    padding: 80px 0;
    background: #EDEDED;
    position: relative;
    min-height: 600px;
}

@media (max-width: 1065px) {
    .company {
        height: 840px;
    }
}

.company-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    height: 100%;
}

.company-left-image {
    position: absolute;
    top: 0;
    left: -300px;
    max-width: 580px;
    z-index: 1;
    pointer-events: none;
}

.company-right-image {
    position: absolute;
    bottom: -45%;
    right: -90px;
    max-width: 400px;
    z-index: 1;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 1500px) {
    .company-right-image { right: 0; }
}

@media (max-width: 1065px) {
    .company-right-image {
        bottom: -12%;
    }
}

.company-large-text {
    position: absolute;
    top: -15%;
    right: 0;
    font-size: 90px;
    font-weight: 700;
    color: #c5c5c5;
    margin: 0;
    letter-spacing: 2px;
    text-align: right;
    z-index: 0;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    margin-bottom: 20px;
    transform: none;
    width: auto;
}

.company-image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 80px;
}

@media (max-width: 768px) {
    .company-image-wrapper {
        margin-top: 0;
    }
}

.company-left-image img,
.company-right-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.company-content {
    max-width: 800px;
    margin-left: 320px;
    margin-right: auto;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
    overflow: visible;
    margin-left: 320px;
}

.company-intro {
    margin-bottom: 30px;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

.company-intro-text {
    font-size: 25px;
    text-align: left;
    line-height: 1.8;
    margin: 0;
    font-weight: 700;
    white-space: normal;
    overflow: visible;
}

.company-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.company-menu-item {
    width: 180px;
    padding: 13px 30px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    text-decoration: none;
    color: #333;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
}

.company-menu-item::after {
    content: '›';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #DE3545;
    color: #ffffff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.company-menu-item:hover {
    border-color: #DE3545;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.company-menu-item:hover::after {
    transform: translateY(-50%) translateX(3px);
    background: #c82333;
}

.company-menu-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.company-menu-description {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.company-menu-item:hover .company-menu-title {
    color: #DE3545;
}

@media (max-width: 768px) {
    .company {
        margin-bottom: 150px;
        padding: 60px 0;
        min-height: auto;
    }
    
    .company-container {
        padding: 0 20px;
    }
    
    .company-left-image {
        position: static;
        max-width: 350px;
        margin: 0 auto 30px;
    }
    
    .company-right-image {
        position: static;
        max-width: 250px;
        margin: 30px auto 0;
    }
    
    .company-content {
        padding: 20px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .company-intro {
        margin-bottom: 25px;
    }
    
    .company-intro-text {
        font-size: 15px;
    }
    
    .company-menu {
        gap: 15px;
    }
    
    .company-menu-item {
        padding: 18px 25px;
    }
    
    .company-menu-title {
        font-size: 16px;
    }
    
    .company-menu-description {
        font-size: 13px;
    }
    
    .company-large-text {
        font-size: 40px;
        top: -20px;
        right: 0;
        transform: translateX(100%);
    }
}

@media (max-width: 480px) {
    .company {
        padding: 40px 0;
    }
    
    .company-container {
        padding: 0 16px;
    }
    
    .company-left-image,
    .company-right-image {
        max-width: 200px;
    }
    
    .company-content {
        padding: 15px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .company-intro {
        margin-bottom: 20px;
    }
    
    .company-intro-text {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .company-menu {
        gap: 12px;
    }
    
    .company-menu-item {
        padding: 15px 20px;
    }
    
    .company-menu-title {
        font-size: 15px;
    }
    
    .company-menu-description {
        font-size: 12px;
    }
    
    .company-large-text {
        font-size: 24px;
        top: -15px;
        right: 0;
        letter-spacing: 1px;
        transform: translateX(100%);
    }
}

.case-studies {
    padding: 80px 0;
    background: #ffffff;
    overflow: hidden;
}

.case-studies-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.case-studies-content {
    margin-bottom: 60px;
}

.case-studies-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.case-studies-title-wrapper {
    flex-shrink: 0;
}

.case-studies-title {
    font-size: 25px;
    font-weight: 700;
    margin: 10px 0 5px;
    line-height: 1.3;
}

.case-studies-subtitle {
    font-size: 15px;
    color: #DE3545;
    font-weight: 600;
    margin: 5px 0 0;
    margin-left: 20px;
    letter-spacing: 0.5px;
    position: relative;
}

.case-studies-subtitle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    width: 10px;
    height: 10px;
    background: #DE3545;
    border-radius: 50%;
    transform: translateY(-50%);
}

.case-studies-description {
    flex: 1;
    margin-left: 40px;
    margin-right: 40px;
    display: flex;
    align-items: center;
}

.case-studies-description p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* 流れるテキストのスタイル */
.case-studies-scroll-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    position: relative;
}

.case-studies-scroll-row {
    white-space: nowrap;
    padding-top: 3px;
    margin-bottom: 20px;
    position: relative;
}

.case-studies-scroll-row:last-child {
    margin-bottom: 0;
}

.case-studies-scroll-content {
    display: inline-block;
    white-space: nowrap;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* 上段は右から左に流れる */
.case-studies-scroll-top .case-studies-scroll-content {
    animation-name: scrollLeft;
    animation-duration: 60s;
}

/* 下段は左から右に流れる */
.case-studies-scroll-bottom .case-studies-scroll-content {
    animation-name: scrollRight;
    animation-duration: 60s;
}

.case-studies-item {
    display: inline-block;
    padding: 6px 25px;
    margin-right: 30px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid #dee2e6;
    transition: transform 0.3s ease;
}

.case-studies-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* アニメーションキーフレーム */
@keyframes scrollLeft {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .case-studies {
        padding: 0 0 60px;
    }

    .case-studies-header {
        flex-direction: column;
        gap: 20px;
        align-items: start;
    }

    .case-studies-title {
        font-size: 22px;
    }
    
    .case-studies-description {
        margin-left: 0;
    }
    
    .case-studies-description p {
        font-size: 13px;
    }
    
    .case-studies-item {
        font-size: 12px;
        padding: 10px 20px;
        margin-right: 20px;
    }
}

/* ▲ Case Studies セクション */

/* ニュースセクション */
.news {
    margin-top: 80px;
    padding: 50px 0;
    background: #ffffff;
    position: relative;
}

.news::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: #FDF5F6;
    border-radius: 0 20px 20px 0;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: flex-start;
    gap: 60px;
    position: relative;
    z-index: 1;
}

/* 左側: セクションタイトル */
.news-left {
    width: 25%;
    padding-right: 40px;
}

.news-title-section {
    position: relative;
}

.news-title {
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.news-subtitle {
    font-size: 16px;
    color: #DE3545;
    font-weight: 600;
    margin: 0 0 20px 20px;
    letter-spacing: 0.5px;
    position: relative;
}

.news-subtitle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    width: 10px;
    height: 10px;
    background: #DE3545;
    border-radius: 50%;
    transform: translateY(-50%);
}

/* 右側: お知らせリスト */
.news-right {
    flex: 1;
}

.news-header {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.news-more {
    margin-left: 20px;
}

.news-more-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.news-more-link:hover {
    background: #f8f9fa;
    border-color: #DE3545;
    color: #DE3545;
}

.news-more-icon {
    font-size: 12px;
    font-weight: 600;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.news-item {
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background: #f8f9fa;
}

.news-item-link {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: inherit;
}

.news-item-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.news-item-date {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.news-item-category {
    font-size: 12px;
    color: #fff;
    background: #DE3545;
    padding: 3px 12px;
    border-radius: 12px;
    font-weight: 600;
}

.news-item-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    color: #333;
    transition: color 0.3s ease;
}

.news-item:hover .news-item-title {
    color: #DE3545;
}

.news-no-posts {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

/* ニュースセクション レスポンシブ対応 */
@media (max-width: 1024px) {
    .news-container {
        gap: 40px;
    }
    
    .news-left {
        width: 30%;
        padding-right: 20px;
    }
    
    .news-large-text {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    .news {
        padding: 60px 0;
        margin: 0;
    }
    
    .news::after {
        width: 100%;
        border-radius: 0;
    }

    .news-container {
        flex-direction: column;
        gap: 40px;
    }

    .news-left {
        width: 100%;
        padding-right: 0;
        text-align: center;
    }

    .news-title {
        font-size: 26px;
    }
    
    .news-subtitle {
        font-size: 14px;
        display: inline-block;
        margin-left: 0;
        padding-left: 16px;
    }
    
    .news-subtitle::before {
        left: 0;
        width: 8px;
        height: 8px;
    }
    
    .news-large-text {
        font-size: 40px;
        margin: 10px 0 0 0;
    }
    
    .news-right {
        width: 100%;
    }
    
    .news-header {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .news-more {
        margin-left: 0;
    }
    
    .news-item-link {
        padding: 18px 0;
    }
    
    .news-item-title {
        font-size: 15px;
    }
    
    .news-item-meta {
        gap: 12px;
        margin-bottom: 8px;
    }
    
    .news-item-date {
        font-size: 13px;
    }
    
    .news-item-category {
        font-size: 11px;
        padding: 3px 10px;
    }
}

@media (max-width: 480px) {
    .news {
        padding: 40px 0;
    }
    
    .news-container {
        gap: 30px;
        padding: 0 16px;
    }
    
    .news-title {
        font-size: 22px;
    }
    
    .news-subtitle {
        /* 480px以下: 同様に文字直前配置に最適化 */
        display: inline-block; /* 修正 */
        margin-left: 0; /* 修正 */
        padding-left: 12px; /* 追加: ドット(6px) + 余白(6px) */
    }
    
    .news-subtitle::before {
        left: 0; /* 修正 */
        width: 6px;
        height: 6px;
    }
    
    .news-large-text {
        font-size: 30px;
    }
    
    .news-item-link {
        padding: 16px 0;
    }
    
    .news-item-title {
        font-size: 14px;
    }
    
    .news-more-link {
        font-size: 13px;
        padding: 6px 14px;
    }
}

/* お問い合わせセクション */
.contact {
    margin: 80px 0;
    background: #ffffff;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
}

.contact-button {
    display: flex;
    align-items: center;
    max-width: 1000px;
    width: 100%;
    padding: 30px 60px;
    background: linear-gradient(90deg, #e55e6a 0%, #e4765d 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(229, 94, 106, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-button:hover {
    box-shadow: 0 12px 35px rgba(229, 94, 106, 0.4);
    background: linear-gradient(90deg, #d54d5a 0%, #d4664d 100%);
}

@media (min-width: 1021px) and (max-width: 1180px) {
    .contact-image { left: 75%; /* 右半分の中心 */ }
}

@media (max-width: 1020px) {
    .contact-image { left: auto; right: 60px; top: 50%; transform: translateY(-50%); }
}

.contact-left {
    flex: 1;
    position: relative;
    z-index: 2;
}

.contact-subtitle {
    font-size: 15px;
    color: #ffffff;
    font-weight: 600;
    margin: 0 0 5px 20px;
    letter-spacing: 0.5px;
    position: relative;
}

.contact-subtitle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-radius: 50%;
    transform: translateY(-50%);
}

.contact-title {
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.3;
    color: #ffffff;
}

/* 見出し横に置くタイトル用アイコン（PCは非表示） */
.contact-title-icon { display: none; }

.contact-description {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    color: #ffffff;
    margin: 0;
    opacity: 0.9;
}

/* 右側: 画像とアイコンエリア */
.contact-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    flex: 1;
    padding-left: 40px;
    padding-right: 20px;
}

.contact-image {
    width: 120px;
    height: 120px;
    opacity: 0.25;
    position: absolute;
    z-index: 1; /* テキストより下、背景より上に配置 */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    background: #ffffff;
    color: #DE3545;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-button:hover .contact-button-icon {
    transform: translateX(8px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact {
        padding: 0;
    }
    
    .contact-container {
        padding: 0 16px;
    }
    
    .contact-button {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
    }
    
    .contact-left {
        margin-bottom: 20px;
    }

    .contact-subtitle {
        font-size: 14px;
        /* 768px以下: テキストを中央配置してもアイコンが文字の直前に来るようにする */
        display: inline-block; /* テキスト幅に縮めて擬似要素の基準を文字直前に */
        margin-left: 0; /* 親の中央寄せ時に距離が広がらないようにリセット */
        padding-left: 16px; /* ドット(8px) + 余白(8px) 分のスペースを確保 */
    }
    
    .contact-subtitle::before {
        /* 上記対応: 左位置を要素内先頭に */
        left: 0;
        width: 8px;
        height: 8px;
    }
    
    .contact-description {
        font-size: 15px;
    }
    
    .contact-right {
        justify-content: flex-end;
        padding-left: 20px;
        padding-right: 15px;
    }
    
    .contact-image {
        width: 60px;
        height: 60px;
    }
    
    .contact-button-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        font-size: 14px;
    }

    .contact-button-icon {
        display: none;
    }

    .contact-title-icon {
        padding: 0 10px;
        display: inline-flex;
        align-items: center; /* アイコンの上下中央揃え */
        vertical-align: middle; /* テキスト行内で中央合わせ */
        line-height: 0; /* 行高由来のズレを解消 */
    }
    /* 768px以下: 見出し横アイコンを25pxに */
    .contact-title-icon svg { width: 25px; height: 25px; display: block; }
}

@media (max-width: 480px) {
    .contact {
        padding: 40px 0;
    }
    
    .contact-button {
        padding: 25px 20px;
    }
    
    .contact-title {
        font-size: 22px;
    }
    
    .contact-subtitle {
        /* 480px以下: 同様に文字直前配置に最適化 */
        display: inline-block;
        margin-left: 0;
        padding-left: 12px; /* ドット(6px) + 余白(6px) */
    }
    
    .contact-subtitle::before {
        left: 0;
        width: 6px;
        height: 6px;
    }
    
    .contact-description {
        font-size: 14px;
    }
    
    .contact-image {
        width: 50px;
        height: 50px;
    }
    
    .contact-button-icon {
        width: 28px;
        height: 28px;
        min-width: 28px;
        min-height: 28px;
        font-size: 12px;
    }

    /* 480px以下: 見出し横アイコンも25pxで統一 */
    .contact-title-icon { vertical-align: middle; line-height: 0; }
    .contact-title-icon svg { width: 25px; height: 25px; display: block; }
}

/* 最終優先の上書き: 1020px以下で contact-image の位置を右端から60px・垂直中央に固定 */
@media (max-width: 1020px) {
    .contact .contact-image { left: auto; right: 110px; top: 50%; transform: translateY(-50%); }
}

/* 最終優先の上書き: 768px以下で contact-image をボックス全体の中央に配置 */
@media (max-width: 768px) {
    .contact-right { position: static; padding-left: 0; padding-right: 0; display: block; }
    /* 高さの約70%に収まるよう上下15%の余白を取り、中央に配置 */
    .contact .contact-image {
        top: 15% !important;
        bottom: 15% !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: auto !important;  /* 既存の固定幅を解除 */
        height: auto !important; /* 上下指定により高さは親の70%に決定 */
        aspect-ratio: 1 / 1;     /* 正方形を維持 */
    }
}