@charset "UTF-8";
/**************************************************
初期設定
**************************************************/
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Noto+Sans+JP:wght@600&display=swap");

/* font-family: "Oswald", sans-serif; */

/* telリンク無効 */
/* a[href^="tel:"] {
  text-decoration: none;
}

@media (min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
} */

/**************************************************
カスタムプロパティ
**************************************************/
/* カラー */
:root {
  --color-navy: #00395e;
  --color-yellow: #fcee21;

  --color-black: #333;
  --color-white: #fff;
  --color-red: #c00;
  --color-body-bg: #ffffff;
  --color-body-txt: #333333;
  --color-btn-bg: #e9654b;
  --color-btn-bg-hover: #ffffff;
  --color-btn-txt: #ffffff;
}

/* フォント */
:root {
  --font-family-base: "Noto Sans JP", sans-serif;
  /* フォント   --font-size-base: 16px; */

}

/* コンテンツ幅  元*/


:root {
  --width-container: 1080px;
  --width-container-sub: 1400px;
}




/**************************************************
reset css
**************************************************/
* {
  box-sizing: border-box;
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: 2;
}

@media (max-width: 767px) {
  * {
    font-size: calc(var(--font-size-base) - 2px);
    line-height: 1.75;
  }
}

html {
  background-color: var(--color-body-bg);
  color: var(--color-body-txt);
}

a {
  color: var(--color-link-txt);
  text-decoration: none;
}

html,
body,
div,
p,
span,
h1,
h2,
h3,
h4,
h5,
h6,
iframe,
blockquote,
pre,
a,
address,
em,
img,
small,
strike,
strong,
sub,
sup,
b,
u,
i,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
ul,
ol,
li,
dl,
dt,
dd,
form,
label,
article,
aside,
canvas,
details,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-weight: normal;
  vertical-align: baseline;
  position: relative;
  z-index: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

th,
td {
  text-align: left;
}

ol,
ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/**************************************************
共通設定
**************************************************/
section {
  position: relative;
}

.container {
  width: 90%;
  max-width: var(--width-container);
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .sp {
    display: none;
  }
}

@media (max-width: 767px) {
  .pc {
    display: none;
  }
}

/**************************************************
パーツ
**************************************************/
.headding02 {
  background-color: var(--color-navy);
  color: var(--color-white);
  text-align: center;
  font-weight: normal;
  padding: 1em;
  font-size: 18px;
}

.headding02 span {
  font-size: 14px;
}

/* マーカー */
.text-marker {
  position: relative;
}

.text-marker::after {
  display: inline-block;
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.5em;
  /* マーカーの高さ */
  background-color: var(--color-yellow);
  /* マーカーの色 */
  z-index: -1;
}

/* 見出しアイコン */
.header-icon {
  display: block;
  width: 40px;
  margin: 5px auto;
}

/**************************************************
共通設定
**************************************************/
.header {
  position: absolute;
  z-index: 10000;
  padding: 20px 3%;
}

.header_title {
  width: 90%;
  margin: 0 auto;
}

.header_title h1 {
  width: 200px;
  height: auto;
}

@media (min-width: 768px) {
  .header_title h1 {
    width: 260px;
    height: auto;
  }
}

.header_title p {
  font-size: 14px;
}

/* フローティングバナー */
.fix-banner {
  width: 100%;
  background: linear-gradient(to bottom, #8cc63f, #c9ff83);
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 9999;
}

.fix-banner h2 {
  display: table;
  margin: -15px auto -5px;
  background-color: #fcee21;
  padding: 0 2em;
  font-size: 14px;
  text-align: center;
  border-radius: 20px;
  transform: translateX(-30px);
}

.fix-banner_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fix-banner_tel,
.fix-banner_reserve {
  width: calc((100% - 60px) / 2);
  border-right: 1px solid #fff;
}

.fix-banner_tel img,
.fix-banner_reserve img {
  width: 1.5em;
}

.fix-banner_tel a,
.fix-banner_reserve a {
  display: block;
  font-size: 25px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(2px);
  white-space: nowrap;
}

.fix-banner_tel i,
.fix-banner_reserve img {
  margin-right: 0.2em;
}

.fix-banner_reserve a {
  font-size: 20px;
}

.fix-banner_top {
  font-size: 10px;
  width: 50px;
  height: 100%;
  text-align: center;
}

.pt-arrow {
  display: block;
  width: 20px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .fix-banner_tel a {
    font-size: 14px;
  }

  .fix-banner_reserve a {
    font-size: 14px;
  }
}
@media (max-width: 415px) {
  .fix-banner_tel,
  .fix-banner_reserve {
    width: unset;
    padding: 0 0.5em;
  }
}

/**************************************************
ハンバーガーメニュー
**************************************************/
/*アクティブになったエリア*/
#g-nav.panelactive {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 999;
  top: 0;
  width: 100%;
  height: 100vh;
}

/*丸の拡大*/
.circle-bg {
  position: fixed;
  z-index: 3;
  /*丸の形*/
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #8cc63f;
  /*丸のスタート位置と形状*/
  transform: scale(0);
  /*scaleをはじめは0に*/
  right: -50px;
  top: -50px;
  transition: all 0.6s;
  /*0.6秒かけてアニメーション*/
}

.circle-bg.circleactive {
  transform: scale(50);
  /*クラスが付与されたらscaleを拡大*/
}

/*ナビゲーションの縦スクロール*/
#g-nav-list {
  display: none;
  /*はじめは表示なし*/
  /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#g-nav.panelactive #g-nav-list {
  display: block;
  /*クラスが付与されたら出現*/
}

/*ナビゲーション*/
#g-nav ul {
  opacity: 0;
  /*はじめは透過0*/
  /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive ul {
  opacity: 1;
}

/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
#g-nav.panelactive ul li {
  animation-name: gnaviAnime;
  animation-duration: 1s;
  animation-delay: 0.2s;
  /*0.2 秒遅らせて出現*/
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes gnaviAnime {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/*リストのレイアウト設定*/
#g-nav li {
  text-align: center;
  list-style: none;
}

#g-nav li a {
  color: #000;
  text-decoration: none;
  padding: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn1 {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 9999;
  /*ボタンを最前面に*/
  cursor: pointer;
  width: 50px;
  height: 50px;
}

/*×に変化*/
.openbtn1 span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #666;
  width: 45%;
}

.openbtn1 span:nth-of-type(1) {
  top: 15px;
}

.openbtn1 span:nth-of-type(2) {
  top: 23px;
}

.openbtn1 span:nth-of-type(3) {
  top: 31px;
}

.openbtn1.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

/**************************************************
MV
**************************************************/
.mv {
  padding-top: 0;
  padding-bottom: 0;

  /*background-image: url(../img/mv.jpg);url(img/mv.jpg)*/

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.mv_text {
  display: flex;
  justify-content: space-between;
  align-items: top;
  height: calc(100vh - (110px + 70px));
  height: calc(100svh - (110px + 70px));
  margin: 0 auto;
  padding: 10vh 5% 0;
}

.mv_text ._catch {
  font-size: 6vw;
  transform: translateY(30px);
  line-height: 1.75;
}

.mv_text ._img {
  width: 150px;
  transform: translateY(-20px);
  position: absolute;
  right: 0;
}

/* ポイント */
.mv_point {
  display: flex;
  align-items: center;
  height: 120px;
  padding: 10px 0 20px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 1)
  );
}

.mv_point li {
  flex: 1;
  font-size: 12px;
  text-align: center;
}

.mv_point .text-marker {
  font-size: 16px;
  line-height: 1.3;
}

.mv_point ._point {
  color: var(--color-navy);
  font-size: 16px;
  font-weight: bold;
}

@media (min-width: 768px) {
  .mv {
    /*background-image: url(../img/mv_pc.jpg);*/
    background-size: cover;
    background-position: right bottom;
    background-repeat: no-repeat;
  }

  .mv_text ._img {
    width: 20vw;
  }

  .mv_text ._catch {
    font-size: 5vw;
    line-height: 1.5;
  }

  .mv_point li {
    font-size: 16px;
    line-height: 1.5;
  }
}

/**************************************************
導入文
**************************************************/
.lead {
  background-color: #dee5ea;
  padding: 40px 0;
}

.lead_title,
.lead_text {
  margin-bottom: 2em;
}

.lead_img {
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .lead {
    text-align: center;
    font-size: 18px;
  }
}

/**************************************************
選ばれるポイント
**************************************************/
.point {
  padding-bottom: 40px;
}

.point_list li {
  border: solid 1px var(--color-navy);
  padding: 0 3%;
  margin-top: 40px;
}

.point_list ._number {
  display: table;
  padding: 0 1em;
  margin: auto;
  color: var(--color-navy);
  font-weight: bold;
  margin-top: -1em;
  background-color: var(--color-white);
}

.point_list ._title {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin: 1em 0;
}

.point_list ._text {
  margin-bottom: 1em;
}

.point_list ._img {
  font-size: 10px;
  text-align: right;
  margin-bottom: 1em;
}

@media (min-width: 768px) {
  .point .container {
    max-width: 90%;
  }

  .point_list {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .point_list li {
    width: 30%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
  }

  .point_list li:nth-child(1),
  .point_list li:nth-child(2) {
    width: 35%;
  }

  .point_list li > * {
  }

  .point_list li ._img {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
}

/**************************************************
補聴器のご案内
**************************************************/
.type-info_text {
  margin: 1.5em auto;
}

.course_subtitle {
  font-size: 20px;
  text-align: center;
  margin-bottom: 1.5em;
}

.course-list {
  margin-bottom: 2em;
  text-align: center;
}

@media (min-width: 768px) {
  .type-info_text {
    text-align: center;
    margin: 5em 0;
    font-size: 18px;
  }

  .type-list {
    display: flex;
    justify-content: center;
  }
}

/**************************************************
らくみみ
**************************************************/
.wave {
  width: 120%;
}

.course {
  background: #ebf0f3;
  padding-bottom: 2rem;
}

.course-title {
  padding-top: 2rem;
}

@media (min-width: 768px) {
  .course .container {
    margin: 0 auto;
    text-align: center;
    padding-bottom: 10em;
  }

  .course ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2em;
  }
}

@media (min-width: 1500px) {
  .course .container {
    max-width: 90%;
  }

  .course ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
}
.course ul {
  margin-bottom: 2em;
}
/**************************************************
お客様の声
**************************************************/
.icon-user {
  width: 25px;
}

.voice_box {
  margin: 3em auto;
  text-align: center;
}

.voice_list {
  margin: 3em auto;
}

@media (min-width: 768px) {
  .voice_list {
    width: 50%;
    min-width: 300px;
  }
}

/**************************************************
認定補聴器専門士のご紹介
**************************************************/
.specialist_staff {
  margin: 3em auto;
}

.specialist_staff img {
  width: 100%;
}

@media (min-width: 768px) {
  .specialist_staff {
    display: flex;
    justify-content: center;
    gap: 4em;
    max-width: 1000px;
  }

  .specialist_staff > * {
    width: 50%;
  }

  .specialist_staff img {
    width: 100%;
  }
}

/**************************************************
お買い得情報
**************************************************/
.bargain_list {
  margin-top: 3em;
  margin-bottom: 3em;
}

@media (min-width: 768px) {
  .bargain_list {
    display: flex;
    justify-content: center;
  }
}

/* .bargain_item {
  border: solid 10px #aa0000;
  padding: 1em;
  max-width: 800px;
  margin-inline: auto;
} */

.bargain_item h3 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 1em;
}

.bargain_item > figure {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0px;
  margin-right: -1.5em;
}

.bargain_item > figure img {
  width: 100%;
}

.bargain_item > figure p:nth-child(1) {
  width: 75%;
}

.bargain_item > figure p:nth-child(2) {
  width: 25%;
}

.bargain_text {
  text-align: center;
  line-height: 1.4;
  margin-top: 1em;
  font-size: clamp(10px, 2vw, 16px);
}

/**************************************************
キャンペーン
**************************************************/
.campaign_list {
  margin-top: 3em;
  margin-bottom: 3em;
}

.campaign_item {
  margin: 2em auto;
}

@media (min-width: 768px) {
  .campaign_item {
    /* width: 50%;
    min-width: 300px;
    margin: 5em auto; */
  }

  .campaign_list {
    display: flex;
    justify-content: center;
    gap: 4em;
    max-width: 1000px;
  }
}

/**************************************************
アクセス情報
**************************************************/
.icon-pin {
  width: 20px;
}

.map {
  margin: 2em auto;
}

.map iframe {
  width: 100%;
  height: 299px;
}

table {
  margin-bottom: 2em;
  width: 100%;
}

.access-hd {
  width: 25%;
  padding-left: 5px;
}

.access-text {
  width: 80%;
  padding-left: 10px;
}

.table-line {
  background: #f4f4f4;
}

.access-map {
  margin-bottom: 3em;
}

.access-map img {
  width: 100%;
}

@media (min-width: 768px) {
  .map iframe {
    height: 500px;
  }

  .access-map {
    margin: 5em 0;
  }
}

/**************************************************
お問い合わせ
**************************************************/
.contact_body {
  margin: 3em auto;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

.contact_body a {
  display: block;
  width: 100%;
  text-align: center;
  background-color: rgba(0, 63, 107, 0.18);
  padding-block: 1em;
}

@media (min-width: 768px) {
  .contact_body {
    display: flex;
  }

  .contact_body a {
    padding-block: 2em;
  }
}

/**************************************************
よくある質問
**************************************************/
.faq {
  background: #ebf0f3;
}

.faq ul {
  width: 90%;
  margin: 0 auto;
  padding-top: 3em;
  padding-bottom: 3em;
}

.faq_list li {
  margin-bottom: 1.5em;
  background-color: #fff;
  padding: 1em;
}

.faq_list ._question {
  font-weight: bold;
  margin-bottom: 1em;
  padding-left: 1.75em;
}

.faq_list ._question::before {
  content: "Q";
  font-family: "Oswald", sans-serif;
  color: var(--color-navy);
  font-size: 1.25em;
  font-weight: bold;
  margin-right: 0.5em;
  margin-left: -1.25em;
}

.faq_list ._answer {
  padding-left: 1.75em;
}

.faq_list ._answer::before {
  content: "A";
  font-family: "Oswald", sans-serif;
  color: var(--color-navy);
  font-size: 1.25em;
  font-weight: bold;
  margin-right: 0.5em;
  margin-left: -1.25em;
}

.faq_keiyaku-timing dt {
  background-color: #eee;
  padding: 0 0.5em;
  margin-top: 1em;
}

.faq_kaiyaku ._img img {
  display: block;
  margin: 2em auto 0;
}

@media (min-width: 768px) {
  .faq_list li {
    font-size: 18px;
  }
}

/**************************************************
フッター
**************************************************/
footer {
  color: #fff;
  background: #003f6b;
  padding-bottom: 0.5em;/*10em*/
  text-align: center;
}

.footer {
  width: 70%;
  padding-top: 2em;
  padding-bottom: 2em;
}

.footer-logo {
  margin-bottom: 1.5em;
}

.copyright {
  font-size: 11px;
  text-align: center;
  padding-bottom: 1em;
}


/**追加要素*

.floating-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #32cd32;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    box-shadow: 0px -2px 8px rgba(0, 0, 0, 0.2);
}
*/

.floating-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #32cd32;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    box-shadow: 0px -2px 8px rgba(0, 0, 0, 0.2);
    font-size: 24px; /* ここでテキストサイズを指定 */
    color: #000; /* テキストカラーを白に設定 */
}

.banner-link {
    display: block;
    text-decoration: none;
}

.banner-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/**画像調整**/

.responsive-image {
           width: 100%;
           height: auto;
           background-size: cover;
       }

       /* 600px未満の画面の場合 */
       @media (max-width: 600px) {
           .responsive-image {
               background-image: url('image-small.jpg');
           }
       }

       /* 600px以上で1200px未満の画面の場合 */
       @media (min-width: 600px) and (max-width: 1200px) {
           .responsive-image {
               background-image: url('image-medium.jpg');
           }
       }

       /* 1200px以上の画面の場合 */
       @media (min-width: 1200px) {
           .responsive-image {
               background-image: url('image-large.jpg');
           }
       }


/*追加要素*/

.mobile-content {
    display: block;
}

.desktop-content {
    display: none;
}

/* スクリーンが768px以上（PC）の場合 */
@media (min-width: 768px) {
    .mobile-content {
        display: none;
    }

    .desktop-content {
        display: block;
    }
}



/* リンクのデフォルトスタイル */
a {
    color: #3498db; /* リンクの通常時の色 */
    text-decoration: none; /* 下線を消す */
    transition: color 0.3s ease; /* 色の変更にアニメーションを追加 */
}

/* リンクにマウスオーバーしたときのスタイル */
a:hover {
    color: rgba(52, 152, 219, 0.6); /* リンクのマウスオーバー時の色（薄くする） */
}
