   /* ==========================================================================
   リセット・ベーススタイル
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', sans-serif;
    color: #333;
    scroll-behavior: smooth;
}

body,
html {
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================================
   ヘッダー
   ========================================================================== */

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    overflow: hidden;
}

header.tuuzyou {
    opacity: 0;
    transition: opacity 0.9s ease;
}

header.tuuzyou.visible {
    opacity: 1;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    z-index: -1;
}

header.scrolled::before {
    transform: translateY(0);
}

/* ロゴ */
.logo {
    font-weight: bold;
    color: #007bff;
}

.logo h1 a {
    display: flex;
    flex-direction: column;
}

.logo img {
    width: 16.5rem;
}

.tuuzyou .logo02 {
    display: none;
}

header.scrolled .logo02 {
    display: block;
}

header.scrolled .logo01 {
    display: none;
}

.in_bro {
    display: inline-block;
}

/* ナビゲーション（デスクトップ） */
nav.desktop ul {
    display: flex;
    gap: 20px;
    list-style: none;
    list-style-type: none !important;
}

nav.desktop ul li {
    list-style: none;
    list-style-type: none !important;
    display: block;
    color: #ffffff;
}

nav.desktop a {
    font-weight: bold;
    font-size: 1.2vw;
    padding: 8px;
    color: #ffffff;
    text-shadow: 0 0 .80vw rgba(0, 0, 0, .40);
}

nav.desktop a:hover {
    color: #999999;
}

nav.desktop a.m_active {
    text-decoration: underline;
    pointer-events: none;
    color: #999999 !important;
}

/* スクロール時のナビゲーション */
header.scrolled nav.desktop li {
    color: #5e5e5e;
}

header.scrolled nav.desktop a {
    color: #5e5e5e;
    text-shadow: none;
}

header.scrolled nav.desktop a:hover {
    opacity: 0.7;
}

header.scrolled nav.desktop li.m_betu {
    /* border-left: 1px solid #5e5e5e; */
}

/* 特別なボタン */
li.m_betu a {
    background: #FFA94D;
    text-shadow: none;
    border-radius: 500px;
    padding: 7px 32px 8px;
    color: #413f3f !important;
}

li.m_betu a:hover {
    opacity: 0.7;
}

li.m_betu a:before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 21px;
    background-image: url(/img/mail02.svg);
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
    margin-right: 5px;
}

/* ハンバーガーメニュー */
.menu-icon {
    display: none;
    width: 30px;
    height: 22px;
    cursor: pointer;
    position: relative;
    z-index: 1002;
}

.menu-icon span,
.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: #fff;
    transition: 0.3s;
    box-shadow: 2px 2px 3px rgb(0 0 0 / .2);
}

.menu-icon.open span,
.menu-icon.open::before,
.menu-icon.open::after,
.menu-icon.m_scroll span,
.menu-icon.m_scroll::before,
.menu-icon.m_scroll::after {
    box-shadow: none;
    background: #013782;
}

.menu-icon span {
    top: 50%;
    transform: translateY(-50%);
}

.menu-icon::before {
    top: 0;
}

.menu-icon::after {
    bottom: 0;
}

.menu-icon.open span {
    background: transparent;
}

.menu-icon.open::before {
    transform: rotate(45deg);
    top: 10px;
}

.menu-icon.open::after {
    transform: rotate(-45deg);
    bottom: 10px;
}

/* スライドメニュー */
.slide-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #013782;
    display: none !important;
    flex-direction: column;
    padding-top: 80px;
    gap: 25px;
    padding-left: 30px;
    padding-right: 30px;
    transition: right 0.4s ease;
    z-index: 1000;
    opacity: 0;
}

.slide-menu ul li {
    list-style-type: none;
    color: #ffffff;
    border-bottom: 1px solid;
    position: relative;
}

.slide-menu ul li a {
    color: #ffffff;
    padding: 0.8rem;
    display: block;
    position: relative;
}

.slide-menu ul li:after {
    content: '';
    display: inline-block;
    width: 13px;
    height: 13px;
    background-image: url(/img/migi_icon.svg);
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 5px;
}

li.m_flex {
    display: flex;
    align-items: center;
}

li.m_flex a.m_active {
    color: #999999 !important;
    text-decoration: underline;
        pointer-events: none;
}

.slide-menu.show {
    right: 0;
    animation: fadeInSlide 0.4s ease forwards;
}

.slide-menu.hide {
    animation: fadeOutSlide 0.4s ease forwards;
}

.slide-menu a {
    font-weight: bold;
    font-size: 1.1rem;
}

/* オーバーレイ背景 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: none !important;
    z-index: 999;
}

.overlay.show {
    display: block;
}

/* ==========================================================================
   アニメーション
   ========================================================================== */

@keyframes fadeInSlide {
    from {
        right: -100%;
        opacity: 0.2;
    }
    to {
        right: 0;
        opacity: 1;
    }
}

@keyframes fadeOutSlide {
    from {
        right: 0;
        opacity: 1;
    }
    to {
        right: -100%;
        opacity: 0;
    }
}

@keyframes fadeLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================================================
   ファーストビュー
   ========================================================================== */

.fv_contents {
    position: relative;
    width: 100%;
    height: 97vh;
    overflow: hidden;
}

.fv_contents_inner {
    width: 100%;
    height: 100%;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide_item {
    position: absolute;
    top: 0;
    left: 0;
    width: 110%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.slide_item.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.imgmax {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fv_txt {
    font-size: 6.8vw;
    font-weight: bold;
    line-height: 1.7;
    color: #fff;
    letter-spacing: .05em;
    position: absolute;
    top: 39vw;
    right: 2.5vw;
    transition: opacity .3s ease-out 1s;
    will-change: opacity;
    z-index: 3;
    text-shadow: 0 0 .60vw rgba(0, 0, 0, .30);
}

.fv_txt span {
    display: block;
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeLeft 1.2s ease forwards;
}

.fv_txt span:nth-child(1) {
    animation-delay: 0.3s;
}

.fv_txt span:nth-child(2) {
    animation-delay: 0.8s;
}

/* ==========================================================================
   セクション共通
   ========================================================================== */

section {
    padding: 100px 20px 80px;
    max-width: 960px;
    margin: auto;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.7rem;
}

/* ==========================================================================
   Philosophy セクション
   ========================================================================== */

#philosophy {
    background: #013782;
    max-width: 100%;
    position: relative;
    z-index: 20;
}

#philosophy:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 99.9%;
    width: 100%;
    height: 11rem;
    background-image: url(/img/bk_h01.png?=35999);
    background-size: 100% 100%;
    z-index: 5;
}

.philosophy_inner {
    position: relative;
}

.philosophy_txt {
    max-width: 65.5rem;
    margin: 0 auto;
}

.philosophy_txt p {
    color: #ffffff;
    line-height: 2;
    font-size: max(14px, 1.1rem);
}

.philosophy_txtarea {
    transform: translateY(-75px);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.philosophy_txtarea h2 {
    color: #ffffff;
}

.philosophy_imgarea {
    position: relative;
}

.philosophy_imgarea img {
    max-width: 100%;
}

.philosophy_imgarea_inner img {
    max-height: 378px;
}

.photo_img01,
.photo_img02 {
    line-height: 0;
}

/* ==========================================================================
   Features セクション
   ========================================================================== */

#features {
    /* background: #fff; */
    overflow: hidden;
    position: relative;
    max-width: 100%;
}
#features:before{
       position:fixed;
   top:0;
   left:0;
   z-index:-1;
   width:100vw;
   height:100vh;
   background:url("/img/tikyu02.webp") no-repeat;
   -webkit-background-size:154vw;
     background-size: 154vw;
       background-color: rgba(255, 255, 255, 0.96);
       background-position: center center;
    background-blend-mode: lighten;
        background-attachment: fixed;
   content:"";
   
}

.features_txt {
    gap: 1.25rem;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 50;
    max-width: 55rem;
    margin: 0 auto;
}

.features_txt p {
    color: #1f1f1f;
    line-height: 2;
    font-size: max(14px, 1.1rem);
}

.features_img {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    max-width: 75%;
}

.features_img img {
    max-width: 100%;
}

/* ==========================================================================
   Services セクション
   ========================================================================== */

#services {
    background: #f9f9f9;
    max-width: 100%;
    position: relative;
}

section#services h2 {
    color: #013782;
    text-align: left;
}

.horizontal-scroll {
    position: relative;
}

.section-title {
    color: #fff;
    margin-bottom: 20px;
}

/* Swiper構造 */
.swiper-container {
    position: relative;
    max-width: 80rem;
    margin: 0 auto;
    box-sizing: border-box;
}

.swiper-wrapper {
    display: flex;
    transition-timing-function: ease-in-out !important;
    padding-bottom: 2rem;
    margin: 0 auto;
}

.swiper-slide {
    background: #fff;
    padding: 7px 10px;
    margin-right: 16px;
    min-height: 360px;
    box-sizing: border-box;
    box-shadow: 0 0 0.4rem rgba(1, 55, 132, 0.15);
    position: relative;
}

.sankaku_01 {
    position: absolute;
    top: 0;
    left: 0;
    border-left: 50px solid #013782;
    border-bottom: 50px solid transparent;
}

.slide_in {
    display: flex;
    flex-direction: column;
}

.img_box {
    text-align: center;
    line-height: 0;
}

.img_box img {
    width: 100%;
    max-width: 30%;
    min-height: 78px;
}

h3.h3_ttl {
    margin: 16px 0 8px;
    font-size: 18px;
    margin-bottom: 0.7rem;
    text-align: center;
}

h3.h3_ttl span.m_icon {
    position: relative;
}

.s_text_area p {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.s_img_in {
    position: absolute;
    top: 1rem;
    left: -2.5rem;
    width: 2.2rem;
}

.s_img_in img {
    max-width: 100%;
}

/* Swiperナビボタン */
.swiper-button-next,
.swiper-button-prev {
    width: 35px;
    height: 35px;
    background: #013782 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    color: #003885;
    position: relative !important;
    margin-top: 0;
    top: 0;
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
    content: 'next';
    color: #ffffff;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
    content: 'prev';
    color: #fff;
}

.swiper-button-prev {
    left: 0;
    background: rgba(255, 255, 255, 0.3);
}

.swiper-button-next {
    left: 10px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 16px;
}

/* スクロールバー */
.swiper-scrollbar {
    height: 6px;
    border-radius: 3px;
}

.swiper-scrollbar.swiper-scrollbar-horizontal {
    position: relative !important;
    top: 0;
    bottom: 0;
}

.swiper-scrollbar-drag {
    background: #013782;
    border-radius: 3px;
}

.controllarea {
    display: flex;
    align-items: center;
    margin: 0 auto;
}

.btn_box {
    display: flex;
    align-items: center;
    margin-left: 30px;
}

/* スライドヒント */
.show-slide-hint::before {
    content: '← スライドできます';
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 14px;
    opacity: 1;
    transition: opacity 1s ease;
    pointer-events: none;
    z-index: 10;
}

.show-slide-hint.hide-hint::before {
    opacity: 0;
}

/* ==========================================================================
   Aida Con セクション
   ========================================================================== */

#aida_con {
    background: #f9f9f9;
    max-width: 100%;
    position: relative;
}

.aida_con_inner {
    max-width: 1000px;
    margin: 0 auto;
}

.aida_item {
    margin-bottom: 4rem;
}

.aida_item:last-child {
    margin-bottom: 0;
}

p.aida_ttl {
    background: #013782;
    color: #fff;
    padding: 1rem;
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

p.aida_ttl:before {
    content: '';
    display: inline-block;
    width: 26px;
    height: 29px;
    background-image: url(/img/check.svg);
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 7px;
}

.aida_text p {
    line-height: 2;
    margin-bottom: 1rem;
        font-size: max(14px, 1.1rem);
}

.aida_text p:last-child {
    margin-bottom: 0;
}

.aida_imgbox {
    text-align: center;
}

.aida_imgbox img {
    max-width: 100%;
}

.color01 {
    color: #ffffff;
}

.aida_list {
    list-style-position: inside;
    margin-bottom: 1rem;
    margin-left: 0.5rem;
}

.aida_list li {
    line-height: 1.6;
}

/* ==========================================================================
   Company セクション
   ========================================================================== */

#company_con {
    background: #013782;
    max-width: 100%;
    position: relative;
}

.company_inner {
    max-width: 75rem;
    margin-left: auto;
    margin-right: auto;
}
  .company_text {
    margin-bottom: 3rem;
        gap: 1.25rem;
    display: flex
;
    flex-direction: column;
}
.company_text p{
      line-height: 2;
    font-size: max(14px, 1.1rem);
}
.company_in {
    max-width: 59rem;
    margin: 0 auto;
}
  .company_in{
    overflow: hidden;
    position: relative;
    background-image: url(/img/site_icon02.webp);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
  }
/* テーブル */
#table01 tr {
    border-bottom: 1px solid #b5b1b1;
}

#table01 th,
#table01 td {
    padding: 24px 0;
    border-bottom: 1px solid #b5b1b1;
    color: #ffffff;
}

#table01 td {
    text-align: left;
}

#table01 th {
    width: 30%;
}

#table01 a {
    color: #ffffff;
    text-decoration: underline;
}

#table01 a:hover {
    opacity: 0.7;
}

.disc {
    margin-top: 1rem;
}

.disc li {
    list-style-position: inside;
}

.tablebox {
    margin-bottom: 1rem;
}

.tizu {
    grid-area: map;
}

p.copyright {
    margin-top: 0.5rem;
    color: #a7a6a6;
    text-align: center;
}


span.no_link{
    pointer-events: none;
    text-decoration: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* ==========================================================================
   フッター
   ========================================================================== */

footer {
    text-align: center;
    color: #ffffff;
    padding: 100px 20px 80px;
    margin: auto;
}



/* ==========================================================================
   フォーム
   ========================================================================== */

form {
max-width: 700px;
    margin: auto;
    display: flex
;
    flex-direction: column;
    gap: 15px;
    padding: 20px 20px 80px;
}

input,
textarea {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

button {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
}

/* ==========================================================================
   レスポンシブデザイン
   ========================================================================== */

/* 1400px以上 */
@media screen and (min-width: 1400px) {
    body header .logo img {
        width: 21rem !important;
    }
}

/* 1060px以上 */
@media screen and (min-width: 1060px) {
    body header.tuuzyou.visible {
        padding: 20px 60px !important;
    }
}

/* 960px以上 */
@media screen and (min-width: 960px) {
    body .logo img {
        width: 18.3rem !important;
    }



    body .fv_txt {
        font-size: 4vw !important;
        top: 13vw !important;
        right: 3.5vw !important;
    }

    .fv_contents {
        height: 100vh;
    }

    h2 {
        font-size: 3.12rem !important;
    }

    .philosophy_txt {
        display: grid;
        grid-template-columns: 35rem 1fr;
        grid-gap: 15.625rem;
        gap: 5.625rem;
    }

    .img_box img {
        min-height: 91px !important;
        max-width: 24%;
    }

    .sankaku_01 {
        border-left: 70px solid #013782;
        border-bottom: 70px solid transparent;
    }

    .swiper-slide {
        padding: 27px 37px !important;
    }

    .controllarea {
        max-width: 73%;
    }

    .s_img_in {
        left: -3.2rem !important;
    }

    .company_inner {
        display: grid;
        grid-template-areas:
            "tizu map"
            "textbox map";
        grid-template-columns: 35rem 0.97fr;
        column-gap: 7.5rem;
        width: 90%;
    }

    .tizu iframe {
        width: 100%;
    }
}

@media screen and (min-width: 580px) {
    .fv_txt{
        font-size: 5.8vw !important;
    }
}

/* 960px以下 */
@media screen and (max-width: 960px) {
    header.u_click .logo02 {
        display: none;
    }

    header.u_click .logo01 {
        display: block;
    }

    header.u_click .menu-icon.open::before,
    header.u_click .menu-icon.open::after {
        background: #fff !important;
    }

    header.u_click::before {
        content: "";
        transition: opacity 1.3s ease-in-out;
    }

    header.u_click:before {
        opacity: 0;
    }

    li.m_betu:after {
        content: none !important;
    }

    li.m_betu a {
        text-align: center;
    }

    nav.desktop ul {
        gap: 12px;
    }

    #philosophy:before {
        height: 7.7rem;
        background-image: url(/img/bk_h03.png?=3513268);
    }

    .philosophy_imgarea_inner {
        display: flex;
        align-items: center;
        max-width: 93%;
        margin: 0 auto;
        justify-content: space-between;
    }

    .photo_img01,
    .photo_img02 {
        width: 49%;
    }

    section#features {
        background-size: cover !important;
        background-color: rgba(255, 255, 255, 0.92);
    }

    .tizu iframe {
        width: 100%;
        height: auto;
    }

    .tablebox {
        margin-bottom: 0rem;
    }
    .company_text{
        text-align: left;
    }
        #features:before{
        z-index: 0;
        background-size:cover !important;
         background:url("/img/tikyu04.webp") no-repeat;
             background-color: rgba(255, 255, 255, 0.89);
    }
}

/* 768px以下 */
@media (max-width: 768px) {
    nav.desktop {
        display: none;
    }

    .menu-icon {
        display: block;
    }

    .slide-menu {
        display: flex !important;
    }


    .swiper-button-prev,
    .swiper-button-next {
        bottom: 5px;
        width: 32px;
        height: 32px;
    }

    .swiper-button-prev {
        right: 50px;
    }

    .swiper-button-next {
        right: 10px;
    }
}

/* 767px以下 */
@media screen and (max-width: 767px) {
    .slide_item {
        left: 5px;
    }
        ul.disc li {
    margin-bottom: 10px;
}
}

/* 760px以上 */
@media screen and (min-width: 760px) {
    header {
        padding: 20px 10px !important;
    }

    .logo img {
        width: 13rem !important;
    }

    .aida_flex {
        display: flex;
        justify-content: space-between;
    }

    .aida_item {
        width: 48%;
        margin-bottom: 0rem;
    }
}

/* 760px以下 */
@media screen and (max-width: 760px) {
    li.m_betu {
        border-bottom: none !important;
        padding: 25px !important;
    }
}

/* 480px以下 */
@media only screen and (max-width: 480px) {
    #table01 th,
    #table01 td {
        font-size: 0.9rem;
    }
}
