/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* 共通スタイル */

/* ヘッダー */
header {
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #ccc;
    position: fixed; /* ヘッダーを固定 */
    top: 0;
    left: 0;
    z-index: 1000; /* ヘッダーを前面に表示 */
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-area {
    display: flex;
    align-items: center;
}

.hamburger-menu {
    width: 30px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 1;
}

.hamburger-menu span {
    display: block;
    height: 1px;
    background-color: #1a1a1a;
    transition: all 0.3s ease;
}

/* メニューがアクティブなときのスタイル */
.hamburger-menu.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* ナビゲーションメニュー */
.nav-menu {
    display: none; /* 初期状態では非表示 */
}

.nav-menu.active {
    display: block; /* ハンバーガーメニューがクリックされたら表示 */
}

/* トップ画像（SP用とPC用でクラスを分けています） */
.image-container {
    position: relative;
    display: inline-block;
}

.image-container img {
    display: block;
    width: 100%; /* 必要に応じて調整してください */
}

.image-button {
    position: absolute;
    bottom: 10px; /* 画像の下からの距離を調整 */
    left: 50%;
    transform: translateX(-50%);
    text-decoration: none;
    width: 70%;
}
.toppc .image-container .image-button {
    position: absolute;
    bottom: 3vh; /* 画像の下からの距離を調整 */
    left: 25%;
    transform: translateX(-50%);
    text-decoration: none;
    width: 30%;
}
/* お知らせセクション */
.notice-section {
    padding: 20px;
    background-color: #fff;
    text-align: center;
    margin-top: 25px;
}

.notice-box {
    background-color: #f9f9f9;
    border: 1px solid #2ED1FF;
    padding: 20px;
    border-radius: 5px;
}

.notice-item {
    padding: 10px 0;
    text-align: left;
}

.notice-item p {
    font-size: 12px;
    line-height: 1.5;
    color: #1a1a1a;
}

.notice-box hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 0;
}

/* シミュレーションセクション */
.simulation {
    padding: 20px;
    background-color: #fff;
    text-align: center;
}

.simulation h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.simulation p {
    margin-bottom: 20px;
    font-size: 16px;
}

.simulation-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.simulation-inputs,
.simulation-result {
    flex: 1;
    min-width: 280px;
    margin-bottom: 20px;
}

.simulation-inputs label,
.simulation-result p {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

.simulation-inputs label {
    text-align: left;
}

.simulation-inputs input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    text-align: right;
    border-radius: 10px;
    border: 1px solid #2ED1FF;
    background-color: #f9f9f9;
}

.simulation-inputs .note {
    text-align: right;
    font-size: 12px;
    color: #666;
}

.simulation-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex: 0 0 50px; /* 三角形の幅を固定 */
}

.arrow-right {
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #1a1a1a;
}

#calculate-button {
    display: block;
    width: 200px;
    margin: 0 auto;
    border-radius: 10px;
    padding: 10px;
    background-color: #2ED1FF;
    color: #fff;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

#calculate-button:hover {
    background-color: #0056b3;
}

/* 共通のフォントと背景色 */
body {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

/* コンテナ */
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* アイテム間のスペースを設定 */
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box; /* パディングとボーダーを含める */
}

/* ポイントコンテナ */
.point-container {
    background-color: #ffffff;
    border: 2px solid #2ED1FF;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    margin-top: 50px;
    position: relative;
    flex: 1 1 calc(100% - 20px); /* 初期設定 */
    max-width: calc(100% - 20px);
    box-sizing: border-box;
    min-height: 250px;
    align-content: center;
}

.point-header {
    position: absolute;
    top: -50px;
    left: 10px;
}

.point-icon {
    width: 140px; /* 画像の幅を調整 */
    height: auto;
}

.point-content h1 {
    font-size: 1.3em;
    color: #1a1a1a;
    margin-bottom: 15px;
    padding-bottom: 5px;
    display: inline-block;
    border-bottom: none;
    position: relative;
}

.point-content h2 {
    font-size: 1.2em;
    color: #1a1a1a;
    margin-bottom: 15px;
    padding-bottom: 5px;
    display: inline-block;
    border-bottom: none;
    position: relative;
}

.point-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 1px;
    background-color: #000;
}

.point-content ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 0 0 10px 0;
    text-align: left;
}

.point-content ul li {
    font-size: 1em;
    color: #1a1a1a;
    /* font-weight: bold; */
    margin-bottom: 10px;
}

.point-content .min {
    font-size: 1em;
    color: #1a1a1a;
    /* font-weight: bold; */
    text-align: left;
    line-height: 1em;
}

.point-content p {
    font-size: 1em;
    color: #1a1a1a;
    /* font-weight: bold; */
    text-align: left;
    line-height: 2em;
}

.point-content .red {
    font-size: 0.8em;
    color: rgb(226, 4, 4);
    text-align: left;
    line-height: 1em;
}

/* 申し込みボタンのスタイル */
.apply-button {
    font-size: 1em;
    color: #fff;
    background-color: #007BFF;
    border: none;
    padding: 30px 0px;
    width: 90%;
    cursor: pointer;
    position: relative;
    display: inline-block;
    margin-top: 20px;
    border-radius: 10px;
}

.button {
    width: 90%;
}
.recommendation-text .button3{
    width: 80%;
    background-color: #2ED1FF;
    padding:8px 0px;
    border-radius: 500px;
    color: #ffffff;
    text-align: center;
    display: block;
    margin: auto;
}
/* おすすめセクション */
.recommendation {
    margin-top: 50px;
}

.recommendation h2 {
    font-size: 24px;
    /* margin-left: 20px; */
    text-align: center;
    color: #1a1a1a;
}

.recommendation-items {
    display: flex;
    flex-direction: column;
}

.recommendation-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.recommendation-item img {
    width: 100%;
    height: auto;
    /* margin-bottom: 15px; */
}

.recommendation-text {
    margin-top: 10px;
    padding: 0 20px;
}

.recommendation-text p {
    margin-bottom: 10px;
    font-size: 16px;
    color: #1a1a1a;
}

.recommendation-text a {
    color: #007BFF;
    text-decoration: none;
}

.recommendation-text a:hover {
    text-decoration: underline;
}

/* スマートフォン用の画像調整 */
.smart,
.smart2,
.smart3,
.smart4,
.smart5 ,
.smart6 ,
.smart7,
.smart8 {
    text-align: center;
}

.smart img,
.smart2 img,
.smart3 img {
    width: 40%;
    margin-bottom: 10vh;
    margin-top: 10vh;
    max-width: 300px;
}
.smart4 img{
    width: 60%;
    margin-top: 10vh;
    max-width: 300px;
}
.smart5 img{
    width: 60%;
    /* margin-top: 10vh; */
    margin-bottom: 10vh;
    max-width: 300px;
}
.smart6 img{
    width: 60%;
    /* margin-top: 10vh; */
    /* margin-bottom: 10vh; */
    max-width: 300px;
}
.smart7 img{
    width: 80%;
    /* margin-top: 10vh; */
    /* margin-bottom: 10vh; */
    max-width: 600px;
}
.smart8 img{
    width: 50%;
    /* margin-top: 10vh; */
    /* margin-bottom: 10vh; */
    max-width: 300px;
}
/* お問い合わせ（SP表示用） */
.contactsp {
    width: 100%;
    display: inline;
    margin-bottom: 10vh;
    margin-top: 10vh;
}

/* FAQセクション */
.faq-section {
    width: 100%;
}

.faq-background {
    background-image: url('./img/background.png'); /* 背景画像のパスを指定 */
    background-size: cover;
    width: 100%;
    position: relative;
}

.faq-background h2 {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    color: #1a1a1a;
    font-size: 20px;
    margin: 0;
}

.faq-items {
    position: relative;
    top: 80px; /* タイトルからの距離を調整 */
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    color: #555;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question span {
    font-size: 14px;
}

.toggle-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.faq-item hr {
    border: none;
    border-top: 1px solid #555;
    margin: 5px 0;
}

.faq-answer {
    display: none;
    font-size: 16px;
    line-height: 1.5;
}

.faq-answer p {
    margin: 0;
    /* font-weight: bold; */
}

/* 質問をクリックしたときのスタイル */
.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .toggle-icon {
    transform: rotate(180deg);
}


/* SP用スタイル */
@media screen and (max-width: 768px) {
    /* ヘッダー */
    .header-container {
        padding: 10px 15px;
    }

    .logo img {
        height: 40px;
    }

    .menu-image {
        height: 36px;
        margin-right: 10px;
    }

    .hamburger-menu {
        width: 25px;
        height: 23px;
    }

    /* シミュレーションセクション */
    .simulation-container {
        flex-direction: column;
    }

    .simulation-arrow {
        display: none; /* モバイル画面では非表示 */
    }

    /* トップ画像 */
    .topsp {
        margin-top: 50px;
        display: block; /* SP表示はデフォルトで表示 */
    }
    .sp {
        /* margin-top: 50px; */
        display: block; /* SP表示はデフォルトで表示 */
    }

    .toppc {
        display: none; /* PC表示は非表示 */
    }

    /* お問い合わせ（SP表示） */
    .contactsp {
        width: 100%;
        display: inline;
        margin-bottom: 10vh;
        margin-top: 10vh;
    }

    /* ポイントコンテナ */
    .point-container {
        flex: 1 1 calc(100% - 20px); /* 1列表示 */
        max-width: calc(100% - 20px);
    }
}
/*
.menu{
    display: flex;
    flex-direction: column;
    font-size: 10px;
}
*/

/* PC用スタイル */
@media screen and (min-width: 769px) {
    .button{
        width: 80%;
    }
    body {
        font-family: Arial, sans-serif;
        background-color: #ffffff;
        margin: auto;
        padding: 0;
        width: 80%;
    }
    /* ヘッダー */
    .logo img {
        height: 50px; /* ロゴの高さを調整 */
    }

    .menu-image {
        height: 40px; /* 画像の高さを調整 */
        margin-right: 15px;
    }

    .hamburger-menu {
        width: 30px;
        height: 23px;
    }

    /* トップ画像 */
    .topsp {
        display: none; /* SP表示は非表示 */
    }
    .sp {
        display: none; /* SP表示は非表示 */
    }

    .toppc {
        margin-top: 60px;
        display: block; /* PC表示は表示 */
    }

    /* ポイントコンテナ */
    .point-container {
        flex: 1 1 calc((100% - 20px) / 2); /* 2列表示 */
        max-width: calc((100% - 20px) / 2);
    }

    /* お問い合わせ（SP表示） */
    .contactsp {
        display: none;
    }

    /* おすすめセクション */
    .recommendation {
        display: flex;
        flex-direction: column;
    }

    .recommendation h2 {
        align-self: flex-start;
    }

    .recommendation-items {
        flex-direction: column;
    }

    .recommendation-item {
        flex-direction: row;
        align-items: center;
    }

    .recommendation-item:not(:last-child) {
        margin-bottom: 40px;
    }

    .recommendation-item img {
        width: 45%;
        margin-left: 20px;
        margin-bottom: 0;
    }

    .recommendation-text {
        width: 50%;
        margin-left: 5%;
    }

    /* スマートフォン用の画像調整（PCではマージン変更） */
    .smart img,
    .smart2 img {
        width: 40%;
        margin-bottom: 20vh;
        margin-top: 20vh;
        max-width: 300px;
    }
}

/* タブレット表示 */
@media (min-width: 900px) {
    .point-container {
        flex: 1 1 calc((100% - 40px) / 3); /* 3列表示 */
        max-width: calc((100% - 40px) / 3);
    }
}

@media (min-width: 1200px) {
    .point-container {
        flex: 1 1 calc((100% - 40px) / 3); /* 3列表示 */
        max-width: calc((100% - 40px) / 3);
    }
}

.graph_container{
    text-align: center;
}
.graph{
    width: 80%;
    max-width: 600px;

}



  
  /* コンテナ */
  .articles-container {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    background: #fff;

  }
  
  /* スライダー用のラッパ */
  .articles-wrapper {
    display: flex;
    transition: transform 0.3s ease;
  }
  
  /* カードスタイル */
  .article.card {
    min-width: 90%;
    box-sizing: border-box;
    text-align: center;
    background: #fff;
    text-align: left;
    overflow: hidden;
    margin: 5%;
    border: 1px solid #007BFF;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
  }
  .article.card img {
    width: 100%;
    height: auto;
    display: block;
  }
  .article.card .card-content {
    padding: 1rem;
  }
  .article.card h2 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
  }
  .article.card p {
    font-size: 0.9rem;
    color: #555;
  }

  /* スライドボタン */
  .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #007BFF;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    outline: none;
    background-color: transparent;
  }

  .prev-btn {
    left: 0.1rem;
  }
  .next-btn {
    right: 0.1rem;
  }

  /* PC向け(768px以上) 2×2表示 */
  @media (min-width: 768px) {
    .articles-container {
      overflow: visible;
      justify-content: center;
    }
    .articles-wrapper {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto auto;
      grid-gap: 1rem;
      transform: none !important;
      padding: 1rem;
    }
    .article.card {
      min-width: auto;
      margin: 0; /* グリッドでgapを使うためmarginをリセット */
    }
    .slider-btn {
      display: none; /* PCではスライド用ボタン非表示 */
    }
  }
  #com{
    text-align: center;
}



  .profile {
    padding: 20px;
    margin: 0 auto 50px;
    max-width: 700px;
    width: 95%;
    box-shadow: 0 0 20px #0098ff;
    background-image: url("https://sokujitsu.aria-inc.co.jp/image/aria-inc-logo.jpg");
    background-size: 200px;
    background-repeat: no-repeat;
    background-position: right bottom;
    border-radius: 10px;
    text-align: left;

  }
  .profile p {
    margin-bottom: 0.5rem;
  }
  .profile h6 {
    border-bottom: solid 1px #0098ff;
    width: 100%;
    margin-bottom: 30px;
  }
  .profile img {
    width: 100%;
  }

  .col-4 {
    flex: 0 0 auto;
    width: 33.3333333333%;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.simulation-radio-group {
    display: flex;
    gap: 10px;
    flex: 1;
    min-width: 280px;
    margin-bottom: 20px;
    width: 50%;
    margin: auto;
}

.simulation-radio-label {
    position: relative;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    height: 33px;
    border: 1px solid #2ED1FF;
    border-radius: 10px;
    background-color: #f9f9f9;
    text-align: center;
    font-size: small;
}

.sim {
    min-width: 280px;
    text-align: left;
    width: 50%;
    display: block;
    margin: auto;
}

/* ラジオボタンを非表示 */
.simulation-radio-label input[type="radio"] {
    opacity: 0;
    position: absolute;
    left: -9999px;
}

/* 初期状態のspan */
.simulation-radio-label span {
    display: inline-block;
    width: 100%;
    height: 100%;
    line-height: 33px;
    border-radius: 10px;
    background-color: #f9f9f9;
}

/* 選択時の見た目変更（spanへ反映） */
.simulation-radio-label input[type="radio"]:checked + span {
    background-color: #2ED1FF;
    border-color: #00A4CC;
    color: #fff; /* 文字色の変更等 */
}

/* ホバー時の見た目変更 */
.simulation-radio-label:hover span {
    background-color: #2ED1FF;
    border-color: #00A4CC;
    color: #fff; /* 文字色の変更等 */
}

.nav-menu ul {
    list-style: none; /* マーカーを消す */
    padding: 0;
    margin: 0;
    display: inline-grid;
    text-align: center;
    width: 100%;
}

.nav-menu li {
    display: inline-block;
    margin: 0 15px; /* 左右に少し余白 */
}

.nav-menu a {
    text-decoration: none; /* リンクの下線消去 */
    color: #000; /* 必要に応じて色指定 */
    padding: 10px 0; /* 上下に余白を追加 */
    display: inline-block; /* パディング有効化のためにインラインブロック化 */
}

.nav-menu a:hover {
    color: #2ED1FF; /* ホバー時の色変更（任意） */
}

.fixed-bottom-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    width: 100%;
    /* font-weight: bold; */
    color: #fff;
    cursor: pointer;
    z-index: 10000;
    max-width: 500px;
    margin: auto;
}

/* ----------------------------------------
   Footer
---------------------------------------- */
footer {
    background-color: #f9f9f9;
    border-top: 1px solid #ccc;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #1a1a1a;

}

.fixed-bottom-btn{
    opacity: 0;              /* 初期は透明 */
    transition: opacity 0.5s ease; /* 表示時のアニメーション */
    pointer-events: none;    /* 非表示状態はマウス操作不可 */
}
.fixed-bottom-btn.visible {
    opacity: 1;
    pointer-events: auto;    /* 表示後は操作可能 */
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.footer-logo img {
    height: 40px;
    display: block;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 14px;
}

.footer-links a:hover {
    color: #2ED1FF;
}

.footer-bottom {
    font-size: 12px;
    color: #666;
    margin-top: 20px;
}

.footer-sns {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.footer-sns a img {
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
}

/* レイアウト調整（レスポンシブ） */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        text-align: center;
    }
}
.mark{
font-weight: bold;
background-image: -webkit-linear-gradient( transparent 50%, rgba(255, 88, 88, 0.2) 50%);
}
