@charset "utf-8";

/*=========================
Common
=========================*/
/* font define */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Zen+Kaku+Gothic+Antique:wght@300;400;500;700;900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Anton&family=EB+Garamond:wght@400;500;600;700&family=Zen+Kaku+Gothic+Antique:wght@300;400;500;700;900&family=Zen+Old+Mincho:wght@400;500;700;900&display=swap');

.en {
    font-family: 'EB Garamond', serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.1em;
}

/* color */
:root {
    --skyblue: #6dcdff;
    --blue1: #0053B2;
    --blue2: #0a96de;
}
.skyblue {
    color: var(--skyblue);
}
.blue1 {
    color: var(--blue1);
}
.blue2 {
    color: var(--blue2);
}


html {
    scroll-behavior: smooth;
  /* scroll-padding-top: 100px;  */
}

body {
    font-family: "Zen Old Mincho", serif;
    font-weight: 500;
    font-style: normal;
    font-size: 1rem;
    line-height: 1.75;
    background-color: #EAF4FF;
    color: #333333;
    max-width: 1920px;
    margin-inline: auto;
    position: relative;
    @media (max-width: 960px) {
        font-size: 1rem;
    }
}

.inner {
    max-width: 1300px;
    margin: 100px auto;
}

@media screen and (max-width: 768px) {
    .inner {
    margin: 50px auto;
    }
}

a {
    text-decoration: none;
    transition: opacity 0.3s;
    color: inherit;
    &:hover {
        @media (any-hover: hover) {
        opacity: 0.6;
        }
    }
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
p {
    text-align: justify;
    @media screen and (max-width: 960px) {
    }
}
h1,
h2,
h3,
h4,
h5,
h6 {
  /* line-height: 1; */
    font-size: inherit;
    font-weight: inherit;
}

.pc_only {
	display: none;
}
.sp_only {
    display: none;
}

@media screen and (min-width: 768px) {
    .pc_only{
		display: inherit;
	}

	.sp_only{
		display: none;
	}
}


.container {
    width: calc(100% - 2rem);
    max-width: 1200px;
    margin-inline: auto;
}

/* button */
.button {
    --bg-color: var(--skyblue);
    --color: #fff;
    --r: 0px;
    background-color: var(--bg-color);
    color: var(--color);
    border-radius: var(--r);
    padding: 0.5rem 1rem;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: bold;
    letter-spacing: 0.1em;
    position: relative;
    width: min(80%, 240px);
    .icon {
    margin-right: 0.5rem;
    }
    &::after {
    content: '';
    display: block;
    background-color: #fff;
    position: absolute;
    top: 50%;
    right: 0%;
    translate: 0% -50%;
    width: 30px;
    height: 2px;
    }
    @media (any-hover: hover) {
        &::before {
        border-radius: var(--r);
        content: '';
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background-color: #fff;
        opacity: 0;
        transition: opacity 0.3s;
        pointer-events: none;
    }
    &:hover {
    opacity: 1;
    }
    &:hover::before {
    opacity: 0.25;
    }
}
}

/* =========================
   Variables
========================= */
:root {
  --blue-dark: #0d3b66;
  --blue-main: #124b8f;
  --blue-light: #EAF4FF;
  --red-main: #b3151a;
}

* { box-sizing: border-box; }

/* =========================
    Header
========================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 123px;
    background-color: var(--blue-light);
    z-index: 100;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.header_inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 100%;
    padding: 1%;
}

.header_inner_1 {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 35rem;
}

.header_inner_1 > a {
    font-size: 2.2rem;
    font-weight: 700;
    white-space: nowrap;
}

/* center nav (desktop) */
.header_list_inner {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.header_list_inner li a {
    font-size: 1rem;
    font-weight: normal;
    position: relative;
    padding-bottom: 4px;
}

.header_list_inner li a:hover::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
}

/* contact area (desktop) */
.header_contact {
    align-items: center;
    gap: 1.25rem;
}

.header_contact .link_1 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.5rem;
}

.header_contact .link_1 img {
    height: 1.3rem;
}

.header_contact .link_2 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 20px;
    background-color: #B20000;
    color: #fff;
    font-size: 1.3rem;
    white-space: nowrap;
}

.header_contact .link_2 img {
    height: 1.5rem;
}

/* =========================
    Hamburger (mobile)
========================= */
.pc-nav {
    .nav-items {
    display: flex;
    gap: 1rem;
    text-align: center;
    }
}

.sp-hamburger {
    margin-left: auto;
    display: none;
    position: relative;
    z-index: 1001;
    cursor: pointer;
    width: 40px;
    aspect-ratio: 1/1;
}

.sp-hamburger .lines {
    position: relative;
    width: 32px;
    height: 24px;
}

.sp-hamburger .line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0053B2;
    transition: 0.3s;
}

.sp-hamburger .line:nth-child(1) {
    top: 19%;
}

.sp-hamburger .line:nth-child(2) {
    top: 70%;
    transform: translateY(-50%);
}

.sp-hamburger .line:nth-child(3) {
    bottom: -27%;
}

/* active */
.sp-hamburger.active .line {
    background-color: #fff;
}

.sp-hamburger.active .line:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

.sp-hamburger.active .line:nth-child(2) {
    opacity: 0;
}

.sp-hamburger.active .line:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.sp-nav {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: -120%;
    width: 100vw;
    height: 100dvh;
    background-color: var(--blue2);
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
}

.sp-nav .nav-items {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.sp-nav .nav-items .nav-items__item a {
    text-align: center;
    text-wrap: balance;
    font-size: 1.2rem;
    line-height: 1.2;
}

.sp-nav .nav-items .nav-items__item a .jp {
    font-size: 0.8em;
}

.sp-nav.active {
    right: 0;
}

.overlay {
    display: none;
    position: fixed;
    z-index: 999;
    inset: 0;
    background-color: #000;
    opacity: 0.75;
}

.overlay.active {
    display: block;
}

body.no-scroll {
    overflow: hidden;
    height: 100%;
}

@media screen and (max-width: 1660px) {
    .header_inner_1 {
    gap: 25rem;
    }
}

@media screen and (max-width: 1420px) {
    .header_inner_1 {
    gap: 15rem;
    }
}

@media screen and (max-width: 1250px) {
    .header_inner_1 {
    gap: 10rem;
    }

    .header_inner_1 > a {
    font-size: 2rem;
    }
}

@media screen and (max-width: 1120px) {
    .header_inner_1 > a {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 1040px) {
    .header_inner_1 {
        gap: 7rem;
    }

    .header_list_inner {
        gap: 2rem;
    }
}

@media screen and (max-width: 960px) {
    .header_list_inner {
        gap: 1rem;
    }

    .header_list_inner {
        gap: 1rem;
    }

    .header_contact .link_2 {
    font-size: 1rem;
    }

    .header_contact .link_1 {
    font-size: 1.2rem;
    }
}

@media screen and (max-width: 870px) {
    .header_list_inner {
        gap: 0.8rem;
    }

    .header_inner_1 {
        gap: 5rem;
    }

    .header_contact .link_1 {
        font-size: 1rem;
    }

    .header_contact .link_2 {
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 768px) {
    .sp-hamburger{
        display:flex;
    }

    .pc_only{
        display:none;
    }

    .sp_only{
        display:block;
    }

    .header_inner {
        justify-content: flex-start;
        padding: 3%;
    }

    .header_inner_1 > a {
        font-size: 2rem;
    }

    .header {
        height: 64px;
    }
}

@media screen and (max-width: 480px) {
    .header_inner_1 > a {
        font-size: 1.5rem;
    }
}


/* =========================
    Drawer (mobile nav)
========================= */
@media screen and (max-width: 768px) {
    .sp-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100dvh;
        z-index: 150;
        transition: right 0.3s ease;
    }

    .sp-nav.active {
        right: 0;
    }

    .drawer-inner {
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .drawer__list {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .drawer__list li a {
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .drawer__list li a img {
        height: 0.9rem;
    }

    .overlay {
        display: none;
        position: fixed;
        inset: 0;
        background-color: #000;
        opacity: 0.5;
        z-index: 140;
    }

    .overlay.active {
        display: block;
    }

    body.no-scroll {
        overflow: hidden;
    }
}

/* =========================
    mv
========================= */
.mv {
    width: 100%;
    height: 700px; /* 高さを固定 */
    overflow: hidden;
    position: relative;
}

.slider,
.splide,
.splide__track,
.splide__list,
.splide__slide {
    height: 100%;
}

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

.copy {
    position: absolute;
    top: 40%;
    left: 29%;
}

.copy .jp-wrap {
    position: relative;
    display: inline-block;
}

.copy .jp {
    font-size: 64px;
    line-height: 1.4;
}

.copy .blue {
    position: absolute;
    top: 4px;
    left: 72px;
    color: #0066cc;
    z-index: 1;
    text-align: center;
}

.copy .white {
    position: relative;
    color: #fff;
    z-index: 2;
    text-align: center;
}

.copy .nowrap {
    white-space: nowrap;
}

.copy .en-wrap {
    position: relative;
    display: inline-block;
    margin-top: 20px;
}

.copy .en {
    font-family: 'EB Garamond', serif;
    font-size: 36px!important;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.copy .en.blue {
    position: absolute;
    top: 4px;
    left: 8px;
    color: #0066cc;
    z-index: 1;
}

.copy .en.white {
    position: relative;
    color: #fff;
    z-index: 2;
}

@media screen and (max-width: 1500px) {
    .copy {
        left: 23%;
    }
}

@media screen and (max-width: 1450px) {
    .copy {
        left: 20%;
    }
}

@media screen and (max-width: 1350px) {
    .copy {
        left: 17%;
    }
}

@media screen and (max-width: 1250px) {
    .copy {
        left: 15%;
    }
}

@media screen and (max-width: 1150px) {
    .copy {
        left: 12%;
    }

    .copy .jp {
        font-size: 48px;
    }

    .copy .blue {
        left: 165px;
    }
}

@media screen and (max-width: 1100px) {
    .copy {
        left: 18%;
    }

    .copy .jp {
        font-size: 44px;
    }

    .copy .blue {
        left: 114px;
    }

    .copy .en {
    font-size: 30px!important;
    }
}

@media screen and (max-width: 1050px) {
    .copy {
        left: 14%;
    }
}

@media screen and (max-width: 950px) {
    .copy {
        left: 10%;
    }
}

@media screen and (max-width: 900px) {
    .copy {
        left: 13%;
    }

    .copy .jp {
        font-size: 40px;
    }

    .copy .blue {
        left: 89px;
    }

    .copy .en {
    font-size: 26px!important;
    }
}

@media screen and (max-width: 830px) {
    .copy {
        left: 8%;
    }
}

@media screen and (max-width: 768px) {
    .copy {
        left: 13%;
    }

    .copy .jp {
        font-size: 36px;
    }

    .copy .blue {
        left: 64px;
    }

    .copy .en {
    font-size: 22px!important;
    }
}

@media screen and (max-width: 700px) {
    .copy {
        left: 15%;
    }

    .copy .jp {
        font-size: 32px;
    }

    .copy .blue {
        left: 64px;
    }

    .copy .en {
    font-size: 20px!important;
    }
}

@media screen and (max-width: 650px) {
    .copy {
        left: 11%;
    }
}

@media screen and (max-width: 600px) {
    .copy {
        left: 11%;
    }

    .copy .jp {
        font-size: 30px;
    }

    .copy .blue {
        left: 49px;
    }

    .copy .en {
        font-size: 18px!important;
    }
}

@media screen and (max-width: 550px) {
    .copy {
        left: 8%;
    }

    .copy .jp {
        font-size: 30px;
    }

    .copy .blue {
        left: 49px;
    }

    .copy .en {
        font-size: 18px!important;
    }
}

@media screen and (max-width: 520px) {
    .copy {
        left: 5%;
    }
}

@media screen and (max-width: 500px) {
    .copy {
        left: 3%;
    }
}

@media screen and (max-width: 480px) {
    .mv {
        height: 470px;
    }

    .copy {
        left: 5%;
    }

    .copy .jp {
        font-size: 24px;
    }

    .copy .blue {
        left: 58px;
    }

    .copy .en {
    font-size: 16px!important;
    }
}

@media screen and (max-width: 445px) {
    .copy {
        left: 8%;
    }

    .copy .jp {
        font-size: 22px;
    }

    .copy .blue {
        left: 47px;
        top: 1px;
    }

    .copy .en {
    font-size: 14px!important;
    }
}

@media screen and (max-width: 420px) {
    .copy {
        left: 6%;
    }

    .copy .blue {
        left: 47px;
        top: 1px;
    }
}

@media screen and (max-width: 400px) {
    .copy {
        left: 4%;
    }
}

/* =========================
    ABOUT
========================= */
.about-container {
    display: flex;
    justify-content: space-between;
    margin: 0 20px;
}

.top_about .img-wrapper {
    position: relative;
}

.top_about .text-wrapper {
    position: absolute;
    left: 34%;
    top: 22%;
}

.top_about .section-title {
    position: absolute;
    top: -18%;
    left: 5%;
}

.top_about .text {
    background-color: rgba(255, 255, 255, 0.89);
    padding: 60px 23px;
    max-width: 848px;
}

.en {
    font-size: 64px;
}

@media screen and (max-width: 1210px) {
    .top_about .section-title {
        top: -16%;
    }
}

@media screen and (max-width: 768px) {
    .about-container {
        display: flex;
        flex-direction: column-reverse;
    }

    .top_about .text-wrapper {
        position: relative;
        left: auto;
        top: auto;
        z-index: 2;
        padding: 0 5%;
    }

    .top_about .section-title {
        position: relative;
        top: auto;
        left: 3%;
        margin-bottom: -54px;
    }

    .top_about .text {
        width: 100%;
        padding: 30px 20px 100px;
    }

    .top_about .img-wrapper {
        position: relative;
        z-index: 1;
        margin-top: -115px;
        text-align: center;
    }

    .top_about .img-wrapper img {
        width: 80%;
    }

    .en {
        font-size: 43px!important;
    }
}

/* =========================
    SERVICE
========================= */
.top_service .section-title {
    text-align: center;
}

.top_service .jp {
    font-size: 24px;
}

.top_service .text {
    text-align: center;
}

.top_service .service-container {
    margin: 0 20px;
}

.top_service .company_img_box {
    text-align: center;
    position: relative;
    width: 100%;
    margin-top: 50px;
}

.top_service .company_img_box a {
    display: block;
}

.top_service .company_img {
    width: 80%;
    aspect-ratio: 832 / 323;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

.top_service .company_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.top_service .company_img_box a:hover .company_img img {
    transform: scale(1.05);
}

.top_service .img_txt {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #fff;
    text-align: center;
}

.top_service .img_txt p {
    margin: 0;
    font-size: 36px;
    position: relative;
    padding-bottom: 16px;
}

.top_service .img_txt .en {
    font-size: 32px;
    letter-spacing: 0.1em;
}

/* 矢印アイコン（右下） */
.top_service .img_txt::before {
    content: "";
    position: absolute;
    right: 6%;
    bottom: 12%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 18px;
    border-color: transparent transparent transparent #fff;
}

@media screen and (max-width: 768px) {
    .top_service .img_txt {
        gap: 10px;
    }

    .top_service .img_txt p {
        font-size: 1.2rem;
        padding-bottom: 10px;
    }

    .top_service .img_txt p:not(.en)::after {
        width: 60%;
        max-width: 200px;
    }

    .top_service .img_txt .en {
        font-size: 0.9rem!important;
    }

    .top_service .img_txt::before {
        right: 8%;
        bottom: 14%;
        border-width: 8px 0 8px 12px;
    }
}

@media screen and (max-width: 480px) {
    .top_service .company_img_box {
        margin-top: 20px;
    }

    .top_service .img_txt p {
        font-size: 1.05rem;
    }

    .top_service .img_txt .en {
        font-size: 0.8rem!important;
    }

    .top_service .img_txt {
        gap: 0px;
    }
}

/* =========================
    AREA
========================= */
.top_area {
    background-color: #fff;
    padding: 45px 0;
}

.top_area .area-container {
    background: url("../img/top_06.png") center / cover no-repeat;
}

.top_area .area_box {
    display: flex;
    justify-content: space-around;
    margin: 0 20px;
    align-items: center;
}

.top_area .text-wrapper {
    position: relative;
    z-index: 2;
    border: 1px solid #0053B2;
    padding: 70px 200px;
    height: 340px;
    background: #fff;
    left: 15%;
}

.top_area .section-title {
    margin: 0;
}

.top_area .jp {
    font-size: 24px;
    margin: 0;
}

.top_area .jp .txt {
    margin: -20px;
    text-align: center;
}

.top_area .blue {
    font-size: 32px;
    text-align: center;
    color: #0053B2;
}

.top_area .img-wrapper {
    position: relative;
    z-index: 1;
    left: -3%;
}

.top_area .img-wrapper img {
    width: 80%;
}

@media screen and (max-width: 1200px) {
    .top_area .text-wrapper {
    padding: 70px 150px;
    }
}

@media screen and (max-width: 1000px) {
    .top_area .text-wrapper {
    padding: 70px 130px;
    height: 320px;
    }

    .en {
    font-size: 56px;
    }

    .top_area .jp {
    font-size: 20px;
    }

    .top_area .blue {
    font-size: 28px;
    }

    .top_area .img-wrapper img {
    width: 90%;
    }
}

@media screen and (max-width: 768px) {
    .top_area {
        padding: 45px 0;
    }

    .top_area .area-container {
        background: url(../img/top_06.png) center / contain no-repeat;
    }

    .top_area .area_box {
        flex-direction: column;
        margin: 0 16px;
        gap: 24px;
    }

    .top_area .text-wrapper {
        order: 1;
        position: relative;
        left: auto;
        width: 100%;
        height: auto;
        padding: 30px 20px;
        box-sizing: border-box;
    }

    .top_area .img-wrapper {
        order: 2;
        left: auto;
        width: 100%;
        text-align: center;
    }

    .top_area .img-wrapper img {
        width: 50%;
    }

    .top_area .section-title {
        text-align: center;
    }

    .top_area .jp {
        font-size: 16px;
    }

    .top_area .jp .txt {
        margin: 10px;
    }

    .top_area .blue {
        font-size: 20px;
    }
}

/* =========================
    COMPANY
========================= */
.top_company .company-container {
    margin: 0 20px;
}

.top_company .section-title,
.top_company .jp p {
    text-align: center;
}

.top_company .jp {
    font-size: 24px;
}

.top_company .company_box {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

/* 左側カラム */
.top_company .left {
    flex: 1;
    max-width: 480px;
}

/* テーブル */
.top_company .info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.top_company .info-table tr:first-child th,
.top_company .info-table tr:first-child td {
    border-top: none;
}

.top_company .info-table th,
.top_company .info-table td {
    padding: 14px 10px;
    text-align: left;
    font-weight: normal;
}

.top_company .info-table th {
    width: 30%;
    white-space: nowrap;
    border-top: 1px solid #0053B2;
}

.top_company .info-table td {
    padding: 14px 10px 14px 50px;
    border-top: 1px solid #91C4FF;
}

.top_company .info-table tr:last-child th {
    border-bottom: 1px solid #0053B2;
}

.top_company .info-table tr:last-child td {
    border-bottom: 1px solid #91C4FF;
}

/* 電話番号 + お問い合わせボタン */
.top_company .actions {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.top_company .actions .phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
}

.top_company .actions .phone img {
    height: 1.3rem;
}

.top_company .actions .contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background-color: #B20000;
    color: #fff;
    font-size: 20px;
    white-space: nowrap;
}

.top_company .actions .contact-btn img {
    height: 1.5rem;
}

.top_company .office_img {
    flex: 1;
    max-width: 520px;
}

.top_company .office_img img {
    width: 100%;
    display: block;
}

.top_company .more-wrap {
    text-align: center;
    margin-top: 40px;
}

.top_company .more-btn {
    display: inline-block;
    width: 240px;
    padding: 14px 0;
    background-color: #0053B2;
    color: #fff;
    text-align: center;
    font-size: 20px;
    letter-spacing: 0.1em;
}

@media screen and (max-width: 1100px) {
    .top_company .company_box {
        gap: 20px;
    }

    .top_company .actions .phone {
        font-size: 1.3rem;
    }

    .top_company .actions .contact-btn {
        padding: 10px 20px;
        font-size: 18px;
    }
}

@media screen and (max-width: 810px) {
    .top_company .company_box {
        gap: 15px;
    }

    .top_company .actions .phone {
        font-size: 1rem;
    }

    .top_company .actions .contact-btn {
        padding: 10px 20px;
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    .top_area {
        padding: 45px 0;
    }

    .top_company .company_box {
        display: block;
    }

    .top_company .left {
        margin: 0 auto;
    }

    .top_company .actions .phone {
        font-size: 1.3rem;
    }

    .top_company .actions .contact-btn {
        padding: 10px 20px;
        font-size: 18px;
    }

    .top_company .office_img {
        margin: 30px auto;
    }
}

@media screen and (max-width: 480px) {
    .top_company .company_box {
        gap: 15px;
    }

    .top_company .actions .phone {
        font-size: 1rem;
    }

    .top_company .actions .contact-btn {
        padding: 10px 20px;
        font-size: 16px;
    }

    .top_company .more-btn {
        width: 170px;
        font-size: 16px;
    }
}

/* =========================
    ACCEESS
========================= */
.top_access .access-ttl {
    text-align: center;
}

.top_access .map iframe {
    width: 100%;
    height: 689px;
}

@media screen and (max-width: 480px) {
    .top_access .map iframe {
        height: 370px;
    }
}

/* =========================
    Footer
========================= */
footer {
    background-color: var(--blue-light);
    padding: 50px 0 20px;
    text-align: center;
}

.footer_inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.f_name p {
    font-size: 36px;
    margin: 0;
}

.f_btn .actions {
    display: flex;
    align-items: center;
    gap: 32px;
}

.f_btn .actions .phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
}

.f_btn .actions .phone img {
    height: 1.3rem;
}

.f_btn .actions .contact-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #B20000;
    color: #fff;
    font-size: 20px;
    white-space: nowrap;
}

.f_btn .actions .contact-btn img {
    height: 1.5rem;
}

.f_nav .nav-items {
    display: flex;
    gap: 2rem;
}

.f_nav .nav-items__item a {
    font-size: 16px;
}

.copyright {
    text-align: center;
    font-size: 16px;
    padding-bottom: 20px;
}

/* ページトップ */
.scroll-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 48px;
    height: 48px;
    background-color: #0053B2;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

@media screen and (max-width: 480px) {
    .f_name p {
        font-size: 24px;
    }

    .f_btn .actions .phone {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 16px;
    }

    .f_btn .actions .contact-btn {
        font-size: 16px;
    }

    .f_nav .nav-items__item a,
    .copyright {
        font-size: 14px;
    }

    .scroll-top {
        width: 32px;
        height: 32px;
    }
}

/* =========================
    下層ページ
========================= */

/* 業務内容（service） */
.sub_mv {
    position: relative;
}

.sub_mv .mv_img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.sub_mv .sub_txt {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 25%;
}

.sub_mv .jp-wrap {
    position: relative;
    display: inline-block;
}

.sub_mv .jp {
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    margin: 0;
    text-align: center;
    white-space: nowrap;
}

.sub_mv .jp.blue {
    position: absolute;
    top: 4px;
    left: 4px;
    color: #0053B2;
    z-index: 1;
}

.sub_mv .jp.white {
    position: relative;
    color: #fff;
    z-index: 2;
}

.sub_mv .mv_img img {
    width: 100%;
    height: 450px;
}

.sub_service .service-container {
    display: flex;
    justify-content: space-between;
    margin: 0 20px;
}

.sub_service .img-wrapper {
    position: relative;
}

.sub_service .text-wrapper {
    position: absolute;
    left: 34%;
    top: 22%;
}

.sub_service .text {
    background-color: rgba(255, 255, 255, 0.89);
    padding: 60px 23px;
    max-width: 848px;
}

.electrical .service-container {
    background-color: #0053B2;
    padding: 30px 0;
}

.electrical .service-container h3 {
    color: #fff;
    font-size: 40px;
    text-align: center;
    margin: 0;
}

.electrical .electrical_box {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin: 0 20px;
}

.electrical .electrical_item {
    display: flex;
    justify-content: space-around;
    gap: 30px;
}

.electrical .electrical_item .left {
    flex: 1;
    max-width: 800px;
}

.electrical .electrical_item .left h4 {
    font-size: 40px;
    color: #0053B2;
    margin: 0 0 16px;
}

.electrical .electrical_item .left p {
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

.electrical .electrical_item .rigth {
    flex: 1;
    max-width: 474px;
}

.electrical .electrical_item .rigth img {
    width: 100%;
    height: 285px;
    object-fit: cover;
    display: block;
}

.sub_f_service p {
    font-size: 16px;
    text-align: center;
    margin: 0 20px;
}

@media screen and (max-width: 1100px) {
    .electrical .electrical_item .left h4 {
        font-size: 36px;
    }

    .electrical .electrical_item .rigth {
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .sub_mv .mv_img img {
        height: 250px;
    }

    .sub_mv .jp {
        font-size: 2rem;
    }

    .sub_service .service-container {
        display: flex;
        flex-direction: column-reverse;
    }

    .sub_service .text-wrapper {
        position: relative;
        left: auto;
        top: auto;
        z-index: 2;
        padding: 0 5%;
    }

    .sub_service .text {
        width: 100%;
        padding: 30px 20px 100px;
    }

    .sub_service .img-wrapper {
        position: relative;
        z-index: 1;
        margin-top: -115px;
        text-align: center;
    }

    .sub_service .img-wrapper img {
        width: 80%;
    }

    .electrical .electrical_box {
        gap: 30px;
    }

    .electrical .electrical_item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .electrical .electrical_item .left,
    .electrical .electrical_item .rigth {
        max-width: 100%;
        width: 100%;
    }

    .electrical .electrical_item .rigth img {
        height: 230px;
    }

    .electrical .service-container {
        padding: 20px 0;
    }

    .electrical .service-container h3 {
        font-size: 36px;
    }

    .electrical .electrical_item .left h4 {
        font-size: 30px;
    }
}

@media screen and (max-width: 480px) {
    .electrical .service-container h3 {
        font-size: 32px;
    }

    .electrical .electrical_item .left h4 {
        font-size: 26px;
        margin: 0 0 8px;
    }
}

/* 会社概要 */
.sub_company .company-container {
    display: flex;
    justify-content: space-between;
    margin: 0 20px;
}

.sub_company .img-wrapper {
    position: relative;
}

.sub_company .text-wrapper {
    position: absolute;
    left: 40%;
    top: 16%;
}

.sub_company .white {
    width: 800px;
    background-color: rgba(255, 255, 255, 0.89);
    padding: 30px 23px;
}

.sub_company .info-table {
    width: 450px;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.sub_company .info-table tr:first-child th,
.sub_company .info-table tr:first-child td {
    border-top: none;
}

.sub_company .info-table th,
.sub_company .info-table td {
    padding: 14px 10px;
    text-align: left;
    font-weight: normal;
}

.sub_company .info-table th {
    width: 140px;
    white-space: normal;
    border-top: 1px solid #0053B2;
}

.sub_company .info-table td {
    padding: 14px 10px 14px 50px;
    border-top: 1px solid #91C4FF;
}

.sub_company .info-table tr:last-child th {
    border-bottom: 1px solid #0053B2;
}

.sub_company .info-table tr:last-child td {
    border-bottom: 1px solid #91C4FF;
}

@media screen and (max-width: 1500px) {
    .sub_company .white {
        width: 700px;
    }
}

@media screen and (max-width: 1250px) {
    .sub_company .white {
        width: 600px;
    }
}

@media screen and (max-width: 1050px) {
    .sub_company .img-wrapper img {
        width: 85%;
    }

    .sub_company .text-wrapper {
        top: 2%;
    }

    .sub_company .white {
        width: 500px;
    }
}

@media screen and (max-width: 900px) {
    .sub_company .img-wrapper img {
        width: 70%;
    }

    .sub_company .text-wrapper {
        left: 33%;
        top: -8%;
    }
}

@media screen and (max-width: 768px) {
    .sub_company .company-container {
        display: flex;
        flex-direction: column-reverse;
    }

    .sub_company .text-wrapper {
        position: relative;
        left: auto;
        top: auto;
        z-index: 2;
        margin: 0 auto;
    }

    .sub_company .img-wrapper {
        position: relative;
        z-index: 1;
        margin-top: -115px;
        text-align: center;
    }

    .sub_company .img-wrapper img {
        width: 80%;
    }
}

@media screen and (max-width: 600px) {
    .sub_company .white {
        width: 480px;
        padding: 30px 10px;
    }

    .sub_company .info-table td {
        padding: 14px 10px 14px 20px;
    }
}

@media screen and (max-width: 530px) {
    .sub_company .white {
        width: 420px;
    }

    .sub_company .info-table {
        width: 400px;
    }
}

@media screen and (max-width: 480px) {
    .sub_company .white {
        width: 380px;
    }

    .sub_company .info-table {
        width: 350px;
    }

    .sub_company .info-table th {
        padding: 14px 5px;
        width: 130px;
        font-size: 14px;
    }

    .sub_company .info-table td {
        padding: 14px 0;
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .sub_company .white {
        width: 350px;
    }

    .sub_company .info-table {
        width: 330px;
    }
}

/* お問い合わせ（contact） */
.form{
    max-width: 900px;
}

.sub_contact .contact-container,
.form .form-container {
    margin: 0 20px;
}
.sub_contact .contact_box p {
    text-align: center;
    font-size: 16px;
    margin: 0;
}

.sub_contact .actions {
    font-size: 24px;
    margin: 20px 0;
}

.sub_contact .actions .phone {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
}

/* =========================
    Contact Form (CF7)
========================= */
.contact-table {
    width: 100%;
    border-collapse: collapse;
}

.contact-table tr {
    border-bottom: 1px solid #ccc;
}

.contact-table th,
.contact-table td {
    padding: 24px 0;
    text-align: left;
    font-weight: normal;
    vertical-align: middle;
}

/* 内容（textarea）の行だけ縦中央じゃなく上揃え */
.contact-table tr:last-child th,
.contact-table tr:last-child td {
    vertical-align: top;
}

.contact-item p {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 0;
    width: 220px;
}

/* 必須バッジ */
.contact-item span {
    display: inline-block;
    background-color: #B20000;
    color: #fff;
    font-size: 13px;
    padding: 4px 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.contact-body {
    width: auto;
}

.contact-body p {
    margin: 0;
}

.contact-body .wpcf7-form-control-wrap {
    display: block;
}

/* 入力欄共通 */
.contact-table input[type="text"],
.contact-table input[type="tel"],
.contact-table input[type="email"],
.contact-table textarea {
    width: 100%;
    max-width: 500px;
    background-color: #F6F6F6;
    border: none;
    padding: 12px 14px;
    font-size: 16px;
    box-sizing: border-box;
}

.contact-table textarea {
    height: 160px;
    resize: vertical;
}

/* 送信ボタン */
.contact-submit-wrap {
    text-align: center;
    margin-top: 40px;
}

.contact-submit-wrap p {
    margin: 0;
    display: inline-block;
    position: relative;
}

.contact-submit {
    width: 280px;
    padding: 16px 0;
    background-color: #B20000;
    color: #fff;
    border: none;
    font-size: 15px;
    letter-spacing: 0.1em;
    cursor: pointer;
    position: relative;
}

/* ボタン内の → 矢印 */
.contact-submit::after {
    content: "\2192";
    margin-left: 12px;
}

.contact-submit:hover {
    opacity: 0.85;
}

@media screen and (max-width: 768px) {
    .contact-table th,
    .contact-table td {
        display: block;
        width: 100%;
        padding: 12px 0;
    }

    .contact-item p {
        width: 100%;
        margin-bottom: 8px;
    }

    .contact-table input[type="text"],
    .contact-table input[type="tel"],
    .contact-table input[type="email"],
    .contact-table textarea {
        max-width: 100%;
    }
}

@media screen and (max-width: 400px) {
    .contact-submit-wrap {
        margin: 40px;
    }
}
