/* ねこのてスタジオ ワイヤフレーム用CSS */

/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本設定 */
body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    padding-top: 80px; /* ヘッダーの高さ分の余白を追加 */
}

/* レイアウト */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* フォーカス表示の最適化 */
/* マウスクリック時のフォーカス表示を抑制し、キーボード操作時のみ表示 */
*:focus:not(:focus-visible) {
    outline: none;
}

/* ヘッダー */
header {
    background-color: #F18C3C;
    border-bottom: 1px solid #e55a00;
    padding: 20px 0;
    margin-bottom: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #f0f0f0;
}

.logo:focus {
    outline: none;
}

.logo:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
    color: #f0f0f0;
}

.logo-image {
    width: 200px;
    height: auto;
    object-fit: contain;
}

/* 社名テキストを非表示（ロゴに含まれる場合） */
.logo span {
    display: none;
}

/* ハンバーガーメニューボタン（デフォルトは非表示） */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.3s ease;
}

.hamburger-menu:hover {
    transform: scale(1.1);
}

.hamburger-icon {
    width: 32px;
    height: 32px;
}

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

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* モバイルメニュー */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: #F18C3C;
    z-index: 2000;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(-300px);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.mobile-menu-logo {
    font-size: 20px;
    font-weight: bold;
    color: white;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    transition: color 0.3s ease;
}

.mobile-menu-close:hover {
    color: #f0f0f0;
}

.mobile-menu nav {
    display: block;
}

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

.mobile-menu nav ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu nav ul li:last-child {
    border-bottom: none;
}

.mobile-menu nav ul li a {
    display: block;
    padding: 15px 0;
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-menu nav ul li a:hover {
    color: #f0f0f0;
    padding-left: 10px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: white;
    font-weight: 500;
}

.nav a:hover {
    color: #f0f0f0;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.nav a:focus {
    outline: none;
}

.nav a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
    color: #f0f0f0;
}

/* メインコンテンツ */
main {
    min-height: 30vh;
    position: relative;
    top:-2px; /* comment<なぜかheaderとmainの間に2pxの隙間が空く> */
}


.page-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin: 40px auto 60px;
    position: relative;
    color: #F18C3C;
}

.page-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #F18C3C, #ff8c00);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-subtitle {
    display: block;
    font-size: 14px;
    font-weight: normal;
    color: #666;
    margin-top: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* h2の汎用スタイル */
h2 {
    position: relative;
    padding-left: 20px;
}

h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
}

.section {
    padding: 30px 0;
}

.section-title {
	font-size: 28px;
    font-weight: 600;
	text-align: center;
    margin: 0 auto;
    padding: 15px 0 30px 0;
}

.subsection-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 40px 0 30px 0;
    text-align: center;
    position: relative;
}

.subsection-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #F18C3C, #ff8c00);
    border-radius: 2px;
}

.content-block {
    margin-bottom: 30px;
}

.content-block h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.content-block h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.content-block p {
    margin-bottom: 15px;
}

.content-block ul {
    margin-left: 20px;
    margin-bottom: 15px;
}







/* フォーム */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.btn {
    display: inline-block;
    text-decoration: none;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #F18C3C;
    color: white;
}

.btn-primary:hover {
    background-color: #e55500;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: #F18C3C;
    border: 2px solid #F18C3C;
}

.btn-outline:hover {
    background-color: #F18C3C;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

/* ボタンフォーカス状態 */
.btn:focus {
    outline: none;
}

.btn:focus-visible {
    outline: 2px solid #F18C3C;
    outline-offset: 2px;
}

.btn-primary:focus {
    outline: none;
}

.btn-primary:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.btn-secondary:focus {
    outline: none;
}

.btn-secondary:focus-visible {
    outline: 2px solid #F18C3C;
    outline-offset: 2px;
}

.btn-outline:focus {
    outline: none;
}

.btn-outline:focus-visible {
    outline: 2px solid #F18C3C;
    outline-offset: 2px;
}

/* フッター */
footer {
    background-color: #333;
    color: white;
    padding: 50px 0 30px;
    margin-top:60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

/* 左カラム：ロゴマーク、会社名、ヒーローセクションの文章 */
.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #F18C3C;
    margin-bottom: 10px;
}

.footer-company-name {
    font-size: 16px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-catchphrase {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
}

/* 中央カラム：会社所在、連絡先、各SNSへのリンク */
.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-contact h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #F18C3C;
    font-weight: 600;
}

.footer-contact-info {
    margin-bottom: 20px;
}

.footer-contact-info p {
    margin-bottom: 8px;
    color: #ccc;
    font-size: 14px;
    line-height: 1.5;
}

.footer-contact-info a {
    color: #fff;
    text-decoration: none;
}

.footer-contact-info a:hover {
    color: #F18C3C;
}

.footer-sns {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-sns-title {
    font-size: 14px;
    color: #ccc;
    margin-right: 10px;
}

.footer-sns a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-sns a:hover {
    color: #F18C3C;
}

/* 右カラム：サイトマップ */
.footer-sitemap {
    display: flex;
    flex-direction: column;
}

.footer-sitemap h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #F18C3C;
    font-weight: 600;
}

.footer-sitemap ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-sitemap ul li {
    margin-bottom: 8px;
}

.footer-sitemap ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-sitemap ul li a:hover {
    color: #F18C3C;
}


/* フッターリンクフォーカス状態 */
.footer-sitemap ul li a:focus {
    outline: none;
}

.footer-sitemap ul li a:focus-visible {
    outline: 2px solid #F18C3C;
    outline-offset: 2px;
    color: #F18C3C;
}

.footer-sitemap ul li ul li a:focus {
    outline: none;
}

.footer-sitemap ul li ul li a:focus-visible {
    outline: 2px solid #F18C3C;
    outline-offset: 2px;
    color: #F18C3C;
}

/* 下カラム：著作権表示とリンク */
.footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #555;
}

.footer-copyright {
    text-align: left;
    color: #ccc;
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #F18C3C;
}

/* ボディのマージン調整（固定ヘッダー用） - 重複削除 */

/* タブレット表示対応 */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        padding: 0 20px;
    }
    
    .footer-content {
        gap: 30px;
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .header-content {
        flex-direction: row;
        gap: 0;
    }
    
    /* モバイルでは通常のナビを非表示 */
    .nav {
        display: none;
    }
    
    /* ハンバーガーメニューボタンを表示 */
    .hamburger-menu {
        display: block;
    }
    
    
    .page-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    
    
    
    
    
    
    /* フッターのレスポンシブ */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-brand,
    .footer-contact,
    .footer-sitemap {
        text-align: center;
    }
    
    .footer-sns {
        justify-content: center;
    }
    
    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .footer-copyright {
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    
    .page-title {
        font-size: 20px;
    }
    
    
    
    
    
}

