/* 下層ページ・ブログ共通（privacy.php のデザイン）
   ※フロントページ（LP）は lp.css を読み込みます */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", Georgia, serif;
    background: linear-gradient(135deg, #fff9fb 0%, #fff1f5 100%);
    color: #3d2a2e;
    min-height: 100vh;
    padding: 40px 20px 80px;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 48px 48px;
    box-shadow: 0 8px 40px rgba(220, 92, 128, 0.1);
}

.logo-area {
    text-align: center;
    margin-bottom: 40px;
}

.logo-area img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.container h1 {
    font-size: 24px;
    color: #fff;
    text-align: left;
    margin-bottom: 32px;
    padding: 16px;
    background: #e8457b;
    border-radius: 8px;
}

.intro {
    margin-bottom: 32px;
    line-height: 1.9;
    font-size: 14px;
}

.container h2 {
    font-size: 16px;
    color: #c4607a;
    margin: 32px 0 12px;
    padding: 8px 14px;
    background: #fff5f8;
    border-left: 4px solid #e8457b;
    border-radius: 0 6px 6px 0;
}

.container p,
.container li {
    font-size: 14px;
    line-height: 1.9;
    color: #4a3236;
}

.container ol,
.container ul {
    padding-left: 24px;
    margin: 8px 0;
}

.container ol ol,
.container ul ul {
    margin: 4px 0;
}

.container li {
    margin-bottom: 4px;
}

.container a {
    color: #c4607a;
    text-decoration: underline;
}

.container a:hover {
    opacity: 0.8;
}

.contact {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.9;
}

.container .back-btn {
    display: block;
    width: fit-content;
    margin: 48px auto 0;
    padding: 14px 40px;
    background: linear-gradient(135deg, #e8457b, #c4607a);
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}


/* ===== ブログ一覧 ===== */
.container .post-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container .post-item {
    margin: 0;
    border-bottom: 1px dashed #f3c6d3;
}

.container .post-item:first-child {
    border-top: 1px dashed #f3c6d3;
}

.container .post-item a {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px 4px;
    color: inherit;
    text-decoration: none;
}

.post-item-thumb {
    flex: 0 0 180px;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 8px;
    background: #fff5f8;
}

.post-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-item-body {
    flex: 1;
    min-width: 0;
}

.post-item-body time {
    font-size: 12px;
    color: #c4607a;
    letter-spacing: 0.05em;
}

.container .post-item-title {
    margin: 4px 0 6px;
    padding: 0;
    background: none;
    border: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #3d2a2e;
}

.container .post-item a:hover .post-item-title {
    color: #e8457b;
}

.container .post-item-excerpt {
    font-size: 13px;
    line-height: 1.8;
}

/* ページ送り */
.pagination {
    margin-top: 32px;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.container .pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #f3c6d3;
    border-radius: 999px;
    color: #c4607a;
    font-size: 14px;
    text-decoration: none;
}

.container .pagination .page-numbers.current {
    background: #e8457b;
    border-color: #e8457b;
    color: #fff;
}

.pagination .screen-reader-text {
    display: none;
}

/* ===== 投稿ページ ===== */
.container .entry h1 {
    margin-bottom: 12px;
    line-height: 1.5;
}

.entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 32px;
    font-size: 13px;
    color: #c4607a;
}

.container .entry-cats a {
    display: inline-block;
    padding: 2px 12px;
    margin-right: 4px;
    background: #fff5f8;
    border: 1px solid #f3c6d3;
    border-radius: 999px;
    font-size: 12px;
    text-decoration: none;
}

.entry-thumb {
    margin-bottom: 32px;
}

.entry-thumb img {
    display: block;
    width: 100%;
    border-radius: 12px;
}

.entry-content > * + * {
    margin-top: 16px;
}

.container .entry-content h2 {
    margin-top: 40px;
}

.container .entry-content h3 {
    font-size: 15px;
    color: #c4607a;
    margin: 28px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px dashed #e8457b;
}

.container .entry-content h4 {
    font-size: 14px;
    color: #3d2a2e;
    margin: 24px 0 8px;
}

.entry-content img {
    border-radius: 8px;
}

.entry-content figure {
    margin-left: 0;
    margin-right: 0;
}

.entry-content figcaption {
    font-size: 12px;
    color: #8a6c73;
    text-align: center;
    margin-top: 6px;
}

.entry-content blockquote {
    padding: 16px 20px;
    background: #fff5f8;
    border-left: 4px solid #f3c6d3;
    border-radius: 0 6px 6px 0;
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.entry-content th,
.entry-content td {
    padding: 10px 12px;
    border: 1px solid #f3c6d3;
    text-align: left;
    line-height: 1.7;
}

.entry-content th {
    background: #fff5f8;
    color: #c4607a;
}

.entry-content .alignleft {
    float: left;
    margin: 0 20px 12px 0;
}

.entry-content .alignright {
    float: right;
    margin: 0 0 12px 20px;
}

.entry-content .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.entry-content::after {
    content: "";
    display: block;
    clear: both;
}

.container .entry-tags {
    margin-top: 32px;
    font-size: 12px;
}

.container .entry-tags a {
    margin-right: 8px;
}

.post-nav {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px dashed #f3c6d3;
    font-size: 13px;
    line-height: 1.7;
}

.post-nav-next {
    text-align: right;
    margin-left: auto;
}

.container .to-blog {
    margin-top: 24px;
    text-align: center;
}

@media (max-width: 600px) {
    .container {
        padding: 32px 20px;
    }

    .container h1 {
        font-size: 20px;
    }

    .container .post-item a {
        gap: 12px;
    }

    .post-item-thumb {
        flex-basis: 110px;
    }

    .container .post-item-title {
        font-size: 14px;
    }

    .container .post-item-excerpt {
        display: none;
    }

    .post-nav {
        flex-direction: column;
    }
}

/* ===== 会社概要 ===== */
.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table tr {
    border-bottom: solid 2px white;
}

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

.company-table th {
    position: relative;
    width: 30%;
    background-color: #ef9eb4;
    color: #000;
    text-align: center;
    padding: 10px 0;
}

.company-table th:after {
    display: block;
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    top: calc(50% - 10px);
    right: -10px;
    border-left: 10px solid #ef9eb4;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.company-table td {
    width: 70%;
    text-align: center;
    background-color: #eee;
    padding: 10px 0;
}
