@charset "UTF-8";

/* ===============================================
   Variables
=============================================== */
:root {
    --color-primary: #002b62;
    --color-secondary: #2b9597;
}

/* ===============================================
   Fonts
=============================================== */
@font-face {
    font-family: 'Makinas-Scrap-5';
    src: url('../fonts/Makinas-Scrap-5.woff2') format('woff2'),
         url('../fonts/Makinas-Scrap-5.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MAKINAS';
    src: url('../fonts/MAKINAS.woff2') format('woff2'),
         url('../fonts/MAKINAS.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}




/* ===============================================
   追従するハンバーガーボタン (ツートンカラー)
=============================================== */
#floating_menu_btn {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  
  /* 右斜め上から左下へ、スパンと分かれるツートンカラー */
  /* 右上：テーマカラー / 左下：さらに濃い青 */
  background: linear-gradient(to bottom right, #002b62 50%, #020e44 50%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  
  /* 初期状態は隠す */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.3s ease;
}

#floating_menu_btn.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* --- 中の白いバー --- */
#floating_menu_btn span {
  position: absolute;
  left: 50%;
  width: 30px;
  height: 2px;
  background-color: #fff; /* バーは白 */
  border-radius: 2px;
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

/* 3本線の位置 */
#floating_menu_btn span:nth-of-type(1) { top: 20px; }
#floating_menu_btn span:nth-of-type(2) { top: 29px; }
#floating_menu_btn span:nth-of-type(3) { bottom: 20px; }

/* --- 展開時（バツ印）のアニメーション --- */
/* JSで "active" クラスが付与されたら変形する */
#floating_menu_btn.active span:nth-of-type(1) {
  top: 29px;
  transform: translateX(-50%) rotate(-45deg);
}
#floating_menu_btn.active span:nth-of-type(2) {
  opacity: 0; /* 真ん中の線は消える */
}
#floating_menu_btn.active span:nth-of-type(3) {
  bottom: 29px;
  transform: translateX(-50%) rotate(45deg);
}


/* ===============================================
   CSS Reset
=============================================== */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, b, cite, code, del, dfn,
em, img, ins, kbd, q, samp, strong, sub, sup, tt, var,
ul, ol, li, dl, dt, dd, form, fieldset, legend, label, input, textarea,
table, caption, tbody, tfoot, thead, tr, th, td,
header, footer, nav, small, section, #wrapper, #top_wrapper,
*:after, *:before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    outline-offset: 0;
}

* {
    min-height: 0%;
}

header, footer, nav, small, section {
    display: block;
}

ul {
    list-style: none;
}

img {
    border: 0;
    height: auto;
    vertical-align: bottom;
    max-width: 100%;
    -webkit-backface-visibility: hidden;
}

/* ===============================================
   Base setting
=============================================== */
html, body {
    width: 100%;
    min-height: 50vh;
    height: auto;
    overflow-x: hidden;
    max-width: 2000px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 600px) {
    #wpadminbar {
        position: fixed !important;
    }
}

html {
    font-size: 16px;
}

body {
    position: relative;
    font-family: "Noto Sans JP";
    line-height: 1.6;
}

a {
    color: #000;
    display: inline-block;
    max-width: 100%;
    text-decoration: none;
}

a img {
    transition: .4s;
}

a > svg {
    transition: .4s;
}

a:hover > svg {
    opacity: .7;
    transition: .4s;
}

a:hover {
    text-decoration: none;
}

a:hover img {
    opacity: 0.6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

nav a:hover img {
    opacity: 1;
}

table {
    border-collapse: collapse;
}

table th, table td {
    vertical-align: middle;
}

b {
    font-weight: bold;
}

video {
    max-width: 100%;
}

/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    zoom: 1;
}

/* Utility Classes */
.pc {
    display: block;
}

.sp {
    display: none;
}

.sp2 {
    display: none;
}

/* ===============================================
   Header (General)
=============================================== */
header {
    top: 0;
    width: 100%;
    height: 120px;
    z-index: 9000;
    padding: 0 0 10px;
    transition: .3s;
}

header > nav {
    position: relative;
    width: 100%;
    padding: 0 60px;
    margin: 0 auto;
}

header > nav .symbol {
    max-width: 230px;
    width: 100%;
    position: absolute;
    z-index: 1000;
    transition: .3s;
}

/* PC Menu */
header > nav ul.menu {
    float: right;
    padding-top: 20px;
    padding-bottom: 20px;
}

header > nav ul.menu li {
    position: relative;
    font-weight: 400;
    font-size: 14px;
    display: inline-block;
    font-family: "Noto Sans JP";
    vertical-align: middle;
    letter-spacing: 0.1em;
}

header > nav ul.menu > li:not(:first-child) {
    margin-left: 3em;
}

header > nav ul.menu > li a {
    transition: .3s;
    color: #fff;
}

header > nav ul.menu > li a:hover {
    opacity: .7;
}

header .hd_typec {
    display: none;
}

header > nav a img {
    transition: .3s;
}

header > nav a:hover img {
    opacity: .7;
    transition: .3s;
}

/* ===============================================
   Header Type B & C
=============================================== */
header.header-typeb > nav ul.menu > li:not(:last-child) > a,
header.header-typec > nav ul.menu > li:not(:last-child) > a {
    color: #fff;
    text-decoration: none;
    font-family: "Noto Sans JP", sans-serif;
    display: inline-block; 
    transition: transform 0.5s ease, opacity 0.3s ease;
}

header.header-typeb > nav ul.menu > li:not(:last-child):hover > a,
header.header-typec > nav ul.menu > li:not(:last-child):hover > a {
    opacity: 1;
    transform: translateY(-5px);
}

/* --- Recruit Button (Submenu Support) --- */

/* 1. Outer Frame (li) */
header.header-typeb > nav ul.menu > li:last-child,
header.header-typec > nav ul.menu > li:last-child {
    margin-left: 3em;
    position: relative;
    overflow: visible !important;
    border-radius: 70px;
    max-width: 180px;
    padding: 0;
    background: transparent;
    border: none;
}

/* 2. Inner Button (a) */
header.header-typeb > nav ul.menu > li.recruit-btn > a,
header.header-typec > nav ul.menu > li.recruit-btn > a {
    display: block;
    position: relative;
    overflow: hidden;
    padding: 10px 30px;
    border-radius: 70px;
    text-align: center;
    line-height: 1.8;
    font-weight: 500;
    color: #fff;
    transition: ease .2s;
    text-decoration: none;
    outline: none;
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

/* Color: Type B */
header.header-typeb > nav ul.menu > li:last-child > a {
    background: var(--color-secondary);
}

/* Color: Type C */
header.header-typec > nav ul.menu > li:last-child > a {
    background: #002b62;
}

/* 3. Shine Animation (a::after) */
header.header-typeb > nav ul.menu > li:last-child > a::after,
header.header-typec > nav ul.menu > li:last-child > a::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: none;
    pointer-events: none;
}

/* 4. Hover Effects */
header.header-typeb > nav ul.menu > li:last-child:hover > a::after,
header.header-typec > nav ul.menu > li:last-child:hover > a::after {
    left: 150%;
    transition: all 1s ease;
}

header.header-typeb > nav ul.menu > li:last-child:hover > a,
header.header-typec > nav ul.menu > li:last-child:hover > a {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* --- Header Type B Specific --- */
header.header-typeb > nav ul.menu > li a {
    color: #fff;
}

header.header-typeb .hd_belt {
    display: none;
}

header.header-typeb > nav {
    padding-top: 10px;
}

header.header-typeb .logotype {
    top: 25%;
}

header.header-typeb {
    height: 85px;
    border-bottom: none;
}

header.header-typeb .hd_basic {
    display: none;
}

header.header-typeb .hd_typec {
    display: block;
}

/* --- Header Type C Specific --- */
header.header-typec .hd_belt {
    display: none;
}

header.header-typec {
    height: 80px;
    margin-top: 10px;
}

/* ===============================================
   Header Type A (Top Page)
=============================================== */
header.header-typea {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9000 !important;
    background-color: transparent;
}

header.header-typea > nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    padding: 0 0 0 10px;
    max-width: 100%;
    margin: 0;
}

/* Logo Area */
header.header-typea > nav .symbol {
    position: relative;
    z-index: 2;
    max-width: 320px;
    width: auto;
    top: auto;
    margin-right: 5em;
    margin-top: 1em;
}

header.header-typea > nav .symbol img {
    width: 320px;
    height: auto;
    display: block;
}

/* Menu List */
header.header-typea > nav ul.menu {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
    float: none;
    width: 100%;
    margin-left: 1.5%;
}

header.header-typea > nav ul.menu > li {
    font-size: 12px;
    font-weight: 300;
    color: #fff;
    margin-left: 0;
    padding: 0 3em;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    letter-spacing: 0.1em;
}

/* Link Text */
header.header-typea > nav ul.menu > li > a {
    color: #fff;
    text-decoration: none;
    font-family: "Noto Sans JP", sans-serif;
    display: inline-block;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

header.header-typea > nav ul.menu > li:hover > a {
    opacity: 1;
    transform: translateY(-5px); /* Cleaned */
}

/* Diagonal Separator */
header.header-typea > nav ul.menu > li:not(.recruit-btn)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(28deg);
    width: 1px;
    height: 80px;
    background-color: #fff;
}

header.header-typea > nav ul.menu > li:nth-last-child(2)::after {
    display: none;
}

/* Recruit Button (Top Right) */
header.header-typea > nav ul.menu > li.recruit-btn {
    position: absolute !important;
    top: 0;
    right: 0;
    width: 15%;
    height: 120px;
    padding: 0;
    margin: 0;
    z-index: 1;
    background-color: transparent;
}

header.header-typea > nav ul.menu > li.recruit-btn > a {
    margin-right: 10%;
    font-family: "Makinas-Scrap-5", sans-serif;
    font-size: 1.5em;
    letter-spacing: 0.3em;
    white-space: nowrap;
    padding: 50% 10% 50%;
}

header.header-typea > nav ul.menu > li.recruit-btn::before {
    background: none !important;
}

header.header-typea > nav ul.menu > li.recruit-btn:hover::before {
    background-color: #3aaeb0;
    box-shadow: 100vw 0 0 0 #3aaeb0;
}

/* ===============================================
   PC Menu: Recruit Submenu
=============================================== */
header > nav ul.menu > li.recruit-btn {
    position: relative !important;
    overflow: visible !important;
}

/* Submenu container */
header > nav ul.menu > li.recruit-btn .sub-menu {
    position: absolute;
    top: 120%;
    left: 50%;
    margin: 15px 0 0 0;
    transform: translateX(-50%) translateY(10px);
    width: 160px;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 0;
    list-style: none;
    z-index: 9999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
}

 header.header-typea > nav ul.menu > li.recruit-btn .sub-menu{
    transform: translateX(-60%) translateY(-40%);
}

/* Hover show */
 header.header-typea > nav ul.menu > li.recruit-btn:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-60%) translateY(-30%);
}

header > nav ul.menu > li.recruit-btn:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* List Items */
header > nav ul.menu > li.recruit-btn .sub-menu li {
    display: block;
    width: 100%;
    border-bottom: 1px solid #eee;
    margin: 0;
}

header > nav ul.menu > li.recruit-btn .sub-menu li:last-child {
    border-bottom: none;
}

/* Links */
header > nav ul.menu > li.recruit-btn .sub-menu li a {
    display: block;
    padding: 15px 10px;
    color: var(--color-secondary);
    font-size: 14px;
    text-align: center;
    background: transparent;
    text-decoration: none;
    transition: all 0.3s;
}

header > nav ul.menu > li.recruit-btn .sub-menu li a:hover {
    background-color: var(--color-secondary);
    color: #fff;
}

/* ===============================================
   Smartphone Menu
=============================================== */
#sp_menu .recruit-sp-menu {
    background-color: var(--color-secondary);
    padding: 10px;
}


/* ===============================================
   既存のSPメニューを「追従型」に修正
=============================================== */
#sp_menu {
    /* 既存の absolute ではなく fixed に強制変更 */
    position: fixed !important; 
    top: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 400px !important; 
    z-index: 9998 !important;
    overflow-y: auto;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

#sp_menu {
    display: none;
    max-width: 70%;
    width: 100%;
    height: 150vh;
    background: var(--color-primary);
    position: absolute;
    top: -42px;
    right: 0;
    padding-top: 85px;
    padding-bottom: 40px;
    letter-spacing: 0.3em;
    z-index: 2;
}

#sp_menu .sitelink li {
    font-size: 95%;
    font-weight: normal;
    display: block;
    padding-left: 25px;
}

#sp_menu .sitelink li::before {
    position: absolute;
    left: 0;
    top: 0;
    bottom: auto;
    content: '';
    display: block;
    width: 100%;
    height: 1px;
}

#sp_menu .sitelink li:last-child::after {
    position: absolute;
    left: 0;
    bottom: 0;
    content: '';
    display: block;
    width: 100%;
    height: 1px;
}

#sp_menu .sitelink li:not(:first-child) {
    margin-left: 0;
}

#sp_menu .sitelink li a {
    display: block;
    padding: 10px 20px 15px 25px;
    font-weight: 400;
    color: #fff;
}

#sp_menu .sitelink li a::before {
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 21px;
    left: 0;
}

/* SP Menu Button */
.menu_btn_wrap {
    display: block;
    background-size: cover;
    width: 35px;
    height: 25px;
}

.btn-trigger {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 35px;
    height: 25px;
    cursor: pointer;
}

.btn-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
}

.btn-trigger, .btn-trigger span {
    display: inline-block;
    transition: all .5s;
    box-sizing: border-box;
}

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

.btn-trigger span:nth-of-type(2) {
    top: 12px;
}

.btn-trigger span:nth-of-type(3) {
    bottom: 0;
}

.active #btn01 span:nth-of-type(1) {
    -webkit-transform: translateY(12px) rotate(-45deg);
    transform: translateY(12px) rotate(-45deg);
}

.active #btn01 span:nth-of-type(2) {
    opacity: 0;
}

.active #btn01 span:nth-of-type(3) {
    -webkit-transform: translateY(-11px) rotate(45deg);
    transform: translateY(-11px) rotate(45deg);
}

/* ===============================================
   Footer
=============================================== */
footer {
    text-align: center;
    max-width: 100%;
    width: 100%;
    padding: 100px 0 55px;
    background-color: #707982;
    background-image: url("../img/common/footer_bg.png");
    background-position: right;
    background-size: 40%;
    background-repeat: no-repeat;
    z-index: 100;
    position: relative;
}

#footer_wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

footer .info_menu {
    display: flex;
    max-width: 1200px;
    width: 100%;
    gap: 30px;
}

footer .company_info {
    max-width: 200px;
    width: 20%;
    text-align: center;
}

footer .company {
    display: flex;
    text-align: center;
}

footer .company_mark {
    max-width: 150px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

footer .company_name_main {
    font-size: 181.82%;
}

footer .address-text {
    margin-bottom: 5px;
    color: #fff;
    text-align: left;
    letter-spacing: 0.08em;
}

footer .footer-nav-area {
    display: flex;
    gap: 10px;
    text-align: left;
    justify-content: space-between;
    max-width: 800px;
    flex-wrap: wrap;
}

footer .footer-nav {
    width: 23.13%;
    margin-bottom: 10px;
}

/* Footer Submenu */
footer.nav-list {
    list-style: none;
    padding-left: 5px;
}

footer .nav-list li {
    font-size: 13px;
    position: relative;
}

footer .nav-list li a {
    text-decoration: none;
    transition: opacity 0.3s;
}

footer .nav-list li a:hover {
    opacity: 0.7;
}

footer .footer-content-area {
    flex: 1;
    min-width: 300px;
}

footer .txt {
    color: #fff;
    font-weight: normal;
    line-height: 2.2em;
}

footer .txt_child {
    line-height: 2em;
}

footer .add {
    text-align: center;
    margin-top: 2em;
}

footer .privacy_policy {
    font-size: 75%;
    margin-top: 0.5em;
}

footer .privacy_policy > a {
    color: #fff;
    font-weight: 600;
}

footer .copyright {
    font-size: 62.5%;
    color: #fff;
    margin-top: 0.5em;
    text-align: center;
}

footer .nav-title {
    font-size: 15px;
    font-weight: normal;
    margin-bottom: 2px;
    padding-bottom: 10px;
    border-bottom: 0.5px solid #fff;
    display: flex;
    color: #fff;
}

footer .space {
    display: inline-block;
    width: 2em;
}

/* Page Top Button */
#pagetop_wrap {
    position: fixed;
    right: 100px;
    bottom: 40px;
    z-index: 9999;
}

#pagetop {
    display: none;
    width: 70px;
    height: auto;
    cursor: pointer;
    z-index: 9999;
    max-width: 100px;
    right: 2%;
}

#pagetop img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===============================================
   Common Components
=============================================== */

/* IE object-fit */
.object-fit-img {
    object-fit: cover;
    object-position: bottom;
    font-family: 'object-fit: cover; object-position: bottom;';
}

/* Google Map Scroll Block */
.map-container iframe {
    pointer-events: none;
}

.map-container iframe.clicked {
    pointer-events: auto;
}

/* Content Width */
.wrap-full {
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.wrap_general {
    max-width: 1075px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    box-sizing: border-box;
    margin-bottom: 40px;
}

.wrap_content {
    max-width: 840px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Breadcrumb */
#breadcrumb {
    position: relative;
    width: 100%;
    z-index: 10;
    margin-top: max(-12vw, -240px);
    margin-bottom: min(12vw, 240px);
}

#breadcrumb ol {
    margin-top: 0;
    top: auto;
    margin-left: 2%;
}

#breadcrumb li {
    display: inline-block;
    margin-right: 30px;
    color: var(--color-primary);
}

#breadcrumb li a {
    text-decoration: none;
}

#breadcrumb li:not(:last-child)::after {
    content: '';
    width: 7px;
    height: 7px;
    border: 0px;
    border-top: solid 1px var(--color-primary);
    border-right: solid 1px var(--color-primary);
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 10px;
    right: -16px;
}

#breadcrumb a {
    text-decoration: underline;
    transition: .3s;
    color: var(--color-primary);
    pointer-events: auto;
    position: relative;
    z-index: 101;
}

#breadcrumb a:hover {
    opacity: .7;
    transition: .3s;
}

.inner-nav-color {
    z-index: 100;
}

.inner-nav-color #breadcrumb li {
    color: #fff;
}

.inner-nav-color #breadcrumb a {
    color: #fff;
}

.inner-nav-color #breadcrumb li:not(:last-child)::after {
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
}

/* Simple Animation (Scroll) */
.js-anim {
    opacity: 0;
    transition: opacity 1s, transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.fade-up {
    transform: translateY(50px);
}

.fade-left {
    transform: translateX(-50px);
}

.fade-right {
    transform: translateX(50px);
}

.js-anim.is-show {
    opacity: 1;
    transform: translate(0, 0);
}

/* News Ticker Component */
.news_ticker {
    display: flex;
    align-items: center;
    border: 1px solid #000;
    font-size: 14px;
    margin-bottom: 2em;
    background: #fff;
    max-width: 500px;
    width: 100%;
    margin-left: auto;
    margin-right: -5%;
}

.news_ticker .date {
    padding: 10px 15px;
    border-right: 1px solid #ddd;
    white-space: nowrap;
    flex-shrink: 0;
}

.news_ticker .txt {
    padding: 10px 15px;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.news_ticker .link {
    background: #000;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    flex-shrink: 0;
    transition: opacity 0.3s;
}

.news_ticker .link:hover {
    opacity: 0.7;
}

/* ===============================================
   Breakpoints (Media Queries)
=============================================== */

/* 1950px */
@media screen and (min-width: 1950px) {
    header.header-typea > nav ul.menu {
        margin-left: 5%;
    }
}

/* 1800px */
@media screen and (min-width:1800px) {
    header.header-typea > nav ul.menu > li:not(.recruit-btn)::after {
        transform: translateY(-50%) rotate(30deg);
    }
}

/* 1450px */
@media screen and (max-width: 1450px) {
    header.header-typea > nav ul.menu {
        margin-left: 0%;
    }

    /* Fixed: Removed duplicate rotate(25deg), keeping rotate(28deg) */
    header.header-typea > nav ul.menu > li:not(.recruit-btn)::after {
        transform: translateY(-50%) rotate(28deg);
    }
}

/* 1400px (Merged) */
@media screen and (max-width: 1400px) {
    /* Header Styles */
    header.header-typea > nav ul.menu > li.recruit-btn {
        width: 16%;
    }

    header.header-typea > nav ul.menu > li:not(.recruit-btn)::after {
        transform: translateY(-50%) rotate(25deg);
    }

    /* News Ticker Styles */
    .news_ticker {
        font-size: 12px;
    }

    .news_ticker .date,
    .news_ticker .txt {
        padding: 8px 10px;
    }

    .news_ticker .link {
        font-size: 11px;
        padding: 10px 10px;
    }
}

/* 1300px */
@media screen and (max-width: 1300px) {
    .news_ticker {
        max-width: 345px;
        margin-right: -5%;
    }
}

/* 1200px */
@media screen and (max-width: 1200px) {
    header.header-typea > nav ul.menu > li.recruit-btn {
        width: 26%;
    }

    header.header-typea > nav .symbol {
        max-width: 220px;
    }

    #breadcrumb {
        margin-top: max(-13vw, -240px);
        margin-bottom: min(13vw, 240px);
    }
}

/* 1100px */
@media screen and (max-width: 1100px) {
    body.home header.header-typea .menu {
        display: none;
    }

    body.home #sp_menu_btn {
        display: block;
        z-index: 10000;
        margin-left: auto;
        margin-right: 25px;
        margin-bottom: 20px;
    }

    #breadcrumb {
        margin-top: max(-14vw, -240px);
        margin-bottom: min(14vw, 240px);
    }

    .news_ticker {
        max-width: 340px;
        margin-right: -5%;
    }
}

/* 1000px - 1100px Only */
@media screen and (min-width: 1000px) and (max-width: 1100px) {
    .btn-trigger span {
        background-color: var(--color-primary);
    }
}

/* 865px - 1200px Only */
@media screen and (min-width: 865px) and (max-width: 1200px) {
    header.header-typea > nav {
        padding-left: 20px;
    }

    header.header-typea > nav .symbol {
        max-width: 180px;
        margin-top: 0em;
    }

    header.header-typea > nav ul.menu > li {
        padding: 0 2em;
        font-size: 12px;
    }

    header.header-typea > nav ul.menu {
        margin-left: 2%;
    }

    header.header-typea > nav ul.menu > li.recruit-btn {
        width: 200px;
        padding-left: 5em;
    }

    header.header-typea > nav ul.menu > li.recruit-btn a {
        font-size: 18px;
        z-index: 20;
    }
}

/* 1600px (Ticker) */
@media screen and (max-width: 1600px) {
    .news_ticker {
        max-width: 425px;
        margin-right: -6%;
    }
}

/* 1024px */
@media screen and (max-width: 1024px) {
    /* header */
    header {
        height: 120px;
    }

    header > nav ul.menu {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    header > nav ul.menu > li {
        font-size: 95%;
    }

    header > nav ul.menu > li:not(:first-child) {
        margin-left: 20px;
    }

    header > nav {
        padding: 0 20px;
    }

    header .logotype {
        left: 90px;
    }

    header.header-typeb > nav ul.menu > li:not(:first-child),
    header.header-typec > nav ul.menu > li:not(:first-child) {
        margin-left: 20px;
    }

    /* footer */
    footer .company_mark {
        width: 100%;
    }

    footer .company_name {
        font-size: 116%;
        margin-left: -0.2em;
        line-height: 1.8em;
    }

    footer .company_name_main {
        font-size: 182%;
    }
}

/* 1000px */
@media screen and (max-width: 1000px) {
    .news_ticker {
        max-width: 600px;
        margin: 15px auto;
    }
}

/* 864px */
@media screen and (max-width: 864px) {
    /* base */
    html {
        font-size: 14px;
    }

    body::after {
        display: none;
    }

    /* header */
    header {
        height: 100px;
        border-bottom: none;
    }

    .btn-trigger {
        top: -4px;
    }

    .header-typea .btn-trigger,
    .header-typeb .btn-trigger {
        top: 5px;
    }

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

    header > nav .logo {
        width: 17.17%;
    }

    header > nav .menu {
        display: none;
    }

    .wrap_main {
        padding: 0;
    }

    header > nav .symbol {
        max-width: 180px;
    }

    header .logotype {
        font-size: 125.5%;
        left: 80px;
        top: 4px;
    }

    header.header-typea > nav .symbol img {
        width: 180px;
    }

    header.header-typeb .logotype {
        top: 155%;
    }

    header:not(.header-typea) #sp_menu_btn {
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(27%);
        margin: 0;
        z-index: 9999;
        display: block;
    }

    /* Top Page Menu */
    header:not(.header-typea) #sp_menu {
        position: fixed;
        top: 0;
        right: 0;
        left: auto;
        width: 100%;
        max-width: 70%;
        height: 100vh;
        padding-top: 100px;
        margin: 0;
        transform: none;
        z-index: 9999;
        background-color: #002b62;
    }

    header.header-typea #sp_menu_btn {
        top: 3px;
    }

     #sp_menu {
        max-width: 75% !important;
    }

    /* footer */
    footer .copyright {
        font-size: 70%;
    }

    footer {
        padding: 50px 0 50px;
    }

    
}

/* 768px */
@media screen and (max-width: 768px) {
    /* footer */
    footer .nav-list li {
        margin-bottom: 0px;
    }

    footer .company_info {
        max-width: 100%;
        width: 100%;
        margin-bottom: 10px;
    }

    footer .company {
        justify-content: center;
    }

    footer .company_mark {
        margin: 0 auto;
    }

    footer .info_menu {
        display: block;
        flex-direction: column-reverse;
    }

    #footer_wrap {
        display: block;
    }

    footer {
        padding: 50px 0 20px;
        font-size: 90%;
        background-image: none;
    }

    footer .pc_sns {
        display: none;
    }

    footer .address {
        text-align: center;
    }

    /* --- 1. Footer Reorder --- */
    footer .info_menu {
        display: flex;
        flex-direction: column;
    }

    footer .company_info {
        order: 2;
        width: 100%;
        max-width: 100%;
        margin-top: 40px;
        margin-bottom: 20px;
    }

    footer .footer-content-area {
        order: 1;
        display: flex;
        flex-direction: column;
        flex: auto;
    }

    /* --- 2. Content Reorder --- */
    footer .address-text {
        order: 2;
        text-align: center;
        margin-top: 40px;
        margin-bottom: 0;
    }

    footer .footer-nav-area {
        order: 1;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 20px 0;
    }

    /* --- 3. Menu Columns --- */
    footer .footer-nav {
        width: 48%;
        margin-bottom: 0;
    }

    footer .company_mark {
        margin: 0 auto;
    }

    #pagetop_wrap {
        right: 80px;
    }

    #breadcrumb {
        margin-top: -4vw;
        margin-bottom: 4vw;
        padding: 0;
    }
}

/* 600px */
@media screen and (max-width: 600px) {
    /* footer */
    footer .address > p {
        text-align: left;
        display: inline-block;
    }

    footer .space {
        display: inline-block;
        width: 0em;
    }

    footer .menu_01,
    footer .menu_02,
    footer .menu_03 {
        display: none;
    }

    .sp2 {
        display: block;
    }

    .news_ticker .txt {
        font-size: 11px;
    }

    .news_ticker .link {
        font-size: 11px;
        padding: 10px 10px;
    }
}

/* 425px */
@media screen and (max-width: 425px) {
    .sp {
        display: block;
    }

    /* header */
    header .logotype {
        font-size: 115.5%;
    }

    /* breadcrumb */
    #breadcrumb {
        padding: 5px 0;
    }

    #breadcrumb {
        margin: 0 auto 20px;
    }

    /* footer */
    footer {
        padding: 30px 0 20px;
    }
}

/* 320px */
@media screen and (max-width: 320px) {
    header > nav .symbol {
        max-width: 160px;
    }

    header .logotype {
        font-size: 100.5%;
        left: 67px;
    }
}