@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');

/* ============================================================
   Design Tokens & Base Styles
   ============================================================ */

:root {
  /* Colors */
  --color-white: #ffffff;
  --color-black: #1a1a1a;
  --color-text: #222222;
  --color-text-muted: #555555;
  --color-text-light: #666666;
  --color-text-faint: #999999;

  --color-teal: #066869;
  --color-teal-dark: #1a7a7f;
  --color-teal-light: #e0f2f1;
  --color-teal-quote: #5ba4b8;

  --color-mint-bg: #e8f4f3;
  --color-beige-bg: #f5f0e8;
  --color-brown: #744710;
  --color-orange: #ff8333;
  --color-yellow: #f5c518;
  --color-service-bg: #0a0a0a;

  --color-green: #4caf50;
  --color-yellow-point: #ffc107;
  --color-orange-point: #ff7043;

  /* Typography（html { font-size: 16px } → 1rem = 16px） */
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem; /* 14px */
  --font-size-base: 1rem;   /* 16px */
  --font-size-lg: 1.125rem; /* 18px */
  --font-size-md: 1.25rem;  /* 20px */
  --font-size-xl: 1.5rem;   /* 24px */
  --font-size-2xl: 2rem;    /* 32px */
  --font-size-3xl: 2.25rem; /* 36px */
  --font-size-4xl: 3rem;    /* 48px */
  --font-size-hero: 2.625rem; /* 42px */

  /* Layout */
  --container-max: 75rem;
  --container-padding: 2.5rem;
  --section-padding: 6.25rem;

  /* z-index */
  --z-header: 8;
}

/* ============================================================
   Base
   ============================================================ */

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: 1.8;
  background-color: var(--color-white);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

/* ============================================================
   Section Title (共通見出しパターン)
   ============================================================ */

.section-head {
  text-align: center;
}

.section-head__title-group {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 100%;
  padding-bottom: 0.8rem;
  border-bottom: 3px solid var(--color-teal);
}

.section-head--orange .section-head__title-group{
  border-bottom: 3px solid var(--color-orange);
}

.section-head--brown .section-head__title-group{
  border-bottom: 3px solid var(--color-brown);
}

.section-head--white .section-head__title-group{
  border-bottom: 3px solid var(--color-white);
}

.section-head__title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.4;
  align-self: center;
  max-width: 100%;
  text-align: center;
}

.section-head__en {
  display: block;
  margin-top: 0.5rem;
  font-size: var(--font-size-sm);
  font-weight: 600;
  align-self: center;
  text-align: center;
}

.section-head__line {
  display: block;
  box-sizing: border-box;
  flex: 0 0 2px;
  height: 2px;
  margin-top: 0.75rem;
}

.section-head--teal .section-head__en {
  color: var(--color-teal);
}

.section-head--teal .section-head__line {
  background-color: var(--color-teal);
}

.section-head--orange .section-head__title {
  color: var(--color-white);
}

.section-head--orange .section-head__en {
  color: var(--color-orange);
}

.section-head--orange .section-head__line {
  background-color: var(--color-orange);
}

.section-head--brown .section-head__en {
  color: var(--color-brown);
}

.section-head--white .section-head__title {
  color: var(--color-white);
}

.section-head--white .section-head__en {
  color: var(--color-white);
}

.section-head--white .section-head__line {
  background-color: var(--color-white);
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 400;
  line-height: 1.4;
  position: relative;
  transition: opacity 0.2s ease;
}

.btn:hover {
  opacity: 0.85;
}

.btn--teal {
  padding: 0.625rem 1.5rem;
  font-size: var(--font-size-lg);
  color: var(--color-white);
  background-color: var(--color-teal);
  border-radius: 4px;
}

.btn--dark-pill {
  padding: 1.2rem 3rem;
  font-size: 1.2rem;
  color: var(--color-white);
  background-color: var(--color-black);
  border-radius: 3.125rem;
}

.btn--outline-pill {
  padding: 1rem 2.5rem;
  font-size: 0.9375rem;
  color: var(--color-white);
  background-color: var(--color-black);
  border: 1px solid var(--color-white);
  border-radius: 3.125rem;
}

.btn--yellow-pill {
  padding: 1.125rem 3rem;
  font-size: var(--font-size-base);
  color: var(--color-black);
  background-color: var(--color-yellow);
  border-radius: 3.125rem;
}

/* Arrow icons (::after) */
.btn--arrow-down::after,
.btn--arrow-right::after {
  content: "";
  flex-shrink: 0;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: absolute;
  top: calc(50% - 0.5rem);
  right: 1.5rem;
}

.btn--arrow-down::after {
  width: 1rem;
  height: 1rem;
  background-image: url("../assets/images/arr_down_h.png");
}

.btn--arrow-right::after {
  width: 1rem;
  height: 1rem;
  background-image: url("../assets/images/arr_white_b.png");
}

/* ============================================================
   Site Header
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background: rgba(255,255,255,0);
  transition: .3s all ease;
}

.small_header .site-header{
  background: rgba(255,255,255,0.99);
  box-shadow: 0 5px 10px -10px rgb(0 0 0 / 40%);
}

.site-header__inner {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
  min-height: 5rem;
  height: auto;
  padding-block: 0.5rem;
}

.site-header__cluster {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.site-logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.75rem;
}

.site-logo > img {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  max-width: none;
  object-fit: contain;
}

.site-logo__text {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 0.125rem;
}

.site-logo__text img {
  display: block;
  width: 11.375rem;
  height: 3rem;
  max-width: none;
  object-fit: contain;
  object-position: left center;
}

.site-logo__tagline {
  margin: 0;
  font-size: 0.625rem;
  color: var(--color-text-light);
  line-height: 1.2;
}


.site-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  min-width: 0;
  margin-left: auto;
  padding-left: 2.5rem;
  overflow: hidden;
}

.site-header__cta.btn--teal {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: auto;
  min-width: 0;
  max-width: 40%;
  height: 3.25rem;
  padding: 1rem clamp(0.75rem, 2vw, 1.5rem);
  font-size: clamp(0.875rem, 2.2vw, var(--font-size-lg));
  line-height: 1.2;
  white-space: nowrap;
  word-break: keep-all;
  background: #ff7a1e;
}

.site-nav__list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.site-nav__list::-webkit-scrollbar {
  display: none;
}

.site-nav__item {
  display: flex;
  align-items: center;
}

.site-nav__item:not(:last-child)::after {
  content: "|";
  margin-inline: 1.25rem;
  font-size: var(--font-size-sm);
  color: #aaaaaa;
}

.site-nav__link {
  font-size: var(--font-size-md);
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  transition: .3s all ease;
}

.site-nav__link:hover {
  color: var(--color-teal);
}

/* ============================================================
   Site Footer
   ============================================================ */

.site-footer {
  background-color: var(--color-white);
  padding-block: 3.75rem 2.5rem;
  text-align: center;
}

.site-footer .site-logo__tagline {
  text-align: left;
}

.site-footer__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.site-footer__logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.site-footer__catch,
.site-footer__area {
  margin-top: 1.5rem;
  font-size: var(--font-size-md);
  color: var(--color-text);
  line-height: 1.6;
}

.site-footer__area {
  margin-top: 0.75rem;
}

.site-footer__copy {
  margin-top: 2.5rem;
  font-size: 0.95rem;
  color: #1a1a1a;
}

.f_nav{
  margin-top: 1.5rem;
}

.f_nav ul{
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.f_nav ul li{}

.f_nav ul li a{
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
  padding: 0.2rem;
}

.f_nav ul li a::before{
  content:"";
  width: 100%;
  height: 2px;
  background: var(--color-teal);
  transition: all 0.2s ease;
  opacity: 0;
  position: absolute;
  bottom: -2px;
  left: 0;
}

.f_nav ul li a:hover {
  color: var(--color-teal);
}

.f_nav ul li a:hover::before{
  opacity: 1;
}

/* ============================================================
   Data Table (会社概要)
   ============================================================ */

.data-table {
  width: 100%;
}

.data-table__row {
  display: grid;
  grid-template-columns: 11.25rem 1fr;
  border-bottom: 1px solid #00000025;
}

.data-table__row:first-child {
  border-top: 2px solid var(--color-black);
}

.data-table__label {
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  background-color: #e8f2f0;
}

.data-table__value {
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: var(--color-text);
  background-color: var(--color-white);
}

.subsection-title {
  padding-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-teal);
  text-align: center;
}

/*-----nav_oc-----*/
.nav_oc{
    display: block;
    width: 4rem;
    height: 4rem;
    position: fixed;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 11;
    transition: .3s all ease;
}

/*PCでは非表示*/
.nav_oc{
    display: none;
}
/*//PCでは非表示*/

/*
.small_header .nav_oc{
    width: calc(6rem * 0.8);
    height:  calc(5.625rem * 0.8);
}
*/
    .menu-trigger{
        width: 100%;
        height: 100%;
        padding: 0;
        border: none;
        background: #212121;
        cursor: pointer;
        outline: none;
        display: flex;
        border-radius: 50%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: .3s all ease;
    }

        .menu-trigger .lines{
            position: relative;
            display: block;
            width: 2rem;
            height: 1.5rem;
            transition: .3s all ease;
        }

            .menu-trigger .lines span {
                display: inline-block;
                transition: all .4s;
                box-sizing: border-box;
                background-color: #fff;
                position: absolute;
                width: 2rem;
                left: 0;
                height: 2px;
            }

            .menu-trigger .lines span:nth-of-type(1) {
                top: 0;
            }

            .menu-trigger .lines span:nth-of-type(2) {
                top: calc(50% - 1px);
            }
            .menu-trigger .lines span:nth-of-type(3) {
                bottom: 0;
            }

            .menu-trigger.active .lines span{
                background-color: #fff;
            }

            .small_header .menu-trigger .lines span{
                background-color: #fff;
            }

            .menu-trigger.active .lines span:nth-of-type(1) {
                transform: translateY(0.65rem) rotate(-315deg);
            }

            .menu-trigger.active .lines span:nth-of-type(2) {
                opacity: 0;
            }

            .menu-trigger.active .lines span:nth-of-type(3) {
                transform: translateY(-0.7rem) rotate(315deg);
            }

        .menu-trigger .lbl{
            display: none;
            color: #fff;
            font-size: 0.9rem;
            line-height: 1;
            font-weight: 500;
            margin-top: 0.6rem;
        }

/*-----side_nav-----*/
.side_nav{
    box-sizing: border-box;
    position: fixed;
    top: 0;
    right: 0;
    z-index: -1;
    opacity: 0;
    width: 26.25rem;
    height: 100%;
    transition: .3s all ease;
    background: rgba(255,255,255,0);
    align-items: flex-start;
    justify-content: center;
    padding-top: 1vh;
}

.side_nav.active{
    z-index: 10;
    opacity: 1;
    background: #fff;
    box-shadow: -10px 0 20px -20px rgba(0,0,0,0.5);
}


    .side_nav .site_search{
        display: none;
    }

    .side_nav .side_global_nav{
        box-sizing: border-box;
        width: 100%;
        padding: 110px 0 0 0;
        margin-top: 0;
        display: flex;
        justify-content: center;
        line-height: 1.5;
    }

        .side_nav .side_global_nav > ul{
            box-sizing: border-box;
            width: 100%;
            padding: 0 1rem;
        }

            .side_nav .side_global_nav > ul > li{
                position: relative;
                margin-bottom: 0;
                border-bottom: 1px solid #ccc;
            }

            .side_nav .side_global_nav > ul > li > a{
                display: block;
                font-size: 1.15em;
                padding: 1rem 0.8rem;
                color: #222;
                text-decoration: none;
                font-weight: 600;
                position: relative;
                transition: .3s all ease;
            }

            .side_nav .side_global_nav > ul > li > a::after{
                font-family: FontAwesome;
                content: "\f105";
                font-size: 1.5rem;
                color: #015a3c;
                position: absolute;
                top: calc(50% - 1rem);
                right: 1rem;
            }


            .side_nav .side_global_nav > ul > li > ul{
                display: none;
                margin-left: 1rem;
            }
            
            .side_nav .side_global_nav > ul > li > ul > li{
                margin-top: 0.7rem;
                padding-left: 1.2rem;
                position: relative;
            }

            .side_nav .side_global_nav > ul > li > ul > li::before{
                content:"";
                width: 0.7rem;
                aspect-ratio: 1 / 1;
                background: url(../shared/icon_arrow_bk.png) no-repeat;
                background-size: contain;
                position: absolute;
                top: calc(50% - 0.35rem);
                left: 0;
            }

            .side_nav .side_global_nav > ul > li > ul > li > a{
                color: #222;
                text-decoration: none;
                font-weight: 600;
            }

            .side_nav .side_global_nav > ul > li > ul > li > a:hover{
                text-decoration: underline;
            }

            .side_entry_btn{
                width: 80%;
                line-height: 1.5;
                margin: 2rem auto 0 auto;
            }

            .side_entry_btn a{
                display: block;
                font-size: 1.1rem;
                padding: 1rem;
                text-align: center;
                background: #976504;
                color: #fff;
                border-radius: 0.4rem;
                font-weight: 600;
                position: relative;
                text-decoration: none;
            }

            .side_entry_btn a::after {
                content: "";
                display: block;
                width: 0.8rem;
                aspect-ratio: 1 / 1;
                background: url(../shared/icon_arrow_w.png) no-repeat;
                background-size: contain;
                position: absolute;
                top: calc(50% - 0.4rem);
                right: 1rem;
            }

.side_contact_btn{
    width: 80%;
    line-height: 1.5;
    margin: 2rem auto 0 auto;
}

.side_contact_btn a{
    display: block;
    font-size: 1.1rem;
    padding: 1rem;
    text-align: center;
    background: var(--color-teal-dark);
    color: #fff;
    border-radius: 0.4rem;
    font-weight: 600;
    position: relative;
    text-decoration: none;
}

/*ページトップ*/
.pagetop{
    width:4.5rem;
    height:4.5rem;
    position:fixed;
    bottom:7.5rem;
    right:3.75rem;
    z-index:9;
    transform:translateY(6.25rem);
    transition:.3s all ease;
    opacity:0;
}

.pagetop.show{
    transform:translateY(0);
    opacity:1;
}

    .pagetop a{
        display: flex;
        justify-content: center;
        align-items: center;
        transition:.5s all ease;
        width:100%;
        height:100%;
        background: #ff8332;
        border-radius: 50%;
        text-decoration: none;
    }
    
    .pagetop a:hover{
        filter: brightness(1.1);
    }

    .pagetop a:before{
        font-family: FontAwesome;
        content:"\f106";
        color: #fff;
        font-size: 2rem;
    }

/*ヘッダ固定によるアンカーずれ対応*/
*[id^="anc_"]{
    padding-top: 7.5rem;
    margin-top:-7.5rem;
    display: block;
}

/*改行のPC,SPでの表示切替*/
br.pc,
img.pc,
span.pc{
    display:inline;
}

br.sp,
img.sp,
span.sp{
    display:none;
}


/*ipad*/
@media screen and (min-width:1px) and (max-width:1024px){
    html {
      font-size: 1.8vw;
    }

    body{
      overflow-x: hidden;
    }

    header .site-nav{
      display: none;
    }

    .site-header__cta.btn--teal{
      display: none;
    }

    .nav_oc{
      display: block;
    }

    .pagetop{
      bottom: 5.5rem;
      right: 2rem;
    }


}
