/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* ヘッダー */
header {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
}

.site-title {
    font-size: 2rem;
    margin: 0;
}

/* メインコンテナ */
.container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
}

/* サイドバー */
.sidebar {
    flex: 0 0 250px;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-menu {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 10px;
}

.nav-menu a {
    display: block;
    padding: 10px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    background-color: #333;
    color: #fff;
}

/* メインコンテンツ */
.main-content {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.section:target {
    display: block;
}

/* アニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* セクションスタイル */
.section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #333;
}

.profile-container {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-image {
    flex: 0 0 300px;
}

.profile-image img {
    width: 100%;
    border-radius: 8px;
}

.profile-info {
    flex: 1;
}

/* SNSリンク */
.sns-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.sns-link {
    background: #f8f8f8;
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.sns-link:hover {
    background: #333;
    color: #fff;
}

/* マイクラ配布セクション */
.minecraft-downloads {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.minecraft-item {
    background: #f8f8f8;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.minecraft-item img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 10px;
}

/* 作品ギャラリー */
.works-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.work-item {
    background: #f8f8f8;
    padding: 15px;
    border-radius: 8px;
}

.work-item iframe {
    width: 100%;
    border-radius: 4px;
}

/* ゲーム詳細ページ用スタイル */
.game-info {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.game-info ul {
    list-style: none;
    padding: 0;
}

.game-info li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.game-info li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #333;
}

.roles-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.role-group {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
}

.role-group h3 {
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #333;
}

.role-group ul {
    list-style: none;
    padding: 0;
}

.role-group li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.role-group li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #333;
}

.settings-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.setting-item {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
}

.setting-item h3 {
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #333;
}

.setting-item p {
    margin: 0;
    line-height: 1.6;
}

/* 依頼セクション用スタイル */
.request-content {
    max-width: 800px;
    margin: 0 auto;
}

.info-table, .price-table {
    margin: 20px 0;
    width: 100%;
}

.info-row, .price-row {
    display: grid;
    grid-template-columns: 200px auto 1fr;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px;
    background: #f8f8f8;
    border-radius: 4px;
}

.label, .service {
    font-weight: bold;
}

.separator {
    text-align: center;
}

.payment-methods {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.payment-methods li {
    margin-bottom: 10px;
    padding: 10px;
    background: #f8f8f8;
    border-radius: 4px;
}

.contact-links {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.contact-links a {
    padding: 10px 20px;
    background: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.contact-links a:hover {
    background: #555;
}

/* 依頼フォームのスタイル */
.request-button {
    display: inline-block;
    min-width: 200px;
    margin: 30px auto;
    padding: 15px 30px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.request-button:hover {
    background-color: #555;
}

.request-form {
    max-width: 800px;
    margin: 30px auto;
    padding: 30px;
    background: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.radio-group input[type="radio"] {
    margin-right: 5px;
}

.required {
    color: #ff4444;
    margin-left: 5px;
}

.submit-button {
    background-color: #333;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #555;
}

/* アニメーション */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.request-form.show {
    display: block !important;
    animation: slideDown 0.3s ease;
}

/* 作品ギャラリーのスタイルは既存のものを使用 */