@charset "UTF-8";

/* ============================================
   青木事務所 リニューアル CSS
   ヘッダー・フッター・スライダー: 幅100%
   コンテンツ: 幅1000px中央寄せ
============================================ */

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    background-color: #f5f9fc;
}

a {
    color: #1a5da8;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

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

/* --- Header (背景100%) --- */
.header {
    background: linear-gradient(135deg, #1a5da8 0%, #2980b9 100%);
    width: 100%;
}

.header-inner {
    width: 1000px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* ロゴエリア（左側） */
.logo a {
    color: #fff;
    text-decoration: none;
    display: block;
}

.logo-main {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}

.logo-titles {
    font-size: 12px;
    line-height: 1.5;
    opacity: 0.95;
}

.logo-name {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.logo-sub {
    font-size: 20px;
    opacity: 0.9;
    margin-top: 3px;
}

/* ヘッダー右側（連絡先） */
.header-contact {
    color: #fff;
    text-align: right;
    font-size: 13px;
    line-height: 1.7;
    align-self: flex-end;
}

.header-address {
    opacity: 0.9;
    margin-bottom: 3px;
}

.header-tel {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.header-tel span {
    opacity: 0.95;
}

.header-tel strong {
    font-weight: bold;
}

/* --- Global Navigation (背景100%) --- */
.gnav {
    background: #0d4a8a;
    width: 100%;
}

.gnav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    width: 1000px;
    margin: 0 auto;
}

.gnav-list li {
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.gnav-list li:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.gnav-list li a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    padding: 12px 20px;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.gnav-list li a:hover,
.gnav-list li a.current {
    background: #1a5da8;
    opacity: 1;
}

.gnav-list li a .nav-icon {
    width: 14px;
    text-align: center;
    font-size: 13px;
}

/* --- Slider (幅100%) --- */
.slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.swiper {
    width: 100%;
    aspect-ratio: 1920 / 400;
}

.swiper-wrapper {
    transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1) !important;
}

.swiper-slide {
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background: #1a5da8;
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 24px;
}

/* --- Page Header (背景100%) --- */
.page-header {
    background: linear-gradient(135deg, #1a5da8 0%, #2980b9 100%);
    width: 100%;
}

.page-header-inner {
    width: 1000px;
    margin: 0 auto;
    padding: 30px 40px;
}

.page-title {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

/* --- Main Content (幅1000px中央) --- */
.main-content {
    width: 1000px;
    margin: 0 auto;
    padding: 50px 40px;
    background-color: #fff;
}

/* --- Section Title --- */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 26px;
    color: #1a5da8;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1a5da8, #5ba4e5);
}

/* --- Service Cards --- */
.service-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-card {
    background: #fff;
    border: 1px solid #e0e8f0;
    border-radius: 8px;
    padding: 30px 35px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e8f0f8;
}

.service-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1a5da8 0%, #2980b9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-card-icon svg {
    width: 26px;
    height: 26px;
    fill: #fff;
}

.service-card-title {
    font-size: 20px;
    color: #1a5da8;
    font-weight: bold;
}

.service-card-text {
    color: #444;
    line-height: 1.9;
}

.service-card-text strong {
    color: #1a5da8;
    font-weight: bold;
}

/* --- Content Box --- */
.content-box {
    background: #fff;
    border: 1px solid #e0e8f0;
    border-radius: 8px;
    padding: 30px 35px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.content-box:last-child {
    margin-bottom: 0;
}

.content-box-title {
    font-size: 18px;
    color: #1a5da8;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f0f8;
}

.content-box-text {
    line-height: 1.9;
}

/* --- Service List (業務内容用) --- */
.service-section {
    margin-bottom: 30px;
}

.service-section:last-child {
    margin-bottom: 0;
}

.service-section-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e8f0;
}

.service-list {
    list-style: none;
    padding-left: 0;
}

.service-list li {
    padding: 8px 0 8px 20px;
    position: relative;
    font-size: 14px;
}

.service-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: #1a5da8;
    font-size: 8px;
    top: 12px;
}

/* --- Office Table --- */
.office-table {
    width: 100%;
    border-collapse: collapse;
}

.office-table th,
.office-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e8f0;
    text-align: left;
    vertical-align: top;
}

.office-table th {
    width: 150px;
    background: #f0f5fa;
    color: #1a5da8;
    font-weight: bold;
}

/* --- Staff Table (在籍社労士用) --- */
.staff-table {
    width: 100%;
    border-collapse: collapse;
}

.staff-table th,
.staff-table td {
    padding: 20px 15px;
    border-bottom: 1px solid #e0e8f0;
    text-align: left;
    vertical-align: middle;
}

.staff-table th {
    width: 100px;
    background: #f0f5fa;
    color: #1a5da8;
    font-weight: bold;
    text-align: center;
}

.staff-table tr:last-child th,
.staff-table tr:last-child td {
    border-bottom: none;
}

.staff-profile {
    display: flex;
    align-items: center;
    gap: 20px;
}

.staff-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e0e8f0;
    flex-shrink: 0;
}

.staff-info {
    line-height: 1.7;
}

.staff-info .name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 3px;
}

.staff-info .name-kana {
    font-size: 11px;
    color: #888;
    font-weight: normal;
    margin-left: 8px;
}

.staff-info .title {
    font-size: 13px;
    color: #1a5da8;
}

.staff-info .date {
    font-size: 12px;
    color: #666;
}

/* --- Price Table --- */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.price-table th,
.price-table td {
    padding: 12px 15px;
    border: 1px solid #d0d8e0;
    text-align: left;
}

.price-table th {
    background: #1a5da8;
    color: #fff;
    font-weight: bold;
}

.price-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.price-table tbody tr:hover {
    background: #eef4fa;
}

.price-note {
    font-size: 13px;
    color: #666;
    margin-top: 15px;
}

/* --- Office Info (Map) --- */
.office-info {
    display: flex;
    gap: 40px;
}

.office-details {
    flex: 1;
}

.office-map {
    flex: 1;
}

.office-map iframe {
    width: 100%;
    height: 350px;
    border: 1px solid #d0d8e0;
    border-radius: 5px;
}

/* --- Access Info --- */
.access-info {
    margin-top: 0;
}

.access-list {
    list-style: none;
}

.access-list li {
    padding: 10px 0;
    border-bottom: 1px dotted #d0d8e0;
    font-size: 14px;
}

.access-list li:last-child {
    border-bottom: none;
}

/* --- Contact Form --- */
.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group .required {
    color: #e74c3c;
    font-size: 12px;
    margin-left: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d0d8e0;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a5da8;
    box-shadow: 0 0 5px rgba(26, 93, 168, 0.2);
}

.form-buttons {
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-primary {
    background: #1a5da8;
    color: #fff;
}

.btn-primary:hover {
    background: #0d4a8a;
}

.btn-secondary {
    background: #6c757d;
    color: #fff;
    margin-left: 10px;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* --- Footer (背景100%) --- */
.footer {
    background: linear-gradient(135deg, #1a5da8 0%, #0d4a8a 100%);
    color: #fff;
    width: 100%;
}

.footer-inner {
    width: 1000px;
    margin: 0 auto;
    padding: 40px;
    display: flex;
    gap: 40px;
}

.footer-info {
    flex: 1;
}

.footer-name {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-name-sub {
    font-size: 12px;
    font-weight: normal;
    opacity: 0.9;
    display: block;
    margin-bottom: 5px;
}

.footer-name-main {
    font-size: 24px;
    font-weight: bold;
    display: block;
}

.footer-details {
    font-size: 14px;
    line-height: 2;
}

.footer-details dt {
    display: inline;
    font-weight: bold;
    margin-right: 5px;
}

.footer-details dd {
    display: inline;
    margin-right: 20px;
}

.footer-address {
    margin-bottom: 15px;
}

.footer-map {
    flex: 1;
}

.footer-map iframe {
    width: 100%;
    height: 250px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    filter: grayscale(100%);
}

/* フッターメニュー */
.footer-nav {
    width: 1000px;
    margin: 0 auto;
    padding: 20px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 30px;
}

.footer-nav-list li a {
    color: #fff;
    font-size: 13px;
    opacity: 0.9;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-nav-list li a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12px;
    opacity: 0.8;
}

/* --- Utility --- */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}
