﻿/* styles.css */

@charset "utf-8";

/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");


/* リセット・基本設定 */
* {
  box-sizing: border-box;
}

body {
        font-family: 
         -apple-system, BlinkMacSystemFont,
         "Hiragino Sans", "Yu Gothic", "Meiryo",
         "Segoe UI", "Helvetica", "Arial", sans-serif;
        color: #333;		/*文字色*/
        font-size: 18px;
        line-height: 1.9;
        font-weight: bold;
	background: #fffefc;	/*Floral White*/
	-webkit-text-size-adjust: none;
        margin: 0;
        padding: 0 3rem;
}

/* スマホ用768px以下 */
/* +++++++++++++++++++++++++++++++++++++++ */
@media screen and (max-width: 767px) {
  body {
    font-size: 22px;
  }
}



/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav,ul,li,ol {margin: 0;padding: 0;}
nav ul {list-style: none;}
input {font-size: 1rem;}
section li {margin-left: 1rem;}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
}

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*videoタグ*/
video {max-width: 100%;}

/*iframeタグ*/
iframe {width: 100%;}


/* header */
/* ======================================= */
/* -----------------------------
   ヘッダー上部のロゴ＋電話番号バー
----------------------------- */
.hero-banner-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  background-color: #fff;
  max-width: 2000px;
  margin: 0 auto;
}

.company-logo {
  height: 40px;
  width: auto;
}

.hero-phone {
  font-size: 1rem;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  padding-right: 3rem;
}

.hero-phone:hover {
  color: #e67e00;
}

/* -----------------------------
   ヒーローヘッダー（背景画像部分）
----------------------------- */
.hero-header {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 95%;
  max-width: 2000px;
  margin: 0 auto;
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 1;
}

.hero-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.2); /* 黒透過レイヤー */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-top: 9rem;
}

.hero-header h1 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.hero-header p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* CTAボタン全体のレイアウト */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* アスペクト比4:3を維持したボタン */
.cta-button {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 200px;  /* 任意の基準幅（高さは自動で4:3に） */
  background-color: #004d99;               /* Mineral blue */
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0;
  overflow: hidden;
  transition: opacity 0.3s;
  text-align: center;
  flex-direction: column;
}

/* LINEボタンだけ背景色を変更 */
.cta-button.line {
  background-color: #00c300;
}

/* テキスト */
.cta-text {
  padding: 0 0.5rem;
  font-size: 0.9rem;
}

/* LINE QR画像の調整 */
.line-qr {
  width: 96%;
  height: auto;
  margin-bottom: 0rem;
  object-fit: contain;
}

/* ホバー効果 */
.cta-button:hover {
  opacity: 0.85;
}



/* -----------------------------
   ページごとの背景画像設定
----------------------------- */
.fuyohin .hero-header {
  background-image: url("../images/head-fuyo.jpg");
}

.top-page .hero-header {
  background-image: url("../images/head-top.jpg");
}

.city .hero-header {
  background-image: url("../images/head-city.jpg");
}

.tokusyu .hero-header {
  background-image: url("../images/head-tokusyu.jpg");
}


/* -----------------------------
   PC用 768px以上
----------------------------- */
@media (min-width: 768px) {
  .hero-header {
    padding: 6rem 2rem;
  }

  .hero-header h1 {
    font-size: 2rem;
  }

  .hero-header p {
    font-size: 1.2rem;
  }

  .hero-banner-bar {
    padding: 1rem 2rem;
  }

  .hero-phone {
    font-size: 1.8rem;
  }

  .company-logo {
    height: 50px;
  }
}

/* -----------------------------
   スマホ用 768px以下
----------------------------- */
@media screen and (max-width: 767px) {
  .hero-header {
    aspect-ratio: auto !important;
    min-height: 480px;
    padding: 2rem 1rem;
  }

  .hero-banner-bar {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .company-logo {
    height: 36px;
  }

  .hero-phone {
    font-size: 0.95rem;
  }

  .hero-content {
    margin-top: 2rem;
  }

  .hero-header h1 {
    font-size: 1.2rem;
  }

  .hero-header p {
    font-size: 1rem;
  }
}


/* ハンバーガーメニュー drawer_menu */
/* ======================================= */
.drawer_menu a {
	color: inherit;
	text-decoration: none;
}

.drawer_menu a:visited {
	color: inherit;
}

/* ハンバーガーメニュー 背景 */
.drawer_menu .drawer_bg {
	width: 100%;
	height: 100%;
	position: fixed;
	z-index: 999;
	background-color: rgba(51, 51, 51, 0.5);
	display: none;
	top: 0;
	left: 0;
}

/* ハンバーガーボタン */
.drawer_menu .drawer_button {
	display: block;
	background-color: #ff8c00;
	color: #fff;
	border: none;
	padding: 5px;
	width: 50px;
	letter-spacing: 0.1em;
	cursor: pointer;
	position: fixed;
	top: 10px;
	right: 10px;
	z-index: 1001;
	text-align: center;
	outline: none;
}

.drawer_menu .drawer_bar {
	display: block;
	height: 2px;
	margin: 8px 2px;
	transition: all 0.2s;
	transform-origin: 0 0;
	background-color: #fff;
}

.drawer_menu .drawer_button.active .drawer_bar1 {
	transform: rotate(30deg);
}

.drawer_menu .drawer_button.active .drawer_bar2 {
	opacity: 0;
}

.drawer_menu .drawer_button.active .drawer_bar3 {
	transform: rotate(-30deg);
}

.drawer_menu .drawer_button.active .drawer_menu_text {
	display: none;
}

.drawer_menu .drawer_button.active .drawer_close {
	display: block;
}

.drawer_menu .drawer_text {
	text-align: center;
	font-size: 10px;
}

.drawer_menu .drawer_menu_text {
	display: block;
}

.drawer_menu .drawer_close {
	letter-spacing: 0.08em;
	display: none;
}

/* メニュー本体 */
.drawer_menu .drawer_nav_wrapper {
	width: 360px;
	height: 100%;
	transition: all 0.2s;
	transform: translate(360px);
	position: fixed;
	top: 0;
	right: 0;
	z-index: 1000;
	background-color: #666;
	overflow-x: hidden;
	overflow-y: auto;
}

.drawer_menu .drawer_nav_wrapper.open {
	transform: translate(0);
}

/* メニューリスト */
.drawer_menu .drawer_nav {
	display: block;
	position: relative;
	margin-top: 40px;
	padding: 0;
}

.drawer_menu .drawer_nav li {
	background-color: #666;
	height: auto;
	line-height: 50px;
	position: relative;
	border-bottom: 1px solid #eee;
	list-style-type: none;
}

.drawer_menu .drawer_nav li a {
	background-color: #666;
	color: #fff;
	display: block;
	text-align: left;
	padding-left: 20px;
	text-decoration: none;
}

.drawer_menu .drawer_nav li a:hover {
	background-color: #ff8c00;
}

/* サブメニュー（スマホ＆PC共通） */
.drawer_menu .drawer_nav li ul.second-level {
	display: none;
	position: relative;
	padding: 0;
	z-index: 1001;
	list-style-type: none;
	margin: 0;
}

.drawer_menu .drawer_nav li:hover ul.second-level {
	display: block;
}

.drawer_menu .drawer_nav li ul.second-level li {
	height: 10px;
	text-align: left;
}

.drawer_menu .drawer_nav li ul.second-level li a {
	padding-left: 40px;
	background-color: #fff;
	color: #555;
	display: block;
	line-height: 50px;
	text-decoration: none;
}

.drawer_menu .drawer_nav li ul.second-level li a:hover {
	background-color: #f0f0f0;
}


.drawer_menu.left .drawer_nav_wrapper {
	transform: translate(-250px);
	right: auto;
	left: 0;
}

.drawer_menu.left .drawer_nav_wrapper.open {
	transform: translate(0);
}

/* PCでも非表示にしない（常に表示） */
.pc-hidden {
	text-align: center;
	display: block;
}

/* タッチボタン（▼表示など用） */
.touch-btn {
	color: #555;
	position: absolute;
	top: .25rem;
	right: 2%;
	display: block;
	z-index: 10;
	width: 50px;
	height: 50px;
	text-align: center;
	vertical-align: middle;
}

/* ウィジェットタイトル */
.drawer-title {
	text-align: center;
	width: 100%;
	height: 50px;
	line-height: 50px;
	background-color: #555;
	color: #fff;
}

.pc-hidden .profile-icon {
	float: none;
}



/* パンくず */
/* ======================================= */
.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  margin-left: 4ch; /* ← 3文字分の余白を追加 */
}

.breadcrumb li + li::before {
  content: "";
  display: inline-block;
  font-family: "Font Awesome 6 Free"; 
  font-weight: 900; 
  content: "\f04b"; 
  padding: 0 0.5em;
  color: #000080;
}


.breadcrumb li a {
  color: #0000cd;
  text-decoration: none;
}

.breadcrumb li a:hover,
.breadcrumb li a:focus {
  text-decoration: underline;
}

.breadcrumb li span {
  color: #0000cd; /* 現在地のテキスト色 */
}



/* *************************************
/* ■ セクション
***************************************/
section {
  background: #fff;
  width: 90% !important;
  border-radius: 6px;
  padding: 2rem;
  margin-bottom: 2rem;
  margin: 0 auto !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* スマホ用768px以下 */
/* +++++++++++++++++++++++++++++++++++++++ */
@media screen and (max-width: 767px) {
  section {
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}



h2 {
  font-size: 2rem; 
  margin-bottom: 1.5rem;
  color: #004d99;               /* Mineral blue */
  text-align: center; 
  font-weight: bold; 
  border-bottom: 2px solid #004d99; 
  padding-bottom: 0.5rem; 
}


.h2_bg {
  font-weight: bold;
  background-color: #004d99;               /* Mineral blue */
  color: #fff;
  padding: 0.5em 1em calc(0.5em - 6px);
  position: relative;
  border-radius: 10px;
  margin-bottom: 3rem;
}

.h2_bg::after {
  content: '';
  background-color: #004d99;               /* Mineral blue */
  width: 100%;
  height: 3px;
  position: absolute;
  bottom: -6px;
  left: 0;
}

/* スマホ用768px以下 */
/* +++++++++++++++++++++++++++++++++++++++ */
@media screen and (max-width: 768px) {
  .h2_bg {
    margin-left: 0px;
    margin-right: 0px;
  }

}


h3 {
  font-size: 1.4rem;
  text-align: center; 
  margin-top: 1rem;
  margin: 0 auto;
  margin-bottom: 0.7rem;
  color: #333;
  width: 80%;
  border-bottom: double 5px #FFC778;
}



/* ============================================
 css 挨拶、画像、問合せ
=============================================== */

/* flex_l 画像左 文字右 */
/* ======================================= */
.flex_l .list {
  padding: 0;
  border: none;
}

/* 通常時（スマホ）レイアウト */
.flex_l .list figure {
  margin-bottom: 1rem;
  width: 100%;
  margin: 0 auto 1rem; /* 中央寄せ */

}

.flex_l .list figure img {
  width: 100%;
  height: auto;
  display: block;
}

.flex_l .list h4 {
  margin: 0 0 0.5em;
  padding: 0 10px;
  font-size: 26px;
  line-height: 1.5;
  color: #8b0000; /* darkred */
  font-weight: 600;
}

.flex_l .list p {
  color: #333;
  margin: 0;
  padding: 0 10px;
  line-height: 1.5;
}

.flex_l .list p,
.flex_l .list h4 {
    padding-left: 1rem;
    padding-right: 1rem;
}


/* PC 800px以上 */
/* +++++++++++++++++++++++++++++++++++++++ */
@media screen and (min-width: 800px) {
  .flex_l .list {
    display: flex;
    align-items: flex-start;
  }

  .flex_l .list figure {
    width: 40%;
    margin-right: 2rem;
    margin-bottom: 0;
  }

  .flex_l .list figure img {
    width: 100%;
    height: auto;
    display: block;
  }

  .flex_l .list div {
    flex: 1;
  }

  .flex_l .list h4 {
    font-size: 22px;
    padding: 0;
  }
}


/* ボタンを中央に配置 */
.btn-center {
  text-align: center;
  margin-top: 1rem;
}


/* grid3: 3列レイアウト */
/* ======================================= */

.grid3 .list * {
  margin: 0;
  padding: 0;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.grid3 .list {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 1rem;
  background: #fff;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 0; 
  border-radius: 8px;
}

.grid3 .list p {
  line-height: 1.5;
}

.grid3 .list h4 {
  font-size: 20px;
  color: #8b0000; /* darkred */
  margin-bottom: 0.5rem;
}

/* 画像の上マージン調整 */
.grid3 .list figure {
  margin: -1rem;
  margin-bottom: 0.5rem;
}

.grid3 figure a {
  display: block;
  overflow: hidden;
  border-radius: 6px 6px 0 0; /* 画像上部に角丸 */
}

.grid3 .list figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px 6px 0 0;
}

.grid3 figure a img {
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* ホバー時のアニメーション効果 */
.grid3 figure a:hover img {
  transform: scale(1.05);      /* 拡大 */
  filter: brightness(1.1);     /* 明るく */
}

/* 詳しく見るボタン */
.grid3 .btn_a {
  text-align: center;
  margin-top: 1rem;
}

.grid3 .btn_a a {
  display: block;  
  width: 100%;  
  background-color: #004d99;    /* Mineral blue */
  color: #fff;
  text-decoration: none;
  padding: 0.8rem 1rem;
  border-radius: 6px;
  font-size: 1rem; 
  transition: background-color 0.3s, transform 0.2s;
  box-sizing: border-box;
}

.grid3 .btn_a a:hover {
  background-color: #1e90ff;    /* dodgerblue */
  transform: scale(1.02); 
}


/* スマホ用768px以下 */
/* +++++++++++++++++++++++++++++++++++++++ */
@media screen and (max-width: 799px) {
  .grid3 {
    grid-template-columns: 1fr;
  }

  .grid3 .list {
    margin-bottom: 1rem; /* スマホではカードの下に余白 */
  }

  .grid3 .list h4 {
    font-size: 26px;
}

}


/* ============================================
 css table
=============================================== */

/* f_table */
/* ======================================= */

.f_table caption {
  text-align: center;
  background: #D0E4F7;    /* lightblue */
  color: #333;
  font-weight: bold;
  padding: 10px;
}

.f_table {
  table-layout: fixed;
  width: 100%;
  margin-bottom: 2rem;
  background: #fff;
  color: #333;
  border-collapse: collapse;
}

.f_table, .f_table th, .f_table td {
  border: 1px solid #ccc;
  word-break: break-all;
}

.f_table th {
  background: #f5f5f5;  /* whitesmoke */
  width: 20%;
  text-align: center;
  padding: 8px;
}

.f_table th.w60 {
  background: #f5f5f5;  /* whitesmoke */
  width: 60% !important;
  text-align: center;
  padding: 8px;
}

.f_table td {
  text-align: left;
  line-height: 1.5;
  padding: 8px;
}

.f_table .col-1 {
        color: #ffff00		/* yellow  */
}

.bg-glay {
  background-color: #f5f5f5;  /* whitesmoke */
}

/* PC 800px以上 */
/* +++++++++++++++++++++++++++++++++++++++ */
@media screen and (min-width: 768px) {
  .f_table {
    width: 90%;
    margin: 0 auto 2rem auto;
  }
}



/* f_table 提携パートナー/協力会社様 */
/* ======================================= */
.f_partner {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
    background: #fff;
    border: none;
}
.f_partner th,
.f_partner td {
    font-size: 14px;
    background: #fff;
    border: 1px solid #ccc;
    padding: 8px;
    vertical-align: middle;
    box-sizing: border-box;
}
.f_partner th {
    font-weight: 700;
    text-align: center;
}
.f_partner thead th {
    color: #fff;
    background: #14116e;
}
.f_partner tbody td:last-child {
  text-align: left;
}
.f_partner thead th:first-child,
.f_partner thead th:last-child {
  width: 20%;
}

/* スマホ用768px以下 */
/* +++++++++++++++++++++++++++++++++++++++ */
@media screen and (max-width: 768px) {
  .f_partner thead {
    display:none;
  }
  .f_partner tr {
    background-color: unset;
  }
  .f_partner th, .ex_f_partner td {
    display: block;
    width: 100%;
    border: 0;
    border-bottom: 1px solid #ccc;
  }
  .f_partner tbody th{
    background: #14116e;
    color:#fff;
    text-align: center;
  }
  .f_partner tbody tr td:not(:last-child) {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .f_partner tbody td:last-child{
    display: flex;
    justify-content: space-between;
  }
}

/* ============================================
 css リンクボタン
=============================================== */

/* btn_c 上に文字付きボタン */
/* ======================================= */
.btn_c {
    text-align: center;
}
.btn_c p {
    margin-bottom: 5px;
    font-weight: 600;
    color: #004d99;               /* Mineral blue */
    letter-spacing: 0.04rem;
    display: inline-block;
    position: relative;
}
.btn_c p:before, .btn_c p:after {
    display: inline-block;
    position: absolute;
    top: 45%;
    width: 20px;
    height: 3px;
    border-radius: 5px;
    background-color: #191970;
    content: "";
}
.btn_c p:before {
    left: -30px;
    -webkit-transform: rotate( 50deg );
    transform: rotate( 50deg );
}
.btn_c p:after {
    right: -30px;
    -webkit-transform: rotate( -50deg );
    transform: rotate( -50deg );
}
.btn_c a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 240px;
    padding: 10px 25px;
    color: #FFF;
    transition: 0.1s ease-in-out;
    font-weight: 600;
    background: #004d99;    /* Mineral blue */
    filter: drop-shadow(0px 2px 4px #ccc);
    border-radius: 3px;
}

.btn_c a:hover {
    background: #1e90ff;    /* dodgerblue */
    color: #FFF;
}

.tel-link::before {
  font-family: "Font Awesome 6 Free"; /* フォントを指定 */
  font-weight: 900; /* Solid アイコン用 */
  content: "\f098"; /* fa-square-phone の Unicode */
  margin-right: 0em;
  color: #fff; /* 必要に応じて色調整 */
  display: inline-block;
}


/* btn_14 横長ボタン */
/* ======================================= */
a.btn_14 {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 80%;
	margin: auto;
	padding: 1rem 4rem;
	font-weight: bold;
	border: 3px solid #0f4fad;   /* Dark blue */
	color: #0f4fad;   /* Dark blue */
	background: #fff;
	font-size: 1.4rem;
	border-radius: 100vh;
	transition: 0.5s;
}

a.btn_14:hover {
	color: #fff;
	background: #0f4fad;   /* Dark blue */
}

a.btn_14::after {
	font-family: "Font Awesome 6 Free";
	content: "\f0a9";
	font-weight: bold;
	margin-left: 0.5em;
}

/* スマホ用768px以下 */
/* +++++++++++++++++++++++++++++++++++++++ */
@media only screen and (max-width: 768px) {
 a.btn_14{
	width: 100%;
	margin: auto;
	padding: 1rem 1rem;
 }

}/*End*/



/* ============================================
 css ul li
=============================================== */

/* ul 悩み */
/* ======================================= */
ul.nayami {
  width: 90%;
  font-size: 20px;
  font-weight: bold;
  border: solid 2px #679ff2;   /* Soft blue */
  background: #f4f9ff;         /* Snow White */
  padding: 0.5em 1em 0.5em 2.3em;
  position: relative;
  margin: 0 auto;
}

ul.nayami li {
  position: relative; /* ← 追加 */
  line-height: 1.5;
  padding: 0.5em 0 0.5em 2em; 
  list-style-type: none !important;
  border-bottom: 1px dashed #0f4fad;
}

ul.nayami li::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900; 
  content: "\f1b0";  /* pawアイコンのUnicode */
  color: #679ff2;
  position: absolute;
  left: 0;
  top: 0.6em;
  font-size: 1em;
}

/* スマホ用768px以下 */
/* +++++++++++++++++++++++++++++++++++++++ */
@media screen and (max-width: 768px) {
  ul.nayami {
    width: 100%;
    font-size: 22px;
    padding: 10px 10px;
  }
}


/* 肉球アイコン */
.icon-paw::before {
  font-family: "Font Awesome 6 Free"; 
  font-weight: 900; 
  content: "\f1b0"; /* fa-paw の Unicode */
  margin-right: 0.5em;
  display: inline-block;
  color: #e91e63;  /* pink */
}


/* ============================================
 css 横に流れるスライダー
=============================================== */
/* スライダー全体 */
.slider-wrapper {
  display: flex;
  overflow: hidden;
}

/* スライドの全体グループ */
.slider {
  animation: scroll-left 60s infinite linear;
  display: flex;
  list-style: none;    /* ← ドット（●）を消す */
  padding: 0;
  margin: 0;
}


/* スライド個別 */
.slide {
  width: calc(100vw / 4);
  margin-right: 10px; /* ← 画像の間に空間 */
  flex-shrink: 0;
}

/* スライド画像 */
.slide img {
  display: block;
  width: 100%;
  border: 2px solid #ccc; /* ← 枠線追加 */
  border-radius: 6px;       /* ← 角を少し丸く */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* ← 軽い影もおすすめ */
}

/* アニメーション設定 */
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* スマホ用768px以下 */
/* +++++++++++++++++++++++++++++++++++++++ */
@media screen and (max-width: 768px) {
  .slide {
    width: calc(100vw / 1.5); /* ← スライド幅を広く（約2枚見える） */
    margin-right: 8px;        /* ← 間隔少し狭く */
  }

  .slide img {
    width: 100%;              /* ← 画像をスライドいっぱいに */
    border: 1px solid #ccc;   /* ← 枠線をやや細く */
    border-radius: 4px;
  }

  .slider {
    animation-duration: 90s;  /* ← スピードをスマホではさらにゆっくりに */
  }
}


/* waku_box インボイス枠*/
/* ======================================= */
.waku_box {
  width: 90%;
  margin: 1rem auto;
  text-align: center;
  border: 2px solid #ccc;
  border-radius: 8px;
  padding: 1rem;
  box-sizing: border-box;
  background-color: #f9f9f9;
}

.waku_box img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.waku_box p {
  text-align: center;      /* 念のため個別にも指定 */
  margin: 1rem 0;          /* 上下に余白を追加 */
}

.waku_box .middle {
  font-size: 1.1rem;       /* 任意で少し大きく */
  font-weight: bold;
}

.under_r {
  border-bottom: 2px solid red; /* 下線が赤のスタイル */
  display: inline-block;
}

/* スマホ用768px以下 */
/* +++++++++++++++++++++++++++++++++++++++ */
@media screen and (max-width: 768px) {
.waku_box {
  width: 100%;
}

}

/* blue-box */
/* ======================================= */
.blue-box {
        width: 90% !important;
        margin: 0 auto;
        margin-bottom: 30px;
	padding:1em 2em 1.5em;
	background-color: #003F8E;   /* Ink blue */
	border-radius:10px;
        line-height: 1.5;
	color:#fff; /* タイトル文字色 */
}

.blue-box .box-title {
	color:#fff; /* タイトル文字色 */
	font-size: 18px;
	font-weight: bold;
        text-align: center;
}

.blue-box .box-title:before {
	font-family: "Font Awesome 6 Free";
	content: "\f1b0";
	font-size: 18px;
	margin: 0 3px 0 0;
	font-weight: bold;
}

/* スマホ用768px以下 */
/* +++++++++++++++++++++++++++++++++++++++ */
@media screen and (max-width: 768px) {
.blue-box {
  width: 100% !important;
}

}

/* navy-box */
/* ======================================= */
.navy-box {
        width: 90% !important;
        margin: 0 auto;
        margin-bottom: 30px;
	padding:1em 2em 1.5em;
	background-color: #fff;   /*  */
        border: 3px solid #003F8E;   /* Ink blue */
	border-radius:10px;
        line-height: 1.5;
	color:#333; /* タイトル文字色 */
}

.navy-box .box-title {
	color:#003F8E;   /* Ink blue */
	font-size: 18px;
	font-weight: bold;
        text-align: center;
}

.navy-box .box-title:before {
	font-family: "Font Awesome 6 Free";
	content: "\f1b0";
	font-size: 18px;
	margin: 0 3px 0 0;
	font-weight: bold;
}

/* スマホ用768px以下 */
/* +++++++++++++++++++++++++++++++++++++++ */
@media screen and (max-width: 768px) {
.navy-box {
  width: 100% !important;
}

}


/* red-box */
/* ======================================= */
.red-box {
        width: 90% !important;
        margin: 0 auto;
        margin-bottom: 30px;
	padding:1em 2em 1.5em;
	background-color: #660000;   /* darkred */
	border-radius:10px;
        line-height: 1.5;
	color:#fff; /* タイトル文字色 */
}

.red-box .box-title {
	color:#fff; /* タイトル文字色 */
	font-size: 18px;
	font-weight: bold;
        text-align: center;
}

.red-box .box-title:before {
	font-family: "Font Awesome 6 Free";
	content: "\f1b0";
	font-size: 18px;
	margin: 0 3px 0 0;
	font-weight: bold;
}

/* スマホ用768px以下 */
/* +++++++++++++++++++++++++++++++++++++++ */
@media screen and (max-width: 768px) {
.red-box {
  width: 100% !important;
}

}


/* ご利用の流れ */
/* ======================================= */
.flow {
  background: #f9fbff;
  padding: 2em 1em;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  max-width: 800px;
  margin: 0 auto;
}

.flow h2 {
  font-size: 1.8em;
  text-align: center;
  color: #1565c0;
  margin-bottom: 1em;
  border-bottom: 2px solid #1565c0;
  display: inline-block;
  padding-bottom: 0.2em;
}

.flow-list {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.flow-list li {
  position: relative;
  background: #fff;
  border-left: 5px solid #1565c0;
  margin-bottom: 1em;
  padding: 1em 1em 1em 2.5em;
  border-radius: 8px;
  font-size: 1.1em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.flow-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0.6em;
  top: 50%;
  transform: translateY(-50%);
  background: #1565c0;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  width: 1.6em;
  height: 1.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1em;
}



/* FAQ よく頂く質問 */
/* ======================================= */
.faq dt {
  border-radius: 3px;
  margin-bottom: 1rem;
  color: #0000cd;	/* mediumblue */
  background: #fff;
  width: 80%;
  margin: 0 auto;
  border: 1px solid #ccc;
  padding: 0.5rem 1em 0.5rem 1em;
  position: relative;
  display: flex;
  align-items: center;
}

.faq dt .icon-img {
  width: 32px;
  height: 24px;
  margin-right: 1rem;
}

.faq dd {
	padding: 0 8rem 1rem 8rem;	/*上、右、下、左*/
}

.faq dd .icon-img {
  width: 32px;
  height: 24px;
  margin-right: 1rem;
}

.openclose {
	cursor: pointer;
}

/* スマホ用768px以下 */
/* +++++++++++++++++++++++++++++++++++++++ */
@media screen and (max-width: 767px) {
  .faq dt {
    width: 95%;       /* スマホでは幅広く */
    padding: 0.5rem 0.8rem;
    font-size: 1rem;
  }

  .faq dd {
    padding: 0 1.2rem 1rem 1.2rem; /* 左右余白を縮小 */
    font-size: 1rem;
    line-height: 1.6;
    word-break: break-word;  /* 長い語を改行 */
  }

  .faq dt .icon-img,
  .faq dd .icon-img {
    width: 24px;
    height: auto;
    margin-right: 0.5rem;
  }
}



/* 口コミ REVIEW */
/* ======================================= */
.faq__list {
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.faq__checkbox {
    display: none;
}

.faq__item {
    border-bottom: 1px solid #ddd;
}
.faq-q {
    position: relative;
    padding: 15px;
    display: flex;
    flex-direction: column; /* ← 横並びを縦並びに */
    gap: 10px;               /* ← 各ブロックの間隔 */
    cursor: pointer;
    transition: all 0.3s;
}

.faq-q__txt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3; /* 初期状態：3行 */
  transition: all 0.3s;
    line-height: 1.4;
}

/* チェック時に制限解除（全文表示） */
.faq__checkbox:checked + .faq-q .faq-q__txt {
  -webkit-line-clamp: unset;
  display: block; /* ボックス制限を外す */
  overflow: visible;
}

.faq__mark {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 8px;
}

.faq__mark img {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.faq__name {
    font-weight: bold;
    font-size: 18px;
    white-space: nowrap;
}

.faq__responder {
  margin-bottom: 10px;
}
.faq__responder .faq__name {
  font-weight: bold;
  font-size: 16px;
  white-space: nowrap;
}


.faq_toggle {
    width: 50px;
    height: 50px;
    position: relative;
    transition: all 0.3s;
    flex-shrink: 0;
    align-self: flex-end; /* トグルを右端に寄せる */
}

.faq_toggle span {
    display: inline-block;
    position: absolute;
    transition: all 0.3s;
    background-color: #ff4500;     /* orangered */
}
.faq_toggle span:nth-of-type(1) {
    width: 30px;
    height: 4px;
    top: 23px;
    left: 10px;
}
.faq_toggle span:nth-of-type(2) {
    width: 4px;
    height: 30px;
    top: 10px;
    left: 23.5px;
}
.faq__checkbox:checked + .faq-q .faq_toggle {
    transform: rotate(90deg);
}
.faq__checkbox:checked + .faq-q .faq_toggle span:nth-of-type(1) {
    opacity: 0;
    transform: rotate(90deg);
}

.faq-a {
    padding: 15px;
    background-color: #f7f7f7;
    display: none;
}
.faq-a__content {
    margin-top: 10px;
    font-weight: 500;
    line-height: 1.3;
}
.faq__checkbox:checked + .faq-q + .faq-a {
    display: block;
}

.faq-q:hover {
        background-color: #f0f0f0;
}

.faq__stars {
  color: orange;
  font-size: 14px;
  margin-left: 6px;
  white-space: nowrap;
}

/* スマホ用768px以下 */
/* +++++++++++++++++++++++++++++++++++++++ */
@media screen and (max-width: 768px) {
  .faq__list {
    padding: 15px;
  }

  .faq__item {
    border-bottom: 1px solid #ccc;
  }

  .faq-q {
    padding: 10px;
    gap: 8px;
  }

  .faq__mark {
    gap: 6px;
  }

  .faq__mark img {
    width: 40px;
    height: 40px;
  }

  .faq__name {
    font-size: 16px;
  }

  .faq-q__txt {
    font-size: 16px;
    line-height: 1.5;
  }

  .faq_toggle {
    width: 36px;
    height: 36px;
  }

  .faq_toggle span:nth-of-type(1) {
    width: 24px;
    height: 3px;
    top: 16px;
    left: 6px;
  }

  .faq_toggle span:nth-of-type(2) {
    width: 3px;
    height: 24px;
    top: 6px;
    left: 16.5px;
  }

  .faq-a {
    padding: 12px;
  }

  .faq-a__content {
    font-size: 14px;
    line-height: 1.5;
  }
}




/* メールフォーム */
/* ======================================= */
#formWrap {
	width:80%;
	margin:0 auto;
	color:#555;
	line-height:120%;
	font-size:90%;
	border: 1px solid #ccc;
	padding:10px;
}

#formWrap h3 {
  font-size:16px;
  position: relative;
  padding: 0.6em;
  background: #0f4fad;   /* Dark blue */
  margin: 0 20px 20px;
  color: #fff;		/*文字色*/
  margin-bottom: 30px;
  border-radius: 10px;
}

#formWrap h3:after {
  position: absolute;
  content: '';
  top: 100%;
  left: 30px;
  border: 15px solid transparent;
  border-top: 15px solid #0f4fad;   /* Dark blue */
  width: 0;
  height: 0;
}

table.formTable{
	width:100%;
	margin:0 auto;
	border-collapse:collapse;
}
table.formTable td,table.formTable th{
	border:1px solid #ccc;
	padding:10px;
}
table.formTable th{
	width:30%;
	font-weight:normal;
	background:#efefef;
	text-align:left;
}

/* スマホ用768px以下 */
/* +++++++++++++++++++++++++++++++++++++++ */
@media screen and (max-width:768px) {
#formWrap {
	width:100%;
	margin:0 auto;
}
table.formTable th, table.formTable td {
	width:auto;
	display:block;
}
table.formTable th {
	margin-top:5px;
	border-bottom:0;
}
input[type="text"], textarea {
	width:80%;
	padding:5px;
	font-size:110%;
	display:block;
}
input[type="submit"], input[type="reset"], input[type="button"] {
	display:block;
	width:100%;
	height:40px;
}

}/* end */


/* *************************************
/* ■ PAGE TOP 
***************************************/
#page_top{
  width: 80px;
  height: 80px;
  position: fixed;
  right: 0;
  bottom: 0;
  background: #800000;
  opacity: 0.6;
  border-radius: 50%;
}

#page_top a{
  position: relative;
  display: block;
  width: 80px;
  height: 80px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -40px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
#page_top a::after{
  content: 'TOPへ';
  font-size: 13px;
  color: #fff;
  position: absolute;
  top: 45px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

/* ============================================
 css フッター
=============================================== */

footer {
  text-align: left;
  font-size: 0.9rem;
  color: #777;
  margin: 3rem 0 1rem;
}

#footer-contents {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: #203744;       /* 褐返 かちかえし */
  color: #fff;                  /* 白 */
  padding: 20px;
}

#footer-contents .left,
#footer-contents .right {
  flex: 1 1 45%;
  box-sizing: border-box;
  padding: 15px;
}

#footer-contents h4 {
  color: #fff;
  font-size: 1.2em;
  margin-bottom: 10px;
}

#footer-contents p {
  font-size: 0.95em;
  line-height: 1.6;

}

#footer-contents .icons {
  list-style: none;
  padding: 0;
  margin-top: 15px;
  display: flex;
  gap: 15px;
  font-size: 1.5em;
}

#footer-contents .icons li {
  display: inline-block;
}

#footer-contents .iframe-box iframe {
  width: 100%;
  height: 250px;
  border: none;
  border-radius: 8px;
}

/* ロゴ画像調整 */
.wl {width: 90%;display: block;}


/* メール・電話の文字サイズ調整 */
.f15 {
  font-size: 1.5em;
  display: inline-block;
  margin-top: 10px;
  color: #ff69b4;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  #footer-contents {
    flex-direction: column;
  }

  #footer-contents .left,
  #footer-contents .right {
    flex: 1 1 100%;
    padding: 10px 0;
  }
}


/* リサイクルショップ スライド */
/* ======================================= */

.splide__slide img {
  height: auto;
  width: 100%;
}


.container {
    width: 800px;
    height: 600px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.swiper-wrapper {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

.swiper-slide {
    box-sizing: border-box;
    color: #ffffff;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 300px;
}




/* テキスト下線 */
/* ======================================= */
span.under_p99 {
  position: relative;
  background: linear-gradient(to bottom, transparent 60%, #ffa500);    /* orange */
}

span.under_y99 {
  position: relative;
  background: linear-gradient(to bottom, transparent 85%, #ffa500); /* orange line only at the bottom 15% */
}

span.under_y {
  background: linear-gradient(transparent 50%, #a8eaff 50%);
}

span.under_r {
  background: linear-gradient(transparent 70%, #dc143c 70%);    /* crimson */
}

span.under_g {
  position: relative;
  background: linear-gradient(to bottom, transparent 60%, #ffa500);   /* crimson */
}

span.double-underline { 
      border-bottom: 6px double #dc143c;
}


/* Font装飾 */
/* ======================================= */
.red {color: #ff4500 !important;font-size: 100%;font-weight: bold;}	/* orangered */
.red_b {color: #ff4500 !important;font-size: 120%;font-weight: bold;}	/* orangered */
.orange_c {color: #ffa500 !important;font-size: 100%;font-weight: bold;}	/* orange */
.blue {color: #0000cd !important;font-size: 100%;font-weight: bold;}	/* mediumblue */
.aqua {color: #00ffff !important;font-size: 100%;font-weight: bold;}	/* cyan */
.f_large {font-size: 1.5em !important;}
.clear30 {clear: both;margin-top: 30px !important;}
.c {text-align: center !important;}
