@charset "UTF-8";

/* ==========================================================================
   ルート設定とリセット
   ========================================================================== */
:root {
    --main-color: #33BFD2;
    --accent-color: #01838A;
    --text-color: #2b3638;
    --bg-light: #f4f9fa;
    --site-width: 1000px;
    
    --radius-base: 4px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: #ffffff;
    -webkit-text-size-adjust: 100%;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

ul, ol {
    list-style: none;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}
a:hover {
    color: var(--main-color);
}

/* ==========================================================================
   共通パーツ
   ========================================================================== */
/* 四角ポチリスト */
.list-square li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 6px;
}

.list-square li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background-color: var(--main-color);
    border-radius: 2px;
}

/* 表形式の定義リストテーブル */
.list-table {
    background-color: #ffffff;
    border-top: 1px solid #dee9eb;
    margin-top: 20px;
}

.list-table dt,
.list-table dd {
    padding: 15px;
    border-bottom: 1px solid #dee9eb;
    font-size: 0.95rem;
}

.list-table dt {
    font-weight: bold;
    color: var(--accent-color);
    background-color: var(--bg-light);
}

.list-table dd {
    color: var(--text-color);
}

@media (min-width: 768px) {
    .list-table {
        display: grid;
        grid-template-columns: 180px 1fr;
    }
    .list-table dt,
    .list-table dd {
        margin: 0;
    }
}

/* フラットボタン */
.btn-flat {
    display: block;
    background-color: var(--bg-light);
    color: var(--text-color);
    border: 1px solid #dee9eb;
    padding: 12px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: var(--radius-base);
    transition: none;
}

.btn-flat:hover {
    background-color: var(--main-color);
    color: #ffffff;
    border-color: var(--main-color);
    opacity: 1;
}

/* 長文解説テキスト */
.comic-flow-section p,
.comic-price-section p,
.comic-contact-section p,
.policy-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #4a5568;
}

/* ==========================================================================
   レイアウト（ヘッダー・ナビゲーション）
   ========================================================================== */
.site-header {
    background-color: #ffffff;
    border-bottom: 2px solid var(--bg-light);
    padding: 15px 0;
}

.header-inner {
    max-width: var(--site-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (min-width: 768px) {
    .header-inner {
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
    }
}

.site-description {
    font-size: 0.75rem;
    color: #718096;
}

.logo-area img {
    max-height: 50px;
    width: auto;
}

.main-navigation {
    background-color: var(--main-color);
}

.nav-inner ul {
    max-width: var(--site-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.nav-inner li {
    flex: 1;
    min-width: 120px;
}

.nav-inner a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    color: #ffffff;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-inner li:first-child a {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-inner a .ja {
    font-size: 0.95rem;
    font-weight: 700;
}

.nav-inner a .en {
    font-size: 0.65rem;
    font-weight: 600;
    opacity: 0.9;
    margin-top: 2px;
}

.nav-inner a:hover {
    background-color: var(--accent-color);
    opacity: 1;
}

/* ==========================================================================
   メインビジュアル
   ========================================================================== */
.main-visual {
    background-color: var(--main-color);
    background-image: url('image/rogosironuki.png'); 
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    height: 235px;
    width: 100%;
}

/* ==========================================================================
   コンテンツエリア
   ========================================================================== */
.container {
    max-width: var(--site-width);
    margin: 0 auto;
    padding: 40px 20px;
}

@media (min-width: 768px) {
    .page-layout-2col {
        display: grid;
        grid-template-columns: 1fr 260px;
        gap: 40px;
    }
}

.main-content section {
    margin-bottom: 40px;
}

.main-content h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    padding-left: 12px;
    border-left: 4px solid var(--accent-color);
    margin-bottom: 20px;
    padding-top: 2px;
    padding-bottom: 2px;
}

/* ==========================================================================
   サイドバーとバナー
   ========================================================================== */
.sidebar h3 {
    font-size: 1rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--accent-color);
}

.banner-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ==========================================================================
   フッター
   ========================================================================= */
.site-footer {
    background-color: #2b3638;
    color: #ffffff;
    padding: 30px 20px;
    text-align: center;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* ==========================================================================
   各ページ固有の追加・差分レイアウト
   ========================================================================== */
/* --- サービス一覧 --- */
.service-item {
    margin-bottom: 50px;
}
.service-item-img img {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 0 auto 15px auto;
    border-radius: 8px;
}
.service-item-body h4 {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}
.service-item-body p {
    font-size: 0.95rem;
    margin-bottom: 15px;
}
@media (min-width: 768px) {
    .service-item {
        display: flex;
        gap: 30px;
        align-items: flex-start;
    }
    .service-item-img {
        flex-shrink: 0;
    }
    .service-item-img img {
        margin: 0;
    }
}

/* --- 漫画詳細 --- */
.comic-viewer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
}
.comic-viewer img {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-base);
}
.comic-actions {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #dee9eb;
}

.comic-actions a {
    display: inline-block;
    padding: 12px 30px;
    min-width: 200px;
}

/* --- 製作アプリ一覧 --- */
.app-category h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 700;
}
.app-link {
    font-weight: bold;
    font-size: 1.05rem;
}
.app-desc {
    font-size: 0.9rem;
    color: #555555;
    margin-top: 2px;
    margin-bottom: 15px;
}

/* --- サンプル漫画一覧 --- */
.comic-lead {
    font-size: 0.95rem;
    color: #555555;
    margin-bottom: 25px;
}
.comic-gallery {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-bottom: 50px;
}
.comic-card h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 10px;
    font-weight: 700;
}
.comic-card img {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    border: 1px solid #dee9eb;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.comic-note {
    font-size: 0.85rem;
    color: #718096;
    margin-top: 8px;
}
.price-note,
.template-lead,
.contact-action-text {
    font-weight: bold;
    margin-top: 15px;
}
.contact-email {
    margin-top: 20px;
    padding: 15px;
    background-color: var(--bg-light);
    border-left: 4px solid var(--main-color);
    font-weight: bold;
    font-size: 1.05rem;
    display: inline-block;
}

/* --- アプリ詳細 --- */
.app-detail-body h4 {
    font-size: 1.15rem;
    color: var(--accent-color);
    margin-bottom: 5px;
    font-weight: 700;
}
.app-feature {
    font-size: 0.95rem;
    margin-bottom: 25px;
}
.app-screenshot {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}
.app-screenshot img {
    display: block;
    width: 100%;
    max-width: 360px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid #dee9eb;
}
.app-notice {
    font-size: 0.9rem;
    color: #555555;
    text-align: center;
    margin-top: 20px;
    padding: 12px;
    background-color: var(--bg-light);
    border-radius: 6px;
    display: inline-block;
    width: 100%;
}

/* --- 規約・ポリシー共通 --- */
.policy-section h5 {
    font-size: 1.05rem;
    color: var(--text-color);
    margin-top: 30px;
    margin-bottom: 10px;
    font-weight: 700;
}
.policy-heading-main {
    font-size: 1.4rem;
    color: var(--accent-color);
    border-bottom: 2px solid var(--main-color);
    padding-bottom: 8px;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}
.policy-date {
    text-align: right;
    font-size: 0.85rem;
    color: #718096;
    margin-top: 40px !important;
}
.policy-actions {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #dee9eb;
}
.policy-actions a {
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--accent-color);
}
.policy-actions a:hover {
    color: var(--main-color);
}