/* servicesページ専用のスタイル */
.main-content {
    background-color: var(--color1);
    background-image: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.sidebar {
    width: 60px;
    flex: 1;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin: 0px 10px 10px 0px;
    transition: background-color 0.3s ease-in-out;
}

.hamburger-menu span {
    background-color: var(--color-orange);
}

.menu-text {
    font-size: 0.8em;
    color: #ff8200;
}

.map-placeholder {
    background-image: url('../images/map3.png');
}

/* スクロールバーのスタイル */
/* 横スクロールバー（services-scroll）のスタイル */
.services-scroll::-webkit-scrollbar,
.service-content::-webkit-scrollbar {
    height: 10px;
    width: 3px;
    /* 縦スクロールバー用 */
}

.services-scroll::-webkit-scrollbar-track,
.service-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.services-scroll::-webkit-scrollbar-thumb,
.service-content::-webkit-scrollbar-thumb {
    background: var(--color-orange);
    border-radius: 5px;
}

.services-scroll::-webkit-scrollbar-thumb:hover,
.service-content::-webkit-scrollbar-thumb:hover {
    background: #e67e22;
}

/* サービスカードのスタイル */
.services-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: scroll;
    padding: 0px 0px 10px 0px;
    scroll-snap-type: x mandatory;
    position: relative;
    align-items: center;
}

.service-card {
    position: relative;
    min-width: 53.33%;
    height: 50vh;
    border: 1px solid var(--color-orange);
    border-radius: 10px;
    padding: 32px 32px 20px 32px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-sizing: border-box;
}

.service-logo {
    position: absolute;
    bottom: 10%;
    right: 2%;
    width: auto;
    height: 280px;
    opacity: 0.4;
    z-index: -1;
    mix-blend-mode: normal;
}

.service-title h2 {
    font-size: 2.5rem;
    color: var(--color-orange);
    margin: 0;
    white-space: nowrap;
}

.pronunciation {
    font-size: 1.2rem;
    color: var(--color-orange);
    margin-left: 1rem;
}

.service-content {
    padding: 1rem;
    height: 300px;
    overflow-y: scroll;
}

.service-content-2 {
    padding: 1rem;
    height: 200px;
    overflow-y: hidden;
}

.service-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.service-content li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.service-content h3 {
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    color: var(--color-orange);
}

.service-content p {
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 0;
    flex: 1;
}

/* 共通ボタンスタイル */
.more-info,
.official-web,
.renewing {
    border: none;
    padding: 8px 48px;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
    flex: 1;
    /* 同じ大きさになるよう追加 */
    max-width: 100%;
    /* 最大幅を設定 */
    white-space: nowrap;
    /* テキスト折り返しなし */
    text-align: center;
    /* テキストを中央揃え */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 詳しくはこちらボタン */
.more-info {
    background-color: var(--color-orange);
    color: white;
    width: 100%;
}

.more-info:hover {
    opacity: 0.8;
}

/* 公式webはこちらボタン */
.official-web {
    background-color: white;
    color: var(--color-orange);
}

.official-web:hover {
    opacity: 0.8;
}

/* リニューアル中ボタン */
.renewing {
    background-color: #888;
    color: white;
    cursor: default;
}

.renewing:hover {
    opacity: 1;
    /* ホバー時に透明度を変えない */
}

/* ボタンを横並びにするコンテナ */
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 7px;
}

.bottom-container {
    display: flex;
    top: 87%;
    height: 11%;
    z-index: 2;
    justify-content: space-between;
}

.bottom-content {
    display: flex;
    align-items: flex-start;
    background: rgba(0, 0, 0, 0.0);
    flex: none;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
    height: auto;
    justify-content: flex-end;
    width: auto;
}

.bottom-content2:hover {
    background-color: var(--color-orange);
}

.bottom-content-1 {
    display: flex;
    align-items: flex-start;
    background: rgba(0, 0, 0, 0.0);
    flex: none;
    gap: 10px;
}

.bottom-content-2 {
    display: flex;
    align-items: flex-end;
    background: rgba(0, 0, 0, 0.0);
    flex: none;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
    height: auto;
    justify-content: flex-end;
    width: auto;
}

.bottom-content-3 {
    display: flex;
    align-items: flex-end;
    background: rgba(0, 0, 0, 0.0);
    flex: none;
    gap: 10px;
    padding: 0px 20px 0px 0px;
}

.bottom-content2 {
    position: relative;
    width: auto;
    /* 固定幅から自動幅に変更 */
    min-width: 50px;
    /* 最小幅を設定 */
    height: auto;
    /* 固定高さから自動高さに変更 */
    background-color: #333333;
    border: 1px solid var(--color3);
    border-radius: 30px;
    padding: 3px 20px;
    /* パディングを追加してテキストの周りにスペースを確保 */
    color: #ffffff;
    display: inline-flex;
    /* インラインフレックスに変更 */
    align-items: center;
    /* 垂直方向の中央揃え */
    justify-content: center;
    /* 水平方向の中央揃え */
    margin: 0px 0px;
    /* 要素間の間隔を追加 */
    gap: 10px;
}

.bottom-content2 p {
    margin: 0;
    /* マージンをリセット */
    font-size: 12px;
    color: var(--color3);
    white-space: nowrap;
    /* テキストの折り返しを防止 */
}

.footer-info {
    display: none;
}

.card-arrow {
    color: #fff;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 必要に応じて位置や余白を調整 */
}

.card-arrow-narrow {
    width: 0;
    height: 0;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-left: 15px solid #fff;
    margin: 0 10px;
    display: inline-block;
    align-self: center;
}