:root {
    /* --main-bg-color: #4d4747; */
    --main-bg-color: #86848f;
    --main-bg-image: url('assets/images/45-degree-fabric-light.png');
}

body {
    background-color: var(--main-bg-color);
    background-image: var(--main-bg-image);
    background-repeat: repeat;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    padding-bottom: 50px; /* フッター分の余白を追加 */
}

header {
    background-color: transparent;
    color: black; /* 文字色を黒に変更 */
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 200;
    position: fixed; /* 固定位置に設定 */
    top: 0; /* 上端に配置 */
    left: 0; /* 左端に配置 */
    width: 100%; /* 幅を100%に設定 */
    z-index: 1000; /* 他の要素より前面に表示 */
    box-sizing: border-box;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 20px;
}

nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    transition: transform 0.3s ease-in-out;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-left: 20px;
    z-index: 1001; /* メニューより上に表示 */
}

.hamburger-menu span {
    height: 3px;
    width: 25px;
    background: #000;
    margin: 5px 0;
    border-radius: 5px;
    transform-origin: center;
    transition: all 0.3s ease-in-out;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(7.5px, 7.5px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7.5px, -7.5px);
}

/* メニュー項目のアニメーション */
@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* メニュー開閉時のボディスクロール制御 */
body.menu-open {
    overflow: hidden;
}

nav ul {
    display: flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin-left: 20px;
}

nav a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    letter-spacing: 0.05em;
}

nav a:hover {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

main {
    padding: 2rem 2rem 0 2rem;
}

footer {
    background-color: transparent;
    color: black; /* 文字色を黒に変更 */
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.logo {
    display: none;
}

.video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (orientation: landscape) {
    .video-container video {
        width: 100%;
        height: auto;
    }
}

@media (orientation: portrait) {
    .video-container video {
        width: auto;
        height: 100%;
    }
}

/* スマホサイズのスタイル */
@media (max-width: 768px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -50%; /* 右から-50%の位置に配置 */
        height: 100vh;
        width: 50%; /* 幅を50%に設定 */
        background-color: var(--main-bg-color);
        background-image: var(--main-bg-image);
        background-repeat: repeat;
        padding: 80px 0;
        transition: right 0.3s ease-in-out;
        z-index: 1000; /* 最も手前に表示 */
    }

    .nav-links.nav-active {
        right: 0; /* アクテに右端に移動 */
    }

    .nav-links li {
        text-align: right; /* 文字を右寄せ */
        padding: 15px 20px; /* 余白を追加 */
        width: auto; /* 幅を文字サイズ＋余白に */
    }

    .nav-links li a {
        color: #000; /* スマホメニューの文字色を黒に変更 */
        text-decoration: none;
    }

    .hamburger-menu {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        z-index: 1001; /* メニューより上に表示 */
        position: fixed; /* 固定位置に設定 */
        top: 20px; /* 上端からの距離 */
        right: 20px; /* 右端からの距離 */
    }

    .hamburger-menu span {
        height: 3px;
        width: 25px;
        background: #000;
        margin: 4px;
        border-radius: 5px;
        transition: all 0.3s ease;
    }

    .badge {
        width: 80px;
        height: 25px;
    }

    .badge-text {
        font-size: 14px;
    }
}

.about-section, .promise-section, .company-section, .contact-section {
    padding: 5rem 2rem;
}

@media (max-width: 768px) {
    .about-section, .company-section, .contact-section, .promise-section {
        padding: 5rem 0 0 0 !important;
    }
}

.about-content {
    display: flex;
    flex-direction: column;
}

.profile-section {
    margin-bottom: 20px;
}

.profile {
    text-align: left;
    margin-bottom: 15px;
}

.position {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.name {
    margin: 0;
}

.name .ja {
    font-size: 24px;
    font-weight: bold;
    display: block;
    margin-bottom: 0; /* 余白をなくしました */
    line-height: 1.2; /* 行間を狭めました */
}

.name .en {
    font-size: 16px;
    color: #666;
    line-height: 1.2; /* 行間を狭めました */
}

.profile-text {
    line-height: 1.6;
}

.profile-image {
    width: 100%;
    height: auto;
    margin-top: 20px; /* 上部の余白を追加 */
}

@media (min-width: 768px) {
    .about-content {
        flex-direction: row;
        align-items: stretch; /* 子要素を親要素の高さに合わせる */
        padding: 0 2rem; /* 左右に2remのpaddingを追加 */
    }

    .profile-section {
        flex: 1;
        margin-right: 30px;
    }

    .image-section {
        flex: 1;
        display: flex; /* Flexboxを使用 */
        align-items: stretch; /* 子要素を親要素の高さに合わせる */
    }

    .image-mask {
        width: 100%;
        padding-top: 0; /* アスペクト比の制御を解除 */
        position: relative;
        overflow: hidden;
    }

    .profile-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 767px) {
    .image-mask {
        padding-top: 56.25%; /* スマホサイズでは16:9のアスペクト比に変更 */
    }
}

.small-break {
    display: block;
    height: 9px; /* brタグの高さを9pxに設定 */
    line-height: 9px; /* line-heightも9pxに設定 */
    content: ""; /* 空のコンテンツを設定 */
}

.image-section {
    width: 100%;
    max-width: 600px; /* 必要に応じて調整 */
    margin: 0 auto;
}

.image-mask {
    width: 100%;
    padding-top: 100%; /* アスペクト比1:1の正方形マスク */
    position: relative;
    overflow: hidden;
}

.profile-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 767px) {
    .image-mask {
        padding-top: 56.25%; /* スマホサイズでは16:9のアスペクト比に変更 */
    }
}

.promise-section {
    color: black;
    width: 100%;
    box-sizing: border-box;
    padding: 5rem 2rem;
}

.promise-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center; /* 中央寄せ */
}

.promise-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 3rem;
}

.promise-section .text-section {
    max-width: 800px; /* テキストの最大幅を設定 */
    text-align: center; /* テキストを中央寄せ */
}

.promise-section .promise-text {
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .promise-content {
        padding: 0 2rem;
    }

    .promise-section h2 {
        font-size: 24px;
        margin-bottom: 2rem;
    }

    .promise-section .text-section {
        text-align: left; /* スマホサイズでは左寄せに戻す */
    }
}

.promise-section .image-section {
    flex: 1;
}

.promise-section .text-section {
    flex: 1;
}

.promise-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.promise-text {
    font-size: 16px;
    line-height: 1.6;
}

.promise-section .image-mask {
    padding-top: 0; /* 上部パディングを削除 */
    /* 要に応じて他のスイルを調整 */
}

/* スマホサイズのスタイル（デフォルト） */
.about-section .about-content,
.promise-section .promise-content {
    display: flex;
    flex-direction: column;
}

.promise-section .text-section {
    margin-bottom: 0;
}

.about-section .image-mask,
.promise-section .image-mask {
    width: 100%;
    padding-top: 56.25%; /* 16:9のアスペクト比 */
    position: relative;
    overflow: hidden;
}

.about-section .profile-image,
.promise-section .promise-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* PCサイズのスタイル */
@media (min-width: 768px) {
    .about-section .about-content {
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }

    .about-section .profile-section,
    .promise-section .text-section {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .about-section .image-section,
    .promise-section .image-section {
        flex: 1;
        display: flex;
        align-items: stretch;
    }

    .about-section .image-mask,
    .promise-section .image-mask {
        flex: 1;
        position: relative;
        padding-top: 0;
    }

    .about-section .profile-image,
    .promise-section .promise-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .about-section .image-section {
        margin-left: 2rem;
    }

    .promise-section .image-section {
        margin-right: 2rem;
    }

    .about-section h2 {
        text-align: center;
        font-size: 36px;
        margin-bottom: 3rem;
    }
    
    .scene-section h2 {
        text-align: center;
        font-size: 36px;
        margin-bottom: 3rem;
    }
}

/* スマホサイズのスタイ */
@media (max-width: 767px) {
    .about-section .about-content {
        display: flex;
        flex-direction: column;
    }

    .promise-section .promise-content {
        display: flex;
        flex-direction: column-reverse;
    }

    .about-section .profile-section,
    .promise-section .text-section,
    .about-section .image-section,
    .promise-section .image-section {
        width: 100%;
        max-width: 100%; /* PCサイズのスタイルを上書き */
        margin-left: 0; /* PCサイズのスタイルを上書き */
        height: auto;
    }

    .about-section .image-section,
    .promise-section .image-section {
        height: 0;
        padding-bottom: 56.25%; /* 16:9のアスペクト比を維持 */
        position: relative;
        overflow: hidden;
        margin-bottom: 2rem;
    }

    .about-section .image-mask,
    .promise-section .image-mask {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding-top: 0;
    }

    .about-section .profile-image,
    .promise-section .promise-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .promise-section {
        color: black; /* 文字色を黒に変更 */
    }

    .promise-section h2 {
        text-align: left;
    }

    .promise-section .promise-content {
        width: 100%;
        padding: 0;
    }
}

.hero-container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80%;
    height: 100%;
}

/* hero-logoのスタイルを修正 */
.hero-logo {
    width: 40%; /* ビューポート幅の20%に設定 */
    /* max-width: 200px; */
    height: auto; /* 高さを自動調整して縦比を維持 */
}
@media (max-width: 768px) {
    .hero-logo {
        width: 60%; /* スマホサイズでは幅を60%に拡大 */
    }
}

.hero-image-container {
    position: relative;
    width: 100%; /* 幅を100%に変更 */
    height: 0;
    padding-bottom: 56.25%; /* 16:9のアスペクト比を維持 */
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-image.active {
    opacity: 1;
}

@media (min-width: 769px) {
    .hero-image-container {
        width: 50%; /* PCサイズの時は60%に設定 */
        height: 100%;
        margin: 0 auto; /* 中央揃え */
        /* padding: 0.5rem 1rem; */
    }
}

@media (max-width: 768px) {
    .hero-image-container {
        width: 100%;
        height: 30vh;
        padding-bottom: 0; /* パディングを削除 */
    }

    .hero-image {
        width: 100%;
        height: 100%;
        margin-bottom: 20px;
        padding: 0;
    }
}

footer p {
    font-weight: 200;
}

.company-content {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
}

.company-section .text-section {
    margin-bottom: 2rem;
}

.company-section .image-section {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9のアスペクト比 */
    position: relative;
    overflow: hidden;
}

.company-section .image-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 0;
}

.company-section .company-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* PCサイズのスタイル */
@media (min-width: 768px) {
    .company-content {
        flex-direction: row;
        align-items: stretch; /* ストレッチに変更して高さを揃える */
        gap: 2rem;
    }

    .company-section .text-section {
        flex: 1;
        margin-bottom: 0;
    }

    .company-section .image-section {
        flex: 1;
        height: auto;
        padding-bottom: 0;
        display: flex;
        align-items: center; /* 画像を中央に配置 */
    }

    .company-section .image-mask {
        position: relative;
        width: 100%;
        height: 100%;
        min-height: 300px; /* 最小高さを設定 */
        overflow: hidden;
    }
    
    .company-section .company-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

.contact-section {
    color: black;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
}

.contact-section .contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-section .form-section {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.contact-section .text-section,
.contact-section form {
    flex: 1; /* 両方の要素を等しい幅に設定 */
    width: 100%;
}

.contact-section h2 {
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

form label {
    margin-top: 10px;
}

form input, form textarea {
    margin-top: 5px;
    padding: 10px;
    font-size: 16px;
    border: 3px solid #000;
    border-radius: 5px;
    color: #000;
    background-color: var(--main-bg-color);
    background-image: var(--main-bg-image);
    background-repeat: repeat;
}

form textarea {
    resize: vertical;
    min-height: 150px;
}

form button {
    margin-top: 20px;
    padding: 10px;
    font-size: 16px;
    background-color: var(--main-bg-color);
    background-image: var(--main-bg-image);
    background-repeat: repeat;
    color: #000;
    border-color: #000;
    border-width: 3px;
    border-radius: 5px;
    border-style: solid;
    cursor: pointer;
}

form button:hover {
    background-color: #e3e3e38b;
}

form button:disabled {
    background-color: #666666; /* より暗いグレー */
    color: #999999; /* テキストも暗めに */
    cursor: not-allowed;
    opacity: 0.8;
    border-color: #666666; /* ボーダーも暗めに */
}

form button:disabled:hover {
    background-color: #666666; /* ホバー時も同じ色を維持 */
}

.required {
    color: #520000;
    margin-left: 5px;
}

form::after {
    content: "* 必須項目";
    display: block;
    color: #520000;
    font-size: 0.8em;
    margin-top: 10px;
}

@media (max-width: 767px) {
    .contact-section .form-section {
        flex-direction: column;
    }

    .contact-section .text-section {
        width: 100%;
        margin-bottom: 2rem;
    }

    .contact-section form {
        width: 100%;
    }
}

.about-section {
    padding-top: 2rem; /* トップのパディングを調整 */
}

.scene-section {
    color: black;
    width: 100%;
    box-sizing: border-box;
    padding: 5rem 2rem; /* PCサイズでの上下左右のパディングを設定 */
}

.scene-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
}

.scene-section .text-section {
    flex: 0 0 50%;
    max-width: 50%;
}

.scene-section .image-section {
    flex: 1;
    display: flex;
    align-items: stretch;
}

.scene-section .image-mask {
    width: 100%;
    padding-top: 56.25%; /* 16:9のアスペクト比 */
    position: relative;
    overflow: hidden;
}

.scene-section .scene-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scene-text {
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .scene-section .scene-content {
        display: flex;
        flex-direction: column;
    }

    .scene-section .text-section,
    .scene-section .image-section {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
    }

    .scene-section .image-section {
        height: 0;
        padding-bottom: 56.25%;
        position: relative;
        overflow: hidden;
        margin-bottom: 2rem;
    }

    .scene-section .image-mask {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding-top: 0;
    }
}

.badge {
    border-radius: 0;
    padding: 0; /* パディングを削除 */
    display: flex; /* Flexboxを使用 */
    align-items: center; /* 垂直方向の中央揃え */
    justify-content: center; /* 水平方向の中央揃え */
    overflow: hidden;
    position: relative;
    width: 150px;
    height: 30px;
    border: 1px solid black;
    box-shadow: inset 0 0 0 1px black;
    box-sizing: border-box;
}

.badge-text {
    color: #000;
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap;
    position: absolute;
    left: 0;
    will-change: transform;
    /* top: 50%; と transform: translateY(-50%); を削除 */
}

/* キーフレームアニメーションはJavaScriptで動的に生成されるため、ここでは削除 */

@media (max-width: 768px) {
    .badge {
        width: 150px;
        height: 25px;
        border-width: 1px;
    }

    .badge-text {
        font-size: 14px;
    }
}

/* ファイルの最後に以下を追加 */

.fade-out {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out 0.5s, transform 1s ease-out 0.5s;
    will-change: opacity, transform;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 767px) {
    .scene-section {
        padding: 5rem 0 0 0; /* スマホサイズでは上のパディングのみ指定 */
    }

    .scene-section .scene-content {
        display: flex;
        flex-direction: column;
        padding: 0 2rem; /* スマホサイズではコンテンツに左右のパディングを追加 */
    }

    .scene-section .text-section,
    .scene-section .image-section {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
    }

    .scene-section .image-section {
        height: 0;
        padding-bottom: 56.25%;
        position: relative;
        overflow: hidden;
        margin-bottom: 2rem;
    }

    .scene-section .image-mask {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding-top: 0;
    }
}

@media (max-width: 767px) {
    .company-content {
        flex-direction: column;
        padding: 0; /* 左右のパディングを0に設定 */
    }

    .company-section .text-section,
    .company-section .image-section {
        width: 100%;
        max-width: 100%;
        margin-bottom: 0;
    }

    .company-info {
        margin-bottom: 2rem; /* スマホサイズでの下マージンを追加 */
    }
}

/* 初期状態で要素を非表示に */
.header-hidden {
    opacity: 0;
    transform: translateY(-20px);
}

.footer-hidden {
    opacity: 0;
    transform: translateY(20px);
}

.hero-logo-hidden {
    opacity: 0;
    transform: scale(0.5);
}

/* フェードインアニメーション */
.header-fade-in {
    animation: headerFadeIn 1s ease forwards;
    animation-delay: 2s; /* ロゴアニメーション後に表示 */
}

.footer-fade-in {
    animation: footerFadeIn 1s ease forwards;
    animation-delay: 2s; /* ロゴアニメーション後に表示 */
}

.hero-logo-fade-in {
    animation: logoFadeIn 1.5s ease forwards;
    animation-delay: 0.5s; /* 背景表示後にアニメーション開始 */
}

@keyframes headerFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes footerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.opening-hours p {
    margin: 0.2em 0; /* 基本の上下マージン */
}

.opening-hours {
    margin-top: 3em;
}

.opening-hours h3 {
    margin-bottom: 0.1em;
}

.opening-hours p:first-of-type {
    color: rgba(0, 0, 0, 0.3); /* 黒で、不透明度をちょっと下げて */
}

@media screen and (max-width: 768px) {
    .company-info {
        margin-bottom: 2rem;
    }
}

.office-info h3 {
    margin-bottom: 0.1rem;  /* もしくは8px */
}

.office-info p {
    margin-top: 0.1rem;  /* もしくは8px */
}

/* Opening Hours Styles */
.opening-hours {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.opening-hours h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.hours-content {
    margin-top: 0.5rem;
}

.hours-note {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: rgba(0, 0, 0, 0.7);
    font-style: italic;
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.hours-item .day {
    font-weight: 600;
    font-size: 0.95rem;
    flex: 0 0 40%;
}

.hours-item .time {
    text-align: right;
    font-size: 0.95rem;
    flex: 1;
}

.hours-item .note {
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
    margin-left: 0.3rem;
}

/* PC Styles for Opening Hours */
@media (min-width: 768px) {
    .opening-hours {
        max-width: 400px;
    }
    
    .hours-grid {
        gap: 1rem;
    }
    
    .hours-item {
        padding: 0.7rem 0;
    }
}

/* Mobile Styles for Opening Hours */
@media (max-width: 767px) {
    .opening-hours {
        margin-top: 1.5rem;
        padding: 1rem 2rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .opening-hours h3 {
        font-size: 1rem;
    }
    
    .hours-item .day {
        font-size: 0.9rem;
    }
    
    .hours-item .time {
        font-size: 0.9rem;
    }
    
    .hours-item .note {
        display: block;
        margin-left: 0;
        margin-top: 0.2rem;
    }
}

/* Portfolio Section Styles */
.portfolio-section {
    padding: 5rem 2rem;
    color: black;
}

.portfolio-content {
    max-width: 800px;
    margin: 0 auto;
}

.portfolio-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 3rem;
}

.portfolio-intro {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 3rem;
    text-align: center;
}

.portfolio-list {
    margin: 2rem 0;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.portfolio-list h3 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-align: center;
}

.company-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.company-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.95rem;
    text-align: center;
}

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

.portfolio-footer {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 3rem;
    text-align: center;
}

/* PC Styles for Portfolio */
@media (min-width: 768px) {
    .portfolio-list {
        margin: 2rem 0;
    }
}

/* Mobile Styles for Portfolio */
@media (max-width: 767px) {
    .portfolio-section {
        padding: 5rem 0 0 0;
    }
    
    .portfolio-content {
        padding: 0;
    }
    
    .portfolio-section h2 {
        font-size: 24px;
        margin-bottom: 2rem;
        text-align: left;
    }
    
    .portfolio-intro,
    .portfolio-footer {
        text-align: left;
    }
    
    .portfolio-list {
        margin: 1.5rem 0;
        padding: 1rem 2rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .portfolio-list h3 {
        font-size: 1rem;
        text-align: left;
    }
    
    .company-item {
        text-align: left;
        font-size: 0.9rem;
    }
}