@charset "UTF-8";

:root {
  background:
    url("../img/new_html_bg_pattern.webp"),
    linear-gradient(to right, #1f0044, #741fad, #1f0044);
  background-size: auto, auto auto;
  background-attachment: fixed, fixed;
  background-repeat: repeat, repeat;
  background-position: center, center;
}


body {
  width: 100%;
  margin: 0 auto;
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", Georgia, 游明朝, HGS明朝E, serif;
  font-family: "Noto Sans JP";
  font-feature-settings: "pwid" 1;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: unset;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  word-wrap: break-word;
  color: #4e4e4e;
  background: #ffffff;
  max-width: 580px;
}


* {
  box-sizing: border-box;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  width: 100%;
  vertical-align: top;
  height: auto;
  display: block;
  margin: 0 auto;
}

li {
  list-style: none;
}

header,
body {
  max-width: 450px;
  width: 100%;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
}

/* LP */
header.logo_area,
header.logo_area * {
  box-sizing: border-box;
}

header.logo_area {
  max-width: 450px;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 11;
  background: #ffffff;
  box-shadow: 0 6px 14px -7px rgba(0, 0, 0, 0.5);
  padding: 0;
  padding-right: 8px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}

header.logo_area>img {
  width: 22%;
  margin: 0;
}

header.logo_area>a {
  width: 43%;
  margin: 2% 1.5% 2% 0;
}

#qr {
  display: none;
}

@media (min-width: 1000px) {
  #qr {
    position: fixed;
    display: flex;
    justify-content: flex-end;
    width: clamp(1000px, 80vw, 1400px);
    bottom: clamp(30px, calc(-145px + 17.5vw), 100px);
    transform: translate(-50%, 0%);
    left: 50%;
    pointer-events: none;
  }

  #qr>div {
    position: relative;
    width: 245px;
    padding-top: clamp(20px, calc(-30px + 5vw), 40px);
    padding-bottom: clamp(10px, calc(-65px + 7.5vw), 40px);
    /* padding-left: clamp(0px, calc(-40px + 4vw), 16px); */
    /* padding-right: clamp(0px, calc(-40px + 4vw), 16px); */
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 8px 16px #16002d;
  }

  #qr p {
    color: #442073;
    text-align: center;
    display: block;
    font-family: "Noto Serif JP", serif;
    margin-bottom: 1rem;
  }

  .corner {
    display: none;
  }

}

@media (min-width: 1400px) {
  #qr>div {
    width: 300px;
  }

  .corner {
    display: block;
    position: absolute;
    width: 60px;
    height: 60px;
    transform: translate(-50%, 0);
  }

  .top-left {
    top: 6px;
    left: 6px;
    transform: rotate(0deg);
  }

  .top-right {
    top: 6px;
    right: 6px;
    transform: rotate(90deg);
  }

  .bottom-left {
    bottom: 6px;
    left: 6px;
    transform: rotate(270deg);
  }

  .bottom-right {
    bottom: 6px;
    right: 6px;
    transform: rotate(180deg);
  }

}

.cta_kiran {
  position: absolute;
  /* そのまま */
  animation: kiran 1.7s linear infinite;
  /* 光の層を表現するための簡易フィルター */
}

@keyframes kiran {

  0%,
  100% {
    filter: brightness(1) drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }

  50% {
    filter: brightness(1.5) drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
  }
}




.image-grid {
  position: absolute;
  bottom: 16%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 82%;
  /* 画像の範囲を調整 */
}

.image-grid img {
  width: calc(33% - 10px);
  /* 4列固定 */
  height: auto;
  object-fit: cover;
  border-radius: 5px;
}





/*先生の紹介*/
.teller_wrap {
  margin-top: -30px;
}

.teller {
  background: #2b0d53;
}

.teller_midashi {
  position: relative;
}

.teller_cont1,
.teller_cont2,
.teller_cont4 {
  padding: 5%;
}


/* 先生の写真と名前 */
.teller_cont1 {
  display: flex;
  align-items: center;
  padding: 5% 5% 0;
}

.teller_cont1 p {
  color: #fff;
}

.teller_cont1>img,
.tellermessage_cont1>img {
  width: 30%;
  width: 35%;
  border-radius: 150px;
}

.teller_cont1>div,
.tellermessage_cont1>div {
  width: 100%;
  padding-left: 1rem;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}

.teller_cont1 .name1 {
  display: block;
  background: #785fba;
  font-size: 0.8rem;
  padding-bottom: 4px;

  padding: 3px 5px;
  margin: 0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.teller_cont1 p.name1:before {
  content: "";
  background: url("../img/tagmark.svg");
  width: 1rem;
  height: 1rem;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
}

.teller_cont1 .name2,
.tellermessage_cont1 .name2 {
  font-size: 1.9rem;
  font-weight: bold;
  background: linear-gradient(180deg, #f8e675 0%, #caa204 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Noto Serif JP', serif;
}

.name2 span {
  font-size: 0.9rem;
  display: inline-block;
}



/* 占術やプロフなど */
.teller_cont2 {
  text-align: center;
  background: #2b0d53;
  text-align: left;
  color: white;
}

.teller_cont2>div:first-of-type {
  margin-top: 0;
}

.teller_cont2>div {
  margin-top: 1rem;
}

.teller_cont2 .teller_icon img+span {
  color: #ffd141;
}

.teller_cont4 {
  padding: 5%;
  text-align: justify;
  background: #fefbff;
  color: #000000;
}

.teller_cont4 .teller_icon img+span {
  color: #6e58a1;
}

.teller_cont4 .cta_kiran {
  width: 90%;
  position: relative;
}

.review {
  line-height: 1.7;
  font-size: 0.9rem;
}






.communication-chart {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-family: sans-serif;
  margin: 6px 0 40px 0px;
}


.chart-labels {
  display: flex;
  flex-direction: column;
  gap: 23px;
  margin-top: 4px;
}

.label {
  background-color: #6e58a1;
  color: white;
  padding: 4px 10px;
  font-size: 0.9rem;
  white-space: nowrap;
  border-radius: 4px;
  /*width: 130px;*/
  text-align: center;
}

.chart-stars {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1;
  position: relative;
}

.stars {
  display: flex;
  justify-content: space-evenly;
  font-size: 1.1rem;
  line-height: 1.3;
  color: #6e58a1;
}

.star-row {
  position: relative;
  width: 94%;
  margin: auto;
}


.helper-labels {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
  font-size: 0.6rem;
  color: #555;
  pointer-events: none;
}

.helper-labels span {
  white-space: nowrap;
}

div.teller_icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
}

.teller_icon img {
  display: inline;
  height: 2rem;
  width: auto;
  margin: 0;
}

.teller_cta {
  color: #5c21c6;
  color: #7428f8;
  text-align: center;
  margin-top: 1.1rem;
  font-size: 1.5rem;
  font-family: serif;
  font-weight: bold;
}





/*質問一覧*/

.question_midashi {
  background: linear-gradient(to bottom, #00000000 50%, #2b0d53 50%);
}

.question_wrap {
  width: 100%;
  background: #2b0d53;

  padding: 5% 0;
  font-family: serif;
}



.question {
  margin: auto 7.5%;
  padding: 4px 0;
  color: white;
  border-bottom: 1px solid white;
}

.question p {
  color: white;
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
}

.question:last-of-type {
  margin-bottom: 9%;
  border: none;
}

.question>p {
  font-weight: bold;
  padding: 2% 0;
  padding-right: 10%;
  position: relative;
}


.question>p>img,
.honbun>p>img {
  display: inline;
  width: 2rem;
  height: auto;
  margin: 0;
  margin-right: 0.5rem;
}

.question>p:after {
  /* 矢印 */
  content: '';
  width: 10px;
  height: 10px;
  border: 0;
  border-top: solid 2px white;
  border-right: solid 2px white;
  position: absolute;
  top: 26%;
  right: 0;
  transform: rotate(135deg);
}

.honbun {
  display: none;
}

.honbun>p {
  padding: 4% 0;
}

div.question:last-of-type {
  margin-bottom: 0;
}





/* フォーム */


:root {
  --form-color: #6e58a1;
}

.form_midashi {
  background: linear-gradient(to bottom, #2b0d53 50%, #00000000 50%);
}

.step {
  display: flex;
  margin: 24px auto;
}

.step div {
  flex: 1;
  padding: 10px 16px 10px 10px;
  font-size: 0.8rem;
  text-align: center;
  background: #f3f3f3;
  color: #4a4a4a;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
  border-radius: 4px 0px 0px 4px;
}

.step .active {
  background: var(--form-color);
  background: #1E88E5;
  color: #fff;
  font-weight: bold;
}

.step .last {
  clip-path: none;
  border-radius: 4px;
}



form .valid_ng_border {
  animation: valid_ng_border 0.5s 0s linear 2 alternate;
  border-color: red;
  background: #ffd4d4;
}

@keyframes valid_ng_border {

  0%,
  15% {
    border-color: red;
    background: #ffd4d4;
  }

  85%,
  100% {
    border-color: #ffeaea9f;
    background: #fff1f1ff;
  }
}


form {
  width: 100%;
  min-width: 277px;
  display: block;
  margin: 0 auto;
}

/* フォームの囲い */
.form-box {
  max-width: 720px;
  margin: 34px 4% 40px;
  padding: 14px 24px;
  background: #ffff;
  border: 2px solid #e8e8e8;
  border-radius: 10px;
}

/* フォーム項目の見出し */
.form_cont {
  font-weight: bold;
  font-size: 0.9em;
  margin-top: 20px;
  margin-bottom: 3px;
  color: #4a4a4a;
}

.form_cont span {
  font-size: 0.9em;
  font-weight: initial;
  display: inline-block;
  vertical-align: bottom;
  margin-bottom: 2px;
  padding: 0 4px;
  color: #1e88e5;
}



/* 入力欄全体 */
[name="reg_birth_yy"],
[name="reg_birth_mm"],
[name="reg_birth_dd"],
[name="reg_furigana"],
[name="reg_mail"],
[name="domain"],
[name="reg_unsei"] {
  width: 100%;
  border: 1px solid #cccccc;
  border-radius: 6px;
  padding: 6px 12px;
  line-height: 1.6;
}

/* 項目全体の余白 */
#name_form,
#select_form,
#genre_form {
  width: 100%;
}

















/* 性別結婚のラジオボタン */
.radio-group {
  display: flex;
  align-items: stretch;
  line-height: 1;
  gap: 8px;
  height: auto;
  margin-bottom: 0;
  padding-bottom: 0;
}

.radio-group input {
  display: initial;
  display: inline-block;
  width: 1rem;
  height: 1rem;
}

.radio-group input:last-of-type {
  margin-left: 0.5rem;
}

.radio-group label {
  border: none;
  background: none;
  box-shadow: none;
  color: #4a4a4a;
  text-shadow: none;
  margin: 0;
  text-align: initial;
  display: block;
  float: initial;
  flex: initial;
  width: auto;
}

.radio-group input[type="radio"]:checked+label {}

.radio-group label:nth-of-type(1),
.radio-group label:nth-of-type(2) {
  border-radius: 100px;
}




/* 生年月日 */
#select_form {
  display: flex;
  gap: 6px;
}

select[name="reg_birth_yy"],
select[name="reg_birth_mm"],
select[name="reg_birth_dd"] {
  flex: 1;
}





/* メアド入力型 */
.email-input-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 0.3rem;
}

[name="reg_mail"] {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
  outline: none;
}

[name="domain"] {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: none;
  background: #dbdbdb;
  width: fit-content;
  outline: none;
}



/* テスト */
/* [name="reg_furigana"], [name="reg_mail"], [name="domain"], [name="reg_unsei"],.email-input-row{
  border: none;
  border-bottom: 1.4px solid #cccccc;
  border-radius: 0;
}
[name="reg_mail"],[name="domain"]{border:none;}
[name="domain"]{font-size:0.75rem;} */

[name="domain"]{padding-right:0;padding-left:6px;}

/* テスト */


/* プレビュー */
.email-preview {
  padding-left: 4px;
  display: flex;
  flex-direction: column;
}

.preview-label {
  font-size: 0.7em;
  color: #4a4a4a;
}

.preview-value {
  font-weight: bold;
  color: #333;
  word-break: break-all;
}


/* バリデ文言 */
.validation_message{
	color: red;text-align:center; background: #FFDFDF; margin-top:1rem;padding: 0.5rem; border-radius: 0.5rem;display: none;
}

/* 送信ボタン */
input[type="submit"].submit {
  background: linear-gradient(68deg, #f2769c 0%, #ffb5c1 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 2px 7px #ffcbcb;
  font-size: 20px;
  width: 100%;
  padding: 10px 10%;
  margin: 2rem auto 1rem;
}


.form-title {
	font-weight: bold;
}

/* フッター */
div.footermenu {
  background-color: #f0f7ff;
}

footer #copy {
  background: #307bae;
  width: 100%;
  padding: 6px 0;
  display: block;
  color: #fff;
  font-size: 12px;
  text-align: center;
}

footer #copy p {
  color: #ffff;
}

.open_btn {
  font-size: 12px;
  font-weight: 200;
}