@charset "UTF-8";
@import url("layout.css");
/*
Theme Name: 大北自動車整備工場 Version02
Description: 大北自動車整備工場 公式ホームページ
Author: MIA RESORT
*/
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}
/*box-sizingを全ブラウザに対応*/
*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}
html {
    font-size: 62.5%;
}
body {
    /*font-family: 'Noto Sans JP', sans-serif;*/
    font-family: "Noto Sans JP", sans-serif;
    font-size: clamp(1.5rem, 1.475rem + 0.078vw, 1.6rem);
    line-height: 1.8;
    color: #333;
    margin: 0px;
}
#s_navi {
    display: none;
}
.top-img-sp {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 0;
}
.top-img-sp img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
/*===========================
  カスタムプロパティ(変数)
==========================*/
:root {
    --primary-color: #4A99FF;
    --sub-color: #4AD2FF;
    --accent-color: #F4F320;
}
/*===========================
  スクロールナビゲーション
==========================*/
.scroll-nav {
    position: fixed;
    top: -90px;
    left: 0;
    width: 100%;
    z-index: 200;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    transition: top 0.4s ease;
}
.scroll-nav.is-show {
    top: 0;
}
.scroll-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: auto;
    padding: 10px 3%;
}
.scroll-nav__logo img {
    width: clamp(17rem, 13.75rem + 10.156vw, 30rem);
    height: auto;
}
.scroll-nav__logo {
    margin: 0;
}
/*===========================
  headerナビゲーション
==========================*/
.header-pc-nav__list {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0 0 0 30px;
    background-color: var(--primary-color);
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}
.header-pc-nav__list li a {
    color: #fff;
    text-decoration: none;
    padding: 16px 18px;
    font-size: 1.6rem;
    font-weight: 400;
    display: block;
    transition: opacity 0.3s;
}
.header-pc-nav__list li a:hover {
    opacity: 0.75;
}
.header-contact a {
    background-color: var(--accent-color);
    color: #333 !important;
    border-radius: 50px;
    padding: 20px 40px !important;
    font-weight: 700;
    transition: opacity 0.3s;
}
/*===========================
  headerイメージ
==========================*/
.top-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;
    position: relative;
    min-height: 55vw;
    padding-top: 30px;
    background-image: url(images/header-img.jpg);
    background-size: 100% auto;
    background-position: left top;
    background-repeat: no-repeat;
}
.header-logo {
    position: relative;
    z-index: 10;
    padding: 0 3%;
}
.header-logo hgroup,
.header-logo h1 {
    margin: 0;
    padding: 0;
}
.header-logo img {
    width: clamp(200px, 20vw, 380px);
    height: auto;
}
.header-pc-nav {
    flex: 1;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: flex-end;
    padding-right: 3%;
}
.top-hero {
    flex: 0 0 100%;
    position: relative;
    z-index: 5;
    min-height: calc(55vw - 115px);
    display: flex;
    align-items: center;
    padding: 0 5%;
}
.top-hero>h2 {
    display: none;
}
.top-hero__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding-bottom: 140px;
}
.hero-tagline {
    color: #fff;
    font-style: normal;
    font-size: clamp(2.2rem, 1.8rem + 0.8vw, 3rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    margin: 0px;
}
.top-hero__content h3 {
    color: #fff;
    font-size: clamp(3.2rem, 2.4rem + 2vw, 5.6rem);
    font-weight: 900;
    line-height: 1.4;
    margin: 0px 0 8px;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}
.hero-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.4rem, 1.35rem + 0.15vw, 1.6rem);
    margin: 0;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
}
.top-hero__illust {
    position: absolute;
    bottom: -70px;
    right: 0;
    width: clamp(470px, 68%, 950px);
    z-index: 3;
    line-height: 0;
}
.top-hero__illust img {
    display: block;
    width: 100%;
}
/*===========================
  TOPページ PC
==========================*/
/* トップAbout */
.top-about {
    background-color: var(--primary-color);
    background-image: url(images/about-text.png);
    background-repeat: no-repeat;
    background-position: 10% 10%;
    background-size: 60%;
    padding: 5% 0px 3%;
}
.top-about-wrap {
    width: min(94%, 1400px);
    margin: auto;
}
.top-about-wrap h3 {
    text-align: center;
    color: #FFF;
    font-size: clamp(2.5rem, 2rem + 1.563vw, 4.5rem);
    padding: 5% 0 40px;
}
.top-about-con>p img:first-of-type {
    border-radius: 40px;
}
.top-about-illust {
    position: relative;
    top: -100px;
    left: 20px;
    width: clamp(10rem, 5.5rem + 14.063vw, 28rem);
    height: auto;
}
.top-about-text {
    position: relative;
    top: -150px;
    left: 90px;
    width: min(90%, 900px);
    margin: auto;
    color: #FFF;
}
/* トップService */
.service01 {
    position: relative;
    top: -5px;
    width: clamp(30rem, 7.5rem + 70.313vw, 120rem);
    margin-left: auto;
}
.top-service01 {
    position: relative;
    width: 80%;
}
.top-service-text {
    position: absolute;
    top: 5%;
    right: 5%;
    color: #FFF;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
    z-index: 1;
}
.top-service-text h3 {
    font-size: clamp(2.5rem, 1.625rem + 2.734vw, 6rem);
    line-height: 1.2;
}
.top-service-img img {
    border-radius: 0 40px 40px 0;
    width: 100%;
    display: block;
}
.top-service-illust img {
    position: relative;
    top: -400px;
    left: 80px;
    width: clamp(9rem, 0rem + 28.125vw, 45rem);
    height: auto;
}
.top-service-text02 {
    position: relative;
    top: 60px;
    left: 10%;
    text-align: center;
}
.syaken-b {
    text-align: center;
    margin-top: -380px;
    padding-bottom: 40px;
}
.syaken-b a {
    display: inline-block;
    background-color: var(--accent-color);
    color: #333;
    text-decoration: none;
    padding: 1em 4em;
    border-radius: 50px;
    font-weight: 400;
    font-size: clamp(1.5rem, 1.458rem + 0.152vw, 1.7rem);
    transition: opacity 0.3s;
}
.syaken-b a:hover {
    opacity: 0.75;
}
.service02 {
    width: clamp(30rem, 7.5rem + 70.313vw, 120rem);
    margin-top: 10%;
}
.top-service02 {
    padding-left: 20%;
    padding-bottom: 30px;
    position: relative;
    background: linear-gradient(50deg, #4A99FF 0 31%, #ffffff 31% 100%);
}
.top-service02 img {
    width: 100%;
    height: auto;
    border-radius: 40px 0px 0px 40px;
}
.top-service02-text {
    position: absolute;
    top: 5%;
    left: 25%;
    color: #FFF;
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
    z-index: 1;
}
.top-service02-text h3 {
    font-size: clamp(2.5rem, 1.625rem + 2.734vw, 6rem);
    line-height: 1.2;
}
.top-seibi-text {
    width: min(90%, 800px);
}
/* トップ NEWS */
.top-news {
    background-color: var(--primary-color);
    padding: 70px 0 80px;
}
.top-news__inner {
    position: relative;
    width: min(94%, 1400px);
    margin: auto;
}
.top-news__head {
    margin-bottom: 30px;
    padding-top: 10px;
}
.top-news__head h4 {
    font-size: clamp(3rem, 0.75rem + 7.031vw, 12rem);
    font-weight: 900;
    color: #FFF;
    line-height: 1;
    margin: 0;
}
.top-news__head h4 span {
    font-size: clamp(1.4rem, 1.35rem + 0.156vw, 1.6rem);
    font-weight: 400;
    color: #FFF;
    margin-left: 10px;
    vertical-align: unset;
}
ul.top-news__list {
    width: min(100%, 1200px);
    margin-left: auto;
}
.top-news__list {
    padding: 0;
    margin: 0;
}
.top-news__list li {
    border-bottom: 1px solid #FFF;
}
.top-news__list li:first-child {
    border-top: 1px solid #FFF;
}
.top-news__list li a {
    display: flex;
    align-items: center;
    gap: 24px;
    text-decoration: none;
    color: #FFF;
    transition: opacity 0.3s, transform 0.3s;
    padding: 30px 0px;
}
.top-news__list li a:hover {
    background-color: rgba(255, 255, 255, 0.12);
}
.top-news__list li a span {
    color: #FFF;
    font-size: 1.4rem;
    white-space: nowrap;
    min-width: 90px;
}
/*===========================
  下層ページ PC
==========================*/
/* 下層ページ共通 */
.sub-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;
    padding-top: 30px;
    position: relative;
    height: 500px;
    /* sub-heroの高さに合わせて領域を確保 */
}
.sub-hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* ロゴやメニューの背面に配置 */
}
.sub-hero h2 {
    margin: 0;
    height: 100%;
}
.sub-hero h2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sub-con {
    width: min(94%, 1400px);
    margin: 10% auto 0;
}
/* 車検料金ページ */
.sub-title {
    background: linear-gradient(90deg, var(--primary-color) 20%, #cbe4fc 100%);
    text-align: center;
    padding: 25px 0;
}
.sub-title h3 {
    color: #FFF;
    font-size: clamp(2rem, 1.5rem + 1.563vw, 4rem);
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.1em;
}
.service-ticket img {
    width: 800px;
    height: auto;
}
.require-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin: 30px 0 80px;
}
.require-box__text {
    flex: 1 1 400px;
}
.require-box__text ul {
    margin-bottom: 20px;
    padding: 0;
}
.require-box__text li {
    font-size: clamp(1.6rem, 1.55rem + 0.156vw, 1.8rem);
    font-weight: 400;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.require-box__text li::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url('images/clipboard-mark.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.require-box__note {
    color: #e56b6b;
    font-size: clamp(1.4rem, 1.375rem + 0.078vw, 1.5rem);
    font-weight: 500;
}
.require-box__img {
    flex: 1 1 400px;
}
.require-box__img img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}
.flow-box {
    margin-bottom: 60px;
}
.flow-box__head {
    background-color: var(--primary-color);
    color: #fff;
    font-size: clamp(1.8rem, 1.5vw + 1.2rem, 2.2rem);
    font-weight: 500;
    padding: 15px 20px;
    margin: 0 0 30px 0;
}
.flow-box__wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
}
.flow-box__content {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
}
.flow-box__item {
    margin-bottom: 30px;
}
.flow-box__item:last-child {
    margin-bottom: 0;
}
.flow-label {
    display: inline-block;
    border: 1px solid #b3d4f8;
    color: var(--primary-color);
    padding: 5px 40px;
    background-color: #f2f8ff;
    font-size: 1.4rem;
    margin-bottom: 15px;
}
.flow-box__item p {
    font-size: clamp(1.5rem, 1.45rem + 0.156vw, 1.7rem);
    line-height: 1.8;
    margin-bottom: 15px;
}
.flow-btn-yellow {
    display: inline-block;
    background-color: #faeb2c;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 60px;
    border-radius: 50px;
    font-size: 1.6rem;
    transition: opacity 0.3s;
}
.flow-btn-yellow:hover {
    opacity: 0.8;
}
.flow-tel a {
    color: var(--primary-color);
    font-size: clamp(2rem, 2vw + 1.5rem, 2.8rem);
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 5px;
}
.flow-tel i {
    font-size: 0.9em;
}
.flow-tel span {
    font-size: 1.6rem;
    font-weight: 400;
}
.flow-box__img {
    flex: 1 1 400px;
}
.flow-box__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.flow-arrow {
    width: 30px;
    height: 30px;
    border-right: 5px solid var(--primary-color);
    border-bottom: 5px solid var(--primary-color);
    transform: rotate(45deg);
    margin: -10px auto 60px;
}
/* 自動車整備ページ */
.cert-box {
    position: relative;
    margin: 80px 0 60px;
    padding-top: 30px;
}
.cert-box__character {
    position: absolute;
    top: -80px;
    left: -20px;
    z-index: 2;
}
.cert-box__char-img {
    width: 300px;
    height: auto;
}
.cert-box__inner {
    background-color: #E3EFFF;
    border-radius: 20px;
    padding: 80px 40px 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.cert-item {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cert-item__img {
    text-align: center;
}
.cert-item__img img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
}
.cert-item__text p {
    font-size: clamp(1.5rem, 1vw + 1.2rem, 1.8rem);
    line-height: 1.8;
    margin: 0;
}
.cert-item__text .text-red {
    color: #d11919;
}
/* よくある質問ページ */
.faq-container {
    margin: 40px 0 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.faq-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.faq-q {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f8fbff;
    border-left: 5px solid var(--primary-color);
    position: relative;
    transition: background-color 0.3s;
    list-style: none;
}
.faq-q::-webkit-details-marker {
    display: none;
}
.faq-q:hover {
    background-color: #eef5ff;
}
.faq-icon-q {
    color: var(--primary-color);
    font-size: 2.4rem;
    font-weight: 700;
    margin-right: 15px;
    font-family: 'Arial', sans-serif;
}
.faq-q-text {
    font-size: clamp(1.5rem, 1vw + 1.2rem, 1.8rem);
    font-weight: 500;
    color: #333;
    flex-grow: 1;
    padding-right: 30px;
}
.faq-toggle {
    position: absolute;
    right: 25px;
    width: 15px;
    height: 15px;
}
.faq-toggle::before,
.faq-toggle::after {
    content: "";
    position: absolute;
    background-color: var(--primary-color);
    transition: transform 0.3s;
}
.faq-toggle::before {
    top: 6px;
    left: 0;
    width: 15px;
    height: 3px;
    border-radius: 2px;
}
.faq-toggle::after {
    top: 0;
    left: 6px;
    width: 3px;
    height: 15px;
    border-radius: 2px;
}
details[open] .faq-toggle::after {
    transform: rotate(90deg);
    opacity: 0;
}
.faq-a {
    padding: 25px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: flex-start;
    background-color: #faf1f1;
}
.faq-icon-a {
    color: #ff5722;
    font-size: 2.4rem;
    font-weight: 700;
    margin-right: 15px;
    font-family: 'Arial', sans-serif;
    line-height: 1.2;
}
.faq-a-text {
    flex-grow: 1;
}
.faq-a-text p {
    font-size: clamp(1.4rem, 1vw + 1.1rem, 1.6rem);
    line-height: 1.8;
    color: #444;
    margin: 0;
}

/*===========================
  footer コンタクト
==========================*/
.foot-contact {
    width: min(94%, 1400px);
    margin: 80px auto;
    background-color: var(--primary-color);
    border-radius: 20px;
    padding: 50px 20px;
    text-align: center;
    color: #fff;
    box-sizing: border-box;
}
.foot-contact h5 {
    font-size: clamp(3rem, 2.25rem + 2.344vw, 6rem);
    font-weight: 700;
    margin: 0 0 16px;
    letter-spacing: 0.05em;
}
.foot-contact p {
    font-size: clamp(1.3rem, 1vw + 1rem, 1.6rem);
    margin: 0 0 40px;
}
.foot-contact div {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}
.foot-contact div a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 450px;
    max-width: 100%;
    background-color: var(--accent-color);
    color: #333;
    text-decoration: none;
    padding: 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem);
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.foot-contact div a:hover {
    opacity: 0.8;
}
/*===========================
  footer
==========================*/
#footer {
    background-color: #DAEAFF;
    padding: 60px 20px 20px;
    text-align: center;
}
#footer>div:nth-of-type(1) ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0 0 50px;
}
#footer>div:nth-of-type(1) ul li a {
    color: #333;
    text-decoration: none;
    font-size: clamp(1.5rem, 1.45rem + 0.156vw, 1.7rem);
    transition: opacity 0.3s;
}
#footer>div:nth-of-type(1) ul li a:hover {
    opacity: 0.7;
}
#footer>div:nth-of-type(2) {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}
#footer>div:nth-of-type(2) img {
    width: 340px;
    max-width: 100%;
}
#footer>div:nth-of-type(2) div {
    text-align: left;
}
#footer>div:nth-of-type(2) div p {
    font-size: 1.5rem;
    margin: 8px 0;
    line-height: 1.5;
    color: #333;
}
#footer>div:nth-of-type(2) div p:first-child {
    font-weight: 700;
    font-size: 1.6rem;
}
#footer>ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}
#footer>ul li a {
    display: block;
    transition: opacity 0.3s;
}
#footer>ul li a:hover {
    opacity: 0.7;
}
#footer>ul li a img {
    width: 340px;
    max-width: 100%;
}
#footer>div:nth-of-type(3) {
    border-top: 1px solid #c9def0;
    padding-top: 20px;
}
#footer>div:nth-of-type(3) small {
    font-size: 1.4rem;
    color: #2b2b2b;
}
/*===========================
メールフォームのスタイル
==========================*/
input,
textarea,
select {
    /* ress.min.cssでリセットされているのでここで命令 */
    background-color: #f8f8f8;
    border: 1px solid #e2e2e2;
}
.wpcf7 input[type="submit"] {
    font-size: 1.8rem;
    padding: 0.2em 0.4em;
    background: #eee;
    color: #555;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 0 1px rgba(0, 0, 0, .2);
    border: 1px solid #ccc;
    text-shadow: -1px 1px 0 rgba(255, 255, 255, 1);
}
.wpcf7 input[type="submit"]:hover {
    box-shadow: 0 0 1px rgba(0, 0, 0, .2) inset;
}
span.wpcf7-list-item {
    /*チェックボックス改行*/
    display: block !important;
}
#form {
    width: min(94%, 1200px);
    margin: 40px auto;
    background-color: #FFF;
    padding: 50px 60px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: none;
}
#form > p {
    text-align: center;
    font-size: clamp(1.4rem, 1vw + 1.2rem, 1.6rem);
    margin-bottom: 30px;
    color: #555;
    padding: 0;
}
#form dl {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #e7e7e7;
}
#form dt {
    width: 35%;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    padding: 25px 20px;
    background-color: #f3f9ff;
    border-bottom: 1px solid #e7e7e7;
    display: flex;
    align-items: center;
}
#form dd {
    width: 65%;
    font-size: 1.5rem;
    padding: 25px 20px;
    border-bottom: 1px solid #e7e7e7;
    margin: 0;
    display: flex;
    align-items: center;
}
#form dd p {
    line-height: 1.7;
    margin: 0;
}
.hiss {
    display: inline-block;
    font-size: 1.1rem;
    background-color: #ff4b4b;
    padding: 3px 8px;
    border-radius: 4px;
    color: #FFF;
    margin-left: 10px;
    font-weight: normal;
}
.mail_box {
    margin: 5px 0px;
    font-size: 1.5rem;
}
.form-width {
    /* class:form-widthをcontact-form7へ テキストエリアの幅*/
    max-width: 100%;
}
/*/ _// _// _// _// _// _// _// _// _// _// _/
メディアクエリによる切り替え
/ _// _// _// _// _// _// _// _// _// _// _// _*/
@media only screen and (max-width: 1280px) {
.scroll-nav {
    display: none;
}
.header-pc-nav__list {
    gap: 5px;
}
/* トップAbout */
.top-about {
    background-position: 1% 10%;
    background-size: 60%;
    padding: 5% 0px;
}
.top-about-text {
    top: -40px;
    left: 0px;
}
/* トップサービス */
.top-service-illust img {
    top: -250px;
    left: 60px;
}
.syaken-b {
    margin-top: -250px;
    padding-bottom: 30px;
}
}
@media only screen and (max-width: 1024px) {
/* 1024pxとそれ以下 */
/*===========================
  トップイメージ スマホ
==========================*/
.header-logo {
    display: none;
}
.header-pc-nav {
    display: none;
}
.top-header {
    background-image: none;
    min-height: min(111vw, 600px);
    padding-top: 70px;
}
.top-img-sp {
    display: block;
}
.top-img-sp img {
    height: 100%;
}
.top-hero {
    min-height: calc(min(111vw, 600px) - 70px);
    padding: 20px 4%;
    align-items: center;
    overflow: hidden;
}
.top-hero__content {
    max-width: 100%;
    padding-bottom: 0;
}
.top-hero__content h3 {
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    white-space: normal;
}
.hero-tagline {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
}
.hero-desc {
    font-size: 1.3rem;
}
.top-hero__illust {
    width: clamp(200px, 65%, 450px);
    bottom: 0px;
}
/*===========================
トップページ スマホ
==========================*/
/* トップAbout スマホ */
.top-about {
    background-position: 1% 13%;
    background-size: 60%;
    padding: 5% 0px;
}
.top-about-illust {
    position: relative;
    top: -60px;
    left: 20px;
}
/* トップService スマホ */
.top-service01 {
    width: 90%;
}
.top-service-text {
    right: 4%;
    top: 8%;
}
.top-service-illust img {
    top: -210px;
    left: 5px;
}
.top-service-text02 {
    top: 80px;
    left: 20px;
    text-align: left;
    padding-right: 20px;
}
.syaken-b {
    margin-top: -120px;
    padding-bottom: 30px;
}
.top-service02 {
    padding-left: 10%;
    background: linear-gradient(50deg, #4d8fe3 0 45%, #ffffff 45% 100%);
}
.top-service02-text {
    top: 5%;
    left: 15%;
}
/* トップNEWS スマホ */
.top-news {
    padding: 50px 0 60px;
}
.top-news__list li a {
    gap: 14px;
    padding: 14px 6px;
}
/*===========================
下層ページ スマホ
==========================*/
/* 下層ページ共通 */
.sub-hero {
    display: none;
}
.sub-header {
    height: 400px;
}
/*===========================
footer スマホ
==========================*/
#footer {
    padding: 40px 15px 20px;
}
#footer>div:nth-of-type(1) ul {
    gap: 15px 20px;
    margin-bottom: 40px;
}
#footer>div:nth-of-type(2) {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}
#footer>div:nth-of-type(2) div {
    text-align: center;
}
#footer>div:nth-of-type(2) img {
    width: 260px;
}
#footer>ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
/*===========================
トップスライドインナビゲーション
==========================*/
.menu-trigger,
.menu-trigger span {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
    cursor: pointer;
}
.menu-trigger {
    position: relative;
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    border-radius: 50%;
    z-index: 35;
    float: right;
    margin: 7px 16px 7px 0;
}
.menu-trigger span {
    position: absolute;
    background: #FFF;
    width: 24px;
    height: 2px;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 2px;
}
.menu-trigger span:nth-of-type(1) {
    top: 18px;
}
.menu-trigger span:nth-of-type(2) {
    top: 0;
    bottom: 0;
}
.menu-trigger span:nth-of-type(3) {
    bottom: 18px;
}
.menu-trigger span:nth-of-type(4) {
    display: none;
}
.menu-trigger.active span:nth-of-type(1) {
    -webkit-transform: translateY(9px) rotate(-45deg);
    transform: translateY(9px) rotate(-45deg);
}
.menu-trigger.active span:nth-of-type(2) {
    opacity: 0;
}
.menu-trigger.active span:nth-of-type(3) {
    -webkit-transform: translateY(-9px) rotate(45deg);
    transform: translateY(-9px) rotate(45deg);
}
.g-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(238, 243, 255, 0.9);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 25;
    padding-top: 90px;
}
.tate-scroll {
    padding: 0 16px 40px;
}
.g-nav .list .item a {
    display: block;
    text-align: left;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 600;
    padding: 18px 20px;
}
.list {
    width: 100%;
}
.list li {
    width: 100%;
    margin: 10px 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: 1.6rem;
    padding: 0;
    text-align: left;
    border: none;
}
.list li:nth-of-type(n+2) {
    border: none;
}
.sp-nav-tel {
    padding: 16px 0 40px;
}
.sp-nav-tel a {
    display: block;
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 18px;
    border-radius: 12px;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.05em;
}
#s_navi:after {
    content: "";
    display: block;
    clear: both;
}
#s_navi {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.9);
}
.sp-head {
    display: flex;
    align-items: center;
}
.sp-logo {
    z-index: 50;
    width: 210px;
    height: auto;
    padding: 10px 0px 5px 3%;
}
.sp-head p {
    font-size: clamp(1.3rem, 1.235rem + 0.203vw, 1.6rem);
}
/*===========================
メールフォームのスタイル
==========================*/
#form {
    padding: 30px 15px;
}
.form-width {
    /* class:form-widthをcontact-form7へ テキストエリアの幅*/
    max-width: 100%;
}
textarea,
input {
    max-width: 100%;
}
.w-700 {
    width: auto;
    margin: auto;
}
}
@media only screen and (max-width: 767px) {
/* フォーム レスポンシブ */
#form {
    padding: 30px 20px;
}
#form dl {
    display: block;
}
#form dt {
    width: 100%;
    border-bottom: none;
    padding: 20px 20px 10px;
    margin-bottom: 20px;
}
#form dd {
    width: 100%;
    padding: 0 20px 20px;
}

.top-service-text {
    right: 3%;
    top: 6%;
}
.syaken-b {
    margin-top: -20px;
    padding-bottom: 20px;
}
.cert-box {
    margin: 60px 0 60px;
    padding-top: 0;
}
.cert-box__character {
    position: relative;
    top: 0;
    left: 0;
    margin-bottom: -20px;
    padding-left: 10px;
}
.cert-box__char-img {
    width: 220px;
}
.cert-box__inner {
    padding: 50px 20px 30px;
    flex-direction: column;
}
.cert-item {
    flex: 1 1 100%;
}
}