@charset "UTF-8";

body{
	margin: 0 auto;
	height: 100%;
	font-family: 'Noto Sans JP', sans-serif;
	font-weight: 400;
	font-optical-sizing: auto;
	line-height: 1.5;
}

h1 {
	text-align: center;
	line-height: 1.3;
	font-size: 2.35rem;
	font-weight: 800;
	font-size: clamp(1.5rem, 5vw, 2.35rem); 
}

h2 {
	margin-top: 0.7rem;
	text-align: center;
	line-height: 1.3;
	font-size: 2rem;
	font-weight: 800;
	font-size: clamp(1.5rem, 4vw, 2rem); 
}

h3 {
	display: inline-block;
	margin: 0.5rem 0 1rem;
	padding: 0rem 0rem 0.25rem;
	font-size: 1.3rem;
	font-weight: bold;
/*	border-bottom: 5px solid #fceb46;*/
}

h4 {
	margin: 0.5rem 0 1rem;
/*	text-align: center;
	color: #1ac0ff;*/
	font-size: 1.2rem;
	font-weight: bold;
}


img {
	object-fit: cover;
}

p {
	margin-bottom: 0.5rem;
	font-size: 1rem;
}

.palt {
	font-feature-settings: "palt"
}


.w-100 {
	width: 100%;
}

.w-90 {
	width: 90%;
	margin: 0 5%;
}

.w-80 {
	width: 80%;
	margin: 0 10%;
}

.w-70 {
	width: 70%;
}

.w-60 {
	width: 60%;
}

.w-50 {
	width: 50%;
}

.w-40 {
	width: 40%;
}


.h-100 {
	height: 100%;
}

.h-90 {
	height: 90%;
}

.h-80 {
	height: 80%;
}

.h-70 {
	height: 70%;
}

.h-60 {
	height: 60%;
}

.h-50 {
	height: 50%;
}

.h-40 {
	height: 40%;
}

.bd-yellow {
	padding: 5px 10px 0px;
	border-bottom: 5px solid #fceb46;
}

.bg-yellow {
	background-color: #FCEB46;
}

.bg-sora{
	background-color: #1ac0ff;
	
}

.b-up {
	margin-top: -4rem;
}



/*-----------------------------------------*/

/* スワイプ型LP */

.container {
	max-width: 640px;
	width: 98%;
	height: auto;
	margin: 0 auto;
}

.swiper {
	width: 100%;
	height: 100vh;
}

.swiper-slide {
	width: 500px;
	max-width: 100%;
	height: 100%;
	margin: 0 auto;
	padding: 0.5rem 1rem;
	display: flex;
	flex-direction: column;
	position: relative;
	justify-content: flex-start; /* ← 上寄せ */
	align-items: center;
	text-align: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}



/* 背景画像 */

.bg-slide1 {
	background-image: url('img/main.jpg');
}

/*
.bg-slide2 {
	background-image: url('img/slide2.png');
	object-fit: cover;
}
*/

.bg-slide8 {
	background-image: url('img/shop.jpg');
}

.video-slide {
	position: relative;
	overflow: hidden;
}

.bg-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}

.video-slide video {
	filter: grayscale(100%);
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.4);
	z-index: 1;
}

.swiper-slide > * {
	z-index: 2;
}


/* 下からスライドフェードイン */
.slide-img-wrap {
	position: relative;
	text-align: center;
	max-height: 80%;
}

.slide-img {
	max-width: 100%;
	transform: translateY(60px);
	opacity: 0;
	transition: transform 0.7s ease 0.2s, opacity 0.7s ease 0.2s;
}

.swiper-slide-active .slide-img {
	transform: translateY(0);
	opacity: 1;
}


/* お客様の声スライドイン */

.slide-content1 {
	margin: 10px 0;
	transform: translateX(-400px);
	opacity: 0;
	transition: transform 1.0s ease, opacity 1.0s ease;
	line-height: 1.5;
	justify-content: flex-start;
}

.slide-content2 {
	margin: 10px 0;
	transform: translateX(400px);
	opacity: 0;
	transition: transform 1.0s ease, opacity 1.0s ease;
	line-height: 1.5;
}

/* アクティブになった時の状態 */
.swiper-slide-active .slide-content1,
.swiper-slide-active .slide-content2 {
	transform: translateX(0);
	opacity: 1;
}


/* カスタマーアイコン */

.bi-person-fill {
	font-size: 50px;
}

.text-orange {
	color: #ED6C00;
}

.bg-orange {
	background-color: #ED6C00;
}


/* 吹出文字 */

.speech-bubble {
	position: relative;
	background: #666; /* 吹き出しの背景色 */
	color: #FFF;/* テキスト色 */
	margin-bottom: 20px;
	padding: 0.5rem 0.5rem;
	border-radius: 10px;
	display: inline-block;
	max-width: 98%;
	width: 98%;
	font-size: 1rem;
	line-height: 1.3;
/*	animation: floatUpDown 3s ease-in-out infinite;*/
}

/* 下向きの三角部分 */
.speech-bubble::after {
	content: "";
	position: absolute;
	bottom: -10px;/* 本体からの位置 */
	left: 50%; /* 三角の位置調整 */
	border-width: 10px 6px 0;
	border-style: solid;
	border-color: #666 transparent transparent transparent;
}

/* ▼ 上下にふわふわ動くアニメーション */
@keyframes floatUpDown {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); } /* 上に10px */
  100% { transform: translateY(0); }
}





/* 最下部に画像配置 */
.img-bottom {
	position: fixed;/* 画面に固定 */
	bottom: 0;/* 下端に配置 */
	left: 50%;/* 中央寄せ */
	transform: translateX(-50%);
	width: 200px; /* 画像サイズ調整 */
	height: auto;
	z-index: 1000;/* 他の要素より上に表示 */
}

/* 下スクロール誘導矢印 */ 
.scroll-down {
/*	position: absolute;
	bottom: 30px;*/
	margin-top: 1rem;
	left: 50%;
	transform: translateX(-50%);
	width: 20px;
	height: 20px;
}

.scroll-down span {
	display: block;
	width: 20px;
	height: 20px;
	border-left: 3px solid;
	border-bottom: 3px solid;
	transform: rotate(-45deg); /* 矢印の形 */
	animation: arrowBounce 1.5s infinite;
}

/* 矢印の上下アニメーション */
@keyframes arrowBounce {
	0% { transform: translateY(0) rotate(-45deg); opacity: 1; }
	50%{ transform: translateY(10px) rotate(-45deg); opacity: 0.6; }
	100% { transform: translateY(0) rotate(-45deg); opacity: 1; }
}

/* アニメグラデーション */
.animated-gradient {
	background: linear-gradient(270deg, orange, yellow, orange);
	background-size: 400% 400%;
	animation: gradientMove 20s ease infinite;
}

/* グラデーションの動き */
@keyframes gradientMove {
	0%   { background-position: 0% 50%; }
	50%  { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}


/* グラデーションボタン */
.btn-gradient-blue {
	background: linear-gradient(135deg, #007bff, #00c6ff);
	border: none;
	color: white;
	transition: background 0.3s ease;
}

.btn-animated-blue {
	position: relative;
	overflow: hidden; /* 光がボタン外にはみ出さないように */
	background: linear-gradient(270deg, #ff7e00, #ff3300, #ff7e00);
	background-size: 300% 300%;
	color: white;
	border: none;
	transition: transform 0.5s ease;
	animation: gradientMove 5s ease infinite;
	font-weight: bold;
	font-size: 1.2rem;
}

/* 光が走る擬似要素 */
.btn-animated-blue::after {
	content: "";
	position: absolute;
	top: 0;
	left: -30%;
	width: 5%;
	height: 100%;
	background: rgba(255, 255, 255, 0.2);
	transform: skewX(-20deg);
	animation: shine 5s ease-in-out infinite;
}

/* hover時：白文字固定＋拡大 */
.btn-animated-blue:hover {
	background: linear-gradient(135deg, #ff9933, #ff3300);
	color: white !important;
	transform: scale(1.05);
}

/* 非活性時（disabled）: グレーのグラデーション */
.btn-animated-blue:disabled {
	background: linear-gradient(270deg, #d9d9d9, #b3b3b3, #d9d9d9) !important;
	color: #666 !important;
	cursor: not-allowed;
	animation: none !important;
	transform: none !important;
}

/* 光のエフェクトも非表示にする */
.btn-animated-blue:disabled::after {
	display: none;
}





/* グラデーションが動く */
@keyframes gradientMove {
	0% { background-position: 0% 50%; }
	50%{ background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

/* 光が左→右に走る */
@keyframes shine {
	0% { left: -50%; }
	30%{ left: 120%; }
	100% { left: 120%; }
}


/* フォームラベル共通スタイル */
.form-label {
	font-weight: bold;/* 太字で見やすく */
	color: #333;/* 文字色を濃いグレー */
	display: inline-block;
	margin-bottom: 6px;
	position: relative;
	padding-left: 10px; /* 左に少し余白 */
}

/* ラベルの左にアクセントライン */
.form-label::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 60%;
	background: linear-gradient(180deg, #007bff, #00c6ff); /* 青系グラデーション */
	border-radius: 2px;
}

/* 必須ラベルを赤で表示する場合 */
.form-label.required::after {
	content: " *";
	color: #e63946;
	font-weight: normal;
}

/* 画像ゆらゆら */
.yurayura {
	display: inline-block;
	animation: pendulum 2s ease-in-out infinite;
	transform-origin: top center; /* 振り子の支点を上にする */
}

/* 揺れ幅を小さく→大きく→小さくのリズム */
@keyframes pendulum {
	0%   { transform: rotate(-6deg); }
	50%  { transform: rotate(6deg); }
	100% { transform: rotate(-6deg); }
}


input[type="date"] {
	text-align: left;
	-webkit-text-align: left;   /* iOS Safari対策 */
}

.policy {
	height: 150px; /* 長い文章をシミュレーション */
	overflow-y: auto;
	background-color: #FFFFFF;
	padding:20px;
}

.policy_item_ttl {
	font-size: 1rem;
	font-weight: 400;
}

.policy_lead,
.policy_item_text,
.policy_item_list {
	font-size: 0.8rem;
	font-weight: 400;
}

/* 火災保険 */

/* 流れるテキスト */
.marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
/*  background: #222;
  color: #fff;
  position: relative;*/
/*  margin-top: -9rem;*/
  font-size: 1.1rem;
}

.marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 40s linear infinite;
}

/* 右から左にスライド */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}


/* ビデオ上下をクロップ */
.crop {
	margin: -20px 0;
	clip-path: inset(7% 0 13% 0);
}


/* 2秒後に文字表示 */
.delayed-text1 {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1s; /*  2秒後に開始 */
}

.delayed-text2 {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 2s;
}

.delayed-text3 {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 3s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}




.fixed-btn2 { 
  position: relative;
  background: linear-gradient(90deg, #ff7e00, #ff0000); /* オレンジから赤 */
  color: #fff;
  padding: 6px 30px 8px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: 0.3s;
  z-index: 9999;
}


/* 最下部ボタン */
.fixed-btn {
/*  position: fixed;
  bottom: 20px;      /* 画面の下から20px */
/*  left: 50%;
  transform: translateX(-50%);*/
  position: relative;
  background: linear-gradient(90deg, #007bff, #00c6ff);
  color: #fff;
  padding: 6px 24px 8px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: 0.3s;
  z-index: 9999;
}

/* ホバー時の演出 */
.fixed-btn:hover,
.fixed-btn2:hover {
  opacity: 0.9;
}

@media (max-width: 1920px) {
}



.field { margin: 14px 0; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="file"] {
  width: 100%; padding: 12px; border: 1px solid #ced6e0; border-radius: 8px; font-size: 16px; background: #fff;
}
.hint { font-size: 12px; color: #666; margin-top: 6px; }
.actions { margin-top: 18px; display: flex; gap: 10px; }
button, .button {
  appearance: none; border: 0; border-radius: 999px; padding: 12px 18px; cursor: pointer;
  font-weight: 700; font-size: 16px; letter-spacing: .02em; transition: transform .04s ease;
}

.primary { background: var(--accent); color: #fff; }
.secondary {
  font-size: 1.2rem;

background: #999999;
color: #FFFFFF;
box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
button:active { transform: translateY(1px); }
.preview { margin-top: 10px; display: none; }
.preview img { width: 100%; max-height: 320px; object-fit: contain; border: 1px solid #eee; border-radius: 8px; }


  /* スマホ用に調整する追加CSS */
  .company-table th {
    width: 25%;               /* ラベル列を少し狭める */
    background-color: #f8f9fa; /* Bootstrapっぽい薄いグレー背景 */
    font-weight: 600;
    white-space: nowrap;       /* 改行せずに揃える */
  }

  .company-table td {
      background-color: #FFFFFF;
    word-break: break-word;    /* 長い住所などを折り返す */
  }

  @media (max-width: 640px) {
    .company-table th,
    .company-table td {
      display: block;          /* スマホでは縦積みにする */
      width: 100%;
      text-align: left;
    }

    .company-table th {
      background-color: #e9ecef;
      border-bottom: none;
      padding-top: 0.5rem;
    }

    .company-table td {
      border-top: none;
      padding-bottom: 0.5rem;
      margin-bottom: 0rem;
      background-color: #FFFFFF;
    }
  }


/* 横スワイプ誘導 */
.arrow {
  display: inline-block;
  position: relative;
  animation: moveArrow 0.8s linear infinite alternate;
}

@keyframes moveArrow {
  0%   { transform: translateX(0); }
  100% { transform: translateX(10px); } /* 矢印が右に10px移動 */
}

.bi-hand-index-thumb-fill {
	display: inline-block;
	position: relative;
	top: 13px;
	font-size: 125%;
	
}


/* アコーディオン形式 */
.accordion-item {
  border-bottom: 1px solid #ddd;
}

.accordion-header {
  background: #f9f9f9;
  padding: 12px 16px;
  margin: 0;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  font-weight: bold;
}

.accordion-header::after {
  content: "＋";
  position: absolute;
  right: 16px;
  font-size: 0.8em;
  transition: transform 0.3s;
   font-weight: normal;

}

.accordion-header.active::after {
  content: "－";
 
}

.answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 16px;
  background: #fff;
}

.answer p {
  margin: 12px 0;
}

.back-to-top {
  display: inline-block;
  margin-right: 20px;
  font-size: 2.5rem; /* アイコンサイズ */
  color: #1ac0ff;
  transition: 0.3s;
}

