/*
Theme Name: Takahashi Accounting Office
Theme URI: https://example.com/
Author: Codex
Description: Original WordPress theme for Takahashi Accounting Office.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: takahashi-accounting
*/

body {
    font-family: "Noto Sans JP", sans-serif;
}

.site-main {
    padding-top: 103px;
}

/* ===================================
   HEADER
=================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;

    width: 100%;
    background: #013E8E;
    color: #fff;
    box-shadow: none;
}

.site-header a {
    text-decoration: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.header-top {
    background: #013E8E;
    border: none;
}

.header-top__inner {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ----------------
   Logo
---------------- */

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
}

.brand__logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.brand__text strong {
    display: block;
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
}

.brand__text small {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #fff;
}

/* ----------------
   TEL
---------------- */

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.phone-icon {
    font-size: 24px;
}

.header-phone strong {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.phone-time {
    font-size: 11px;
    color: #d9e8f8;
}

/* ----------------
   NAV
---------------- */

.global-nav {
    background: linear-gradient(to bottom,
            #013E8E 0%,
            #003c79 100%);
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.global-nav ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.global-nav li {
    flex: 1;
    border-left: 1px solid rgba(255, 255, 255, .12);
}

.global-nav li:last-child {
    border-right: 1px solid rgba(255, 255, 255, .12);
}

.global-nav a {
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.global-nav a:hover {
    background: rgba(255, 255, 255, .08);
}

.nav-icon {
    font-size: 13px;
    opacity: .95;
}

/* ===================================
   FOOTER
=================================== */

.site-footer {
    margin-top: 80px;
}

.footer-contact {
    padding: 40px 0 40px;
    background: linear-gradient(135deg, #ffffff 0%, #F2F8FE 100%);
    border-top: 5px solid #013E8E;
}

.footer-contact__inner {
    display: grid;
    grid-template-columns: 1fr 600px;
    gap: 20px;
    align-items: center;
}

.footer-contact__catch {
    margin-bottom: 0px;
    margin-top: 0;
    color: #013E8E;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-contact__info h2 {
    margin-bottom: 22px;
    margin-top: 0;
    color: #013E8E;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.footer-contact__lead {
    margin-bottom: 26px;
    color: #222;
    font-size: 1.2rem;
    line-height: 1.5;
}

.footer-contact__address {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    color: #222;
    font-size: 1.1rem;
}

.footer-contact__address i {
    color: #013E8E;
    font-size: 2rem;
}

.footer-contact__tel {
    display: flex;
    gap: 16px;
    align-items: center;
}

.footer-contact__tel>i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #013E8E;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
}

.footer-contact__tel p {
    margin: 0;
    color: #013E8E;
    font-size: 1.4rem;
    font-weight: 700;
}

.footer-contact__tel a {
    display: block;
    color: #013E8E;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.footer-contact__tel span {
    color: #222;
    font-size: 1rem;
}

.footer-youtube {
    position: relative;
    min-height: 280px;
    padding: 30px;
    background: linear-gradient(135deg, #EAF5FD 0%, #DDF0FB 100%);
    border-radius: 8px;
    overflow: hidden;
}

.footer-youtube__text {
    position: relative;
    z-index: 2;
    text-align: center;
}

.footer-youtube__text h3 {
    margin-bottom: 18px;
    color: #013E8E;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
}

.footer-youtube__text h3 i {
    color: #e60012;
    margin-right: 8px;
    font-size: 2.5rem;
}

.footer-youtube__text p {
    margin-bottom: 20px;
    color: #222;
    font-size: 1.2rem;
    line-height: 1.5;
}

.footer-youtube__text a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 26px;
    background: #fff;
    color: #013E8E;
    border-radius: 6px;
    font-size: 1.7rem;
    font-weight: 700;
    text-decoration: none;
}

.footer-youtube__text a:hover {
  background: #f5f9ff;
  color: #003776;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 63, 143, .22);
}

.footer-youtube__text a i:first-child {
    color: #e60012;
    font-size: 2.4rem;
}

.footer-youtube__person {
    position: absolute;
    right: 20px;
    bottom: 0;
    width: 190px;
}

.footer-main {
    position: relative;
    background: linear-gradient(135deg, #013E8E 0%, #002B68 100%);
    color: #fff;
}

.footer-main__triangle {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-top: 12px solid #F2F8FE;
}

.footer-main__inner {
    position: relative;
    min-height: 100px;
    padding: 30px 0 0px;
    text-align: center;
    overflow: hidden;
}

.footer-main__city {
    position: absolute;
    left: 10px;
    top: 15px;
    width: 20%;
    opacity: .65;
}

.footer-main__leaf {
    position: absolute;
    right: 10px;
    top: 5px;
    width: 15%;
    opacity: .55;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 24px;
}

.footer-nav a {
    padding: 0 18px;
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, .5);
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-nav a:last-child {
    border-right: none;
}


.footer-copy {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 0.8rem;
}

/* ===================================
    PAGE HERO
=================================== */

.page-hero {
    position: relative;

    width: 100%;
    height: 350px;

    overflow: hidden;
}

.page-hero__image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: top;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
}

.page-hero__content {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;
    padding: 0 80px;

    color: #0b2f63;
}

.page-hero__title {
    margin: 0 0 8px;
    font-family: "Noto Serif JP", serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.08em;
}

.page-hero__en {
    margin: 0 0 28px;

    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.12em;
}

.page-hero__text {
    margin: 0;

    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.5;
}

/* ===================================
   FRONT PAGE
=================================== */
.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

/* 文字を画像の上に重ねる */
.hero__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 100%;
    max-width: 1400px;

    color: #0a2d70;
    z-index: 2;
    margin-left: 50px;
}

.hero__catch {
    color: #173f7a;
    font-size: clamp(1.4rem, 1.1rem + 0.8vw, 2.2rem);
    font-weight: 700;
}

.hero h1 {
    margin: 20px 0;
    color: #173f7a;
    font-size: clamp(1rem, 1rem + 2.5vw, 4rem);
    line-height: 1.2;
    font-weight: 700;
    font-family: "Noto Serif JP", serif;
}

.hero__text {
    color: #333;
    font-size: clamp(1rem, 1rem + 0.7vw, 1.5rem);
    line-height: 1.7;
}

.hero__image {
    width: 100%;
    display: block;
}

.hero__image img {
    width: 100%;
    height: auto;
    display: block;
}

.worries {
    padding: 70px 0;
    background: #fff;
}

.worries__title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 26px;
}

.worries__title span {
    color: #013E8E;
}

.worries__box {
    position: relative;
    max-width: 960px;
    margin: 0 auto;

    background: #fff;

    border: 2px solid #013E8E;
    border-radius: 14px;

    overflow: hidden;

    box-shadow: 0 12px 30px rgba(1,62,142,.10);
}


.worries__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    margin: 0;
    list-style: none;
}

.worries__list li {
    display: flex;
    align-items: center;
    gap: 16px;

    min-height: 76px;
    padding: 18px 26px;

    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;

    color: #222;
    border-bottom: 1px solid #e2ebf4;
}

.worries__list li:nth-child(odd) {
    border-right: 1px solid #e2ebf4;
}

.worries__list li:nth-child(4n+3),
.worries__list li:nth-child(4n+4) {
    background: #f8fbff;
}

.worries__list li:nth-last-child(-n+2) {
    border-bottom: none;
}

.worries__icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    background: linear-gradient(135deg, #013E8E, #0758bd);
    border-radius: 50%;

    box-shadow: 0 5px 12px rgba(1, 62, 142, .22);
}

.worries__icon i {
    color: #fff;
    font-size: 22px;
}

.worries__message {
    max-width: 960px;
    margin: 42px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    padding: 24px 34px;
    background: linear-gradient(90deg, #fff8ee, #fffdf8);
    border: 1px solid #f2dfc3;
    border-radius: 14px;
}

.worries__person img {
    width: 180px;
    height: auto;
    display: block;
}

.worries__message p {
    margin: 0;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.45;
    color: #013E8E;
}

.worries__message .green {
    color: #12a05c;
}

.worries__message .orange {
    color: #f08a24;
}
.reason {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    width: fit-content;
    margin: 0 auto 50px;
    padding: 14px 48px;
    background: #013E8E;
    color: #fff;
    border-radius: 8px;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
}

.section-title span {
    color: #FFD54A;
}

/* 左右の横線 */
.section-title::before,
.section-title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 260px;
    /* 線の長さ */
    height: 2px;
    background: #013E8E;
}

.section-title::before {
    right: 100%;
    margin-right: 20px;
}

.section-title::after {
    left: 100%;
    margin-left: 20px;
}

.reason__cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.reason__card {
    position: relative;
    padding: 36px 10px 5px;
    border: 1px solid #d8e2ef;
    border-radius: 10px;
    text-align: center;
    background: #fff;
    transition: .3s;
}

.reason__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.reason__number {
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;

    border-radius: 50%;
    background: #013E8E;
    color: #fff;

    display: flex;
    justify-content: center;
    align-items: center;

    font-weight: 700;
    font-size: 1.4rem;
}

.reason__card h3 {
    font-size: 1.3rem;
    line-height: 1.5;
    color: #013E8E;
    margin-bottom: 20px;
}

.reason__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    height: 70px;
    /* アイコンエリアの高さを統一 */
}

.reason__icon img {
    height: 80px;
    object-fit: contain;
    display: block;
}

.reason__card p {
    font-size: 1rem;
    color: #666;
}

.reason__message {
    margin-top: 80px;
    padding: 22px;
    background: linear-gradient(135deg, #013E8E 0%, #0B63C7 100%);
    color: #fff;
    text-align: center;
    font-size: 1.5rem;
    line-height: 1.8;
    border-radius: 8px;
}



@media(max-width:900px) {

    .reason__cards {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.6rem;
        padding: 12px 20px;
    }

    .reason__card h3 {
        font-size: 1.6rem;
    }

    .reason__icon {
        font-size: 44px;
    }

    .reason__message {
        font-size: 1.6rem;
    }

}

/* 事務所案内 */
.philosophy {
    padding: 70px 0;
    background: #fff;
}

.page-section-heading {
    position: relative;
    margin-bottom: 26px;
    text-align: center;
}

.page-section-heading::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 1px;
    background: #8ba7c9;
    transform: translate(-50%, -50%);
}

.page-section-heading h2 {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 0 28px;
    background: #fff;
    color: #013E8E;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.philosophy__box {
    max-width: 960px;
    margin: 0 auto;
    padding: 28px 40px;
    border: 1px solid #F3E7D2;
    border-radius: 6px;
    background: #fffefb;
    box-shadow: 0 2px 8px rgba(1, 62, 142, 0.08);
}

.philosophy__item {
    text-align: center;
}

.philosophy__item+.philosophy__item {
    margin-top: 18px;
}

.philosophy__item h3 {
    margin: 0 0 6px;
    color: #013E8E;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5;
}

.philosophy__item p {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
    line-height: 1.7;
}

.greeting {
    padding: 80px 0;
}

.greeting__title {
    margin-bottom: 20px;
    margin-top: 10px;

    color: #013E8E;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.5;
}

.greeting__grid {

    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
}

.greeting__message {

    padding-top: 0px;
}

.greeting__profileTitle {
    margin-bottom: 16px;

    color: #013E8E;
    font-size: 1.7rem;
    font-weight: 700;
}

.greeting__profileBox {

    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 18px;

    padding: 18px;

    background: #EDF6FC;
    border: 1px solid #D8E7F4;
    border-radius: 8px;
}
.greeting__photo {

    align-content: center;
}

.greeting__photo img {

    width: 100%;
    display: block;
}

.greeting__profile h3 {

    margin-bottom: 16px;

    color: #013E8E;
    font-size: 1.2rem;
}

.greeting__message p,
.greeting__profile p {

    font-size: 1rem;
    line-height: 1.5;
    color: #333;
}

.features {
    padding: 70px 0;
    background: #fff;
}

.features__box {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.features__item {
    position: relative;

    display: grid;
    grid-template-columns: 64px 92px 1fr;
    gap: 22px;
    align-items: center;

    padding: 22px 26px;

    background: #fff;
    border: 1px solid #d8dee8;
    border-radius: 10px;

    box-shadow: 0 8px 20px rgba(1, 62, 142, .08);

    transition: .25s ease;
}

/* 左アクセント */
.features__item::before {
    content: "";
    position: absolute;

    left: 0;
    top: 0;

    width: 5px;
    height: 100%;

    background: #013E8E;

    border-radius: 10px 0 0 10px;
}

/* 交互に背景色を変える */
.features__item:nth-child(even) {
    background: #f8fbff;
}

/* ホバー */
.features__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(1, 62, 142, .15);
}

.features__number {
    width: 40px;
    height: 40px;

    border-radius: 50%;
    background: #013E8E;
    color: #fff;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 1.5rem;
    font-weight: 700;

    box-shadow: 0 5px 10px rgba(1, 62, 142, .25);
}

.features__icon {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 68px;
    height: 68px;

    border-radius: 50%;

    background: #eef5ff;
    color: #013E8E;

    font-size: 3rem;

    transition: .25s ease;
}

.features__item:hover .features__icon {
    background: #013E8E;
    color: #fff;
    transform: scale(1.08);
}

.features__content h3 {
    margin: 0 0 8px;

    color: #013E8E;

    font-size: 1.4rem;   /* 元のまま */
    font-weight: 700;
    line-height: 1.5;
}

.features__content p {
    margin: 0;

    color: #333;

    font-size: 1rem;     /* 元のまま */
    line-height: 1.5;    /* 元のまま */
}

@media (max-width: 768px) {
    .philosophy {
        padding: 50px 0;
    }

    .page-section-heading::before {
        width: 220px;
    }

    .page-section-heading h2 {
        font-size: 2rem;
        padding: 0 20px;
    }

    .philosophy__box {
        padding: 24px 18px;
    }

    .philosophy__item h3 {
        font-size: 1.7rem;
    }

    .philosophy__item p {
        font-size: 1.3rem;
    }

    .greeting__grid {
        grid-template-columns: 1fr;
    }

    .greeting__photo {
        order: -1;
        max-width: 320px;
        margin: 0 auto;
    }

    .greeting__message h2,
    .greeting__profile h3 {
        font-size: 1.8rem;
    }

    .greeting__message p,
    .greeting__profile p {
        font-size: 1.4rem;
    }

    .features__item{

        grid-template-columns:50px 60px 1fr;

        gap:16px;

        padding:22px 18px;
    }

    .features__icon{

        width:54px;
        height:54px;

        font-size:1.6rem;
    }

    .features__content h3{
        font-size:1.15rem;
    }

}

/* 事業内容 */

.service {

    padding: 80px 0;
}

.service__title {

    margin-bottom: 30px;
    color: #013E8E;
    font-size: 2rem;
    font-weight: 700;
}

.service__grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 24px;
    overflow: visible;
}

.service__card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 5px 24px;
    background: #F7FAFE;

    border: 1px solid #D8E7F4;
    border-radius: 8px;

    transition: .3s;
}

.service__card:hover {

    box-shadow: 0 8px 20px rgba(1, 62, 142, .08);

    transform: translateY(-4px);
}

.service__icon {

    flex-shrink: 0;

    width: 72px;

    display: flex;
    justify-content: center;
}

.service__icon img {


    width: 64px;
    height: 64px;
    object-fit: contain;
}

.service__content h3 {

    margin-bottom: 14px;

    color: #013E8E;

    font-size: 1.5rem;

    font-weight: 700;
}

.service__content p {

    font-size: 1rem;

    line-height: 1.5;

    color: #333;
}

.service__card {

    transition: .25s;
}

.contract {
    padding: 70px 0;
    background: #fff;
}

.contract__lead {
    margin: -10px 0 26px;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.8;
}

.contract__list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border: 1px solid #d8e7f4;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.contract__card{
    position:relative;

    padding:22px 18px 24px;

    border-right:1px solid #d8e7f4;

    transition:.25s;

    background:#fff;
}

.contract__card::before{

    content:"";

    position:absolute;

    left:20px;
    right:20px;
    top:0;

    height:4px;

    background:#013E8E;

    border-radius:0 0 4px 4px;
}

.contract__card:nth-child(even){
    background:#f9fbff;
}

.contract__card:hover{
    z-index:2;
    transform:translateY(-6px);

    box-shadow:0 12px 28px rgba(1,62,142,.14);
}

.contract__card:last-child {
    border-right: none;
}

.contract__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.contract__number {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #013E8E;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    font-weight: 700;
}

.contract__head h3 {
    margin: 0;
    color: #013E8E;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
}

.contract__icon {
    height: 70px;
    margin-bottom: 16px;
    color: #013E8E;
    font-size: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contract__card p {
    margin: 0;
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
}



@media(max-width:768px) {

    .service__grid {

        grid-template-columns: 1fr;
    }

    .service__card {

        border-right: none;
    }

    .service__card:nth-child(3) {

        border-bottom: 1px solid #D8E7F4;
    }

    .service__title {

        font-size: 1.9rem;
    }

    .service__icon {

        width: 64px;
    }

    .service__icon img {

        width: 56px;
    }

}

@media (max-width: 1024px) {
    .contract__list {
        grid-template-columns: repeat(2, 1fr);
        border: none;
        gap: 18px;
        background: transparent;
        overflow: visible;
    }

    .contract__card {
        border: 1px solid #d8e7f4;
        border-radius: 8px;
    }

    .contract__card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .contract__list {
        grid-template-columns: 1fr;
    }

    .contract__card:last-child {
        grid-column: auto;
    }
}

/* アクセス*/
.access {
    padding: 70px 0;
    background: #fff;
}

.access__box {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
    gap: 28px;
    align-items: stretch;
}

.access__info,
.access__map {
    background: #F7FAFE;
    border: 1px solid #D8E7F4;
    border-radius: 8px;
    overflow: hidden;
}

.access__info {
    padding: 28px;
}

.access__station {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px;
    color: #013E8E;
    font-size: 1.5rem;
    font-weight: 700;
}

.access__station i {
    font-size: 1.5rem;
}

.access__note {
    margin: 0 0 26px;
    padding-left: 36px;
    color: #333;
    font-size: 1rem;
    line-height: 1.7;
}

.access__details {
    display: grid;
    gap: 22px;
}

.access__item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.access__item i {
    width: 28px;
    color: #013E8E;
    font-size: 1.5rem;
    text-align: center;
}

.access__item p {
    margin: 0;
    color: #333;
    font-size: 1rem;
    line-height: 1.8;
}

.access__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
}

@media (max-width: 768px) {
    .access__box {
        grid-template-columns: 1fr;
    }

    .access__info {
        padding: 22px;
    }

    .access__station {
        font-size: 1.7rem;
    }

    .access__item p {
        font-size: 1.4rem;
    }

    .access__map iframe {
        min-height: 320px;
    }
}

.youtube-hero {
    padding: 60px 0 40px;
    background: #fff;
}

.youtube-hero__grid {
    display: grid;
    grid-template-columns: 240px 1fr 290px;
    gap: 16px;
    align-items: stretch;
}

.youtube-hero__box {
    border: 1px solid #D8E7F4;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.youtube-hero__intro {
    padding: 18px 12px;
}

.youtube-hero__label {
    margin: 0 0 8px;
    color: #222;
    font-size: 1rem;
    font-weight: 700;
}

.youtube-hero__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: #111;
    font-size: 1rem;
    font-weight: 700;
}

.youtube-hero__brand i {
    color: #ff0000;
    font-size: 2.5rem;
}

.youtube-hero__text {
    margin: 0 0 18px;
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 600;
}

.youtube-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;
    padding: 12px 0px;

    background: #e60012;
    color: #fff;
    border-radius: 6px;

    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.youtube-hero__button:hover {
    opacity: .85;
}

.youtube-hero__main {
    align-content: center;
}

.youtube-hero__main img {
    width: 100%;
    display: block;
    object-fit: contain;
}

.youtube-hero__recommend {
    padding: 22px 12px;
}

.youtube-hero__recommend h2 {
    margin: 0 0 20px;
    color: #013E8E;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
}

.youtube-hero__recommend ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.youtube-hero__recommend li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
}

.youtube-hero__recommend li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;

    position: absolute;
    left: 0;
    top: .1em;

    width: 18px;
    height: 18px;
    border-radius: 50%;

    background: #013E8E;
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1rem;
}

.youtube {
    padding: 70px 0;
    background: #fff;
}

.youtube__heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid #D8E7F4;
}

.youtube__heading h2 {
    color: #013E8E;
    font-size: 2rem;
    font-weight: 700;
}

.youtube__heading a {
    padding: 8px 16px;
    border: 1px solid #D8E7F4;
    border-radius: 4px;
    background: #013E8E;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
}

.youtube__heading a:hover {

    background: #0250B6;

    transform: translateY(-2px);
}

.youtube__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.youtube__card {
    background: #fff;
    border: 1px solid #D8E7F4;
    border-radius: 8px;
    overflow: hidden;
}

.youtube__card a {
    color: inherit;
    text-decoration: none;
}

.youtube__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.youtube__thumb img {
    width: 100%;
    object-fit: contain;
    display: block;
}

.youtube__play {
    position: absolute;
    left: 10px;
    bottom: 8px;
    color: #ff0000;
    background: #fff;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 1.8rem;
}

.youtube__card h3 {
    padding: 12px;
    color: #222;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 700;
}

.contact-cta {
    padding: 50px 0;

}

.contact-cta__box {

    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    padding: 20px 32px;

    background: #F7FAFE;
    border: 1px solid #D8E7F4;
    border-radius: 10px;
}

.contact-cta__icon {

    width: 64px;
    height: 64px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;

    background: #EDF6FC;

    color: #013E8E;

    font-size: 2.8rem;
}

.contact-cta__content {

    flex: 1;
}

.contact-cta__content h2 {

    margin-bottom: 8px;

    color: #013E8E;

    font-size: 1.5rem;
    font-weight: 700;
}

.contact-cta__content p {

    color: #333;

    font-size: 1.1rem;

    line-height: 1.5;
}

.contact-cta__button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    padding: 16px 34px;

    background: #013E8E;
    color: #fff;

    border-radius: 6px;

    font-size: 1.2rem;
    font-weight: 700;

    text-decoration: none;

    transition: .25s;

    margin: 20px auto 0;
}

.contact-cta__button:hover {

    background: #0250B6;

    transform: translateY(-2px);
}

.contact-cta__button i {

    font-size: 1.2rem;
}

@media (max-width: 1024px) {
    .youtube__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (max-width: 768px) {

    .youtube-hero__grid {
        grid-template-columns: 1fr;
    }

    .youtube-hero__main {
        order: -1;
    }

    .youtube__grid {
        grid-template-columns: 1fr;
    }

    .youtube__heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }


    .contact-cta__box {

        flex-direction: column;

        text-align: center;

        padding: 28px 20px;
    }

    .contact-cta__content {

        flex: none;
    }

    .contact-cta__button {

        width: 100%;

        justify-content: center;
    }

}

/* お問い合わせフォーム全体 */
.contact-form-box {
    max-width: 900px;
    margin: 80px auto;
    padding: 22px 20px 24px;
    border: 1px solid #d5dce8;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    font-family: inherit;
}

/* タイトル */
.contact-form-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    color: #013e8e;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
}

/* アイコン */
.contact-form-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 26px;
    background: #013e8e;
    color: #fff;
    font-size: 1.4rem;
    border-radius: 2px;
}

/* 説明文 */
.contact-form-lead {
    margin: 0 0 24px;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 各入力欄 */
.form-field {
    margin-top: 16px;
    margin-bottom: 10px;
}

.form-field label {
    display: block;
    margin-top: 30px;
    color: #013e8e;
    font-size: 0.98rem;
    font-weight: 700;
}

/* 必須・任意ラベル */
.required,
.optional {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 6px;
    border-radius: 3px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    vertical-align: middle;
}

.required {
    background: #d71920;
}

.optional {
    background: #013e8e;
}

/* input / select / textarea 共通 */
.contact-form-box input[type="text"],
.contact-form-box input[type="email"],
.contact-form-box input[type="tel"],
.contact-form-box select,
.contact-form-box textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #cfd8e3;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 0.95rem;
    box-sizing: border-box;
}

.contact-form-box textarea {
    min-height: 110px;
    resize: vertical;
}

.contact-form-box input::placeholder,
.contact-form-box textarea::placeholder {
    color: #999;
}

/* フォーカス時 */
.contact-form-box input:focus,
.contact-form-box select:focus,
.contact-form-box textarea:focus {
    outline: none;
    border-color: #013e8e;
    box-shadow: 0 0 0 2px rgba(1, 62, 142, 0.12);
}

/* 送信ボタン */
.form-submit {
    margin-top: 20px;
}

.contact-form-box input[type="submit"] {
    display: block;
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 4px;
    background: #013e8e;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s;
}

.contact-form-box input[type="submit"]:hover {
    background: #002f6c;
}

/* Contact Form 7の余白調整 */
.contact-form-box .wpcf7-form-control-wrap {
    display: block;
}

.contact-form-box p {
    margin: 0;
}

/* エラー表示 */
.contact-form-box .wpcf7-not-valid-tip {
    margin-top: 5px;
    font-size: 0.85rem;
}

.contact-form-box .wpcf7-response-output {
    margin: 18px 0 0;
    padding: 12px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.contact-support {
    padding: 60px 0 80px;
    background: #fff;
}

.contact-support__title {
    margin-bottom: 28px;
    color: #013E8E;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.04em;
}

.contact-support__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.contact-support__card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 26px;

    background: #F7FAFE;
    border: 1px solid #D8E7F4;
    border-radius: 8px;
}

.contact-support__icon {
    width: 72px;
    flex-shrink: 0;
    color: #013E8E;
    font-size: 3.5rem;
    text-align: center;
}

.contact-support__content h3 {
    margin-bottom: 8px;
    color: #013E8E;
    font-size: 1.5rem;
    font-weight: 700;
}

.contact-support__content p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.7;
}

.contact-support__message {
    padding: 18px 20px;
    background: linear-gradient(135deg, #013E8E, #0758bd);
    color: #fff;
    text-align: center;
    font-size: 1.55rem;
    line-height: 1.8;
    letter-spacing: 0.06em;
}

/* スマホ */
@media (max-width: 600px) {
    .contact-form-box {
        margin: 24px 12px;
        padding: 20px 16px;
    }

    .contact-form-title {
        font-size: 1.7rem;
    }

    .contact-support__cards {
        grid-template-columns: 1fr;
    }

    .contact-support__card {
        padding: 22px 20px;
    }

    .contact-support__message {
        font-size: 1.35rem;
    }
}

.customer-news {
    padding: 70px 0;
    background: #fff;
}

.customer-news__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid #BFD4EC;
}

.customer-news__head h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #013E8E;
    font-size: 2rem;
    font-weight: 700;
}

.customer-news__head h2 i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #013E8E;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
}

.customer-news__head a{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding: 8px 16px;
    border: 1px solid #D8E7F4;
    border-radius: 4px;
    background: #013E8E;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
}

.customer-news__head a:hover{
    background: #0250B6;

    transform: translateY(-2px);
}
.customer-news__list a{
    display:grid;
    grid-template-columns:100px 120px 1fr 30px;
    align-items:center;
    gap:20px; /* ← pxの前のスペースも修正 */

    padding:18px 16px;

    color:#333;
    text-decoration:none;

    transition:
        background-color .25s,
        color .25s;
}

.customer-news__title{
    transition:color .25s;
}

.customer-news__list {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.customer-news__list li {
    list-style: none !important;
}

.customer-news__list li::marker {
    content: "";
}

.customer-news__list i{
    color:#8aa8c9;
    transition:
        transform .25s,
        color .25s;
}

.customer-news__list a:hover{
    background:#f7fbff;
}

.customer-news__list a:hover .customer-news__title{
    color:#013E8E;
}

.customer-news__list a:hover i{
    color:#013E8E;
    transform:translateX(4px);
}

.customer-news__list time {
    color: #666;
    font-size: 1rem;
}

.customer-news__list li{
    position:relative;
    border-bottom:none;
}

.customer-news__list li::after{
    content:"";
    position:absolute;
    left:16px;
    right:16px;
    bottom:0;

    height:1px;
    background:#E6EEF7;
}

.customer-news__list li:first-child::before{
    content:"";
    position:absolute;
    left:16px;
    right:16px;
    top:0;

    height:1px;
    background:#E6EEF7;
}

.customer-news__label {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 4px 10px;
    border-radius: 3px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.customer-news__label--blue {
    background: #2277C9;
}

.customer-news__label--green {
    background: #3FA36B;
}

.customer-news__label--orange {
    background: #F08A00;
}

.customer-news__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-left: 20px;
}

.customer-news__list a>i {
    color: #7A8AA0;
    font-size: 1.2rem;
}

.customer-cta {
    padding: 60px 0 80px;
}

.customer-cta__box {

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;

    padding: 26px 40px;

    background: linear-gradient(135deg, #F8FBFF 0%, #EDF6FC 100%);

    border: 1px solid #D8E7F4;
    border-radius: 8px;
}

.customer-cta__icon {

    flex-shrink: 0;

    width: 70px;
    height: 70px;

    border-radius: 50%;

    background: #fff;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #013E8E;

    font-size: 3.6rem;

    box-shadow: 0 4px 12px rgba(1, 62, 142, .08);
}

.customer-cta__content h2 {

    margin: 0 0 8px;

    color: #013E8E;

    font-size: 2rem;
    font-weight: 700;

    line-height: 1.5;
}

.customer-cta__content p {

    margin: 0;

    color: #555;

    font-size: 1.2rem;

    line-height: 1.8;
}

@media (max-width: 768px) {
    .customer-news__list a {
        grid-template-columns: 1fr 20px;
        gap: 8px 12px;
    }

    .customer-news__list time,
    .customer-news__label,
    .customer-news__title {
        grid-column: 1 / 2;
    }

    .customer-news__list a>i {
        grid-column: 2 / 3;
        grid-row: 1 / 4;
    }

    .customer-cta__box {

        flex-direction: column;

        text-align: center;

        padding: 24px 20px;
    }

    .customer-cta__icon {

        width: 60px;
        height: 60px;

        font-size: 3rem;
    }

    .customer-cta__content h2 {

        font-size: 1.7rem;
    }

    .customer-cta__content p {

        font-size: 1.35rem;
    }

}