@charset "utf-8";
/* ==========================================================================
   アイクォーク サイト共通CSS（Bootstrapなし版・1ファイル）
   読み込み： <link rel="stylesheet" href="css/site.css">   ※ページ固有CSSはこの後ろに読み込む
   構成（この順番が上書きの優先順位）：
     1. BASE      … リセット・container・使うユーティリティ（旧 bs-lite.css）
     2. LEGACY    … 従来の部品・ページ別スタイル（旧 styles.css）
     3. COMMON    … デザイントークン・セクション・カード・ボタン・ヒーローなど（旧 common.css）
     4. NAV       … ナビメニュー iq-header（旧 nav.css。動きは js/common.js）
   ========================================================================== */

/* ==========================================================================
   1. BASE（リセット・container・ユーティリティ）
   ========================================================================== */

/* ---- reboot（抜粋） ---- */
*, ::before, ::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  text-align: left;
}
h1, h2, h3, h4, h5, h6 { margin-top: 0; margin-bottom: .5rem; font-weight: 500; line-height: 1.2; }
h6 { font-size: 1rem; }
p { margin-top: 0; margin-bottom: 1rem; }
ul, ol { margin-top: 0; margin-bottom: 1rem; padding-left: 2rem; }
dl { margin-top: 0; margin-bottom: 1rem; }
dt { font-weight: 700; }
dd { margin-bottom: .5rem; margin-left: 0; }
b, strong { font-weight: bolder; }
a { color: #0077aa; text-decoration: underline; text-underline-offset: .18em; }
a:hover { color: #005a82; }
img, svg { vertical-align: middle; }
table { caption-side: bottom; border-collapse: collapse; }
figure { margin: 0 0 1rem; }
small { font-size: .875em; }
hr { margin: 1rem 0; color: inherit; border: 0; border-top: 1px solid; opacity: .25; }
hr:not([size]) { height: 1px; }
.table { width: 100%; margin-bottom: 1rem; vertical-align: top; border-color: #dee2e6; }
.table > :not(caption) > * > * { padding: .5rem; border-bottom: 1px solid #dee2e6; }
.table > tbody { vertical-align: inherit; }
button { border-radius: 0; font-family: inherit; font-size: inherit; line-height: inherit; margin: 0; }
.lead { font-size: 1.25rem; font-weight: 300; }

/* ---- container ---- */
.container {
  width: 100%;
  padding-right: .75rem;
  padding-left: .75rem;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 720px; } }
@media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

/* ---- utilities（使用分のみ） ---- */
.d-block { display: block !important; }
.position-relative { position: relative !important; }
.overflow-hidden { overflow: hidden !important; }
.h-100 { height: 100% !important; }
.border-0 { border: 0 !important; }
.rounded { border-radius: .375rem !important; }
.shadow { box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important; }
.shadow-lg { box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175) !important; }
.m-2 { margin: .5rem !important; }
.mx-auto { margin-right: auto !important; margin-left: auto !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.me-2 { margin-right: .5rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.p-0 { padding: 0 !important; }
.p-2 { padding: .5rem !important; }
.px-4 { padding-right: 1.5rem !important; padding-left: 1.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
@media (min-width: 768px) { .mt-md-3 { margin-top: 1rem !important; } }
.fs-5 { font-size: 1.25rem !important; }
.fw-bold { font-weight: 700 !important; }
.display-6 { font-size: calc(1.375rem + 1.5vw); font-weight: 300; line-height: 1.2; }
@media (min-width: 1200px) { .display-6 { font-size: 2.5rem; } }
.text-center { text-align: center !important; }
.text-end { text-align: right !important; }
.text-white { color: #fff !important; }
.list-unstyled { padding-left: 0; list-style: none; }
.stretched-link::after { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; content: ""; }
.img-fluid { max-width: 100%; height: auto; }

/* ---- ratio（YouTube埋め込み） ---- */
.ratio { position: relative; width: 100%; }
.ratio::before { display: block; padding-top: var(--bs-aspect-ratio); content: ""; }
.ratio > * { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.ratio-16x9 { --bs-aspect-ratio: 56.25%; }

/* ---- btn（色などは common.css の .custom-download-btn 側） ---- */
.btn {
  display: inline-block;
  padding: .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: .375rem;
}
.btn-lg { padding: .5rem 1rem; font-size: 1.25rem; border-radius: .5rem; }

/* ==========================================================================
   2. LEGACY（旧 styles.css）
   ========================================================================== */

/* 本文のスタイル */

body {
    font-family: "M PLUS 2", Arial, Helvetica, sans-serif;
    font-size: 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "M PLUS 2", 'Lato', 'Noto Sans JP', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', 'MS Pゴシック', 'MS PGothic', sans-serif;
}

h1 {
    font-size: 2em;
    color: #353535;
    font-weight: bold;
    font-family: "M PLUS 2";
}

h2 {
    font-size: 1.7em;
    padding: 1.4em 0 0.1em 0;
    color: #3a3a3a;
    font-weight: bold;
}

h3 {
    font-size: 1.17em;
    margin: 1em 0;
}

h4 {
    font-size: 1em;
    margin: 1.33em 0;
}

h5 {
    font-size: 0.83em;
    margin: 1.67em 0;
}

.icatch-font {
    font-size: 28px;
    font-weight: 400;
    color: #ff881a;
    line-height: 1.5;
}

.icatch-bar {
    background-color: #64bb70;
}

.subtitle_top {
    color: #494949;
    font-size: 21px;
}

.point-title {
    color: #494949;
    font-size: 18px;
    text-align: center;
}

.subsubtitle {
    color: #494949;
    font-size: 18px;
    font-weight: 600;
}

.phone-font {
    font-size: 50px;
    font-weight: bold;
}

.seizou {
    font-size: 1.4em;
}

.seizou-ol {
    font-size: 1.8em;
}

.seizou img {
    width: 33px;
}

@media (max-width: 520px) {
    .seizou {
        font-size: 17px;
    }

    .seizou img {
        width: 26px;
    }

    .seizou-ol {
        font-size: 23px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.3em;
    }

    h2 {
        font-size: 1.3em;
    }

    .subtitle_top {
        font-size: 17px;
    }

    .icatch-font {
        font-size: 18px;
    }

    .phone-font {
        font-size: 40px;
        font-weight: bold;
    }
}

.mt1 {
    margin-top: 1em;
}

.mt2 {
    margin-top: 2em;
}

.mt3 {
    margin-top: 2em;
}

.mb1 {
    margin-bottom: 1em;
}

.mb2 {
    margin-bottom: 2em;
}

.mb3 {
    margin-bottom: 3em;
}

.mb5 {
    margin-bottom: 5em;
}

.clear {
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
}

.bg-white {
    background-color: white;
}

.develop-top-bg {
    background-image: url(../image/iq-top-bg.jpg);
}

.bg-black1 {
    padding: 4px 6px 4px;
    background-color: #777;
    font-size: 14px;
}

.bg-black2 {
    background-color: #BBB;
}

.bg-dark1 {
    background-color: #efefef;
}

.bg-lightorange {
    background-color: #ffff99;
}

.text-white {
    color: white;
}

.text-red {
    color: orange;
}

.text-darkorange {
    color: #e67b17;
}

.resize1 {
    width: 400px;
}

.header_bar {
    background-color: #666;
    color: #fff;
    padding: 5px 5px;
    font-size: 12px;
}

.fixedbar {
    top: 0;
    z-index: 30;
    width: 100%;
    height: 46px;
    padding: 4px;
    background-color: #221715;
    border-bottom: solid 3px #2c6b77;
}

.landing_nav {
    display: flex;
    height: 25px;
    justify-content: center;
}

.landing_nav img {
    width: 100px;
}

.border-double {
    border-bottom: double 4px #888;
}

.borderblack {
    border: solid 1px #212529;
}

.border-radius {
    border-radius: 12px;
}

@media (max-width: 768px) {
    .recrutetable th {
        writing-mode: vertical-rl;
    }
}

.top_title {
    font-family: "M PLUS 2", Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: xx-large;
}

.top_explain {
    font-family: "M PLUS 2", Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.1rem;
    line-height: 1.5;
}

.service_explain {
    font-family: "M PLUS 2", Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: medium;
}

/*ホバー*/

.img_wrap2 {
    border: 1px solid #ddd;
    padding: 0;
    margin: 20px auto 0;
    transition-duration: 0.5s;
}

.img_wrap2 img {
    width: 100%;
    cursor: pointer;
}

.img_wrap2:hover {
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
    transform: translateY(-10px);
    transition-duration: 0.5s;
}

/*ホバーここまで*/

@media (max-width: 768px) {
    .header_bar {
        display: none;
    }
}

@media (max-width: 768px) {
    .resize1 {
        width: 300px;
    }
}

@media (min-width: 768px) {
    .resize2 {
        width: 500px;
    }
}

.topbg_under {
    height: 8px;
    background-color: #008ad5;
}

.under-line {
    border-bottom: solid 3px #AAA;
}

.filed1 {
    background-color: #DDD;
    font-weight: bold;
    text-align: center;
    padding: 10px 8px 10px;
}

.filed2 {
    background-color: #EEE;
    padding: 8px 8px;
}

.headline1 {
    border-left: 5px solid #df7163;
    border-bottom: 1px solid #df7163;
    padding-left: 10px;
}

.headline2 {
    padding: 0.4em 0.5em;
    /*文字の上下 左右の余白*/
    color: #494949;
    /*文字色*/
    background: #f4f4f4;
    /*背景色*/
    border-left: solid 5px #ff9c00;
    /*左線*/
    border-bottom: solid 3px #d7d7d7;
    /*下線*/
    font-size: 24px;
    font-weight: 550;
    color: #6a6665;
}

.subtitle2 {
    padding: 0.25em 0.5em;
    /*上下 左右の余白*/
    color: #494949;
    /*文字色*/
    background: transparent;
    /*背景透明に*/
    border-left: solid 5px #ff9c00;
    /*左線*/
}

.subtitle3 {
    font-size: 1.5em;
    font-weight: bold;
}

.subtitle3 i {
    font-size: 1.3em;
    padding-top: 3px;
    color: #2f4f4f;
    vertical-align: text-bottom;
    padding-right: 7px;
}

.fream1 {
    border: 1.5px solid #353535
}

.intro {
    background-color: #f3f5f8;
}

.intro-text {
    font-size: 30px;
}

@media (max-width: 768px) {
    .intro-text {
        font-size: 25px;
        line-height: 1.5;
        text-indent: 1.2;
    }
}

.introduction h1 {
    font-size: 1.2em;
    line-height: 1.5;
    color: #353535;
    font-weight: bold;
}

.topix-bar {
    background-color: rgb(216, 215, 215);
}

.inquery {
    line-height: 1em;
}

@media (max-width: 970px) {
    .inquery {
        display: none;
    }

}

.tel-Num {
    padding-top: 0.5em;
    padding-right: 0x;
    font-size: 28px;
    color: #3b5998;
    fill: #3b5998;
    font-family: 'Abel', sans-serif;
}

.reception-time {
    font-size: 0.80em;
    color: #666;
    text-indent: -1em;
    padding-left: 1em;
    font-family: "M PLUS 2", "メイリオ";
}

.logo_low {
    margin: 0px;
    padding: 0px;
}

@media (max-width: 768px) {
    .logo_low {
        display: none;
    }
}

.banner_style {
    width: 70%;
    text-align: center;
}

@media (max-width: 768px) {
    .banner_style {
        width: 100%;
        text-align: center;
    }
}

.feature {
    width: 100%;
}

@media (max-width: 768px) {
    .feature {
        text-align: center;
        width: 70%;
    }
}

.banner2list li {
    display: inline;
}

.banner2 {
    width: 250px;
}

@media (max-width: 768px) {
    .banner2 {
        width: 180px;
    }
}

.page-title {
    background-color: #187c7e;
    text-align: right;
    color: whitesmoke;
    padding-top: 10px;
    height: 40px;
}

.topbar_green {
    background-color: #2c6b77;
    height: 10px;
}

.border-gradation {
    border-bottom: 5px solid;
    border-image: linear-gradient(to right, #f15a29 0%, #f9ed32 100%);
    border-image-slice: 1;
}

.border-gradation-green {
    border-bottom: 5px solid;
    border-image: linear-gradient(to right, #2cb673 0%, #d7df23 100%);
    border-image-slice: 1;
}

.border-gradation-yellow-green {
    border-bottom: 2px solid;
    border-image: linear-gradient(to right, #d7df23 0%, #2cd673 100%);
    border-image-slice: 1;
    padding-top: 2px;
}

.border-gradation-bo {
    border-bottom: 5px solid;
    border-image: linear-gradient(to right, #2330df 0%, #ffffff 100%);
    border-image-slice: 1;
    padding-top: 2px;
}

.border-gradation-bo2 {
    border-bottom: 2px solid;
    border-image: linear-gradient(to right, #ffffff 0%, #2330df 100%);
    border-image-slice: 1;
    padding-top: 2px;
}

@media (min-width: 576px) {

}

.green-box {
    background-color: #218838;
    border-color: #1e7e34;
    border-radius: 0.5em;
    color: white;
}

@media (min-width: 576px) and (max-width:728px) {

}

@media (min-width: 900px) {

}

@media (min-width: 1000px) {
    
}



.pickup2 {
    /*background-color: #008ad5;*/
    background-color: #111;
    font-weight: 400;
    text-align: center;
    padding: 2px 2px;
    color: white;
}

.pickup4 {
    /*background-color: #008ad5;*/
    background-color: #9cc7e9;
    font-weight: 500;
    text-align: center;
    padding: 2px 2px;
    color: #000;
}

.pickup3 {
    background-color: #1b6e7c;
    font-weight: 600;
    text-align: center;
    padding: 2px 2px;
    color: #fff;
}

.pickup5 {
    background-color: #009bc2;
    font-weight: 600;
    text-align: center;
    padding: 2px 2px;
    color: #fff;
}

.pickup6 {
    background: linear-gradient(to right, #8d52fe, #ff914d);
    font-weight: 600;
    text-align: center;
    padding: 2px 2px;
    color: #fff;
}


.pickup .col-md-3 {
    padding-left: 1px;
    padding-right: 1px;
    text-align: center;
}

.topix-title {
    text-align: center;
    background-color: #187c7e;
    color: #fff;
    font-size: 18px;
}

.top-intro {
    padding-left: 10px;
    padding-right: 10px;
}

.index-title {
    font-family: "メイリオ";
    font-weight: bold;
    font-size: 24px;
    padding-top: 10px;
}

.structure {
    padding-right: 20px;
    padding-left: 20px;
}

.structure .a {
    color: #216ab2;
}

.catalog-pdf {
    text-align: center;
}

.attantion {
    border: 2px solid #187c7e;
}

.attantion .col-md-4 {
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #187c7e;
    color: white;
}

.attantion .col-md-8 {
    padding-top: 10px;
    padding-bottom: 10px;
    border-color: #0099cc;
}

.iq-discription {
    line-height: 2em;
    font-size: 17px;
}

.iq-discription2 {
    line-height: 2em;
    font-size: 17px;
}

.iq-discription3 {
    line-height: 1em;
    font-size: 17px;
}



.start-table-color {
    background-color: #ccffff;
}


.gyoumu {
    background-color: #EEE;
}

.table {
    text-align: center;
}

.table-color0 {
    background-color: #B4C1C2;
}

.table-color1 {
    background-color: #CEE6E1;
}

.table-color2 {
    background-color: #E3E3E3;
}

@media (max-width: 768px) {
    .img_wrap {
        border: 10px solid #fff;
        margin: 0 auto;
        overflow: hidden;
        background: #000;
    }
}

.img_wrap {
    border: 0px solid #fff;
    margin: 0 auto;
    overflow: hidden;
    background: #000;
}

.img_wrap img {
    text-align: center;
    width: 100%;
    cursor: pointer;
    transition-duration: 0.3s;
}

.img_wrap:hover img {
    opacity: 0.8;
    transition-duration: 0.3s;
}

.annotation {
    font-size: 0.80em;
    color: #666;
    text-indent: -1em;
    padding-left: 1em;
}

.blog-banner .img {
    height: 104px;
}

.fa-x-twitter:hover {
    color: #000;
}

.fa-twitter:hover {
    color: #55acee;
}

.fa-facebook:hover {
    color: #3b5998;
}

.fa-youtube:hover {
    color: #fc0d1c;
}

.fa-instagram:hover {
    color: #c6529a;
}

.sns-icon a {
    text-decoration: none;
    color: #fff;
}

.sns-icon-color a {
    text-decoration: none;
    color: #333;
}

.sns-icon .fab {
    font-size: 50px;
}

.sns-icon .fa-brands {
    font-size: 50px;
}

@media (max-width: 768px) {
    .sns-icon .fab {
        font-size: 30px;
    }

    .sns-icon .fa-brands {
        font-size: 30px;
    }
}

.sns-icon li {
    padding-right: 20px;
    list-style: none;
    display: inline;
}

.sns-icon-aria {
    background-color: #AAA;
}

.sns-text {
    color: white;
}

.tec-box li {
    list-style: none;
}

.box11 {
    padding: 0.8em 0.5em;
    margin: 0.8em 0;
    color: white;
    font-size: 16px;
    background: #5d627b;
    border-left: solid 5px white;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}

.box11 p {
    margin: 0;
    padding: 0;
}

.box11-2 {
    padding: 0.8em 0.5em;
    margin: 0.8em 0;
    color: #5d627b;
    font-size: 16px;
    background: white;
    border-left: solid 5px #5d627b;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}

.box11-2 p {
    margin: 0;
    padding: 0;
}

.footer-banner li {
    list-style: none;
    display: inline;
}

.footer-aria h2 {
    background-color: #EEE;
    font-size: 18px;
}

.footer {
    background-color: #EEE;
}

.footer .col-md-6 {
    font-size: 14px;
}

.border-top-grey {
    border-top: solid 1px #ccc;
}

/*--pagetop--*/

#page-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #77cc00;
    border-radius: 5px;
    width: 60px;
    height: 60px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.6rem;
    transition: all 0.5s;
}

#page-top a:hover {
    background: #777;
}

/*リンクを右下に固定*/

#page-top {
    position: fixed;
    right: 10px;
    z-index: 2;
    /*はじめは非表示*/
    opacity: 0;
    transform: translateY(100px);
}

/*　上に上がる動き　*/

#page-top.UpMove {
    animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*　下に下がる動き　*/

#page-top.DownMove {
    animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 1;
        transform: translateY(100px);
    }
}

/*-----pagetop end------*/

.copywrite {
    margin-top: 30px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: right;
}

.btn-icon {
    display: inline-block;
    max-width: 230px;
    text-align: center;
    background-color: #4682b4;
    font-size: 19px;
    color: #FFF;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 17px 8px;
    border-radius: 4px;
    position: relative;
}

.btn-icon:hover {
    opacity: 0.8;
}

.box1 {
    border: 1px solid #333;
}

.gmap {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    border: 1px solid #333;
}

.gmap iframe {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}

.border3 {
    border: solid 1px #9b9b9b;
}

/*テレビ*/

.table_media th,
.table_media td {
    border: solid 1px #808080;
    padding: 3px;
}

.table_media tr td:nth-of-type(2),
.table_media tr td:nth-of-type(3) {
    font-size: 0.7em;
    text-align: center;
}

.table_media tr th:first-of-type,
.table_media tr td:first-of-type {
    padding-left: 10px;
}

.table_media tr:nth-child(odd) {
    background-color: #fff8cc;
}

.table_media tr:first-of-type {
    background-color: #ff9c00;
}

@media screen and (max-width: 500px) {

    .table_media tr td:last-of-type,
    .table_media tr:first-of-type th:last-of-type,
    .table_media tr:first-of-type th:nth-of-type(4),
    .table_media tr td:nth-of-type(3) {
        background-color: #026d37;
        display: none;
    }

    .table_media tr th:first-of-type {
        min-width: 110px;
    }
}

@media (max-width: 500px) {

    .iq_span {
        font-size: 12px;
    }
}

.iq_span {
    font-size: 14px;
    font-weight: bold;
    line-height: 13px;
    color: rgb(216, 215, 215);
    padding-top: 8px;
}

.furusato2col {
    display: flex;
}

.rakuten_border {
    border: solid 1px #a9a9a9;
}



/*---TOP---*/

#firstview ul li {
    padding: 3px;
}

/*---landingpage---*/

.table-border1 {
    border-right: solid 1px #cccccc;
}

.right-border {
    border-right: solid 1px #cccccc;
    padding-top: 2px;
    padding-bottom: 2px;
}

.btn,
a.btn,
button.btn {
    position: relative;
    display: inline-block;
    padding: 1rem 1.5rem;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #fff;
    border-radius: 0.5rem;
}

.btn--green {
    color: #fff;
    background-color: #77cc00;
    border-bottom: 5px solid #599900;
}

a.btn--orange {
    color: #fff;
    background-color: #eb6100;
    border-bottom: 5px solid #b84c00;
}

a.btn--orange:hover {
    margin-top: 3px;
    color: #fff;
    background: #f56500;
    border-bottom: 2px solid #b84c00;
}

a.btn--blue {
    /* テキストは視認性の高い白 */
    color: #fff;
    /* 背景色: 信頼感のある濃いネイビー */
    background-color: #003366;
    /* 影: 背景よりわずかに暗いネイビーで重厚感を演出 */
    border-bottom: 5px solid #002244;
    transition: all 0.1s ease;
    /* ホバー時の変化を滑らかにする */
}

a.btn--blue:hover {
    /* 押下感を出すために上にマージン（見た目の沈み込み） */
    margin-top: 5px;
    color: #fff;
    /* ホバー時: 少し明るいブルーにして変化を分かりやすくする */
    background: #004488;
    /* 影: 沈んだ分、影の厚さを減らす */
    border-bottom: 0px solid #002244;
}

.btn-font {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5;
}

.btn-font-right {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.5;
}

.btn-footer {
    height: 130px;
    vertical-align: middle;
    margin: 20px;
}

@media (max-width: 768px) {
    .btn-font {
        font-size: 19px;
    }

    .btn-font-right {
        font-size: 19px;
    }

    .btn-footer {
        height: 100px;
        width: 280px;
        margin-bottom: 20px;
    }

    .btn--green {
        padding-top: 15px;
    }
}

@media (max-width: 500px) {
    .btn-font-right {
        font-size: 18px;
    }

    .btn-footer {
        height: 100px;
        width: 270px;
        margin-bottom: 20px;
    }

    .btn--green {
        padding-top: 8px;
    }

    .btn-footer {
        margin: 10px;
    }
}

/*---Q&A-*/

.qa-008 dt {
    margin-bottom: 1em;
    color: #333333;
    font-weight: 600;
    font-size: 1.2em;
    border-bottom: 1px solid #17a2b8;
}

.qa-008 dt::before,
.qa-008 dd::before {
    margin-right: .4em;
}

/*--.qa-008 dt::before {
    content: "Q.";
}--*/

.qa-008 dd {
    margin: 0 0 2.5em;
    padding: 1em 1.5em;
    background-color: #d7d7d7;
    color: #333333;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 10%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #dee2e6;
    transform: translateX(-50%);
}

.timeline-step {
    position: relative;
    width: 100%;
    font-size: large;
    padding: 1rem 2rem;
}

.timeline-step.left {
    left: 0;
    text-align: right;
}

.timeline-step.right {
    left: 10%;
    text-align: left;
}

.timeline-step::before {
    content: "";
    position: absolute;
    top: 1.5rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #57d631;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #57d631;
}

.timeline-step.left::before {
    right: -10px;
}

.timeline-step.right::before {
    left: -10px;
}

@media (max-width: 767px) {
    .timeline::before {
        left: 8px;
    }

    .timeline-step {
        width: 100%;
        padding-left: 2.5rem;
        text-align: left;
    }

    .timeline-step.right {
        left: 0;
    }

    .timeline-step.left {
        left: 0;
    }

    .timeline-step::before {
        left: 0;
    }
}

.price-card {
    border-left: 5px solid #57d631;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background-color: #f8f9fa;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.section-title {
    border-bottom: 2px solid #57d631;
    display: inline-block;
    padding-bottom: 0.25rem;
    margin-bottom: 1rem;
}

/* ヒーロースライドの基本スタイル */
.hero-slide {
    height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    color: white;
    text-shadow: 2px 2px 6px rgba(129, 129, 129, 0.9);
    font-family: "M PLUS 2", sans-serif;
    line-height: 1.4;
}

body.sub_page .hero-title {
    text-shadow: 2px 2px 15px rgb(41, 41, 41);
}

body.sub_page .hero-slide {
    height: 40vh;
}

.hero-text {
    position: absolute;
    bottom: 20%;
    left: 10%;
    right: 10%;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
    color: white;
}

.hero-text-right {
    left: auto;
    text-align: right;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 9px rgba(255, 255, 255, 0.9);
}

.hero-text p {
    font-size: 1.25rem;
}

@media (min-width: 768px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }

    .hero-text p {
        font-size: 1.5rem;
    }

}

/* レスポンシブ対応（モバイル） */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.1rem;
        text-align: center;
        padding: 1.0rem;
    }

    body.sub_page .hero-slide {
        height: 60vh;

    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
        text-align: center;
        padding: 1rem;
    }
}

.download-fixed {
    position: fixed;
    top: 30%;
    right: 0;
    z-index: 9999;
    writing-mode: vertical-rl;
    /* 文字を縦向きにしたい場合 */
    text-orientation: mixed;

}

.download-fixed .btn {
    font-size: 0.9rem;
    padding: 10px 8px;
    border-radius: 0.5rem 0 0 0.5rem;
    /* 右端にフィット */
}

.custom-download-btn {
    font-size: 0.8rem;
    padding: 8px 6px;
    background-color: #004bbb;
    /* ← お好きな色に変更 */
    color: #fff;
    /* 文字色 */
    border: 2px solid #004bbb;
    /* 少し濃い色を枠線に */
    border-radius: 0.6rem 0 0 0.6rem;
    transition: 0.2s;
}

/* ホバー時の色（必須ではない） */
.custom-download-btn:hover {
    background-color: #3aa0ff;
    color: #fff;
}

/* スマホ画面（幅576px以下）は非表示 */
@media (max-width: 576px) {
    .download-fixed {
        display: none;
    }
}

/* ==========================================================================
   3. COMMON（旧 common.css）
   ========================================================================== */

/* ===== DESIGN TOKENS ===== */
:root {
    --gradient-hero: linear-gradient(135deg, #050f1e 0%, #0a2540 60%, #0d3060 100%);
    --gradient-cta: linear-gradient(135deg, #00a8cc 0%, #0077aa 100%);
    --iq-gradient-cta: linear-gradient(135deg, #00a8cc 0%, #0077aa 100%);
    --iq-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    /* 色（新しいページ・部品で使う用。既存CSSは直接の色指定のまま） */
    --iq-navy: #0a2540;
    --iq-navy-deep: #050f1e;
    --iq-accent: #0077aa;
    --iq-cyan: #00a8cc;
    --iq-text: #2d3e50;
    --iq-muted: #4a6070;
    --iq-border: #dce8f0;
    --iq-tint: #e9f2f9;
    --iq-soft: #f3f7fb;
    --iq-radius-card: 20px;
}

    @media (max-width: 767.98px) {
        
    }

    /* アンカーリンク移動時にメニューで隠れないように */
    html {
        scroll-padding-top: 90px;
    }

/* ===== サブページのヒーロー（暗いオーバーレイで文字を読みやすく） ===== */
body.sub_page .hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 15, 30, 0.6) 0%, rgba(5, 15, 30, 0.15) 100%);
}

/* ===== セクション共通 ===== */
    .iq-section {
        padding: 2rem 0 1rem 0;
    }

    .iq-section--compact {
        padding: 1rem 0;
    }

    .iq-section--soft {
        background: #f3f7fb;
    }

    .iq-section-h2 {
        font-size: clamp(1.4rem, 3vw, 2rem);
        font-weight: 700;
        color: #1a2e44;
        text-align: center;
        margin-bottom: 0.6rem;
    }

    .iq-section-h2::after {
        content: '';
        display: block;
        width: 44px;
        height: 3px;
        background: var(--iq-gradient-cta);
        margin: 0.9rem auto 0;
        border-radius: 2px;
    }

    .iq-section-desc {
        text-align: center;
        font-size: 0.88rem;
        color: #5a7080;
        margin-bottom: 2.5rem;
    }

/* ===== カード・チップ・ボタン ===== */
.iq-card {
    background: #fff;
    border: 1px solid #dce8f0;
    border-radius: 20px;
    padding: 1.6rem;
}

.iq-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.iq-chip {
    font-size: 0.82rem;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    background: #e9f2f9;
    color: #0a2540;
    line-height: 1.5;
}

.iq-chip small {
    margin-left: 0.35rem;
    font-size: 0.72rem;
    color: #4a6070;
}

/* 紺のピル型ボタン */
.iq-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.2rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    background: #0a2540;
    text-decoration: none;
    transition: background-color var(--iq-transition), box-shadow var(--iq-transition);
}

.iq-btn:hover {
    color: #fff;
    background: #0077aa;
    box-shadow: 0 4px 12px rgba(0, 119, 170, 0.35);
}

    /* お問合せCTA */
    .iq-cta {
        padding: 1rem 0;
        background: var(--gradient-hero);
        color: #fff;
    }

    .iq-cta-title {
        font-size: clamp(1.05rem, 2.4vw, 1.5rem);
        font-weight: 700;
        line-height: 1.9;
        color: #fff;
        margin-bottom: 0.9rem;
    }

    .iq-cta-text {
        font-size: clamp(0.95rem, 2vw, 1.1rem);
        line-height: 1.9;
        color: rgba(255, 255, 255, 0.92);
        margin-bottom: 2rem;
    }

    .iq-cta-btn {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        gap: 0.2rem;
        padding: 0.9rem 2.8rem 1rem;
        border-radius: 999px;
        background: #fff;
        color: #0a2540;
        text-decoration: none;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
        transition: transform var(--iq-transition), box-shadow var(--iq-transition), background-color var(--iq-transition);
    }

    .iq-cta-btn:hover {
        color: #0a2540;
        background: #eaf4fa;
        transform: translateY(-3px);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
    }

    .iq-cta-btn-sub {
        font-size: 0.8rem;
        font-weight: 700;
        color: #0077aa;
    }

    .iq-cta-btn-main {
        font-size: 1.3rem;
        font-weight: 700;
    }

    /* フッター（紺で統一） */
    .footer.iq-footer {
        background: var(--gradient-hero);
        color: #b0c4d8;
        padding-top: 2.5rem !important;
        padding-bottom: 1rem;
    }

    .iq-footer .border-top-grey {
        border-top: 0;
    }

    .iq-footer h3 {
        font-size: 0.95rem;
        letter-spacing: 0.12em;
        color: #fff;
        margin-bottom: 1rem;
    }

    .iq-footer a {
        color: #cfe3f2;
        text-decoration: none;
        transition: color var(--iq-transition);
    }

    .iq-footer a:hover {
        color: #fff;
        text-decoration: underline;
    }

    .iq-footer .annotation {
        color: #8fa7bd;
    }

    .iq-footer .borderblack {
        display: inline-block;
        border: 1px solid rgba(255, 255, 255, 0.35);
        border-radius: 999px;
        padding: 0.35rem 1rem !important;
    }

    .iq-footer ul {
        padding-left: 1rem;
    }

    .iq-footer .container>.text-center {
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding-top: 1rem;
        font-size: 0.8rem;
    }

    @media (max-width: 575.98px) {

        .iq-section {
            padding: 3rem 0;
        }

        .iq-cta-btn {
            padding: 0.8rem 1.8rem 0.9rem;
        }

        .iq-cta-btn-main {
            font-size: 1.1rem;
        }
    }

/* コピーライトだけの簡易フッター（サブページ用） */
.footer.iq-footer.iq-footer--simple {
    padding-top: 1.2rem !important;
    padding-bottom: 1.2rem;
}

@media (prefers-reduced-motion: reduce) {

    .iq-cta-btn,
    .iq-btn {
        transition: none;
    }
}

/* ===== ベントグリッド（トップ・開発サービスで共用） ===== */
.iq-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.iq-bento-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #dce8f0;
    border-radius: 20px;
    overflow: hidden;
    transition: transform var(--iq-transition), box-shadow var(--iq-transition), border-color var(--iq-transition);
}

.iq-bento-item:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 168, 204, 0.4);
    box-shadow: 0 12px 32px rgba(0, 40, 80, 0.14);
}

.iq-bento-media {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 0.9rem;
    min-height: 150px;
}

.iq-bento-media img {
    display: block;
    width: 100%;
    height: 130px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.iq-bento-item:hover .iq-bento-media img {
    transform: scale(1.05);
}

.iq-bento-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.1rem 1.25rem 1.25rem;
    text-align: left;
    background: #e9f2f9;
}

.iq-bento-tag {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #006a85;
    background: rgba(0, 168, 204, 0.12);
    border-radius: 999px;
    padding: 0.15rem 0.7rem;
    margin-bottom: 0.6rem;
}

.iq-bento-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0a1929;
    line-height: 1.4;
    margin: 0 0 0.5rem;
}

.iq-bento-text {
    font-size: 0.82rem;
    line-height: 1.85;
    color: #4a6070;
    margin: 0 0 0.8rem;
}

.iq-bento-link {
    margin-top: auto;
    align-self: flex-start;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    background: #0a2540;
    border-radius: 999px;
    padding: 0.4rem 1.2rem;
    text-decoration: none;
    transition: background-color var(--iq-transition), box-shadow var(--iq-transition);
}

.iq-bento-link i {
    transition: transform var(--iq-transition);
}

.iq-bento-link:hover {
    color: #fff;
    background: #0077aa;
    box-shadow: 0 4px 12px rgba(0, 119, 170, 0.35);
}

.iq-bento-link:hover i {
    transform: translateX(4px);
}

/* 大きいタイル（2×2） */
.iq-bento-xl {
    grid-column: span 2;
    grid-row: span 2;
}

.iq-bento-xl .iq-bento-media {
    flex: 1;
    min-height: 260px;
}

.iq-bento-xl .iq-bento-media img {
    height: 100%;
    max-height: 320px;
}

.iq-bento-xl .iq-bento-title {
    font-size: 1.35rem;
}

.iq-bento-xl .iq-bento-text {
    font-size: 0.9rem;
}

/* 横長タイル（2×1） */
.iq-bento-wide {
    grid-column: span 2;
    flex-direction: row;
}

.iq-bento-wide .iq-bento-media {
    flex: 0 0 42%;
}

.iq-bento-wide .iq-bento-media img {
    height: 150px;
}

.iq-bento-wide .iq-bento-body {
    justify-content: center;
}

/* 医療機器タイル：寒色のアクセント */
.iq-bento-medical {
    border-color: rgba(220, 53, 69, 0.25);
}

.iq-bento-medical .iq-bento-tag {
    color: #b02a37;
    background: rgba(220, 53, 69, 0.1);
}

/* アクセントタイル（営業ツールの制作） */
.iq-bento-accent {
    background: linear-gradient(135deg, #0090b8 0%, #005f8f 100%);
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(0, 119, 170, 0.28);
}

.iq-bento-accent:hover {
    border-color: transparent;
    box-shadow: 0 14px 36px rgba(0, 119, 170, 0.4);
}

.iq-bento-accent .iq-bento-media {
    background: rgba(255, 255, 255, 0.14);
}

.iq-bento-accent .iq-bento-body {
    background: transparent;
}

.iq-bento-accent .iq-bento-title {
    color: #fff;
}

.iq-bento-accent .iq-bento-text {
    color: rgba(255, 255, 255, 0.9);
}

.iq-bento-accent .iq-bento-tag {
    color: #005f8f;
    background: #fff;
}

/* 青背景では紺文字が沈むので、白いボタン状にして紺文字を保つ */
.iq-bento-accent .iq-bento-link {
    color: #0a2540;
    background: #fff;
    border-radius: 999px;
    padding: 0.35rem 1.1rem;
}

.iq-bento-accent .iq-bento-link:hover {
    color: #0d3060;
    background: #eaf4fa;
    box-shadow: 0 4px 12px rgba(0, 20, 45, 0.25);
}

/* タブレット：2列 */
@media (max-width: 991.98px) {
    .iq-bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .iq-bento-xl {
        grid-row: span 1;
    }

    .iq-bento-xl .iq-bento-media {
        min-height: 220px;
    }
}

/* スマホ：1列 */
@media (max-width: 575.98px) {
    .iq-bento {
        grid-template-columns: 1fr;
    }

    .iq-bento-xl,
    .iq-bento-wide {
        grid-column: span 1;
    }

    .iq-bento-wide {
        flex-direction: column;
    }

    .iq-bento-wide .iq-bento-media {
        flex: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .iq-bento-item,
    .iq-bento-media img {
        transition: none;
    }

    .iq-bento-item:hover,
    .iq-bento-item:hover .iq-bento-media img {
        transform: none;
    }
}

/* ===== 定義リスト（会社概要・お問合せ先など） ===== */
.iq-dl {
    margin: 0;
    background: #fff;
    border: 1px solid #dce8f0;
    border-radius: 20px;
    overflow: hidden;
}

.iq-dl-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    border-top: 1px solid #e6eef5;
}

.iq-dl-row:first-child {
    border-top: 0;
}

.iq-dl dt {
    padding: 1rem 1.4rem;
    background: #f1f7fc;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0a2540;
}

.iq-dl dd {
    margin: 0;
    padding: 1rem 1.4rem;
    color: #2d3e50;
    line-height: 1.9;
}

@media (max-width: 767.98px) {
    .iq-dl-row {
        grid-template-columns: 1fr;
    }

    .iq-dl dt {
        padding: 0.7rem 1.2rem 0.4rem;
    }

    .iq-dl dd {
        padding: 0.5rem 1.2rem 0.9rem;
    }
}

/* ===== サブページ用の共通部品 ===== */
.iq-lead {
    max-width: 840px;
    margin: 0 auto;
    font-size: 1.02rem;
    line-height: 2;
    color: #2d3e50;
}

.iq-lead p {
    margin: 0 0 1.1rem;
}

.iq-media {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #dce8f0;
    background: #fff;
}

.iq-media img {
    display: block;
    width: 100%;
    height: auto;
}

.iq-center {
    text-align: center;
}

/* 機能カード（3列） */
.iq-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.iq-feature {
    background: #fff;
    border: 1px solid #dce8f0;
    border-radius: 20px;
    padding: 1.7rem 1.6rem;
    transition: transform var(--iq-transition), box-shadow var(--iq-transition), border-color var(--iq-transition);
}

.iq-feature:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 168, 204, 0.4);
    box-shadow: 0 12px 30px rgba(0, 40, 80, 0.12);
}

.iq-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.25rem;
    background: var(--iq-gradient-cta);
}

.iq-feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5;
    color: #0a1929;
    margin: 0 0 0.6rem;
}

.iq-feature-text {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.9;
    color: #2d3e50;
}

/* ステップ（番号つきの流れ） */
.iq-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.iq-step {
    flex: 0 0 calc((100% - 5 * 0.9rem) / 6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1.2rem 0.6rem;
    background: #fff;
    border: 1px solid #dce8f0;
    border-radius: 18px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.5;
    color: #0a2540;
}

.iq-step-no {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 0.95rem;
    color: #fff;
    background: var(--iq-gradient-cta);
}

/* チェックリスト */
.iq-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.iq-checklist li {
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.7;
    font-size: 0.93rem;
    color: #2d3e50;
}

.iq-checklist li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: #0f766e;
}

/* 補足ボックス */
.iq-callout {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1.1rem 1.4rem;
    background: #e9f2f9;
    border-left: 4px solid #0077aa;
    border-radius: 14px;
    color: #0a2540;
    line-height: 1.9;
}

.iq-callout i {
    margin-top: 0.35rem;
    color: #0077aa;
}

/* ボタン並び・枠線ボタン */
.iq-btn-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.iq-btn--ghost {
    color: #0a2540;
    background: #fff;
    border: 1px solid #0a2540;
}

.iq-btn--ghost:hover {
    color: #fff;
    background: #0a2540;
}

.iq-btn--lg {
    padding: 0.8rem 2.2rem;
    font-size: 1rem;
}

@media (max-width: 991.98px) {
    .iq-step {
        flex-basis: calc((100% - 3 * 0.9rem) / 4);
    }
}

@media (max-width: 767.98px) {
    .iq-feature-grid {
        grid-template-columns: 1fr;
    }

    .iq-step {
        flex-basis: calc((100% - 0.9rem) / 2);
    }
}

/* ==========================================================================
   4. NAV（旧 nav.css）
   ========================================================================== */

:root {
    --iq-nav-h: 76px;
}

html {
    scroll-padding-top: 90px;
}

.iq-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    height: var(--iq-nav-h);
    background: #fff;
    border-bottom: 1px solid #e6eef5;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.25s ease;
}

/* 下スクロールで上に隠れ、上スクロールで戻る（js/common.js の initNav が is-hidden を付け外し）
   ピルの影まで隠すため、高さ＋40px 分だけ上げる */
.iq-header.is-hidden {
    transform: translateY(calc(-100% - 40px));
}

.iq-header-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 1320px;
    height: 100%;
    margin: 0 auto;
    padding: 0 1.25rem;
    transition: height 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, border-radius 0.3s ease, background-color 0.3s ease;
}

/* ロゴ */
.iq-brand {
    display: block;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
    color: #0a2540;
    text-decoration: none;
}

.iq-brand img {
    display: block;
    width: 124px;
    height: auto;
    transition: width 0.3s ease;
}

.iq-brand-name {
    font-family: "M PLUS 2", Arial, Helvetica, sans-serif;
    font-size: 0.8em;
    font-weight: 400;
    line-height: 1.3;
    color: #333;
    white-space: nowrap;
}

/* メニュー */
.iq-nav {
    margin-left: auto;
}

.iq-nav-list {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.iq-nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.9rem;
    border: 0;
    border-radius: 999px;
    background: none;
    font-family: "M PLUS 2", "メイリオ", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.iq-nav-link:hover {
    background: #e9f2f9;
    color: #005f8f;
}

.iq-nav-link:focus-visible,
.iq-nav-toggle:focus-visible,
.iq-dropdown a:focus-visible {
    outline: 3px solid rgba(0, 168, 204, 0.55);
    outline-offset: 2px;
}

.iq-nav-link.is-active {
    color: #000;
    font-weight: 500;
}

@media (min-width: 992px) {
    .iq-nav-link {
        letter-spacing: 1px;
    }
}

/* ドロップダウン */
.iq-nav-dropdown {
    position: relative;
}

.iq-nav-dropbtn i {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.iq-nav-dropdown.is-open .iq-nav-dropbtn i {
    transform: rotate(180deg);
}

.iq-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 260px;
    margin: 6px 0 0;
    padding: 0.5rem;
    list-style: none;
    background: #fff;
    border: 1px solid #dce8f0;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 30, 60, 0.18);
}

/* ホバーしたまま下に降りられるよう、すき間を埋める */
.iq-dropdown::before {
    content: '';
    position: absolute;
    inset: -8px 0 auto 0;
    height: 8px;
}

.iq-nav-dropdown.is-open .iq-dropdown {
    display: block;
}

@media (hover: hover) and (min-width: 992px) {
    .iq-nav-dropdown:hover .iq-dropdown {
        display: block;
    }
}

.iq-dropdown a {
    display: block;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-family: "M PLUS 2", "メイリオ", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

.iq-dropdown a:hover {
    background: #e9f2f9;
    color: #005f8f;
}

/* メニューボタン（スマホ） */
.iq-nav-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
    padding: 0.45rem 0.75rem;
    border: 1px solid #cfdce8;
    border-radius: 12px;
    background: #fff;
    color: #0a2540;
    cursor: pointer;
}

.iq-nav-toggle-bars {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
    margin: 6px 0;
}

.iq-nav-toggle-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1;
}

/* ===== スクロール後：小さな丸いピルになって浮く ===== */
.iq-header.is-scrolled {
    background: transparent;
    border-color: transparent;
    pointer-events: none;
}

.iq-header.is-scrolled .iq-header-inner {
    pointer-events: auto;
    width: fit-content;
    max-width: calc(100% - 24px);
    height: 56px;
    margin: 10px auto 0;
    padding: 0 1.4rem 0 1rem;
    gap: 1rem;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 8px 28px rgba(0, 20, 45, 0.22), 0 2px 6px rgba(0, 20, 45, 0.1);
}

.iq-header.is-scrolled .iq-brand img {
    width: 92px;
}

.iq-header.is-scrolled .iq-brand-name {
    display: none;
}

.iq-header.is-scrolled .iq-nav {
    margin-left: 0;
}

/* ===== タブレット・スマホ ===== */
@media (max-width: 991.98px) {
    :root {
        --iq-nav-h: 64px;
    }

    .iq-brand img {
        width: 100px;
    }

    .iq-nav-toggle {
        display: flex;
    }

    .iq-nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0.75rem;
        right: 0.75rem;
        margin: 0;
        padding: 0.6rem;
        background: #fff;
        border: 1px solid #dce8f0;
        border-radius: 20px;
        box-shadow: 0 16px 36px rgba(0, 30, 60, 0.2);
    }

    .iq-nav.is-open {
        display: block;
    }

    .iq-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.1rem;
    }

    .iq-nav-link {
        padding: 0.8rem 1rem;
        border-radius: 12px;
    }

    .iq-nav-dropbtn {
        width: 100%;
        justify-content: space-between;
    }

    .iq-dropdown {
        position: static;
        min-width: 0;
        margin: 0.2rem 0 0.3rem 1rem;
        padding: 0.2rem;
        border: 0;
        border-left: 2px solid #cfe3f2;
        border-radius: 0;
        box-shadow: none;
    }

    .iq-dropdown::before {
        display: none;
    }

    .iq-header.is-scrolled .iq-header-inner {
        width: calc(100% - 24px);
        justify-content: space-between;
        padding: 0 0.8rem 0 1rem;
    }

    .iq-header.is-scrolled .iq-nav-toggle {
        padding: 0.3rem 0.65rem;
    }
}

@media (max-width: 479.98px) {
    .iq-brand-name {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .iq-header,
    .iq-header-inner,
    .iq-brand img,
    .iq-nav-link,
    .iq-nav-dropbtn i {
        transition: none;
    }
}

