@charset "utf-8";

:root {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-kerning: normal;
  font-feature-settings: "kern" 1, "palt" 1;
  letter-spacing: 0px;
  --color-red: #EB6153;
  --color-blue: #1D50A2;
  --color-yellow: #FFF33F;
  --color-pink: #FBDFDD;
  --color-white: white;
  --color-black: #505050;
  --color-send: #FFC533;
}

/*
* {
    outline: 1px solid red;
}
*/

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

.mein-copy {
  font-weight: 700;
}

.sub-copy {
  font-weight: 400;
}

body {
  /* 格子模様 start */
  background-color: #fff ;
  background-image: linear-gradient(to right, #E4F2F3 1px, transparent 1px), linear-gradient(to bottom, #E4F2F3 1px, transparent 1px) !important;
  background-size: 16px 16px ;
  background-position: 50% 0 ;
  /* 格子模様 end */
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

.fv {
  border-right: solid 15px var(--color-red);
  border-left:  solid 15px var(--color-blue);
  padding: 15px 15px 30px;
}

.worries,
.stamprally,
.sumahosite,
.leave,
.faq {
  border-right: solid 15px var(--color-red);
  border-left:  solid 15px var(--color-blue);
  padding: 30px 15px 30px;
}

.lottery,
.form,
.footer {
  padding: 30px 15px 30px;
  background-color: var(--color-blue);
  border-right: solid 15px var(--color-blue);
  border-left:  solid 15px var(--color-blue);
}

.photoframe {
  padding: 30px 15px 30px;
  background-color: var(--color-red);
  border-right: solid 15px var(--color-red);
  border-left:  solid 15px var(--color-red);
}

.consul {
  padding: 30px 15px 30px;
  background-color: #D7EBFF;
  border-right: solid 15px var(--color-red);
  border-left:  solid 15px var(--color-blue);
}

/* FVからお悩みまで */
.logo-anime {
  display: block;
  margin: 0 auto 30px;
}

.kerning {
  letter-spacing: 0.1rem;
}

.back-red {
  /*font-size: 18pt;*/
  font-size: clamp(0.9rem, 4vw, 1.5rem);
  font-weight: 700;
  color: var(--color-white);
  background-color: var(--color-red);
  border-radius: 8px;
  width: 100%;
  max-width: 640px;
  padding: 10px 0;
  margin: 15px auto;
  text-align: center;
}

.black-txt {
  color: var(--color-black);
  font-weight: 400;
  /*font-size: 20pt;*/
  font-size: clamp(1rem, 4vw, 1.7rem);
  text-align: center;
}

.svg-copy {
  display: block;
  width: 560px;
  margin: 20px auto;
}

.three-point {
  display: flex;
  list-style: none;
  padding: 0;
  gap:20px;
  width: fit-content;
  margin: 20px auto;
}

.three-point li {
  /*font-size: 18pt;*/
  font-size: clamp(0.7rem, 3.5vw, 1.5rem);
  font-weight: 700;
  padding: 5px 10px;
  /*width: 30%;*/
  max-width: 200px;
  background-color: var(--color-blue);
  color: var(--color-white);
  border-radius: 8px;
}

.inline-center {
  text-align: center;
}

.ex-img {
  display: block;
  margin: 0 auto;
}

.consul-button {
  display: inline-block;
  background-color: var(--color-red);
  border-radius: 8px;
  color: var(--color-white);
  font-weight: 400;
  /*font-size: 36px;*/
  font-size: clamp(1.2rem, 6vw, 2.25rem);
  margin: 0px auto;
  width: 100%;
  max-width: 640px;
  padding: 20px 0;
}

.txt-bold {
  font-weight: 700;
  font-size: 42px;
}

.five-function {
  display: flex;
  list-style: none;
  padding: 0;
  gap:20px;
  width: fit-content;
  margin: 0px auto;
  padding: 20px 0;
}

.five-function li {
  /*font-size: 18pt;*/
  font-size: clamp(0.9rem, 4vw, 1.1rem);
  font-weight: 400;
  padding: 5px 0;
  color: var(--color-black);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 140px;
}

.five-function li img {
  /*width: clamp(98px, 43vw, 170px);*/
  height: clamp(165px, 34vw, 287px);
  object-fit: contain;
  margin: 0 auto 5px;
}

.worries img {
  display: block;
  margin: 0 auto 10px;
}

.highlight {
  color: var(--color-red);
  /*font-size: 36pt;*/
  font-size: clamp(1.5rem, 7vw, 2.25rem);
  font-weight: 700;
}

/*
.section-title {
  display: grid;
  grid-template-columns: 1fr 3fr;
}

.item-number {
  color: var(--color-white);
  font-size: 72pt;
  justify-content: center;
}

.item-ttl {
  margin-right: 80px;
}
*/
/* 機能紹介 */
.section-title {
  display: flex;
  list-style: none;
  gap:20px;
  width: fit-content;
  margin-bottom: 20px;
  /*padding-top: 20px;*/
}

.item-number {
  /*font-size: 95pt;*/
  font-size: clamp(2.5rem, 18vw, 6rem);
  font-weight: 700;
}

.item-ttl {
  width: 460px;
}

.yellow-txt {
  color: var(--color-yellow);
  font-weight: 700;
  /*font-size: 24pt;*/
  font-size: clamp(1.2rem, 5vw, 1.5rem);
  text-align: center;
}

.white-txt {
  color: var(--color-white);
  font-weight: 400;
  /*font-size: 18pt;*/
  font-size: clamp(0.9rem, 3vw, 1.5rem);
  text-align: center;
}

.black-txt2 {
  color: var(--color-black);
  font-weight: 700;
  /*font-size: 24pt;*/
  font-size: clamp(1.2rem, 5vw, 1.5rem);
  text-align: center;
}

.black-txt3 {
  color: var(--color-black);
  font-weight: 400;
  /*font-size: 18pt;*/
  font-size: clamp(0.9rem, 4vw, 1.5rem);
  text-align: center;
}

.red-txt {
  color: var(--color-red);
  font-weight: 700;
  /*font-size: 24pt;*/
  font-size: clamp(1.2rem, 5vw, 1.5rem);
  text-align: center;
}

.white {
  color: var(--color-white);
}

.blue {
  color: var(--color-blue);
}

.background-red {
  background-color: var(--color-red);
}

.background-blue {
  background-color: var(--color-blue);
}

.section-txt1 {
  margin-bottom: 17px;
}

.section-txt2 {
  margin: 17px 0 30px;
}

.section-txt3 {
  margin: 17px 0 5px;
}

.section-txt4 {
  margin: 0 0 25px;
}

.sample-button {
  display: flex;
  gap:10px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 640px;
  border: solid 5px var(--color-white) ;
  border-radius: 8px;
  padding: 20px;
  margin: 0 auto;
}

.sample-button p {
  color: var(--color-white);
  /*font-size: 36pt;*/
  font-size: clamp(1rem, 5.2vw, 2.25rem);
  font-weight: 700;
}

.sample-button img {
  width: 50px;
  margin-top: 5px;
  flex-shrink: 0;
}

/* おまかせください */
.leave-ttl1 {
  text-align: center;
  margin-bottom: 10px;
}

.leave-ttl2 {
  text-align: center;
  margin: 30px 0 10px;
}

.leave-list {
  margin: 10px auto 0;
  width: fit-content;
}

.leave-list li {
  /*font-size: 18pt;*/
  font-size: clamp(0.9rem, 3vw, 1.3rem); 
  margin-bottom: 10px;
}

.topic {
  /*font-size: 24pt;*/
  font-size: clamp(1.2rem, 5vw, 1.5rem);
  font-weight: 700;
}

.underline {
  border-top-width: 0px;
  padding: 0 20px 20px;
  border-bottom: solid 5px var(--color-red);
}


/* FAQのアコーディオンメニュー */
.faq-area {
  margin: 10px;
  padding: 10px 20px 20px;
  background-color: #DCDCDC;
}

.faq-body {
  display: flex;
  gap: 15px;
  /*font-size: 16pt; */
  font-size: clamp(0.9rem, 3.5vw, 1rem);
  font-weight: 400; 
  background-color: var(--color-white);
  padding: 0 20px;
  max-height: 0;
  min-width: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-body {
  max-height: 200px;
}

.faq-item {
  border: solid 1px var(--color-blue);
  border-radius: 16px;
  background-color: var(--color-white);
  overflow: hidden; 
  margin: 20px auto 10px;
  padding-bottom: 24px;
  min-width: 0;
  overflow-wrap: break-word;
}

.faq-btn {
  width: 100%; 
  background: var(--color-white); 
  border: none; 
  padding: 24px 16px 10px; 
  display: flex; 
  align-items: center;
  gap: 10px; 
  cursor: pointer; 
  /*font-size: 18pt;*/
  font-size: clamp(0.8rem, 3vw, 1.5rem); 
  font-weight: 700; 
  color: var(--color-black); 
  text-align: left;  
}

.faq-btn:hover {
  background: #E9F5FF;
}

.faq-icon { 
  color: var(--color-text-secondary); 
  flex-shrink: 0;
  margin-left: auto;
  transition: transform 0.25s ease;
}

/* 開いているときはアイコンを45度回転させて「×」に見せる */
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.question {
  color: var(--color-blue);
}

.answer {
  color: var(--color-red);
  /*font-size: 18pt;*/
  font-size: clamp(0.9rem, 4vw, 1.5rem);
  font-weight: 700; 
}

/* 無料相談フォーム */
.consul-ttl {
  text-align: center;
  /*font-size: 36pt;*/
  font-size: clamp(1.5rem, 8vw, 2.25rem);
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 20px;
}

.consul-form {
  margin: 10px;
}

.ttl-label {
  /*font-size: 16pt;*/
  font-size: clamp(0.9rem, 3.5vw, 1rem);
}

.essential-icon {
  background-color: red;
  color: var(--color-white);
  font-size: 10pt;
  padding: 0 3px;
  margin-right: 10px;
}

.text-area {
  background-color: var(--color-white);
  width: 100%;
  height: 100%;
  margin: 15px 0;
  padding: 5px;
}

.send-btn {
  width: 100%;
  max-width: 640px;
  background-color: var(--color-send);
  color: var(--color-black);
  /*font-size: 36pt;*/
  font-size: clamp(1.2rem, 6vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  border: solid 5px var(--color-white);
  border-radius: 8px;
  padding: 20px;
  margin: 50px auto 0;
}

.check-area {
  background-color: var(--color-white);
  width: 16px;
  height: 16px;
  border: 1px solid var(--color-black);
  position: relative;
  cursor: pointer;
}

.check-area:checked {
  background-color: var(--color-white);
}

.check-area:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid var(--color-black);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.input-content {
  margin: 10px 0 30px;
  overflow-wrap: break-word;
  word-break: break-all;
  white-space: pre-wrap;
}

.confirm-area {
  background-color: var(--color-white);
  padding: 20px;
  margin: 10px 10px 60px;
}

.thanks-ttl {
  text-align: center;
  /*font-size: 36pt;*/
  font-size: clamp(1.3rem, 7vw, 2rem);
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 20px;
}


/* フッター */
.shinko-logo {
  width: 60%;
  display: block;
  margin: 10px auto 20px;
}

.shinko-info {
  color: var(--color-white);
  /*font-size: 18pt;*/
  font-size: clamp(0.9rem, 4vw, 1.5rem);
  font-weight: 400;
  text-align: center;
  margin: 20px 0 30px;
}

.shinko-info li {
  margin: 10px 0;
}

.shinko-link {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.shinko-link a {
  color: var(--color-white);
  /*font-size: 16pt;*/
  font-size: clamp(0.9rem, 3.5vw, 1rem);
  font-weight: 400;
}

.link-deco {
  text-decoration: underline;
}