@charset "UTF-8";
/*--------------------------------------------------------
Reset
--------------------------------------------------------*/
*, *::before, *::after {
	box-sizing: border-box;
}

html {
	font-size: 62.5%;
}

body {
	font-size: 1.6rem; /*16px*/
	line-height: 1.5;
	font-family: 'Yu Gothic UI','Hiragino Kaku Gothic ProN','Noto Sans Japanese','Roboto','Segoe UI','Meiryo',sans-serif;
	text-align: justify;
	text-justify: inter-ideograph;
	font-feature-settings: "palt" 1;
	min-height: 100vh;
	text-rendering: optimizeSpeed;
}

main {
  overflow: hidden;
}

body, h1, h2, h3, h4, h5 , p, figure, blockquote, ul, ol, dl, dd {
  margin: 0;
}

ul, ol {
	list-style: none;
	padding-left: 0;
}

h1, h2, h3, h4, h5 {
	font-size: 100%;
}

a:not([class]) {
	-webkit-text-decoration-skip: ink;
	text-decoration-skip-ink: auto;
}

input, button, textarea, select {
  font: inherit;
}

li {
	list-style: none;
	margin: 0;
	padding: 0;
}

a {
	text-decoration: none;
	color: #333;
}

a:hover {
	text-decoration: none;
}

a img {
	border-style: none;
}

img {
  vertical-align: bottom; /* 一番上の画像だけ注意。隙間が空く可能性あり */
  line-height: 0 !important;
}

button {
  background-color: transparent;
  border: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

button:focus {
  outline: none;
}

button:hover {
  cursor: pointer;
}

input:focus, select:focus {
  outline: none;
}

/*--------------------------------------------------------
定数（基本的に、全サイト共通に使えるもの）
--------------------------------------------------------*/
.c {
  text-align: center !important;
}

.cm {
  margin-left: auto;
  margin-right: auto;
}

.r {
  text-align: right !important;
}

.l {
  text-align: left !important;
}

.inline-block {
  display: inline-block;
}

.block {
  display: block;
}

.vertical-top {
  vertical-align: top;
}

.vertical-middle {
  vertical-align: middle;
}

.pointer {
  cursor: pointer;
}

.br::before {
  content: "\a";
  white-space: pre;
}

.margin_t100 {
  margin-top: 100px;
}

.margin_t90 {
  margin-top: 90px;
}

.margin_t80 {
  margin-top: 80px;
}

.margin_t70 {
  margin-top: 70px;
}

.margin_t60 {
  margin-top: 60px;
}

.margin_t50 {
  margin-top: 50px;
}

.margin_t40 {
  margin-top: 40px;
}

.margin_t30 {
  margin-top: 30px;
}

.margin_t20 {
  margin-top: 20px;
}

.margin_t10 {
  margin-top: 10px;
}

.margin_b100 {
  margin-bottom: 100px;
}

.margin_b90 {
  margin-bottom: 90px;
}

.margin_b80 {
  margin-bottom: 80px;
}

.margin_b70 {
  margin-bottom: 70px;
}

.margin_b60 {
  margin-bottom: 60px;
}

.margin_b50 {
  margin-bottom: 50px;
}

.margin_b40 {
  margin-bottom: 40px;
}

.margin_b30 {
  margin-bottom: 30px;
}

.margin_b20 {
  margin-bottom: 20px;
}

.margin_b10 {
  margin-bottom: 10px;
}

.padding_t100 {
  padding-top: 100px;
}

.padding_t90 {
  padding-top: 90px;
}

.padding_t80 {
  padding-top: 80px;
}

.padding_t70 {
  padding-top: 70px;
}

.padding_t60 {
  padding-top: 60px;
}

.padding_t50 {
  padding-top: 50px;
}

.padding_t40 {
  padding-top: 40px;
}

.padding_t30 {
  padding-top: 30px;
}

.padding_t20 {
  padding-top: 20px;
}

.padding_t10 {
  padding-top: 10px;
}

.padding_b100 {
  padding-bottom: 100px;
}

.padding_b90 {
  padding-bottom: 90px;
}

.padding_b80 {
  padding-bottom: 80px;
}

.padding_b70 {
  padding-bottom: 70px;
}

.padding_b60 {
  padding-bottom: 60px;
}

.padding_b50 {
  padding-bottom: 50px;
}

.padding_b40 {
  padding-bottom: 40px;
}

.padding_b30 {
  padding-bottom: 30px;
}

.padding_b20 {
  padding-bottom: 20px;
}

.padding_b10 {
  padding-bottom: 10px;
}

.visible1800, .visible1000, .visible900, .visible768, .visible600, .visible500, .visible400, .visible360 {
  display: none;
}

/*重なりの優先度*/
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

/*要素固定*/
.fixed {
  position: fixed;
  z-index: 999;
}

.z0 {
  z-index: 0;
}

.z1 {
  z-index: 1;
}

.z2 {
  z-index: 2;
}

.z3 {
  z-index: 3;
}

.z4 {
  z-index: 4;
}

.z5 {
  z-index: 5;
}

.z6 {
  z-index: 6;
}

.z7 {
  z-index: 7;
}

.z8 {
  z-index: 8;
}

.z9 {
  z-index: 9;
}

.z10 {
  z-index: 10;
}

/*横幅*/
.w100 {
  width: 100%;
}

.w90 {
  width: 90%;
}

.w80 {
  width: 80%;
}

.w70 {
  width: 70%;
}

.w60 {
  width: 60%;
}

.w50 {
  width: 50%;
}

.w40 {
  width: 40%;
}

.w30 {
  width: 30%;
}

.w20 {
  width: 20%;
}

.w10 {
  width: 10%;
}

.disabled {
  pointer-events: none; /*リンクを無効にする*/
}

.vh100 {
  height: 100%;
  min-height: 100vh;
}

.content_wrapper {
  overflow-x: hidden;
}

.bold {
  font-weight: bold;
}
/*--------------------------------------------------------
定数（サイト毎に変化のある）
--------------------------------------------------------*/

.fullscreen {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.contents {
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.contents1800 {
  width: 100%;
  max-width: 1800px;
  margin-left: auto;
  margin-right: auto;
}

.contents1000 {
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.img_center {
  margin-left: -450px;
}

/*--------------------------------------------------------
animation
--------------------------------------------------------*/
/***********
* pickup *
************/
@keyframes pickup {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.pickup {
  display: block;
  animation-name: pickup;
  animation-duration: 1.5s;
  animation-fill-mode: both;
  animation-delay: 0s;
  animation-iteration-count: infinite;
}

/*--------------------------------------------------------
ヘッダー
--------------------------------------------------------*/
header {
  width: 100%;
  top: 0;
  margin: 0 auto;
  line-height: 0; /* 画像の上下に隙間が空いてしまう対策 */
}

/*--------------------------------------------------------
フッター
--------------------------------------------------------*/
footer {
  /* background-color: #b5c9eb; */
  z-index: 2;
  text-align: center;
  color: #333;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2% 5%;
}

.copyright {
  justify-content: center;
  align-items: center;
}

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

/*--------------------------------------------------------
↓↓↓ 各種レイアウト ↓↓↓
--------------------------------------------------------*/
.link_button {
  bottom: 2%;
}

.bg_gray{
  background-color: gray;
}

.bg_black{
  background-color: black;
}

.item900 {
  height: 900px;
  padding-top: 20px;
}

.item900 > div.text {
  padding-top: 60px;
}

.item1800 {
  height: 300px;
  width: 1800px;
}

.text {
  font-size: 10rem;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*--------------------------------------------------------
chatbot風チャット
--------------------------------------------------------*/
/* chatbot-chatがある場合：footerを画面内に残しつつchatが余白を埋める */
body:has(.chatbot-chat) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;   /* fallback: 非対応ブラウザ用 */
  min-height: 100svh;  /* モバイルのアドレスバー考慮（small viewport height） */
}
body:has(.chatbot-chat) main {
  flex: 1;
  display: flex;
  flex-direction: column;
}
body:has(.chatbot-chat) main > .contents {
  flex: 1;
  display: flex;
  flex-direction: column;
}
body:has(.chatbot-chat) .chatbot-chat {
  flex: 1;
}

.chatbot-bg {
  background: #c7d6f0;
}

.chatbot-chat {
  padding: 24px 28px 32px;
  font-family: "M PLUS Rounded 1c",'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'Meiryo', sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 2.1rem;
  color: #231815;
}

.chatbot-msg {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 14px;
}

/* .chatbot-msg.grouped {
  margin-top: -8px;
} */

.chatbot-msg.user {
  align-items: flex-end;
}

.chatbot-avatar {
  display: none;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  background: #fff;
}

.chatbot-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.chatbot-avatar-spacer {
  display: none;
}

.chatbot-stamp {
  width: 100%;
  height: auto;
  display: block;
}

.chatbot-msg-content {
  max-width: 96%;
  display: flex;
  flex-direction: column;
}

.chatbot-bubble-row {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.chatbot-msg.user .chatbot-bubble-row {
  flex-direction: row-reverse;
}

.chatbot-bubble {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 12px 22px;
  line-height: 1.3;
  /* color: #2a2a2a; */
  word-break: break-all;
  /* box-shadow: 5px 5px 10px -10px #000; */
  margin-left: 15px;
  z-index: 0;
}

.chatbot-bubble::before {
  content: "";
  display: block;
  position: absolute;
  top: -13px;
  left: -9px;
  height: 28px;
  width: 20px;
  border-radius: 50%;
  z-index: -1;
  box-shadow: inset 0px -14px 0 -7px #fff;
}

.chatbot-msg.user .chatbot-bubble {
  background: #9bcd7f;
  margin-left: 0;
  margin-right: 10px;
  font-weight: 500;
  font-size: 1.2em
}

.chatbot-msg.user .chatbot-bubble::before {
  left: auto;
  right: -9px;
  box-shadow: inset 0px -14px 0 -7px #9bcd7f;
}

.chatbot-msg.user .chatbot-msg-content {
  align-items: flex-end;
}

.chatbot-q-label {
  display: inline-block;
  margin-bottom: 2px;
}

.chatbot-q-text {
  font-weight: 500;
  font-size: 1.2em;
}

.chatbot-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 383px;
  width: 82%;
  margin: 10px auto 14px;
}

.chatbot-option {
  background: url(../img/irqcdaditb_bbg.png) center / cover no-repeat;
  border: 2px solid #fff;
  box-shadow: 0 5px 0 rgba(0,0,0,0.2);
  border-radius: 10px;
  padding: 12px 18px;
  width: 100%;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
  font-family: inherit;
  font-size: 1.2em;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
}

/* .chatbot-option:hover {
  background: #f4fbe9;
  border-color: #8cd34c;
  color: #4a8a1f;
} */

.chatbot-final-card {
  background: #fffff1;
  border-radius: 14px;
  /* padding: 0px 18px 20px; */
  /* text-align: center; */
  margin-top: 6px;
  overflow: hidden;
  /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12); */
  max-width: 554px;
}

.chatbot-final-card .gift {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 8px;
}

.chatbot-final-body {

}

.chatbot-final-card p {
  margin: 10px 0 0;
  padding: 0 80px;
  font-size: 1.2em;
  font-weight: 500;
  line-height: 1.3;
  color: #2a2a2a;
}

.chatbot-button {
  display: inline-block;
  width: 109%;
  margin-left: -4.2%;
}

.chatbot-button img {
  display: block;
  width: 100%;
  height: auto;
}

.chatbot-button:hover {
  transform: translateY(1px);
}

.chatbot-final-note {
  display: block;
  margin: -15px 0 0;
  padding-bottom: 12px;
  font-size: 0.9em;
  text-align: center;
  color: #666;
}

/* 結果を計算中：フェードイン/アウトを3秒周期で繰り返し */
@keyframes chatbotFade {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.chatbot-calculating {
  text-align: center;
  margin: 16px auto 20px;
}

.chatbot-calculating img {
  width: 100%;
  /* max-width: 320px; */
  height: auto;
  animation: chatbotFade 1s ease-in-out infinite;
}

/* 結果カード（背景画像の上にLINEボタンを重ねる） */
/* チャット左右paddingを打ち消して .contents 幅（最大900px）いっぱいに表示 */
.chatbot-result {
  position: relative;
  width: auto;
  max-width: 900px;
  margin: 6px -28px 60px;
}

.chatbot-result-bg {
  display: block;
  width: 100%;
  height: auto;
}

.chatbot-result-btn {
  position: absolute;
  top: 68.7%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: block;
}

.chatbot-result-btn img {
  display: block;
  width: 100%;
  height: auto;
}

.chatbot-result-btn:hover {
  transform: translateX(-50%) translateY(1px);
}

/* 600px以下：余白・テキストを画面幅基準で相対スケール */
@media screen and (max-width: 600px) {
  .chatbot-chat {
    padding: 4vw 4.7vw 5.3vw;
    font-size: 3.5vw;
  }
  .chatbot-msg {
    gap: 0.7vw;
    margin-bottom: 2.3vw;
  }
  .chatbot-avatar {
    width: 9.7vw;
    height: 9.7vw;
  }
  .chatbot-bubble-row {
    gap: 1vw;
  }
  .chatbot-bubble {
    border-radius: 3.3vw;
    padding: 2vw 3.7vw;
    margin-left: 2.5vw;
  }
  .chatbot-bubble::before {
    top: -2.2vw;
    left: -1.5vw;
    height: 4.7vw;
    width: 3.3vw;
    box-shadow: inset 0 -2.3vw 0 -1.2vw #fff;
  }
  .chatbot-msg.user .chatbot-bubble {
    margin-right: 1.7vw;
  }
  .chatbot-msg.user .chatbot-bubble::before {
    right: -1.5vw;
    box-shadow: inset 0 -2.3vw 0 -1.2vw #9bcd7f;
  }
  .chatbot-q-label {
    margin-bottom: 0.3vw;
  }
  .chatbot-options {
    gap: 1.3vw;
    margin-top: 1.7vw;
  }
  .chatbot-option {
    border-radius: 1.7vw;
    padding: 2vw 3vw;
    box-shadow: 0 0.8vw 0 rgba(0,0,0,0.2);
  }
  .chatbot-final-card {
    border-radius: 2.3vw;
    margin-top: 1vw;
  }
  .chatbot-final-card .gift {
    margin: 0 auto 1.3vw;
  }
  .chatbot-final-card p {
    margin: 1.7vw 0 0;
    padding: 0 13vw;
  }
  .chatbot-final-note {
    margin: -2.5vw 0 0;
    padding-bottom: 3vw;
  }
  .chatbot-result {
    margin: 1vw -4.7vw 10vw;
  }
}

/*--------------------------------------------------------
↑↑↑ 各種レイアウト ↑↑↑
--------------------------------------------------------*/