/* ===== ヘッダー（共通） ===== */
header {
    background-color: #0e7b78;
    color: #ffffff;
    margin: 0;
    position: relative;
    z-index: 1000;
    width: 100%;
    box-sizing: border-box;
    height: 70px; /* 固定のヘッダー高さ */
}

.top-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* サイトタイトル */
.top-bar h1 {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
    white-space: nowrap;
}

/* ===== PCナビゲーション ===== */
.nav-pc {
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
}

.nav-pc ul {
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-pc a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0.8rem;
    position: relative;
    white-space: nowrap;
}

.nav-pc a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.nav-pc a:hover::after {
    width: 100%;
}

/* ===== モバイルメニュー ===== */
.hamburger {
    display: none;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    padding: 8px;
    cursor: pointer;
    z-index: 1002;
    position: relative;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    margin: 5px auto;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #0e7b78;
    z-index: 1001;
    transition: right 0.3s ease-in-out;
    padding: 80px 20px 40px;
    box-sizing: border-box;
    overflow-y: auto;
}

.header-nav.active {
    right: 0;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-menu li {
    width: 100%;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.8rem 1rem;
    display: block;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    text-align: left;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1003;
}

/* オーバーレイ */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay.active {
    display: block;
    opacity: 1;
}

/* ===== レスポンシブデザイン ===== */
/* 769px以上（PC） */
@media (min-width: 769px) {
    .hamburger,
    .overlay,
    .header-nav {
        display: none !important;
    }

    .nav-pc {
        display: flex !important;
    }
}

/* 768px以下（タブレット・スマホ） */
@media (max-width: 768px) {
    .nav-pc {
        display: none !important;
    }

    .hamburger {
        display: block;
    }

    .top-bar {
        padding: 0 1rem;
    }

    .top-bar h1 {
        font-size: 1.3rem;
    }

    .hamburger.active .hamburger-line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .hamburger.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .hamburger-line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* スマホ用の追加調整 */
@media (max-width: 480px) {
    .header-nav {
        width: 85%;
    }
    
    .top-bar h1 {
        font-size: 1.1rem;
    }
}

/* ===== メインビジュアル ===== */
.main-visual {
    position: relative;
    width: 100%;
    height: 75vh;
    max-height: 800px;
    min-height: 400px;
    overflow: hidden;
}

.main-visual-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-visual-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
    padding: 0 20px;
}

.main-visual-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.main-visual-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* レスポンシブ調整 */
@media (max-width: 1024px) {
    .main-visual {
        height: 70vh;
        min-height: 350px;
    }
    
    .main-visual-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .main-visual {
        height: 60vh;
        min-height: 300px;
    }
    
    .main-visual-title {
        font-size: 1.8rem;
    }
    
    .main-visual-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .main-visual {
        height: 50vh;
        min-height: 250px;
    }
    
    .main-visual-title {
        font-size: 1.5rem;
    }
    
    .main-visual-text {
        font-size: 1rem;
    }
}

/* ヘッダー画像のスタイルを削除 */
header img {
    display: none;
}

/* ハンバーガーメニュー */
.hamburger {
    position: fixed;
    right: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #0e7b78;
    border-radius: 4px;
    z-index: 1001;
    border: none;
    cursor: pointer;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #0e7b78;
    margin: 5px auto;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* メニューオーバーレイ */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* メニューコンテンツ */
.header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100%;
    background-color: #0e7b78;
    z-index: 1000;
    transition: right 0.4s ease-in-out;
    padding: 60px 20px 40px;
    box-sizing: border-box;
    overflow-y: auto;
}

.header-nav.active {
    right: 0;
}

/* 閉じるボタン */
.close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.close-btn::before,
.close-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    transform-origin: center;
}

.close-btn::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-btn::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.close-btn:hover::before,
.close-btn:hover::after {
    opacity: 0.8;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: center;
}

.nav-menu li {
    width: 100%;
    text-align: center;
    margin: 10px 0;
}

.nav-link {
    color: #ffffff !important;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 10px 15px;
    display: block;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    text-align: left;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ===== メイン ===== */
main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== セクション見出し ===== */
.section-heading {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.section-heading h2 {
    font-size: 2rem;
    color: var(--text-heading);
    margin: 0 auto 1rem auto;
    padding-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-heading h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    max-width: 80vw;
    height: 3px;
    background-color: var(--text-accent);
}

/* ===== HPページの画像サイズ調整 ===== */
.hp-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 2rem auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===== HPページの2カラムレイアウト ===== */
.hp-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem auto;
    max-width: 1200px;
    padding: 0 2rem;
}

.hp-col {
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    line-height: 1.7;
}

.hp-col p {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
}

.hp-col strong {
    color: var(--text-accent);
    font-weight: 600;
}

.hp-col ul {
    margin: 1rem 0 1.5rem 1.5rem;
    padding: 0;
}

.hp-link {
    display: inline-block;
    background-color: var(--text-accent);
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    margin: 1rem 0;
    transition: background-color 0.3s ease;
    font-weight: 600;
}

.hp-link:hover {
    background-color: #0a5c5d;
}

/* ===== WordPress実績セクション ===== */
.wordpress-section {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.wordpress-section h3 {
    font-size: 1.5rem;
    color: var(--text-accent);
    text-align: center;
    margin-bottom: 2rem;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
    font-weight: 600;
}

.wordpress-content {
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    line-height: 1.7;
}

.wordpress-content p {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
}

.wordpress-content strong {
    color: var(--text-accent);
    font-weight: 600;
}

.wordpress-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    padding: 0;
}

.wordpress-note {
    background-color: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--text-accent);
}

.wordpress-note p {
    margin-bottom: 0.8rem;
    color: var(--text-accent);
    font-size: 0.95rem;
}

.wordpress-note p:last-child {
    margin-bottom: 0;
}

/* ===== 制作の流れセクション ===== */
.production-flow-section {
    background-color: var(--bg-secondary);
    padding: 3rem 0;
    margin: 2rem 0;
}

.production-flow-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.production-flow-title {
    font-size: 2rem;
    color: var(--text-accent);
    text-align: center;
    margin-bottom: 2.5rem;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
    font-weight: 600;
}

.production-flow-content {
    background-color: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.flow-subtitle {
    font-size: 1.3rem;
    color: var(--text-accent);
    text-align: center;
    margin-bottom: 2rem;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
    font-weight: 600;
}

.flow-list {
    counter-reset: flow-counter;
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.flow-list li {
    counter-increment: flow-counter;
    position: relative;
    padding: 1rem 0 1rem 3rem;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.7;
    color: var(--text-primary);
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
}

.flow-list li:last-child {
    border-bottom: none;
}

.flow-list li::before {
    content: counter(flow-counter);
    position: absolute;
    left: 0;
    top: 1rem;
    background-color: var(--text-accent);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.flow-notes {
    background-color: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--text-accent);
}

.flow-notes p {
    margin: 0;
    color: var(--text-accent);
    font-size: 0.95rem;
    line-height: 1.6;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
}

.production-philosophy {
    background-color: var(--bg-primary);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.philosophy-title {
    font-size: 1.5rem;
    color: var(--text-accent);
    text-align: center;
    margin-bottom: 2rem;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
    font-weight: 600;
}

.philosophy-content p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.8;
    text-align: center;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
    font-size: 1rem;
}

/* ===== カードコンテナ ===== */
.card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    margin: 0 auto;
    max-width: 1000px;
    padding: 0 1rem;
}

/* ===== カード ===== */
.card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.card-image-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-secondary);
}

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

.card:hover .card-image-container img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.card-content h3 {
    color: var(--text-accent);
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    font-weight: bold;
    word-break: break-word;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
}

.card-content p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: #666;
    flex-grow: 1;
    word-break: break-word;
    white-space: normal;
    text-align: left;
    max-width: 100%;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* ===== カードボタン ===== */
.card-button {
    display: inline-block;
    background-color: var(--text-accent);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: bold;
    margin: 0 auto;
    align-self: center;
}

.card-button:hover {
    background-color: #0a5c5d;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ===== プロフィールセクション ===== */
.profile-section {
    background: var(--bg-primary);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin: 3rem auto;
    max-width: 800px;
}

.profile-title-main {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-accent);
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--text-accent);
    display: inline-block;
    width: 100%;
    padding-bottom: 0.5rem;
}

.profile-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-block {
    margin-bottom: 1rem;
}

.profile-title {
    font-weight: bold;
    color: #2196F3;
    font-size: 1.1rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.profile-text p {
    margin: 0;
    line-height: 1.8;
    color: var(--text-primary);
}

.profile-text p:not(:first-child) {
    margin-top: 1.5rem;
}

.profile-list {
    margin: 0.5rem 0 0 1.5rem;
    padding: 0;
    list-style: disc;
}

.profile-list li {
    margin-bottom: 0.3rem;
    line-height: 1.6;
}

/* ===== 自己紹介補足セクション ===== */
.profile-supplement {
    background-color: var(--bg-secondary);
    padding: 4rem 1rem;
}

.profile-supplement-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 2rem;
    background-color: var(--bg-primary);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.supplement-text {
    flex: 1;
    line-height: 1.8;
    color: var(--text-primary);
}

.supplement-text p {
    margin-bottom: 1.2rem;
}

.supplement-image {
    flex: 0 0 40%;
    text-align: center;
    padding: 1rem;
}

.supplement-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ===== トーク画像 ===== */
.talk-image-container {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: hidden; /* はみ出し防止 */
}

.responsive-profile-image {
    width: 100%; /* 親要素に合わせて幅を調整 */
    max-width: 100%; /* 親要素を超えないように */
    height: auto; /* 縦横比を維持 */
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    object-fit: contain; /* 画像のアスペクト比を維持 */
}

/* タブレット用スタイル */
@media (max-width: 1024px) {
    .talk-image-container {
        max-width: 90%;
        margin: 20px auto;
    }
}

/* スマホ用スタイル */
@media (max-width: 768px) {
    .talk-image-container {
        max-width: 95%;
        padding: 0 15px;
    }
}

/* 小さなスマホ用スタイル */
@media (max-width: 480px) {
    .talk-image-container {
        margin: 10px auto 15px; /* 上下の余白を調整 */
        padding: 0 10px;
    }
    
    .responsive-profile-image {
        border-radius: 6px; /* 小さな画面で角丸を少し小さく */
    }
}

/* ===== レスポンシブ対応 ===== */
@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    main {
        padding: 1rem;
    }
    
    .section-heading h2 {
        font-size: 1.5rem;
    }
    
    .card-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .card-content {
        padding: 1.2rem;
    }
    
    .card-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .card-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }
    
    .card-button {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .hp-image {
        max-width: 90%;
        margin: 1.5rem auto;
    }
    
    .hp-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem auto;
        padding: 0 1rem;
    }
    
    .hp-col {
        padding: 1.5rem;
    }
    
    .hp-link {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .wordpress-section {
        margin: 2rem auto;
        padding: 0 1rem;
    }
    
    .wordpress-section h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .wordpress-content {
        padding: 1.5rem;
    }
    
    .wordpress-note {
        padding: 1rem;
        margin-top: 1.5rem;
    }
    
    .production-flow-section {
        padding: 2rem 0;
        margin: 1.5rem 0;
    }
    
    .production-flow-container {
        padding: 0 1rem;
    }
    
    .production-flow-title {
        font-size: 1.6rem;
        margin-bottom: 2rem;
    }
    
    .production-flow-content {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .flow-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .flow-list li {
        padding: 0.8rem 0 0.8rem 2.5rem;
        margin-bottom: 0.6rem;
        font-size: 0.9rem;
    }
    
    .flow-list li::before {
        width: 1.5rem;
        height: 1.5rem;
        top: 0.8rem;
        font-size: 0.8rem;
    }
    
    .flow-notes {
        padding: 1rem;
    }
    
    .flow-notes p {
        font-size: 0.85rem;
    }
    
    .production-philosophy {
        padding: 1.5rem;
    }
    
    .philosophy-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .philosophy-content p {
        font-size: 0.9rem;
        line-height: 1.7;
        text-align: left;
    }
    
    .profile-section {
        padding: 2rem 1rem;
        margin: 2rem auto;
    }
    
    .profile-title-main {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .top-bar {
        padding: 0.5rem;
    }
    
    h1 {
        font-size: 1.3rem;
    }
    
    .section-heading h2 {
        font-size: 1.3rem;
    }
    
    .card-content {
        padding: 1rem;
    }
    
    .profile-section {
        padding: 1.5rem 0.5rem;
    }
}

/* ===== Webデザイン実績ページ専用スタイル ===== */
.portfolio-section {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 4rem 2rem;
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: relative;
    z-index: 1;
}

.portfolio-section:first-of-type {
    margin-top: 3rem;
}

.portfolio-section:last-of-type {
    margin-bottom: 3rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-accent);
    margin-bottom: 4rem;
    margin-top: 0;
    font-weight: 600;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--text-accent);
    display: inline-block;
    width: 100%;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    justify-items: center;
    align-items: stretch;
    margin: 0 auto;
    max-width: 1100px;
}

.portfolio-card {
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 350px;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(76,175,80,0.15);
}

.portfolio-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    object-fit: cover;
}

.portfolio-desc {
    width: 100%;
    text-align: center;
}

.portfolio-desc h3 {
    font-size: 1.3rem;
    color: var(--text-accent);
    margin: 0 0 1rem 0;
    font-weight: bold;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
}

.portfolio-desc p {
    font-size: 1rem;
    color: #555;
    margin: 0;
    line-height: 1.7;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
}

/* ===== セクション区切り線 ===== */
.section-divider {
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--text-accent), transparent);
    margin: 6rem auto;
    border-radius: 1px;
    position: relative;
    z-index: 2;
}

/* ===== トップページに戻るボタンコンテナ ===== */
.back-button-container {
  text-align: center;
  margin: 4rem 0 6rem; /* 上下の余白を調整（上:4rem, 下:6rem） */
  padding: 0 1rem;
}

/* ===== レスポンシブ対応 - Webデザイン実績ページ ===== */
@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 95vw;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .portfolio-section {
        padding: 3rem 1rem;
        margin: 4rem auto;
    }
    
    .portfolio-section:first-of-type {
        margin-top: 2rem;
    }
    
    .section-divider {
        margin: 4rem auto;
    }
}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }
    
    .portfolio-section {
        padding: 2.5rem 1rem;
        margin: 3rem auto;
    }
    
    .portfolio-section:first-of-type {
        margin-top: 1.5rem;
    }
    
    .portfolio-section:last-of-type {
        margin-bottom: 2rem;
    }
    
    .section-divider {
        margin: 3rem auto;
        width: 90%;
    }
    
    .portfolio-card {
        padding: 1rem;
        max-width: 100%;
    }
}

/* ===== Kindle出版実績ポートフォリオセクション用のスタイル ===== */
.kindle-portfolio-section {
    margin: 4rem 0;
    padding: 2rem;
    background-color: var(--bg-secondary);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.kindle-portfolio-title {
    font-size: 2rem;
    color: var(--text-accent);
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, 'MS PGothic', sans-serif;
    font-weight: 600;
}

/* ===== 1段目：図解2点横並び ===== */
.kindle-infographic-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.kindle-infographic-item {
    text-align: center;
    flex: 1;
    max-width: 350px;
    min-width: 250px;
    padding: 1rem;
}

.kindle-infographic-img {
    width: 100%;
    max-width: 100%;
    max-height: 400px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 15px;
    background-color: var(--bg-secondary);
}

.kindle-infographic-img:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.kindle-infographic-caption {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #555;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, 'MS PGothic', sans-serif;
    line-height: 1.4;
    padding: 0 0.5rem;
}

/* ===== 2段目：アイキャッチ3点横並び ===== */
.kindle-eyecatch-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.kindle-eyecatch-item {
    text-align: center;
    flex: 1;
    max-width: 280px;
    min-width: 200px;
    padding: 1rem;
}

.kindle-eyecatch-img {
    width: 100%;
    max-width: 100%;
    max-height: 300px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 15px;
    background-color: var(--bg-secondary);
}

.kindle-eyecatch-img:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.kindle-eyecatch-caption {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #555;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, 'MS PGothic', sans-serif;
    line-height: 1.4;
    padding: 0 0.5rem;
}

/* ===== Kindleポートフォリオ用レスポンシブ対応 ===== */
@media (max-width: 900px) {
    .kindle-portfolio-section {
        padding: 1.5rem;
    }
    
    .kindle-portfolio-title {
        font-size: 1.8rem;
    }
    
    .kindle-infographic-row {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .kindle-eyecatch-row {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .kindle-infographic-item {
        max-width: 300px;
        min-width: 200px;
    }
    
    .kindle-eyecatch-item {
        max-width: 250px;
        min-width: 180px;
    }
    
    .kindle-infographic-img {
        max-height: 350px;
    }
    
    .kindle-eyecatch-img {
        max-height: 250px;
    }
}

@media (max-width: 600px) {
    .kindle-infographic-row {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0;
    }
    
    .kindle-eyecatch-row {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0;
    }
    
    .kindle-portfolio-section {
        padding: 1rem;
        margin: 2rem 0.5rem;
    }
    
    .kindle-portfolio-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .kindle-infographic-item,
    .kindle-eyecatch-item {
        max-width: 320px;
        min-width: auto;
        width: 100%;
        padding: 0.5rem;
    }
    
    .kindle-infographic-img {
        max-height: 300px;
    }
    
    .kindle-eyecatch-img {
        max-height: 250px;
    }
    
    .kindle-infographic-caption,
    .kindle-eyecatch-caption {
        font-size: 0.85rem;
        margin-top: 1rem;
        padding: 0;
    }
}

/* ===== Kindleページ内の動画セクション用スタイル ===== */
.movie-section {
    margin: 4rem 0;
    padding: 2rem;
    background-color: var(--bg-primary);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.movie-section h3 {
    font-size: 1.8rem;
    color: var(--text-accent);
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, 'MS PGothic', sans-serif;
    font-weight: 600;
}

.movie-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 0 1rem;
}

.movie-frame {
    text-align: center;
    flex: 1;
    max-width: 350px;
    min-width: 250px;
    padding: 1rem;
}

.movie-frame video {
    width: 100%;
    max-width: 100%;
    max-height: 400px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 15px;
    background-color: var(--bg-secondary);
}

.movie-frame video:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.movie-frame::after {
    content: '動画紹介';
    display: block;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #555;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, 'MS PGothic', sans-serif;
    line-height: 1.4;
    padding: 0 0.5rem;
}

/* ===== 動画セクション用レスポンシブ対応 ===== */
@media (max-width: 900px) {
    .movie-section {
        padding: 1.5rem;
    }
    
    .movie-section h3 {
        font-size: 1.6rem;
    }
    
    .movie-grid {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .movie-frame {
        max-width: 300px;
        min-width: 200px;
    }
    
    .movie-frame video {
        max-height: 350px;
    }
}

@media (max-width: 600px) {
    .movie-grid {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0;
    }
    
    .movie-section {
        padding: 1rem;
        margin: 2rem 0.5rem;
    }
    
    .movie-section h3 {
        font-size: 1.4rem;
        margin-bottom: 2rem;
    }
    
    .movie-frame {
        max-width: 320px;
        min-width: auto;
        width: 100%;
        padding: 0.5rem;
    }
    
    .movie-frame video {
        max-height: 300px;
    }
    
    .movie-frame::after {
        font-size: 0.85rem;
        margin-top: 1rem;
        padding: 0;
    }
}

/* ===== 実績ハイライトセクション用のスタイル ===== */
.achievements-section {
    margin: 4rem 0;
    padding: 2rem;
    background-color: var(--bg-primary);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.achievements-title {
    font-size: 2rem;
    color: var(--text-accent);
    text-align: center;
    margin-bottom: 3rem;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
    font-weight: 600;
}

.achievements-table-container {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    padding: 0 1rem;
}

.achievements-table {
    width: 100%;
    max-width: 800px;
    background-color: var(--bg-primary);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-collapse: collapse;
    overflow: hidden;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
}

.achievements-table thead {
    background-color: var(--bg-secondary);
}

.achievements-table th {
    padding: 1.5rem 2rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-accent);
    font-size: 1.1rem;
    border-bottom: 2px solid var(--border-color);
}

.achievements-table td {
    padding: 1.5rem 2rem;
    color: var(--text-primary);
    line-height: 1.6;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.achievements-table tbody tr:last-child td {
    border-bottom: none;
}

.achievements-table tbody tr:hover {
    background-color: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.achievements-table th:first-child,
.achievements-table td:first-child {
    font-weight: 600;
    color: var(--text-accent);
    min-width: 120px;
}

/* ===== 実績ハイライト用レスポンシブ対応 ===== */
@media (max-width: 900px) {
    .achievements-section {
        padding: 1.5rem;
    }
    
    .achievements-title {
        font-size: 1.8rem;
    }
    
    .achievements-table th,
    .achievements-table td {
        padding: 1.2rem 1.5rem;
    }
    
    .achievements-table th {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .achievements-section {
        padding: 1rem;
        margin: 2rem 0.5rem;
    }
    
    .achievements-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .achievements-table-container {
        padding: 0;
    }
    
    .achievements-table {
        font-size: 0.9rem;
    }
    
    .achievements-table th,
    .achievements-table td {
        padding: 1rem;
    }
    
    .achievements-table th:first-child,
    .achievements-table td:first-child {
        min-width: 80px;
    }
}

/* ===== 極小画面での横スクロール対応 ===== */
@media (max-width: 480px) {
    .achievements-table-container {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
    }
    
    .achievements-table {
        min-width: 500px;
    }
}

/* ===== トップページに戻るボタン用スタイル ===== */
.return-button {
    display: block;
    margin: 60px auto;
    padding: 20px 40px;
    background-color: var(--text-accent);
    color: white;
    font-weight: bold;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.3s ease;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
    font-size: 1rem;
    width: fit-content;
}

.return-button:hover {
    background-color: #0a5c5d;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ===== HP/LPページ用トップページに戻るボタン ===== */
.return-button-hp {
    display: block;
    margin: 40px auto;
    padding: 12px 24px;
    background-color: var(--text-accent);
    color: white;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.3s ease;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
    width: fit-content;
}

.return-button-hp:hover {
    background-color: #0a5c5d;
}

/* ===== お問い合わせページ用スタイル ===== */
.contact-section {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 2rem;
    background-color: var(--bg-primary);
}

.contact-section h2 {
    font-size: 2rem;
    color: var(--text-accent);
    text-align: center;
    margin-bottom: 3rem;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
    font-weight: 600;
}

.contact-form-container {
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    min-height: 60px;
}

.form-label {
    flex: 0 0 200px;
    background-color: var(--bg-secondary);
    padding: 15px;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100%;
}

.form-label label {
    font-weight: 600;
    color: var(--text-primary);
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.required {
    background-color: #ff6b35;
    color: white;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 2px;
    display: inline-block;
    margin-top: 3px;
}

.form-input {
    flex: 1;
    padding: 15px;
    background-color: var(--bg-primary);
}

.form-input input,
.form-input textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    box-sizing: border-box;
}

.form-input input:focus,
.form-input textarea:focus {
    outline: none;
    border-color: var(--text-accent);
    background-color: var(--bg-primary);
}

.form-input textarea {
    resize: vertical;
    min-height: 80px;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.submit-button {
    background-color: var(--text-accent);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
}

.submit-button:hover {
    background-color: #0a5c5d;
    transform: translateY(-1px);
}

/* ===== お問い合わせフォームボタン ===== */
.form-button-container {
    text-align: center;
    margin: 2rem 0;
}

.form-button {
    display: inline-block;
    background-color: #f28c28;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-button:hover {
    background-color: #e07c1f;
}

/* ===== お問い合わせフォーム用レスポンシブ対応 ===== */
@media (max-width: 768px) {
    .contact-section {
        padding: 1rem;
        margin: 2rem 0.5rem;
    }
    
    .contact-form-container {
        padding: 1rem;
    }
    
    .form-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-label {
        flex: none;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 10px 15px;
    }
    
    .form-input {
        padding: 15px;
    }
    
    .submit-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* ===== 送信完了ページ用スタイル ===== */
.thanks-section {
    max-width: 800px;
    margin: 4rem auto;
    padding: 3rem 2rem;
    background-color: var(--bg-primary);
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.thanks-section h2 {
    font-size: 2.2rem;
    color: var(--text-accent);
    margin-bottom: 2rem;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
    font-weight: 600;
}

.thanks-message {
    margin-bottom: 3rem;
}

.thanks-message p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
}

@media (max-width: 768px) {
    .thanks-section {
        margin: 2rem 1rem;
        padding: 2rem 1rem;
    }
    
    .thanks-section h2 {
        font-size: 1.8rem;
    }
    
    .thanks-message p {
        font-size: 1rem;
    }
}

/* ===== アイキャッチ実績セクション用のスタイル ===== */
.eyecatch-portfolio-section {
    margin: 4rem 0;
    padding: 0 2rem;
    background-color: var(--bg-secondary);
}

.eyecatch-section-title {
    font-size: 2rem;
    color: var(--text-accent);
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, 'MS PGothic', sans-serif;
    font-weight: 600;
    position: relative;
    padding-bottom: 1rem;
}

.eyecatch-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--text-accent);
}

.eyecatch-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.eyecatch-card {
    background-color: var(--bg-primary);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.eyecatch-img-container {
    width: 100%;
    overflow: hidden;
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.eyecatch-card-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.eyecatch-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.eyecatch-card-content h3 {
    color: var(--text-accent);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, 'MS PGothic', sans-serif;
}

.eyecatch-card-content p {
    color: #555;
    line-height: 1.7;
    margin: 0;
    flex-grow: 1;
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, 'MS PGothic', sans-serif;
    font-size: 0.95rem;
}

/* ===== アイキャッチセクション用レスポンシブ対応 ===== */
@media (max-width: 900px) {
    .eyecatch-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .eyecatch-portfolio-section {
        padding: 0 1rem;
    }
    
    .eyecatch-section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 600px) {
    .eyecatch-card-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .eyecatch-section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .eyecatch-card-content {
        padding: 1rem;
    }
    
    .eyecatch-img-container {
        min-height: 150px;
    }
}

/* ===== 制作料金セクション ===== */
.pricing-section {
    padding: 4rem 1rem;
    background-color: var(--bg-primary);
}

.pricing-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
}

.pricing-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tr:not(.highlight) {
    background-color: var(--bg-secondary);
}

.pricing-table tr.highlight {
    background-color: #f0f7ff;
    font-weight: bold;
}

.pricing-table td:first-child {
    color: var(--text-primary);
    width: 70%;
}

.pricing-table td:last-child {
    color: var(--text-accent);
    font-weight: bold;
    text-align: right;
    white-space: nowrap;
    width: 30%;
}

.pricing-note {
    font-size: 0.8em;
    color: #666;
    font-weight: normal;
    display: block;
    margin-top: 0.3rem;
    white-space: normal;
}

.pricing-notes {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    line-height: 1.6;
}

.pricing-notes p {
    margin: 0.5rem 0;
}

/* ===== レスポンシブ対応 ===== */
@media (max-width: 768px) {
    .pricing-table {
        font-size: 0.9rem;
    }
    
    .pricing-table td {
        padding: 1rem;
        display: block;
        width: 100% !important;
        text-align: left !important;
    }
    
    .pricing-table tr {
        margin-bottom: 1rem;
        display: block;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .pricing-table tr:last-child {
        margin-bottom: 0;
    }
}

/* ===== フッター ===== */
footer {
    background-color: #0e7b78;
    color: #ffffff;
    padding: 2rem 0;
    text-align: center;
    border-radius: 0 0 10px 10px;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
    line-height: 1.6;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-size: 0.9rem;
}

.footer-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0.5rem;
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    footer {
        padding: 1.5rem 0;
        border-radius: 0;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .footer-link {
        display: block;
        padding: 0.3rem 0;
    }
    
    .footer-separator {
        display: none;
    }
}

/* Skill Button Styles */
.skill-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0c7b77;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-top: 15px;
    text-align: center;
}

.skill-button:hover {
    background-color: #0a5f5c;
}

/* Detail Button Styles */
.detail-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0c7b77;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    text-align: center;
    margin: 10px 0 12px 0;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.detail-button:hover {
    background-color: #256728;
    text-decoration: none;
}

/* Responsive styles for buttons */
@media (max-width: 768px) {
    .skill-button, .detail-button {
        padding: 12px 20px;
        font-size: 0.95rem;
        width: 100%;
        margin: 10px 0;
        box-sizing: border-box;
        text-align: center;
    }
    
    .hp-col .detail-button {
        margin: 15px 0;
    }
}

/* Smaller mobile devices */
@media (max-width: 480px) {
    .skill-button, .detail-button {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .hp-col .detail-button {
        margin: 12px 0;
    }
}

/* Contact Description */
.contact-description {
    text-align: center;
    margin: 1.5rem 0;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
}

/* Adjust existing contact message styles if needed */
.contact-message {
    margin: 1.5rem 0;
}

/* Back to Top Button */
.back-home {
    text-align: center;
    margin: 3rem 0;
    padding: 0 1rem;
}

.btn-home {
    display: inline-block;
    background-color: #0c7b77;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: 500;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-home:hover {
    background-color: #095f5c;
    color: #fff;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .back-home {
        margin: 2.5rem 0;
    }
    
    .btn-home {
        padding: 0.7rem 1.4rem;
        font-size: 0.95rem;
    }
}

/* Remove duplicate return button styles */
.return-button,
.return-button-hp {
    display: none;
}

/* ===== トップページに戻るボタン ===== */
.return-button-wrapper {
  text-align: center;
  margin: 4rem 0 6rem; /* 上下の余白を調整 */
  padding: 0 1rem;
}

.return-button {
  display: inline-block;
  background-color: #007872; /* フッターと同じ色 */
  color: #fff;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.return-button:hover {
  background-color: #005f5a; /* ホバー時の色 */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .return-button-wrapper {
    margin: 3rem 0 5rem;
  }
  
  .return-button {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .return-button-wrapper {
    margin: 2.5rem 0 4rem;
  }
  
  .return-button {
    width: 90%;
    max-width: 280px;
    padding: 0.8rem;
  }
}

/* ===== フッター ===== */
.footer {
  background-color: #007872;
  padding: 2rem 1rem;
  text-align: center;
  color: #fff;
  border-radius: 0 0 10px 10px;
  margin-top: 3rem;
}

.footer a {
  color: #fff;
  text-decoration: underline;
  font-size: 0.9rem;
  transition: opacity 0.2s ease;
}

.footer a:hover {
  opacity: 0.8;
}

.footer p {
  margin: 0.2rem 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Back to Top Button Styles */
.back-to-top {
  text-align: center;
  margin: 2rem 0;
}

.btn-return {
  background-color: #007872; /* フッターと同じ色 */
  color: #fff;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Hiragino Sans", Meiryo, "MS PGothic", sans-serif;
  cursor: pointer;
}

.btn-return:hover {
  background-color: #005f5f; /* ホバー時の濃い色 */
  text-decoration: none;
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .back-to-top {
    margin: 1.5rem 0;
  }
  
  .btn-return {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
}