@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Zen+Maru+Gothic&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Zen+Maru+Gothic&family=Zen+Old+Mincho&display=swap');

body {
    margin: 0;
    padding: 0;
    background-color: #F8EBB9;
}
ul, ol {
    padding: 0;
}
ol {
    margin: 0;
    margin-bottom: 16px;
}
ul li {
    list-style-type: none;
}
p.aboutDescription, .lightDescription li, .pointText p, #price p {
    font-family: 'Noto Sans JP', sans-serif;
}
.lightmark-text p {
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 16px;
}
a {
    text-decoration: none;
    color: #000;
}
/* --------------------------------------------- */
/* ▼ローディング画面 */
/* --------------------------------------------- */
#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top: 5px solid #4b64f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* --------------------------------------------- */
/* ▼モバイルファースト (全環境に共通のデザイン) */
/* --------------------------------------------- */
header {
    position: fixed;          /* 画面に固定 */
    top: 0;                   /* 上端に配置 */
    left: 0;
    right: 0;
    z-index: 1000;            /* 他要素より前面に表示 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 50px;
    background-color: #efce5a;
}
h1 {
    margin: 0;
    height: 50px;
    margin-left: 8px;
    margin-right: 8px;
}
h1 a.logoLink {
    display: inline-block;
    height: 50px;
}
h1 img {
    width: 100%;
    height: 50px;
}
/* メニューのスタイル */
.menu-sp {
    position: fixed;
    top: 0;
    right: -100%; /* 初期状態では画面の外に隠れている */
    width: 300px;
    height: 100%;
    background-color: #F8EBB9;
    /* color: #333; */
    transition: right 0.3s ease; /* スライドインのアニメーション */
    padding: 20px;
    box-sizing: border-box;
    z-index: 10;
}
/* メニューが開いているとき */
.menu-sp.open {
    right: 0;
}
/* ボタンのスタイル */
.hamburger {
    position: static;
    top: 20px;
    right: 20px;
    width: 30px;
    margin-left: 8px;
    margin-right: 8px;
    cursor: pointer;
    z-index: 20;
}
.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    margin: 5px 0;
    transition: 0.4s;
}
/* バツ印に変化するスタイル */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}
/* メニューリストのスタイル */
.menu-sp ul {
    list-style-type: none;
    padding: 0;
    margin-top: 80px;
    background-color: #F8EBB9;
}
.menu-sp li {
    padding: 20px 0;
    border-bottom: 1px solid #969696;
}
.menu-sp li a {
    color: #333;
    text-decoration: none;
    display: block;
}
nav.menu-pc, .pc-contact-ctabtn {
    display: none;
}
body.no-scroll {
  overflow: hidden;
  height: 100vh;
}
/* 見出しの前に余白を挿入して、スクロール位置を調整 */
[id]::before {
    content: "";
    display: block;
    height: 50px; /* ヘッダーの高さ + 少し余裕 */
    visibility: hidden;
}
/* --------------------------------------------- */
/* ▼Main */
/* --------------------------------------------- */
h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 16px;
    padding-top: 16px;
}
/* --------------------------------------------- */
/* ▼トップ画像 */
/* --------------------------------------------- */
.top {
    position: relative;
    background-image: url(images/top-image.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    width: 100%;
    height: 210px;
}
.catch {
    position: absolute;
}
.catch p {
    font-family: "Zen Old Mincho", serif;
    text-shadow: 1px 1px 5px #555, -1px 1px 3px #444, 2px 1px 2px #333, 1px 2px 5px #222;
    color: #fff;
    margin: 0;
    animation: fadeUp 1.2s ease-out forwards;
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.phrase1 {
    position: absolute;
    top: 2%;
    right: 2%;
}
.phrase1 p {
    font-size: 20px;
    font-weight: bold;
}
.phrase2 {
    position: absolute;
    top: 30%;
    right: 2%;
}
.phrase2 p {
    font-size: 14px;
}
.phrase3 {
    position: absolute;
    top: 42%;
    right: 2%;
}
.phrase3 p {
    font-size: 13px;
}
p.catch3 span{
    color: #EDE645;
    font-weight: bold;
}
/* --------------------------------------------- */
/* ▼Problem */
/* --------------------------------------------- */
.problem {
    margin-bottom: 50px;
}
.CaseImg {
    text-align: center;
}
.CaseImg img {
    max-width: 300px;
    border: solid 1px #000;
}
.casebox {
    position: relative;
}
.hukidashi p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;

}
.hukidashi-case1 {
    position: absolute;
    top: 16%;
    left: 12%;
    transform: translate(0%, -50%);
    margin: 0;
    padding: 0;
    max-width: 80%;
}
.case1-Text {
    position: relative;
    display: inline-block;
    max-width: 100%;
    word-break: break-word;
    margin-bottom: 46px;
    padding: 8px;
    border: 2px solid #000000;
    border-radius: 8px;
    background-color: #ffffff;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 0.75;
    color: #000000;
}
.case1-Text::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 26%;
    border-style: solid;
    border-width: 38px 22px 0 0;
    border-color: #000000 transparent transparent;
    translate: -50% 100%;
    transform: skew(46deg);
    transform-origin: top;
}
.case1-Text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 26%;
    border-style: solid;
    border-width: 37.2px 17.8px 0 0;
    border-color: #ffffff transparent transparent;
    translate: calc(-50% - 0.1px) 100%;
    transform: skew(46deg);
    transform-origin: top;
}
.hukidashi-case2 {
    position: absolute;
    top: 7%;
    left: 12%;
    transform: translate(0%, -50%);
    margin: 0;
    padding: 0;
}
.case2-Text {
    position: relative;
    display: inline-block;
    margin-bottom: 28px;
    padding: 8px;
    border: 2px solid #000000;
    border-radius: 8px;
    background-color: #ffffff;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 0.75;
    color: #000000;
}
.case2-Text::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 20%;
    border-style: solid;
    border-width: 28px 22px 0 0;
    border-color: #000000 transparent transparent;
    translate: -50% 100%;
    transform: skew(56deg);
    transform-origin: top;
}
.case2-Text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 20%;
    border-style: solid;
    border-width: 22.2px 17.5px 0 0;
    border-color: #ffffff transparent transparent;
    translate: calc(-50% - 0.3px) 100%;
    transform: skew(56deg);
    transform-origin: top;
}
.hukidashi-case3 {
    position: absolute;
    top: 10%;
    left: 12%;
    transform: translate(0%, -50%);
    margin: 0;
    padding: 0;
}
.case3-Text {
    position: relative;
    display: inline-block;
    margin-bottom: 36px;
    padding: 8px;
    border: 2px solid #000000;
    border-radius: 8px;
    background-color: #ffffff;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 0.75;
    color: #000000;
}
.case3-Text::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 45%;
    border-style: solid;
    border-width: 36px 22px 0 0;
    border-color: #000000 transparent transparent;
    translate: -50% 100%;
    transform: skew(56deg);
    transform-origin: top;
}
.case3-Text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 45%;
    border-style: solid;
    border-width: 28.9px 17.7px 0 0;
    border-color: #ffffff transparent transparent;
    translate: calc(-50% - 0.2px) 100%;
    transform: skew(56deg);
    transform-origin: top;
}
p.questionText {
    font-family: "Zen Old Mincho", serif;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
}
.answerText p {
    font-family: "Zen Old Mincho", serif;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    line-height: 26px;
}
p.problem-Text span {
    font-size: 28px;
    font-weight: 900;
    color: #FF650D;
    text-shadow: 1px 2px 2px #969696;
}
.answerText {
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}
.answerText::before, .answerText::after {
  width: 1px;
  height: 68px;
  content: "";
  background-color: #333;
}
.answerText::before {
  margin-right: 1.5em;
  transform: rotate(-30deg);
}
.answerText::after {
  margin-left: 1.5em;
  transform: rotate(30deg);
}
@media screen and (min-width: 376px) and (max-width: 390px) {
    .top {
        height: 219px;
    }
    .phrase1 p {
        font-size: 21px;
    }
    .phrase2 {
        top: 31%;
        right: 1%;
    }
    .phrase2 p {
        font-size: 15px;
    }
    .phrase3 {
        top: 43%;
        right: 1%;
    }
    .phrase3 p {
        font-size: 14px;
    }
    .hukidashi-case1, .hukidashi-case2, .hukidashi-case3 {
        left: 13%;
    }
    .chuiBlock p br {
        display: none;
    }
    footer .modal-content {
        height: 90vh;
    }
    .footer-office-wrapper .footer-office {
        padding-left: 65px;
    }
}
@media screen and (min-width: 391px) and (max-width: 414px) {
    .top {
        height: 233px;
    }
    .phrase1 p {
        font-size: 22px;
    }
    .phrase2 {
        top: 29%;
    }
    .phrase2 p {
        font-size: 15px;
    }
    .phrase3 {
        top: 41%;
    }
    .phrase3 p {
        font-size: 14px;
    }
    .hukidashi-case1, .hukidashi-case2, .hukidashi-case3 {
        left: 15%;
    }
    .chuiBlock p a {
        padding-left: 14px;
    }
    footer .modal-content {
        height: 89.5vh;
    }
    .footer-office-wrapper .footer-office {
        padding-left: 75px;
    }
}
@media screen and (min-width: 415px) and (max-width: 430px) {
    .top {
        height: 242px;
    }
    .phrase1 {
        top: 1%;
        right: 1%;
    }
    .phrase1 p {
        font-size: 23px;
    }
    .phrase2 {
        top: 29%;
        right: 1%;
    }
    .phrase2 p {
        font-size: 16px;
    }
    .phrase3 {
        top: 40%;
        right: 1%;
    }
    .phrase3 p {
        font-size: 15px;
    }
    .hukidashi-case1, .hukidashi-case2, .hukidashi-case3 {
        left: 17%;
    }
    .chuiBlock p a {
        padding-left: 14px;
    }
    footer .modal-content {
        height: 90.5vh;
    }
    .footer-office-wrapper .footer-office {
        padding-left: 80px;
    }
}
/* --------------------------------------------- */
/* ▼About */
/* --------------------------------------------- */
#about {
    background-color: #ffffff;
}
.description {
    display: block;
    text-align: center;
    padding-left: 40px;
    padding-right: 40px;
}
.aboutDescription {
    display: inline-block;
    text-align: left;
    font-size: 14px;
    margin: 0;
}
.about-firstImage {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 32px auto;
}
.about-fi-Text {
    padding-right: 8px;
}
.about-fi-Text p {
    background-color: #30fb83;
    border-radius: 20px;
    text-align: center;
    font-size: 9px;
    height: 18px;
    margin: 0;
    padding: 5px 10px 3px;
}
p.about-fi-text1, p.about-fi-text2 {
    margin-bottom: 8px;
}
.about-fi-Img img {
    border-radius: 50%;
    width: 100px;
    height: 100px;
}
.lightDescriptionPic {
    text-align: center;
}
.lightDescriptionPic img {
    max-width: 300px;
}
.sec-about-line {
    border: solid 1px #4b64f1;
    width: 150px;
    margin: 32px auto 16px;
}
.lightmark-text {
    display: flex;
    justify-content: center;
}
img.lightup {
    width: 22px;
    height: 22px;
    margin: 16px 0;
}
.lightmark-text p {
    padding-left: 4px;
    font-weight: bold;
}
.lightDescription {
    display: block;
    text-align: left;
    padding-left: 40px;
    padding-right: 40px;
}
.lightDescription li {
    display: inline-block;
    text-align: left;
}
.lightDescription li:first-child {
    padding-bottom: 8px;
}
.light3 {
    padding-bottom: 66px;
}
/* --------------------------------------------- */
/* ▼System */
/* --------------------------------------------- */
#system {
    padding-bottom: 66px;
}
.accordion  {
    margin-inline: 0;
    border-bottom:1px solid #a9a9a9;
    margin: 0 56px;
}
.accordion_title {
    position: relative;
    border: none;
    display: block;
    list-style: none;
    cursor: pointer;
    padding: 1.4em 2em 1.4em 1.4em;
    line-height: 1.6em;
}
summary.accordion_title::-webkit-details-marker {
    display:none;
}
.accordion_title:after {
    content: "+";
    position: absolute;
    top: calc(50% - 0.5em);
    right: 20px;
    line-height: 1;
    padding: 0;
    pointer-events: none;
}
.accordion::details-content {
    opacity: 0;
    block-size: 0;
    transition: .3s;
    transition-property: display, opacity, block-size, padding;
    transition-behavior: allow-discrete;
    line-height: 1.6em;
}
.accordion .accordion_content {
    padding: 0 2em 0 3em;
}
.accordion .accordion_content > *:first-of-type {
    margin-top: 0;
}
.accordion .accordion_content > *:last-of-type {
    margin-bottom: 0;
}
.accordion[open]::details-content {
    opacity: 1;
    block-size: auto;
    block-size: calc-size(auto, size);
}
.accordion[open] .accordion_content {
    padding: 0 2em 1.4em 3em;
}
.accordion[open] .accordion_title:after {
    content: "-";
}
h3 {
    text-align: center;
    margin: 0;
}
.point {
    background-color: #fff;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 16px auto;
    max-width: 360px;   /* モバイルでの最大幅を設定 */
    box-sizing: border-box;
    margin-top: 0;
}
.point img.zoomable {
    max-width: 230px;
}
.ImageTitle {
    margin-top: 4px;
    font-size: 14px;
}
.pointText {
    display: block;
    text-align: center;
    padding-left: 24px;
    padding-right: 24px;
}
.pointText p {
    display: inline-block;
    text-align: left;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 16px;
}
.sys6-2 {
    padding-bottom: 16px;
}
.zoom-hint {
  text-align: center;
  font-size: 12px;
  color: #666;
  margin-top: 4px;
  margin-bottom: 4px;
}
.zoom-hint::after {
  content: "タップで拡大";
}
/* --------------------------------------------- */
/* ▼Price */
/* --------------------------------------------- */
#price {
    background-color: #ffffff;
}
.pricetable {
    text-align: center;
}
.pricetable {
  width: 95%;               /* 必要に応じて幅を調整 */
  table-layout: fixed;       /* 均等割り付け */
  border-collapse: collapse; /* 罫線を１本化 */
  margin: auto;             /* 上下の余白 */
}
.pricetable th,
.pricetable td {
  border: 1px solid #ccc;    /* 薄いグレーの罫線 */
  padding: 0.75em;           /* 内側余白 */
  text-align: center;        /* 中央寄せ */
  vertical-align: middle;    /* 縦方向も中央 */
}
p.price-note br {
    display: none;
}
#price table.pricetable tbody td p  {
    text-align: left;
}

.pricetable thead th {
    background-color: #f5f5f5; /* ヘッダーの淡いグレー背景 */
    border-bottom: 2px solid #999; /* ヘッダーと本文の罫線を太く */
}

.pricetable th:first-child {
    width: 30%;                /* お好みで調整 */
}
.chui {
    font-size: 10px;
    color: #666;
    margin: 0;
}
.chuiBlock {
    margin-top: 32px;
    text-align: left;
    font-size: 12px;
    color: #333;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 66px;
}
.chuiBlock p {
    margin: 0;
}
.chuiBlock p:first-child {
    font-weight: bold;
    margin-bottom: 4px;
}
.chuiBlock p br {
    display: none;
}
p.price-note a, .chuiBlock p a, p.flow-discription a {
    text-decoration: underline !important;
    color: #3548c6;
}
sup.note {
    font-size: 10px;
    vertical-align: super;
    color: #666;
    margin-left: 2px;
}
.with-note {
    position: relative;
}
.price-note {
    font-size: 14px;
    text-align: left;
    margin: 4px 0;
    line-height: 1.6;
}
/* --------------------------------------------- */
/* ▼Flow */
/* --------------------------------------------- */
#flow {
    padding-bottom: 66px;
}
.flowfigure {
    text-align: center;
    margin-bottom: 24px;
}
.flowbox {
    display: inline-block;
    background-color: #ffffff;
    border: solid 3px #969696;
    margin: 8px 16px;
}
.flowbox p {
    color: #000000;
    font-size: 14px;
}
p.flow-caption {
    font-weight: bold;
    margin: 0;
    font-size: 20px;
    margin-top: 8px;
}
.flowbox .sec-about-line {
    width: auto;
    border: solid 1px #333;
    margin: 8px auto 0px;
}
p.flow-discription {
    display: inline-block;
    text-align: left;
    margin: 16px;
}
.triangle-arrow {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 30px solid #000;
    margin: 16px auto;
}
.demoField {
    text-align: center;
}
.slash {
    position: relative;
    text-align: center;
    font-size: 24px;
    margin: 0;
}
.slash:before, .slash:after {
    position: relative;
    display: inline-block;
    content: "";
    background: #333;
    width: 2px;
    height: 1.3em;
    margin: 0 1em;
    margin-top: -.2em;
    vertical-align: middle;
}
.slash:before {
    transform: rotate(-35deg);
}
.slash:after {
    transform: rotate(35deg);
}
.demoFieldTxt p {
    font-size: 20px;
    margin-top: 0;
    font-family: 'Noto Sans JP', sans-serif;
}
.demoFieldTxt p span {
    font-size: 26px;
}
.demoFieldTxt p span.red-text {
    color: red;
    text-decoration:underline double red;
}
a.btn-radius-solid {
    background: #f1e767;
    background: linear-gradient(to bottom, #f1e767 0%, #feb645 100%);
    border-radius: 50px;
    padding: 10px;
    padding-left: 15px;
}
a.btn-radius-solid:hover {
    background: linear-gradient(to top, #f1e767 0%, #feb645 100%);
}
a.btn--shadow {
    box-shadow: 0 3px 5px rgba(0,0,0,.3);
}
.fa-position-right {
    padding-left: 5px;
}
.fa-angle-right:before {
    content: "\f105";
}
/* --------------------------------------------- */
/* ▼Contact */
/* --------------------------------------------- */
#contact {
    background-color: #ffffff;
    text-align: center;
    padding-bottom: 66px;
}
#contact p {
    font-size: 13px;
    color: #333;
    margin: 0;
    padding-bottom: 16px;
}
.form-wrapper {
    background-color: #f7f7f7;
    border-radius: 10px;
    text-align: left;
    padding: 32px;
    margin:16px;
    margin-bottom: 0;
}
form {
    max-width: 360px;
    margin: auto;
    text-align: left;
    background-color: #f7f7f7;
}
form label {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
    font-weight: bold;
}
form input[type="text"],
form input[type="tel"],
form input[type="email"],
form select,
form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
}
.contactName,
.contactTel,
.contactEmail,
.contactAdress {
    margin-bottom: 16px;
}
.contactAdress label {
    margin-bottom: 4px;
}
.contactAdress span {
    display: inline-block;
    margin-bottom: 4px;
    font-weight: normal;
    font-size: 13px;
}
.contactSubject {
    margin-bottom: 32px;
}
input[type="radio"]:focus {
  outline: none;
}
form .contactSubject .contact-subject-choices {
    display: flex;
}
form .contactSubject .contact-subject-choices label {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 0;
}
form textarea {
    height: 100px;
    resize: vertical;
}
span.openPrivacy {
    color: #3548c6;
    border-bottom: solid 1px #3548c6;
}
#contact p.submit-btn {
    text-align: center;
    padding-bottom: 0px;
}
form input[type="submit"] {
    background-color: #4b64f1;
    color: white;
    font-size: 16px;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
    width: 120px;
}
form label::after {
    content: "";
}
.contactName label[for="name"]::after,
.contactTel label[for="tel"]::after,
.contactEmail label[for="email"]::after,
.contactText label[for="text"]::after,
.contactSubject label[for="Subject"]::after {
    content: " 必須";
    color: red;
    font-weight: normal;
    font-size: 12px;
    margin-left: 4px;
}
.contactAdress > label:first-child::after {
    content: " 任意";
    color: #666;
    font-weight: normal;
    font-size: 12px;
    margin-left: 4px;
}
form label[for="content"]::after {
    content: " 任意";
    color: #666;
    font-weight: normal;
    font-size: 12px;
    margin-left: 4px;
}
/* --------------------------------------------- */
/* ▼PageTop & CTA (Bottom-nav) */
/* --------------------------------------------- */
/* ▼固定ナビゲーションボタン（ボトム） */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    background-color: #ffffff;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}
/* TOPボタン（左側） */
.top-btn {
    width: 20%;
    background-color: #ffffff;
    color: #000;
    text-align: center;
    padding: 8px 0;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}
.top-btn .icon i {
    color: #222;
    font-size: 20px;
    display: block;
}
/* お問い合わせボタン（右側） */
.contact-btn {
    width: 80%;
    background-color: #6366f1;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}
.contact-btn .icon i {
    color: #ffffff;
    font-size: 22px;
    margin-right: 8px;
}
.contact-btn .label {
    color: #ffffff;
}
/* ラベル下部に余白を設けない */
.nav-button .label {
    margin: 0;
}
.hide-bottom-nav {
  display: none !important;
}
/* --------------------------------------------- */
/* ▼Footer */
/* --------------------------------------------- */
.footerBackground {
    background: url("images/Footer\ -\ BackgroundImage.png") no-repeat center/cover;
    padding: 32px 16px;
}
.footerBox {
    max-width: 360px;
    margin: auto;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 24px 16px;
    border-radius: 8px;
    text-align: center;
}
.footerLogo,
.footerLogoMT {
    display: block;
    margin: 0 auto;
}
img.footerLogo {
    height: 80px;
}
.footerLine {
    border: solid 1px #666;
    width: 248px;
    margin: 16px auto;
}
img.footerLogoMT {
    width: 208px;
    height: 34px;
}
.footer-office-wrapper {
    display: block;
    margin: 0 auto;
}
.footer-office {
    margin-bottom: 16px;
    padding-left: 55px;
}
.footer-office p {
    margin: 14px auto;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;         /* 左揃え */
    padding-left: 0;          /* 余分な内側余白を削除 */
}
#openPrivacy::before,
#openSitePolicy::before {
    display: none !important;
    content: none !important;
}
.footerBox p span > a[href="https://www.mtnet.co.jp/"] {
    text-decoration: underline !important;
    color: #3548c6;
}
.footerLinks {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.footerLinks p {
    margin: 0;
    font-size: 14px;
    color: #3548c6;
    border-bottom: solid 1px #3548c6;
}
.footerLinks .footer-divider {
    font-size: 14px;
    color: #333;
}
.footer-divider {
    padding: 0 4px;
    user-select: none;
}
footer .modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}
@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
footer .modal-content {
    display: flex;
    flex-direction: column;
    height: 87vh; /* 画面の高さの80% */
    overflow: hidden; /* 全体のスクロールは無効化 */
    background-color: #fff;
    margin-top: 30%;
    padding: 20px;
    border-radius: 8px;
    max-width: 100%;
    position: relative;
    animation: slideUp 0.3s ease-out;
    overflow: hidden;
}
.modal-header {
    position: relative;
    top: 0;
    background-color: #fff;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 40px;
}
.modal-content h3 {
    position: absolute;
    top: 0;
    background-color: #fff;
    z-index: 1;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
    width: 100%;
}
.modal-scroll {
    overflow-y: auto;
    flex-grow: 1;
    padding-right: 16px; /* スクロールバーと余白のため */
    padding-left: 16px;
}
.modal-scroll h4 {
    text-align: center;
}
.modal-scroll p {
    text-align: left;
}
.close {
    color: #333;
    position: absolute;
    right: 16px;
    top: -55px;
    z-index: 2;
    font-size: 24px;
    cursor: pointer;
}
.copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 2px;
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.modal-overlay img {
    max-width: 95%;
    max-height: 90%;
    border-radius: 8px;
    background: #fff;
    padding: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}
.close-modal {
    position: absolute;
    top: -48px;
    right: 10px;
    font-size: 28px;
    color: white;
    cursor: pointer;
    z-index: 10000;
    font-weight: bold;
}
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}
/* --------------------------------------------- */
/* ▼サンクスページ */
/* --------------------------------------------- */
.container-md {
    text-align: center;
    padding: 32px 0px;
    margin-top: 50px;
}
h2.mb-3 {
    padding-top: 0;
}
.thanksmessage {
    display: flex;
    justify-content: center;
    margin:32px 0;
}
.thanksmessage p {
    margin: 0;
    text-align: left;
    max-width: 229px;
    width: 100%;
}
.button001 a {
    background: #eee;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 180px;
    padding: 10px 25px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}
.button001 a:hover {
    background: #313131;
    color: #FFF;
}
.button001 a:after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #313131;
    border-right: 3px solid #313131;
    transform: rotate(45deg) translateY(-50%);
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.3s ease-in-out;
}
.button001 a:hover:after {
    border-color: #FFF;
}
/* ------------------------------------ */
/* ▼タブレット用デザインとして付け足すデザイン */
/* ------------------------------------ */
@media screen and (min-width: 744px) {
    .top {
        height: 418px;
    }
    .phrase1 {
        top: 1%;
        right: 2%;
    }
    .phrase1 p {
        font-size: 41px;
    }
    .phrase2 {
        top: 30%;
        right: 2%;
    }
    .phrase2 p {
        font-size: 28px;
    }
    .phrase3 {
        top: 40%;
        right: 2%;
    }
    .phrase3 p {
        font-size: 26px;
    }
    .hukidashi-case1 {
        left: 30.5%;
    }
    .hukidashi-case2 {
        left: 31%;
    }
    .hukidashi-case3 {
        left: 31%;
    }
}
/* ------------------------------------ */
/* ▼PC用デザインとして付け足すデザイン */
/* ------------------------------------ */
@media screen and (min-width: 960px) { 
    .hamburger, nav.menu-sp, .bottom-nav, 
    .systemPointFigure-sp, .sec-about-line,
    .flowFigure, body.bottom-nav {
        display: none;
    }
    /* ------------------------------------ */
    /* ▼PC Header */
    /* ------------------------------------ */
    header {
        justify-content: space-around;
        max-width: 1920px;
    }
    nav.menu-pc {
        display: block;
        height: 50px;
    }
    .menu-pc ul {
        display: flex;
        align-items: center;
        height: 50px;
        margin: 0;
    }
    .menu-pc ul li {
        padding-left: 32px;
        padding-right: 32px;
    }
    .menu-pc ul li a {
        position: relative;
        display: inline-block;
    }
    .menu-pc ul li a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0px; /* 画像の下に表示したい場合の調整 */
        width: 100%;
        height: 2px;
        background-color: #4b64f1; /* 下線の色 */
        transform: scaleX(0); /* 初期は非表示 */
        transform-origin: left;
        transition: transform 0.3s ease;
    }
    .menu-pc ul li a:hover::after {
        transform: scaleX(1); /* hover時に表示 */
    }
    .menu-pc ul li a:active {
        opacity: 0.6; /* クリック時に薄くなる */
        transition: opacity 0.2s ease;
    }
    .pc-contact-ctabtn {
        display: block;
        background-color: #6366f1;
        padding: 4px 16px;
        border-radius: 8px;
        transition: opacity 0.2s ease, transform 0.2s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* 少し浮かせる */
    }
    .pc-contact-ctabtn:hover {
        transform: translateY(-2px); /* 少し浮き上がる */
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25); /* hover時にさらに強調 */
    }
    .pc-contact-ctabtn:active {
        opacity: 0.6; /* クリック時に薄くなる */
        transform: scale(0.98); /* 押し込むような表現 */
    }
    .pc-contact-ctabtn img {
        display: block;
        height: auto;
        max-height: 40px;
        margin: 0 auto;
    }
    /* ------------------------------------ */
    /* ▼PC Main */
    /* ------------------------------------ */
    .top {
        min-height: 550px;
        background-position: center;
    }
    .phrase1 {
        top: 1%;
        right: 2%;
    }
    .phrase1 p {
        font-size: 50px;
    }
    .phrase2 {
        top: 39%;
        right: 3%;
    }
    .phrase2 p {
        font-size: 35px;
    }
    .phrase3 {
        top: 48%;
        right: 2.5%;
    }
    .phrase3 p {
        font-size: 33px;
    }
    .problem-figurePC {
        display: block;
        width: 100%;
    }
    .problem-figure {
        display: none;
    }
    /* ------------------------------------ */
    /* ▼PC Problem */
    /* ------------------------------------ */
    .problem-figure {
        display: block;
    }
    .problem-Flex {
        display: flex;
        justify-content: center;
        gap: 32px; /* 各項目の間隔、調整可 */
        margin-bottom: 32px;
    }
    .problem-Flex .casebox {
        width: 30%;
        max-width: 300px;
    }
    .CaseImg img {
        max-width: 100%;
    }
    p.questionText, .answerText p {
        font-size: 32px;
    }
    .answerText p {
        line-height: 50px;
    }
    p.problem-Text span {
        font-size: 40px;
    }
    .answerText::before, .answerText::after {
        height: 150px;
    }
    .answerText::before {
        margin-right: 3.5em;
    }
    .answerText::after {
        margin-left: 3.5em;
    }
    .hukidashi-case1 {
        top: 9%;
        left: 3%;
        max-width: 100%;
    }
    .hukidashi-case2 {
        left: 3%;
    }
    .hukidashi-case3 {
        top: 8%;
        left: 3%;
    }
    /* ------------------------------------ */
    /* ▼PC About */
    /* ------------------------------------ */
    .pc-about {
        display: block;
        text-align: center;
        padding: 16px 24px;
        max-width: 1024px;
        margin: 0 auto;
        box-sizing: border-box;
    }
    .description {
        margin-bottom: 32px;
        padding: 0 40px;
    }
    .aboutDescription {
        display: inline-block;
        font-size: 18px;
        line-height: 1.8;
        color: #000;
        max-width: 530px;
        text-align: left;
    }    
    .about-pic {
        text-align: center;
        margin: 16px auto;
    }
    .about-fi-Img img {
        width: 150px;
        height: 150px;
    }
    .about-fi-Text {
        padding-right: 24px;
    }
    .about-fi-Text p {
        font-size: 18px;
        height: 36px;
        padding: 8px 10px 3px;
    }
    .sec-about-line-pc {
        border: solid 1px #969696;
        max-width: 840px;
        margin: 24px auto;
    }
    .section-pc-flex {
        display: flex;
        margin: 48px 64px 0;
        padding-bottom: 66px;
    }
    .section-pc-flex > section {
        max-width: 50%;
    }
    .section-pc-flex .lightDescription {
        min-height: 160px; /* 必要に応じて数値調整 */
    }
    .section-pc-flex .lightDescriptionPic {
        height: 200px; /* 任意の統一高さ。例：200px */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .section-pc-flex .lightDescriptionPic img {
        width: auto;
        height: 200px;
    }
    .lightDescriptionPic img[src$="lightDescriptionGif3.gif"] {
        height: 200px; /* 任意の縮小サイズ、調整可能 */
        object-fit: contain;
    }
    .light3 {
        padding-bottom: 0;
    }
    /* ------------------------------------ */
    /* ▼PC System */
    /* ------------------------------------ */
    .system-menu ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        max-width: 640px;
        margin: 24px auto;
        padding: 0;
    }
    .system-menu ul li {
        width: 100%; /* gridが制御するのでここは100%でOK */
    }
    .system-menu ul li a button {
        width: 100%;
        padding: 12px 16px;
        font-size: 16px;
        background-color: #4b64f1;
        color: white;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: background-color 0.3s, transform 0.2s;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    .system-menu ul li a button:hover {
        background-color: #3548c6;
        transform: scale(1.02);
    }
    .point {
        max-width: none;
    }
    .pointText {
        padding-left: 100px;
        padding-right: 100px;
    }
    .systemPointFlex-pc {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3列グリッド */
        gap: 24px;
        max-width: 1000px;
        margin: 0 auto;
        padding: 32px 16px;
        box-sizing: border-box;
    }
    .systemPointFlex-pc2,
    .systemPointFlex-pc3,
    .systemPointFlex-pc4,
    .systemPointFlex-pc6 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        max-width: 960px;
        margin: 0 auto;
        padding: 32px 16px;
        box-sizing: border-box;
    }
    .systemPointFlex-pc5 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        max-width: 1080px;
        margin: 0 auto;
        padding: 32px 16px;
        box-sizing: border-box;
    }
    .systemPointFlex-pc .point,
    .systemPointFlex-pc2 .point,
    .systemPointFlex-pc3 .point,
    .systemPointFlex-pc4 .point,
    .systemPointFlex-pc5 .point,
    .systemPointFlex-pc6 .point {
        max-width: 264px;      /* 各カードの最大幅を指定 */
        width: 100%;
        margin: 0 auto;
        background-color: #fff;
        padding: 16px;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
    }
    .systemPointFlex-pc .point img {
        max-width: 250px; /* 画像サイズも縮小 */
        height: auto;
        margin-bottom: 16px;
    }
    .systemPointFlex-pc2 .point img.systemPointFigure-pc,
    .systemPointFlex-pc3 .point img.systemPointFigure-pc,
    .systemPointFlex-pc4 .point img.systemPointFigure-pc,
    .systemPointFlex-pc5 .point img.systemPointFigure-pc,
    .systemPointFlex-pc6 .point img.systemPointFigure-pc {
        width: 100%;
        height: auto;
        max-width: 100%;
        border-radius: 4px; /* 任意：角丸で柔らかく */
        display: block;
    }
    /* モーダル背景 */
    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.7);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 9999;
    }
    /* 拡大画像 */
    .modal-overlay img {
        max-width: 80%;
        max-height: 90%;
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
        background: #fff;
        padding: 50px;
    }
    .close-modal {
        position: absolute;
        top: 24px;
        right: 24px;
        font-size: 32px;
        color: white;
        cursor: pointer;
        z-index: 10000;
        font-weight: bold;
        user-select: none;
    }
    .systemPointFigure-pc {
        display: block;
    }
    .zoomable {
        cursor: zoom-in;
    }
    .accordion {
        margin: 0 200px;
    }
    /* ------------------------------------ */
    /* ▼PC Price */
    /* ------------------------------------ */
    p.price-note br {
        display: block;
        padding-left: 14px;
    }
    td.with-note br {
        display: none;
    }
    /* ------------------------------------ */
    /* ▼PC Flow */
    /* ------------------------------------ */
    .pc-flow-flex {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        flex-wrap: nowrap;
    }
    .pc-flow-flex .flowbox {
        width: 130px;
        flex-shrink: 0;
        margin: 0;
        height: 200px;
    }
    p.flow-discription br {
        display: none;
    }
    .pc-flow-flex .triangle-arrow {
        align-self: center;
        flex-shrink: 0;
    }
    p.flow-caption {
        font-size: 15px;
    }
    .flowbox .sec-about-line {
        display: block;
    }
    .triangle-arrow {
        width: 0;
        height: 0;
        border-top: 20px solid transparent;
        border-bottom: 20px solid transparent;
        border-left: 30px solid #000;
        margin: 0;
        margin-left: 20px;
    }
    /* ------------------------------------ */
    /* ▼PC Contact */
    /* ------------------------------------ */
    .form-wrapper {
        margin: 16px 320px;
    }
    /* ------------------------------------ */
    /* ▼PC Footer */
    /* ------------------------------------ */
    footer {
        margin-bottom: 0;
    }
    .footerBackground {
        background: url("images/Footer\ -\ BackgroundImagePC.jpg") no-repeat center/cover;
    }
    .footerLogoMT {
        margin: 0;
        padding-left: 55px;
    }
    .footerBox {
        max-width: 950px;
        text-align: center;
    }
    .footer-office-wrapper {
        display: flex;
        justify-content: space-between;
        gap: 40px;
        margin: 24px 0;
    }
    .footer-office {
        flex: 0 1 45%;
    }
    .footer-office p {
        margin: 0;
        font-size: 14px;
        line-height: 1.8;
    }
    .copyright {
        padding-bottom: 0;
    }
    .zoom-hint::after {
        content: "クリックで拡大";
    }
    footer .modal-content {
        height: 100%;
        max-width: 100%;
        margin-top: unset;
        border-radius: unset;
    }
    .openPrivacy, #openSitePolicy,
    .footerLinks p.openPrivacy, .footerLinks p#openSitePolicy {
        cursor: pointer;
    }
}
@media screen and (min-width: 1080px) {
    .top {
        min-height: 790px;
        background-position: center;
    }
    .phrase1 {
        top: 1%;
        right: 2%;
    }
    .phrase1 p {
        font-size: 70px;
    }
    .phrase2 {
        top: 37%;
        right: 2%;
    }
    .phrase2 p {
        font-size: 51px;
    }
    .phrase3 {
        top: 46%;
        right: 2%;
    }
    .phrase3 p {
        font-size: 48px;
    }
    .accordion {
        margin: 0 440px;
    }
}