﻿/* ================================
   全体
================================ */
body {
    margin: 0;
    font-family: "Yu Gothic", sans-serif;
    background: #F7FBFF;
    color: #333;
    display: flex;
}

/* ================================
   サイドバー
================================ */
.sidebar {
    width: 240px;
    min-width: 240px;
    max-width: 240px;
    background: #E8F3FF;
    padding: 30px 20px;
    box-shadow: 2px 0 6px rgba(0,0,0,0.1);
}

.sidebar h1 {
    font-size: 22px;
    color: #0A3D62;
    margin-bottom: 30px;
    text-align: center;
}

.sidebar nav a {
    display: block;
    padding: 12px;
    margin: 8px 0;
    background: #ffffff;
    border-radius: 6px;
    text-decoration: none;
    color: #0A3D62;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* ================================
   メインコンテンツ
================================ */
.main {
    flex: 1;
    padding: 40px;
   
}

/* ================================
   ヒーロー画像
================================ */
.hero {
    width: 100%;
    height: 500px;
    background: url('hero.jpg') center/cover no-repeat;
   background-position: center ;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1;
}

.hero-text-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #1E6FFF;
    font-size: 30px;
    font-weight: bold;
       line-height: 1.6;
    z-index: 9999;
}

/* ================================
   サービス内容（横一列）
================================ */
.service-row-icons {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.service-item {
    width: 30%;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: left;
}

.service-item h3 {
    text-align: center;
    margin-top: 10px;
    color: #0A1F44;
    font-size: 20px;
    font-weight: bold;
}

.service-item p {
    text-align: left;
    color: #0A1F44;
    font-size: 15px;
    line-height: 1.7;
}

/* ================================
   アイコン共通
================================ */
.icon-bookkeeping,
.icon-yayoi,
.icon-support {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    background: transparent;
    border: 3px solid #4DA3FF;
    position: relative;
}

/* 記帳代行 */
.icon-bookkeeping::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 22px;
    width: 36px;
    height: 28px;
    border: 2px solid #0A3D62;
    border-radius: 4px;
}

.icon-bookkeeping::after {
    content: "";
    position: absolute;
    top: 28px;
    left: 26px;
    width: 28px;
    height: 2px;
    background: #0A3D62;
    box-shadow: 0 6px 0 #0A3D62, 0 12px 0 #0A3D62;
}

/* 会計ソフトサポート */
.icon-yayoi::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 18px;
    width: 44px;
    height: 28px;
    border: 2px solid #0A3D62;
    border-radius: 4px;
}

.icon-yayoi::after {
    content: "";
    position: absolute;
    top: 50px;
    left: 32px;
    width: 16px;
    height: 6px;
    border: 2px solid #0A3D62;
    border-radius: 3px;
}

/* 経理相談 */
.icon-support::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 20px;
    width: 40px;
    height: 26px;
    border: 2px solid #0A3D62;
    border-radius: 6px;
}

.icon-support::after {
    content: "";
    position: absolute;
    top: 44px;
    left: 28px;
    width: 12px;
    height: 12px;
    border-left: 2px solid #0A3D62;
    border-bottom: 2px solid #0A3D62;
    transform: rotate(45deg);
}

/* ================================
   スマホ表示
================================ */
@media (max-width: 600px) {
    .service-row-icons {
        flex-direction: column;
    }
    .service-item {
        width: 100%;
    }
}
.price-table2 {
    width: 75%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 16px;
    border: 1px solid #ccc;   /* ←枠線を復活 */
}

.price-table2 th {
    background: #6FB7FF;
    color: #ffffff;
    padding: 10px;
    border: 1px solid #ccc;   /* ←枠線を復活 */
    text-align: center;
}
.price-table2 th:last-child {
    text-align: right;
}


.price-table2 td {
    padding: 10px;
    border: 1px solid #ccc;   /* ←枠線を復活 */
    color: #0A1F44;
}
.price-table2 td:last-child {
    text-align: right;
}

.price-table2 tr:nth-child(even) {
    background: #F8FBFF;
}
.work-table2 {
    width: 35%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 16px;
    border: 1px solid #ccc;   /* ←枠線を復活 */
}

.work-table2 th {
    background: #6FB7FF;
    color: #ffffff;
    padding: 12px;
    border: 1px solid #ccc;   /* ←枠線を復活 */
    text-align: center;
}

.work-table2 td {
    padding: 12px;
    border: 1px solid #ccc;   /* ←枠線を復活 */
    color: #0A1F44;
    line-height: 1.7;
    vertical-align: top;
}
/* 作業内容一覧の横並びレイアウト（復活版） */
.work-table-wrapper {
    display: flex;
    gap: 30px;          /* 表同士の間隔 */
    margin-left: 20px;  /* 左寄せの自然な余白 */
}
.work-table2 {
    width: 35%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 16px;
    border: 1px solid #ccc;   /* ←枠線復活 */
}

.work-table2 th,
.work-table2 td {
    border: 1px solid #ccc;   /* ←枠線復活 */
}
.company-table {
    border-collapse: collapse;
    background: #ffffff;
    font-size: 16px;
}

.company-table th {
    background: #6FB7FF;   /* やさしい青 */
    color: #ffffff;
    padding: 12px;
    border: 1px solid #ccc;
    text-align: center;
}

.company-table td {
    padding: 12px;
    border: 1px solid #ccc;
    color: #0A1F44;
    line-height: 1.7;
    vertical-align: top;
}

.company-table tr:nth-child(even) {
    background: #F8FBFF;   /* 薄い青ストライプ */
