@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap');

/**
 共通
 */
* {
    box-sizing: border-box;
}
:root {
  --color-primary: #1755cc; /*メイン青*/
  --color-custom-1: #ffa000; /*オレンジ*/
  --color-custom-2: #14a0de; /*明度高い青*/
  --color-custom-3: #fef15c; /*黄色*/
  --color-custom-4: #ff0125; /*赤*/
  --color-custom-5: #ff6410; /*明度低オレンジ*/
  --color-custom-6: #def3fd; /*薄い青*/
  --color-custom-7: #111111; /*墨*/
}
body {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 17px;
}

em {
    font-style: normal;
}

a:hover img {
    transition: opacity ease 0.3s;
    opacity: 0.9;
}

.inner {
    width: 1000px;
    margin: 0 auto;
}

.top-main,
#contents {
    min-width: 1000px;
    padding: 0;
    background-image: none;
}

#contents:not(.top-page),
#Container {
    margin-top: 80px;
}

#contents .contents_m {
    width: 960px;
}

#contents .contents_s {
    display: none;
}

/**
 ヘッダー
 */
.header {
    height: 80px;
    padding: 10px 20px;
    position: fixed;
    z-index: 999;
    top: 0;
    width: 100%;
    background-color: #fff /* rgba(255, 255, 255, 0.3)*/;
    transition: background-color ease 0.3s;
}

h1{
margin: revert;
font-size: 1.5rem;
}

.header h1 {
margin: 0;
    position: inherit;
}

.header.scrolled {
    background-color: #ffffff;
    filter:drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.header__inner {
    display: flex;
    align-items: center;
}

.header__left {
    width: 30%;
    display: flex;
    align-items: center;
}

.header__left img {
    width: 400px;
    height: auto;
}

.header__center {
    width: calc(70% - 300px);
    padding: 0 20px;
}

.header nav ul {
    display: flex;
    justify-content: space-evenly;
    list-style: none;
}

.header nav ul li {
    list-style: none;
}

.header nav ul li a {
    text-decoration: none;
    color: #333333;
    font-size: 1.1rem;
    letter-spacing: 0;
    font-weight: 600;
    transition: color ease 0.3s;
}

.header nav ul li a:hover {
    color: #173787;
}

.header__right {
    width: 300px;
}

.header__right a img {
    width: 280px;
    height: auto;
}

/**
 モバイルメニュー
 */
.btn-mobile-menu {
    display: none;
}

.mobile-menu {
    display: none;
}

/**
 モバイルフッター
 */
.mobile-footer {
    display: none;
}

/**
 TOPページ：メインビジュアル
 */
.top-main {
    min-height: 500px;
    height: 100vh;
    padding: 80px 60px;
    background-image: url('../img/2024new/bg_top_main.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right bottom;
}

.top-main__catchcopy {
    padding-top: 80px;
}

.top-main__catchcopy img {
    width: 700px;
}

.top-main__points {
    margin-top: 60px;
    display: flex;
}

.top-main__point {
    width: 240px;
    display: flex;
    padding: 20px;
    align-items: center;
    background: #ffffff;
    border-radius: 10px;
    margin-right: 20px;
    filter:drop-shadow(2px 6px 10px rgba(0, 0, 0, 0.3));
    color: #173787;
    position: relative;
}

.top-main__point::before {
    display: block;
    content: "";
    width: 40px;
    height: 40px;
    background-image: url('../img/2024new/icon_check.png');
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: -20px;
    left: -10px;
}

.top-main__point img {
    width: 50px;
    margin-right: 20px;
}

.top-main__point h2 small {
    display: block;
    font-size: 1rem;
}

.top-main__point h2 em {
    color: #fb4a0f;
}

.top-main__point h2 span {
    font-size: 1.8rem;
}

/**
 TOPページ：あらゆる目的や条件に対応！
 */
.sec-intro {
    background-color: #1755cc;
    text-align: center;
    padding: 60px 0 140px 0;
    position: relative;
}

.sec-intro::after {
    position: absolute;
    content: "";
    left: 5%;
    bottom: 0;
    width: 90%;
    height: 100px;
    background-image: url('../img/2024new/text_kansai_homepage.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.sec-intro .fukidashi {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #173787;
    position: relative;
    background-image: url('../img/2024new/fukidashi.png');
    background-size: cover;
    background-repeat: no-repeat;
    width: 480px;
    height: 80px;
    padding: 8px 20px;
}

.sec-intro h2 {
    display: inline-block;
    font-size: 2.4rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    border-bottom: 4px solid #ffffff;
}

.sec-intro em {
    color: #ffa000;
}

.sec-intro2 {
    background-color: #def3fd;
    position: relative;
    height: 500px;
}

.sec-intro2 img {
    position: absolute;
    width: 700px;
    top: -80px;
    left: calc((100% - 700px)/2);
}

/**
 TOPページ：簡単30秒入力
 */
.sec-contact {
    background-image: url('../img/2024new/bg_sec_contact.png');
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.cta-contact {
    background-color: #ffffff;
    padding: 16px;
    border-radius: 10px;
}

.cta-contact__inner {
    border: 6px solid #e7e7e7;
    border-radius: 10px;
    display: flex;
    background-color: #ffffff;
    padding: 16px;
}

.cta-contact__left {
    width: 50%;
    padding: 0 16px;
}

.cta-contact__left h2 {
    position: relative;
    padding-left: 60px;
    font-size: 3.4rem;
    letter-spacing: 1px;
}

.cta-contact__left h2::before {
    display: inline-block;
    content: "";
    width: 56px;
    height: 56px;
    background-image: url('../img/2024new/icon_clock.png');
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 16px;
    left: 0;
}

.cta-contact__left h2 em {
    color: #ffa000;
    font-family: "Roboto", sans-serif;
    font-size: 3.8rem;
}

.cta-contact__left p {
    font-size: 0.8rem;
    font-weight: 600;
}

.cta-contact__tel {
    display: flex;
    align-items: center;
}

.cta-contact__tel a {
    font-size: 2.1rem;
    letter-spacing: 1px;
    font-family: "Roboto", sans-serif;
    margin-right: 10px;
    color: #1755cc;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    padding-left: 50px;
}

.cta-contact__tel a::before {
    display: inline-block;
    content: "";
    width: 40px;
    height: 40px;
    background-image: url('../img/2024new/icon_tel.png');
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 12px;
    left: 0;
}

.cta-contact__line {
    display: flex;
    align-items: center;
}

.cta-contact__line a {
    font-size: 2.1rem;
    letter-spacing: 1px;
    font-family: "Roboto", sans-serif;
    margin-right: 10px;
    color: #1755cc;
    font-weight: 700;
    text-decoration: none;
    position: relative;
   
}


.cta-contact__right {
    width: 50%;
    padding: 20px;
    text-align: center;
}

.cta-contact__right img {
    width: 500px;
    filter:drop-shadow(2px 6px 10px rgba(0, 0, 0, 0.3));
}

/**
 TOPページ：こんなお悩み
 */
.onayami-merit-wrapper {
    background-image: url('../img/2024new/bg_sec_merit_roop.png');
    background-repeat: repeat;
}

.sec-solution {
    padding: 40px 0;
    position: relative;
    border-bottom: 4px solid #def3fd;
    z-index: 99;
    overflow: hidden;
}

.sec-solution::before {
    display: block;
    content: "";
    position: absolute;
    top: 100px;
    height: 100%;
    width: 100%;
    background-image: url('../img/2024new/bg_sec_solution2.png');
    background-repeat: no-repeat;
    background-size: 100% 90%;
    z-index: -1;
}

.sec-solution h2 {
    font-size: 2.4rem;
    text-align: center;
    font-weight: 800;
    color: #1755cc;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.sec-solution h2 em {
    color: #ffa000;
}

.sec-solution h2::after {
    display: block;
    content: "";
    background-image: url('../img/2024new/bg_border1.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin: 10px auto;
    width: 540px;
    height: 20px;
}

.sec-solution .solution {
    display: flex;
    justify-content: space-between;
}

.solution__item {
    width: 30%;
}

.solution__item:nth-child(2n+1) {
    padding-top: 120px;
}

.solution__nayami {
    position: relative;
    text-align: center;
    margin-bottom: 70px;
}

.solution__nayami img {
    width: 300px;
    margin: 0 auto;
}

.solution__nayami h3 {
    display: inline-block;
    margin: -16px auto 0 auto;
    background-color: #1755cc;
    padding: 10px 30px;
    border-radius: 50px;
    color: #ffffff;
    text-align: center;
}

.solution__nayami::after {
    display: block;
    content: "";
    background-image: url('../img/2024new/arrow1.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 80px;
    height: 80px;
    position: absolute;
    left: calc(50% - 40px);
    bottom: -70px;
}

.solution__kaiketsu img {
    width: 80%;
    margin: 0 auto;
}

.solution__kaiketsu p {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1755cc;
}

.solution__kaiketsu p em {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffa000;
}

.solution__bottom img {
    width: 360px;
    margin: -100px auto 0 auto;
}

/**
 TOPページ：メリット
 */
.sec-merit {
    padding: 80px 0 80px 0;
    text-align: center;
    z-index: 99;
    overflow: hidden;
}

.sec-merit .fukidashi {
    display: inline-block;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #173787;
    position: relative;
    background-image: url('../img/2024new/fukidashi2.png');
    background-size: cover;
    background-repeat: no-repeat;
    width: 600px;
    height: 70px;
    padding: 8px 20px;
}

.sec-merit .fukidashi em {
    color: #ff0125;
}

.sec-merit h2 {
    display: inline-block;
    font-size: 2.4rem;
    text-align: center;
    font-weight: 800;
    color: #1755cc;
    letter-spacing: 2px;
    margin-bottom: 40px;
    border-top: 4px solid #1755cc;
    border-bottom: 4px solid #1755cc;
    padding: 10px 20px;
    margin-top: 5px;
}

.sec-merit h2 em {
    color: #ffa000;
}

.sec-merit .box {
    display: inline-block;
    padding: 10px 30px;
    font-size: 2.0rem;
    color: #ffffff;
    font-weight: 800;
    background-image: url('../img/2024new/bg_midashi1.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    height: 80px;
}

.sec-merit .prefecture {
    margin: 30px 0;
    display: flex;
    justify-content: center;
}

.sec-merit .prefecture li {
    list-style: none;
    margin-right: 30px;
    font-size: 1.4rem;
    font-weight: 800;
    color: #1755cc;
    padding-bottom: 4px;
    border-bottom: 2px solid #1755cc;
}

.sec-merit .description p {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.6;
    z-index: 999;
}

.sec-merit .description img {
    margin: -40px auto 0 auto;
    z-index: -1;
    width: 600px;
}

.sec-merit .description em {
    color: #ffa000;
}

.sec-merit .point {
    font-size: 1.4rem;
    font-weight: 600;
    display: inline-block;
    background-color: #1755cc;
    padding: 10px 30px;
    border-radius: 50px;
    color: #ffffff;
    text-align: center;
}

.table-comparison {
    margin-top: 60px;
    margin-left: auto;
    margin-right: auto;
    border-collapse: collapse;
    border-left: 2px solid #cccccc;
    border-right: 2px solid #cccccc;
    border-bottom: 2px solid #cccccc;
}

.table-comparison thead th {
    padding: 10px;
    background-color: #cccccc;
    width: 32%;
}

.table-comparison thead th:nth-child(2) {
    width: 36%;
    background-color: #ffa000;
    color: #ffffff;
    border-left: 6px solid #ffa000;
    border-right: 6px solid #ffa000;
}

.table-comparison thead th h3 {
    font-size: 1.6rem;
    font-weight: 600;
}

.table-comparison tbody td {
    height: 80px;
    padding: 0 20px;
    font-weight: 500;
    text-align: center;
}

.table-comparison tbody tr td:nth-child(1) {
    text-align: left;
}

.table-comparison tbody tr td:nth-child(2) {
    border-left: 6px solid #ffa000;
    border-right: 6px solid #ffa000;
}

.table-comparison tbody tr:last-child td:nth-child(2) {
    border-bottom: 6px solid #ffa000;
}

.table-comparison tbody tr:nth-child(2n+1) td {
    background-color: #efefef;
}

.table-comparison tbody tr td:nth-child(2) {
    background-color: #fbfbdc;
    color: #ff6410;
}

.table-comparison tbody tr:nth-child(2n) td {
    background-color: #ffffff;
}

/**
 TOPページ：都市の写真
 */
.sec-gallery {
    display: block;
}

.sec-gallery .city {
    height: 270px;
    width: 400px;
    background-size: cover;
    background-repeat: no-repeat;
}

.sec-gallery .city1 {
    background-image: url('../img/2024new/city1.jpg');
}

.sec-gallery .city2 {
    background-image: url('../img/2024new/city2.jpg');
}

.sec-gallery .city3 {
    background-image: url('../img/2024new/city3.jpg');
}

.sec-gallery .city4 {
    background-image: url('../img/2024new/city4.jpg');
}

.sec-gallery .city5 {
    background-image: url('../img/2024new/city5.jpg');
}

.sec-gallery .city6 {
    background-image: url('../img/2024new/city6.jpg');
}

.sec-gallery .city7 {
    background-image: url('../img/2024new/city7.jpg');
}

/**
 TOPページ：かんたん3ステップ
 */
.sec-steps {
    background-image: url('../img/2024new/bg_sec_steps.png');
    background-size: 100%;
    background-repeat: no-repeat;
    text-align: center;
    padding: 60px 0;
    background-color: var(--color-custom-6);
}

.sec-steps .fukidashi {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #173787;
    position: relative;
    background-image: url('../img/2024new/fukidashi.png');
    background-size: cover;
    background-repeat: no-repeat;
    width: 480px;
    height: 80px;
    padding: 8px 20px;
    margin: 0 auto;
}

.sec-steps h2 {
    display: block;
    font-size: 2.4rem;
    text-align: center;
    font-weight: 800;
    color: #1755cc;
    letter-spacing: 2px;
    margin-bottom: 40px;
    border-top: 4px solid #1755cc;
    border-bottom: 4px solid #1755cc;
    padding: 10px 20px;
    margin-top: 5px;
}

.sec-steps .steps {
    display: flex;
    justify-content: space-between;
}

.sec-steps .steps__item {
    width: 32%;
}

.sec-steps .steps__item h3 {
    font-size: 1.2rem;
    color: #1755cc;
    padding: 10px;
    border-bottom: 4px dotted #1755cc;
    margin-bottom: 10px;
}

.sec-steps .steps__item h3 em {
    font-size: 1.8rem;
    color: #ffa000;
}

.sec-steps .steps__item p {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.8;
    text-align: left;
}

.sec-steps .faq {
    background-color: #ffffff;
    padding: 50px;
    margin: 80px 0;
    border-radius: 10px;
}

.sec-steps .faq h3 {
    display: block;
    font-size: 2.4rem;
    text-align: center;
    font-weight: 800;
    color: #1755cc;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.sec-steps .faq h3 em {
    color: #ffa000;
}

.sec-steps .faq-item__question {
    position: relative;
    text-align: left;
    font-size: 1.5rem;
    padding: 10px 30px 10px 0;
    border-bottom: 1px solid #efefef;
    display: flex;
    align-items: center;
    cursor: pointer;
    z-index: 99;
}

.sec-steps .faq-item__question::before {
    display: inline-block;
    content: "";
    width: 30px;
    height: 30px;
    background-image: url('../img/2024new/icon_question.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 16px;
}

.sec-steps .faq-item__question::after {
    display: inline-block;
    position: absolute;
    top: 22px;
    right: 10px;
    content: "";
    width: 12px;
    height: 12px;
    background-image: url('../img/2024new/icon_open.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.sec-steps .faq-item.closed .faq-item__question::after {
    background-image: url('../img/2024new/icon_closed.png');
}

.sec-steps .faq-item__answer {
    padding: 10px 0;
    font-size: 1rem;
    text-align: left;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    height: 140px;
    transition: all ease-in-out 0.3s;
}

.sec-steps .faq-item__answer::before {
    display: inline-block;
    content: "";
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    background-image: url('../img/2024new/icon_answer.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 16px;
}

.sec-steps .faq-item.closed .faq-item__answer {
    height: 0;
    opacity: 0;
    padding: 0;
}

.sec-steps .faq-item.closed .faq-item__answer p,
.sec-steps .faq-item.closed .faq-item__answer:before,
.sec-steps .faq-item.closed .faq-item__answer:after {
    display: none;
}

/**
 フッター
*/
.footer {
    padding: 20px 0;
    color: #666666;
}

.footer__inner {
    text-align: center;
}

.footer__link {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.footer__link li {
    list-style: none;
}

.footer__link li a {
    color: #666666;
    text-decoration: none;
    margin-right: 30px;
}

.footer .copyright {
    text-align: center;
}

h1 {
  /* デフォルト（広い画面向け） */
  font-size: 1.5vw;
}

/* 画面幅が480px以下の時 */
@media screen and (max-width: 480px) {
  h1 {
    /* さらに狭い画面では、固定値にして極端な縮小を防ぐ */
    font-size: 18px;
  }
}




/* 2026MV改修 */

div#mv2026 {
    background: url("../img/2026new/top-bg.png");
    height: 100vh;
    min-height: 900px;;
    width: 100%;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    align-items: center;
}
.mv2026-outer {
    margin: auto;
    width: 90vw;
    max-width: 1200px;
    position: relative;
}
img.mv-device {
    position: absolute;
    left: 0px;
    top: 50%;
    z-index: 0;
    transform: translate(-50%, -50%);
    width: 900px;
    min-width: 60vw;
}
.mv2026-inner {
    width: 50%;
    margin-left: auto;
    margin-right: 0;
    color: #fff;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

h1.mv-catchcopy {
    margin-top: -20px;
    margin-inline: -3vw;
    margin-bottom: 10px;
}
.mv-catchcopy-img {
    width: 100%;
}
p.mv-introtext {
    font-size: 24px;
    letter-spacing: 0.08em;
    width: fit-content;
    margin: 0 auto 30px;
}
.mv-benefit-cols {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 50px;
}

.mv-benefit-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mv-benefit-item img {
    width: 70px;
    margin: auto;
}

.mv-button-container {
    max-width: 100%;
}

.mv-button-container img {
    width: 100%;
    5px: 5px 0
    red;
}

/* アニメーションの定義 */
@keyframes slideInBounce {
  0% {
    opacity: 0;
    transform: translateX(-100px); /* 開始：左から */
  }
  50% {
    opacity: 1;
    transform: translateX(30px);   /* 1回目の揺れ：右に行き過ぎる */
  }
  70% {
    transform: translateX(-15px);  /* 2回目の揺れ：左に戻る */
  }
  85% {
    transform: translateX(8px);    /* 3回目の揺れ：少し右へ */
  }
  95% {
    transform: translateX(-3px);   /* 最後の微調整：わずかに左へ */
  }
  100% {
    opacity: 1;
    transform: translateX(0);      /* 停止：本来の位置 */
  }
}

/* クラスへの適用 */
.mv-catchcopy-img {
  /* 既存のスタイルを維持しつつ、以下を追加 */
  display: block;
  max-width: 100%;
  height: auto;

  /* アニメーション設定 */
  animation: slideInBounce 1s ease-out forwards;
  
  /* ページ読み込みから少し遅らせて開始させる場合（0.5秒待つ） */
  animation-delay: 0.5s;
  
  /* 開始前は非表示にしておく設定 */
  opacity: 0;
}



.mv-button-container img {
    width: 100%;
    transition: transform 0.3s ease;
}

/* ボタンにホバーした時の簡単なエフェクト */
.mv-button-container img:hover {
    transform: scale(1.05);
    filter: brightness(1.1); /* 10%明るくする */
    cursor: pointer; /* カーソルを指の形にする */
}

