@charset "UTF-8";
@import url("grid.css");

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #000;
    --link-color: #307ec3;
    --linkhover-color: #666;
    --back-color: #f7f7f7;
    --border-color: #ccc;
    --white-color: #fff;
    --nav-color: #333;
}
html {
    scroll-behavior: smooth;/* スムーススクロール */
}
body {
    background: var(--white-color); 
    color: var(--base-color);
    font-family: "BIZ UDPGothic", sans-serif;
    letter-spacing: 1px;
}

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: var(--link-color);
    text-decoration-line: none;
}
a:hover { 
    color: var(--linkhover-color);
}
h1 {
    letter-spacing: 2px;
}
h2 {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    text-align: center;
    letter-spacing: 2px;
    padding: 0 1.5rem;
}
h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 3px;
    background-color: #e70014;   
    font-weight: 800;
}

h3,h4,h5,h6 {
    letter-spacing: 1px;
    font-weight: 600;
    text-align: center;
}

h3{
    color:#222;
}
h3.bkg-gray{
  background: #eee; 
  color: var(--base-color); 
  padding: 1rem;
}
.gray-back h3{
    color: var(--base-color);
}
.button {
    margin: 1rem;
}

/*余白*/
.m-btm-normal{
    margin-bottom: 2rem;
}
.m-btm-large{
    margin-bottom: 3rem;
}

/*フォント*/
.small{font-size:85%;}
.x-small{font-size:75%;}
.xx-small{font-size:65%;}
.text-red{color:#e70014;}

.fee-table{width:100%;}
@media only screen and (max-width: 599px) {
    .fee-table{font-size:85%;}
}
/*パラグラフの中で改行を制御*/
.break {
    display: none;
  }
  @media only screen and (max-width: 599px) {
    .break {
      display: inline;
    }
  }

  /*テーブルの中で改行を制御*/
  .nowrap {
    white-space: nowrap;
  }

  /*行揃え*/
.right{
    text-align: right;
}
.left{
    text-align: left;
}  

/*ヘッダー
-------------------------------------*/
.headerbar {
    background-color: var(--base-color);
    color: var(--white-color);
    font-size: 12px;
    padding: 0.3rem 0;
}
.headerbar .col {
    margin-bottom: 0;
}
.header {
	display: flex;
    flex-direction: row;
    padding: 2rem 0 0 0;
    margin-bottom: 2rem;
}
.sitetitle {
    font-size: 3.0rem;
    width: 340px;
    height: auto;
}
.header-box {
	margin-left: auto;
	margin-top: 8px;
}
.contact-tel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none; 
}
.contact-tel:hover {
    opacity: 0.9;
    color: var(--base-color);
}
/*スマホ用メニュー
-------------------------------------*/	
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 1rem 0 0 0;
}
nav li {
	flex: 1 0 auto;
    margin-bottom: 0
}
nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
}
nav a:hover {
    background-color: var(--back-color);   
}
nav a {
    padding: 1rem;
    color: var(--nav-color);
}

@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
.sitetitle {
    width: 260px;
}
}

@media screen and (max-width: 768px){
.header {
	flex-direction: column;
    margin-bottom: 10px;
}
.header #open,#close  {
    position: absolute;
    top: 25px;
    right: 12px;
}
nav ul {
	flex-direction: column;
}
.header li {
	padding-top: 0;
}
/* スマホ時はMENUボタンを表示 */
#open {
    display: block;
    background: url(../img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 25px;
    right: 12px;
}
#close  {
    display: block;
    background: url(../img/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 25px;
    right: 12px;
}
nav li a {
    border-bottom: 1px dashed var(--link-color);
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
.sitetitle {
    width: 220px;
}
}
/* ドロップダウンメニュー
-------------------------------------*/
.menu > li {
	display: block;
	position: relative;
}
.menu > li > ul {
	display: none;
}
.menu > li:hover ul {
	display: block;
	position: absolute;
    width: 250px;
    z-index: 100;
    background-color: var(--back-color);
    margin-left: 0;
    margin-top: 0;
}
.menu li ul, .menu li ul li   {
    margin: 0;
    padding: 0;
    border-bottom: 1px dashed var(--link-color);
} 
.menu li ul, .menu li ul li:last-child   {
    border-bottom: none;
}

/* slick 
-------------------------------------*/
  .testimonial-title {
      font-size: 32px;
      font-weight: bold;
      text-align: center;
      color: #333;
      margin-bottom: 30px;
  }
  .testimonial-slider {
      width: 80%;
      margin: 0 auto;
  }
  .testimonial-card {
      background: white;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      text-align: left;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      height: 100%;
      margin: 0 15px;
  }
  .customer-name {
      font-weight: bold;
      color: #555;
      margin-bottom: 10px;
      text-align:center;
  }
  .question {
      font-size: 20px;
      font-weight: bold;
      color: #222;
      margin-top: 10px;
      margin-bottom: 5px;
  }
  .answer {
      margin-bottom: 10px;
  }
  .slick-slide {
      display: flex;
      justify-content: center;
  }
  .slick-track {
      display: flex;
      align-items: stretch;
  }
  .slick-list {
      display: flex;
      align-items: stretch;
  }
  @media (max-width: 768px) {
      .testimonial-slider {
          width: 90%;
      }
      .testimonial-card {
          padding: 15px;
          margin: 0 10px;
      }
      .question {
          font-size: 18px;
      }
      .answer {
          font-size: 14px;
      }
  }


/*メイン画像
-------------------------------------*/
#mainimg {
    width: 100%;
}
#mainimg h1 {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 2;
    text-align: center;
    color: var(--white-color);
    text-shadow: 1px 2px 3px var(--link-color); 
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 0;
}
section {
	margin: 3rem 0;
	padding: 3rem 0;
}
section:first-of-type {
    padding-top: 0;
  }
.gray-back {
	background-color: var(--back-color);
    /*background: url('../img/gray-back.jpg'); gray-back.jpg背景画像を使用したい時にオンにしてください*/
    background-size: cover;
}


  /* Google Mapを囲う要素
-------------------------------------*/ 
.map {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 75%; /* 比率を4:3に固定 */
}

/* Google Mapのiframe */
.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*画像切り替え
モバイルデバイスでは.mobileクラスの画像が表示され、デスクトップデバイスでは.desktopクラスの画像が表示
-------------------------------------*/
.mobile {
    display: none;
  }
  
  .desktop {
  
  }
  
  @media only screen and (max-width: 599px) {
    .mobile {
      display: block;
    }
  
    .desktop {
      display: none;
    }
  }


/*ニュース
-------------------------------------*/
.news {
    margin: 0 auto;
    max-width: 980px;
    padding: 2rem;
}
.news-list{
    list-style: none;
  }
.news-list .item, .item p {
    margin-bottom: 0;
  }
.news-list .item a{
    display: flex;
    flex-wrap: wrap;
    color: var(--nav-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}
.news-list .item:first-child a{
    border-top: 1px solid var(--border-color);
}
.news-list .item .date{
    min-width: 140px;
    color: var(--link-color);
}
.news-list .item a:hover .title{
    color: var(--base-color);
}
.center {
	text-align: center;
	margin-bottom: 4rem;
}

/* マウスホバーで画像を拡大
-------------------------------------*/
.hoverbox{
    max-height: 250px;
    overflow: hidden;
}
.hoverbox-img{
    transition-duration: 0.3s;
}
.hoverbox-img:hover{
    transform: scale(1.3);
    transition-duration: 0.3s;
}

/*よくある質問
-------------------------------------*/
.qa dt,
.qa dd {
    display: flex;
    align-items: center;
    position: relative;
    margin: 0;
    padding: 1em 2em 1em 3.1em;
    color: var(--base-color);
}
.qa dt {
    font-weight: 600;
}
.qa dd {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2em;
}
.qa dd + dt {
    margin-top: 1em;
}
.qa dt::before,
.qa dd::before {
    display: inline-block;
    position: absolute;
    width: 40px;
    height: 40px;
    left: 0;
    border-radius: 50%;
    color: var(--white-color);
    font-weight: 600;
    font-size: 1.1em;
    line-height: 40px;
    text-align: center;
}

.qa dt::before {
    background-color: #e70014;
    content: 'Q';
}

.qa dd::before {
    background-color: #004b80;
    content: 'A';
}
/*お問い合わせ
-------------------------------------*/
.tel-banner, .mail-banner {
    border: 1px solid var(--base-color);
    padding: 2rem 1rem;
    text-align: center;
    font-size: 2rem;
}
/*
 * 20251023 追加
 */
 .cta-banner {
    border: none;
    padding: 2rem 1rem;
    text-align: center;
    font-size: 2rem;
    background: #ec6c00;
  }
  .cta2-banner {
    color: #222;
    padding: 1rem;
    text-align: center;
    font-size: 1.65rem;
    background: #fff;
    border: 2px solid #222;
  }
  a.cta-banner {
    display: block;
    color: #fff;
    text-decoration-line: none;
  }
  a.cta2-banner {
    display: block;
    color: #222;
    text-decoration-line: none;
  }
/*フッター
-------------------------------------*/
footer {
    background-color: var(--back-color); 
    /*background: url('../img/gray-back.jpg'); gray-back.jpg背景画像を使用したい時にオンにしてください*/
    background-size: cover;
    padding: 5rem 0;
}
footer h4 {
    position: relative;
    padding-bottom: 1rem;
    width: 100%;
    border-bottom: 2px solid var(--border-color);
}
footer h4::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 70px;
    height: 2px;
    background-color: var(--link-color);
}
/*電話
-------------------------------------*/
a.tel {
    display: inline-block;
}
@media screen and (min-width: 768px){
a[href*="tel:"] { /* PC時は電話番号無効 */
    pointer-events: none;
    cursor: default;
}
}
/*お問い合わせ
-------------------------------------*/
.contact-box {
	border: 1px solid var(--border-color);
	text-align: center;
	padding: 2rem 0;
}
.table {
	margin: 4rem 0;
}
.table th {
	width: 150px;
}
input[type="email"], input[type="number"], input[type="search"], input[type="text"], input[type="tel"], input[type="url"], input[type="password"], textarea { 
    background-color: var(--white-color);
}
/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: var(--base-color);
}
.copyright a {
    color: var(--white-color);
    text-decoration: none;
	display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: block;
    width: 40px;
    height: 40px;
    box-sizing: border-box;
    background: var(--white-color);
    border: 1px solid var(--linkhover-color);
    padding-top: 30px;
    text-align: center;
    text-decoration: none;
    opacity: 0.8;
}
#pagetop::after{
    content: "";
    display: block;
    border-top: 2px solid var(--base-color);
    border-right: 2px solid var(--base-color);
    width: 25%;
    height: 25%;
    top: 45%;
    left: 0;
    right: 0;
    margin: auto;
    position: absolute;
    transform: rotate(-45deg);
}
#pagetop:hover{
    opacity: 0.5;
}

/* 下層ページヘッダー
-------------------------------------*/
.subimg {
    height: 350px;
    background: url('../img/subimg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    margin-bottom: 2rem;
}
.subimg h1 {
    height: 350px;
    line-height: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    text-shadow: 1px 2px 3px var(--link-color); 
    margin: 0;
}
/* パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: var(--link-color);
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 768px){
	
/*ヘッダー
-------------------------------------*/
.headerbar {
    display: none;
}
.header-box {
    display: none;
}	
/* ドロップダウンメニュー
-------------------------------------*/
#navi ul ul {
    position: static;
    width: 100%;
    z-index: 100;
    background-color: var(--white-color);
}
#navi li ul {
    display: block;
    background-color: var(--white-color);
}
.menu li ul, .menu li ul li   {
    border-bottom: none;
}
/*メイン画像
-------------------------------------*/
#mainimg h1 {
    height: 350px;
}
#main-img h1 {
    height: 350px;
}
/*ニュース
-------------------------------------*/
.news-list .item .title{
    margin-top: 1em;
}
}

/* ポイントキャンペーンのみ追加したスタイル 20251029 */  
.center h1{
  margin: 0;
  display: flex;           /* 横並び */
  justify-content: center; /* 中央寄せ（不要なら削除） */
  align-items: center;
  gap: 0;                  /* ← ここを 0 に */
}

.center .kv{
  width: 568px;
  height: 470px;
  display: block;          /* 余計な行間を消す */
  vertical-align: middle;  /* 念のための揃え */
}
.text-center{text-align: center;}
.dot-list{
  list-style: disc;         /* 黒丸にする */
  padding-left: 1.4em;      /* インデント調整 */
  margin: 0;
}

.dot-list li::marker{
  color: #000;              /* 黒 */
  font-size: 1.4em;         /* ← 黒丸の大きさ（文字サイズ基準） */
  font-weight: 700;         /* 濃さを出したい時に */
}

/* h3 を吹き出し化 */
h3.balloon{
  position: relative;
  display: inline-block;    /* テキスト幅にフィット。全幅にしたい時は block に */
  padding: 10px 14px;
  margin: 12px 0;
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 12px;
  line-height: 1.4;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
}

/* しっぽ（下側）外枠 */
h3.balloon::before{
  content:"";
  position: absolute;
  left: 24px;               /* しっぽ位置を左右に調整 */
  bottom: -14px;
  border-width: 14px 12px 0 12px;
  border-style: solid;
  border-color: #ccc transparent transparent transparent;
}

/* しっぽ（下側）内側（本体色） */
h3.balloon::after{
  content:"";
  position: absolute;
  left: 24px;
  bottom: -11px;
  border-width: 14px 12px 0 12px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

/* しっぽを左から出したい場合は .left を追加 */
h3.balloon.left{
  display: inline-block;
}
h3.balloon.left::before{
  left: -14px; bottom: auto; top: 14px;
  border-width: 12px 14px 12px 0;
  border-color: transparent #ccc transparent transparent;
}
h3.balloon.left::after{
  left: -11px; bottom: auto; top: 14px;
  border-width: 12px 14px 12px 0;
  border-color: transparent #fff transparent transparent;
}

  h3.square {
  position: relative;
  padding: 0.25em 1em;
  border-top: solid 2px #ccc;
  border-bottom: solid 2px #ccc;
  margin-bottom: 2.5rem;
}
h3.square:before, h3.square:after {
  content: '';
  position: absolute;
  top: -7px;
  width: 2px;
  height: -webkit-calc(100% + 14px);
  height: calc(100% + 14px);
  background-color: #ccc;
}
h3.square:before {
  left: 7px;
}
h3.square:after {
  right: 7px;
}


 /* ----- 基本レイアウト ----- */
.logo-marquee{
  --gap: 8px;                           /* 画像の間隔（指定どおり5px） */
  --height-min: 40px;                   /* モバイルの最小高さ */
  --height-max: 52px;                   /* デスクトップの最大高さ */
  --speed: 30s;                         /* 1周の時間（速さ調整用） */

  position: relative;
  overflow: hidden;
  width: 100%;
  /* 端のフェード（対応ブラウザはmask、未対応でも表示崩れなし） */
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 48px, black calc(100% - 48px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, black 48px, black calc(100% - 48px), transparent 100%);
  margin-bottom:5px;
}

/* ロゴ列（2セット分を横に連結） */
.logo-track{
  display: flex;
  gap: var(--gap);
  align-items: center;
  width: max-content;                   /* コンテンツ幅に合わせる */
  animation: marquee var(--speed) linear infinite;
}

/* ロゴ画像（SVG推奨：viewBoxあり、width/height属性なし） */
.logo-track img{
  display: block;                       /* 行間隙間対策 */
  height: clamp(var(--height-min), 6vw, var(--height-max));
  width: auto;                          /* アスペクト比維持 */
}

/* 無限スクロール（同じ並びを2回置くことで -50% 移動で継ぎ目ゼロ） */
@keyframes marquee{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* 使い勝手：ホバーで一時停止（PCでの確認・クリックに配慮） */
.logo-marquee:hover .logo-track{
  animation-play-state: paused;
}

/* アニメを好まないOS設定なら停止して左右スクロールで閲覧できるように */
@media (prefers-reduced-motion: reduce){
  .logo-track{ animation: none; }
  .logo-marquee{ overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
.logo-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;                 /* ← 指定のすきま */
  align-items:center;      /* 高さ違いでも見た目を揃える */
}
.logo-row img{
  display:block;           /* 行間の隙間対策 */
  height:clamp(40px,6vw,72px);  /* 高さ基準でレスポンシブ */
  width:auto;              /* アスペクト比維持 */
}
p.bumon-text a {
    display: inline-block;
    text-decoration: dashed;
}
/* 追加：aで包んだロゴ用 */
.logo-item{
  display: grid;             /* クリック範囲＝画像にフィット */
  place-items: center;
  text-decoration: none;
  outline: none;
}

/* 追加：画像サイズ指定（以前 .logo-track img に書いていた場合は 置き換え推奨） */
.logo-item img{
  display: block;
  height: clamp(var(--height-min,40px), 6vw, var(--height-max,72px));
  width: auto;
}

/* 追加：ホバー・フォーカスで一時停止（被ってなければ追加、あれば上書き不要） */
.logo-marquee:hover .logo-track{ animation-play-state: paused; }
.logo-marquee:focus-within .logo-track{ animation-play-state: paused; }

/* 追加：フォーカス見栄え（任意） */
.logo-item:focus-visible{
  outline: 2px solid #1e90ff;
  outline-offset: 2px;
}

  h3.bumon img{max-width: 45%;margin-right: 10px ;height:4rem;}
  h3.bumon{text-align: center;}
/* ラッパー：floatの回り込みを閉じる（clearfix） */
.media::after{
  content:"";
  display:block;
  clear:both;
}

/* 画像：左に回り込み＋“半分サイズ” */
.media__img{
  float:left;
  width:25%;          /* コンテナ幅の50%＝ざっくり「半分」 */
  height:auto;        /* 縦横比維持 */
  display:block;      /* 行間の隙間対策 */
  margin:0 12px 8px 0;/* 右と下に余白（調整OK） */
}

/* テキストはデフォで画像の右側に回り込んで流れる */
.media__text{
  line-height:1.7;
}
}