@charset "UTF-8";
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

/****************************************
 	基本設定							*
*****************************************/
* {
  box-sizing: border-box;
}

html {
  font-size: 12px;
}

body {
  background: linear-gradient(0deg, #dcdac0 0%, #fffef4 25%, #e2dfca 100%) no-repeat;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ","Lucida Grande",Verdana,"ＭＳ Ｐゴシック",sans-serif;
  font-size: 1rem;
  color: #3E3A39;
}

input, select, textarea, button, option {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ","Lucida Grande",Verdana,"ＭＳ Ｐゴシック",sans-serif;
  font-size: 1rem;
  color: #3E3A39;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
  color: #B7A01D;
  -moz-transition: opacity 0.3s;
  -o-transition: opacity 0.3s;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
a:hover {
  opacity: 0.75;
}

img {
  max-width: 100%;
  height: auto;
}

/****************************************
 	レイアウト							*
*****************************************/
header {
  display: flex;
  justify-content: left;
}

.wrapper {
  display: flex;
  justify-content: center;
  min-height: calc(100vh - 307px);
  max-width: 402px;
  margin: auto;
  padding-bottom: 30px;
}
.wrapper main {
  width: 342px;
  max-width: 100%;
}

/****************************************
 	ヘッダー							*
*****************************************/
header {
  padding: 30px;
}
header .logo img {
  width: 180px;
}

/****************************************
 	メイン								*
*****************************************/
main .title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
main .title h1 {
  font-family: "Charis SIL", serif;
  font-size: 40px;
  text-align: center;
}
main .title p {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}
main .title p:before, main .title p:after {
  content: '';
  display: block;
  width: 50px;
  height: 1px;
}
main .title p:before {
  background: linear-gradient(135deg, rgba(62, 58, 57, 0), #3e3a39);
}
main .title p:after {
  background: linear-gradient(135deg, #3e3a39, rgba(62, 58, 57, 0));
}

/****************************************
 	セッション（トップ）				*
*****************************************/
section.top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
section.top .mv {
  /* background: url("../images/top.svg") center no-repeat; */
  display: flex;
  flex-direction: column;
  justify-content: end;
  position: relative;
  min-height: 520px;
}
section.top .mv:after {
  content: "";
  position: absolute;
  min-height: 304px;
  top: 370px;
  bottom: calc(916px - 100vh);
  left: calc((100vw - 336px) / 2 * -1);
  right: calc((100vw - 336px) / 2 * -1);
  background-color: #F8F6EDA6;
  z-index: 1;
}
section.top .mv img {
  position: absolute;
  top: 32px;
  left: 0;
  aspect-ratio: 1/1.34;
  object-fit: cover;
  -moz-box-shadow: 0 0px 3px rgba(92, 83, 57, 0.25);
  -webkit-box-shadow: 0 0px 3px rgba(92, 83, 57, 0.25);
  box-shadow: 0 0px 3px rgba(92, 83, 57, 0.25);
  -moz-border-radius: 169px;
  -webkit-border-radius: 169px;
  border-radius: 169px;
}
section.top .mv p {
  font-size: 14px;
  line-height: 22px;
  text-align: center;
  z-index: 2;
}
section.top .start {
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
}
section.top .start p {
  font-size: 14px;
  color: #B7A01D;
  text-align: center;
}
section.top .start a.button {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  background-color: #B7A01D;
  font-size: 20px;
  letter-spacing: 20%;
  color: #fff;
}

/****************************************
 	セッション（プログレスバー）		*
*****************************************/
section.progress {
  width: 80%;
  margin: 30px auto 0;
  background-color: #fff;
  -moz-border-radius: 16px;
  -webkit-border-radius: 16px;
  border-radius: 16px;
}
section.progress .bar {
  width: 0;
  height: 5px;
  background-color: #B7A01D;
  -moz-transition: width 0.4s ease;
  -o-transition: width 0.4s ease;
  -webkit-transition: width 0.4s ease;
  transition: width 0.4s ease;
}
section.progress .bar[data-progress="1"] {
  width: 20%;
}
section.progress .bar[data-progress="2"] {
  width: 40%;
}
section.progress .bar[data-progress="3"] {
  width: 60%;
}
section.progress .bar[data-progress="4"] {
  width: 80%;
}
section.progress .bar[data-progress="5"] {
  width: 100%;
}

/****************************************
 	セッション（設問）					*
*****************************************/
section.question {
  margin-top: 20px;
  padding: 30px 20px 40px;
  background-color: #fff;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  -moz-box-shadow: inset 0 0 5px rgba(92, 83, 57, 0.25);
  -webkit-box-shadow: inset 0 0 5px rgba(92, 83, 57, 0.25);
  box-shadow: inset 0 0 5px rgba(92, 83, 57, 0.25);
  text-align: center;
}
section.question div[data-question] {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
section.question div[data-question]:not(:first-child) {
  display: none;
}
section.question div[data-question] .lead {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
section.question div[data-question] .lead h2 {
  font-size: 28px;
  font-family: "Charis SIL", serif;
  color: #B7A01D;
}
section.question div[data-question] .lead h2 span {
  font-size: 40px;
}
section.question div[data-question] .lead p {
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}
section.question div[data-question] .choices.horizen ul {
  flex-direction: column;
}
section.question div[data-question] .choices.horizen ul li {
  width: 100%;
}
section.question div[data-question] .choices.horizen ul li label {
  flex-direction: initial;
  align-items: center;
  padding: 30px 15px;
}
section.question div[data-question] .choices.horizen ul li label p {
  flex: 1;
}
section.question div[data-question] .choices ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
section.question div[data-question] .choices ul li {
  width: calc((100% - 15px) / 2);
  border: 1px solid #B7A01D;
}
section.question div[data-question] .choices ul li input[type='radio'] {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
}
section.question div[data-question] .choices ul li input[type='radio']:checked + label {
  background-color: #F6F5EF;
}
section.question div[data-question] .choices ul li label {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px 15px 15px;
  cursor: pointer;
}
section.question div[data-question] .choices ul li label:hover {
  background-color: #F6F5EF;
}
section.question div[data-question] .choices ul li label h3 {
  font-size: 28px;
  line-height: 15px;
  font-family: "Charis SIL", serif;
  color: #B7A01D;
}
section.question div[data-question] .choices ul li label p {
  margin-left: -10px;
  margin-right: -10px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
section.question div[data-question] .prev {
  display: flex;
  justify-content: left;
}
section.question div[data-question] .prev a {
  font-weight: 500;
  color: #C0BB9C;
}
section.question div[data-question] .prev a img {
  margin-right: 3px;
  vertical-align: bottom;
}

/****************************************
 	セッション（戻る）					*
*****************************************/
section.back {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}
section.back a {
  font-weight: 500;
  color: #B7A01D;
}
section.back a img {
  margin-right: 3px;
  vertical-align: sub;
}

/****************************************
 	セッション（ローディング）			*
*****************************************/
section.loading {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 125px 0;
  text-align: center;
}
section.loading .moon {
  background: url("../images/moon_white.svg") no-repeat;
  width: 140px;
}
section.loading .moon.on img {
  clip-path: polygon(0 0%, 100% 0%, 100% 100%, 0 100%);
}
section.loading .moon img {
  clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
  -moz-transition: clip-path 4s ease 0.75s;
  -o-transition: clip-path 4s ease 0.75s;
  -webkit-transition: clip-path 4s ease;
  -webkit-transition-delay: 0.75s;
  transition: clip-path 4s ease 0.75s;
}
section.loading h3, section.loading p {
  opacity: 0;
  -moz-transition: opacity 3s;
  -o-transition: opacity 3s;
  -webkit-transition: opacity 3s;
  transition: opacity 3s;
}
section.loading h3.on, section.loading p.on {
  opacity: 1;
}
section.loading h3 {
  margin-top: 35px;
  font-size: 16px;
  font-weight: 500;
}
section.loading p {
  margin-top: 15px;
  line-height: 20px;
}

/****************************************
 	セッション（診断結果）				*
*****************************************/
section.result {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 20px;
  padding: 30px 20px;
  background-color: #fff;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  -moz-box-shadow: inset 0 0 5px rgba(92, 83, 57, 0.25);
  -webkit-box-shadow: inset 0 0 5px rgba(92, 83, 57, 0.25);
  box-shadow: inset 0 0 5px rgba(92, 83, 57, 0.25);
}
section.result .content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
section.result .content h2 {
  font-size: 20px;
  font-weight: 500;
  color: #B7A01D;
  text-align: center;
}
section.result .content h2 img {
  margin-right: 3px;
  vertical-align: sub;
}
section.result .content > img {
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  -moz-box-shadow: inset 0 0 5px rgba(92, 83, 57, 0.25);
  -webkit-box-shadow: inset 0 0 5px rgba(92, 83, 57, 0.25);
  box-shadow: inset 0 0 5px rgba(92, 83, 57, 0.25);
}
section.result .content p {
  line-height: 22px;
}
section.result .recommend {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  background-color: #F6F5EF;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}
section.result .recommend h3 {
  font-size: 16px;
  color: #B7A01D;
  font-weight: 500;
  text-align: center;
}
section.result .recommend h3 img {
  vertical-align: sub;
  margin-right: 3px;
}
section.result .recommend .list ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
section.result .recommend .list ul li {
  width: calc((100% - 20px) / 2);
}
section.result .recommend .list ul li img {
  aspect-ratio: 1/1;
  object-fit: cover;
}
section.result .recommend .list ul li h4 {
  margin-top: 15px;
  font-weight: 500;
  color: #3E3A39;
}
section.result .recommend .list ul li p {
  margin-top: 8px;
  color: #3E3A39;
}
section.result .link {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
section.result .link a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  background-color: #B7A01D;
  font-size: 20px;
  letter-spacing: 5%;
  color: #fff;
}
section.result .link a.white {
  background-color: #fff;
  border: 1px solid #B7A01D;
  color: #B7A01D;
}
section.result .share {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  background-color: #F6F5EF;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}
section.result .share h3 {
  text-align: center;
}
section.result .share ul {
  display: flex;
  justify-content: center;
  gap: 15px;
}
section.result .share ul li a img {
  width: 35px;
}

/****************************************
 	フッター							*
*****************************************/
footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  padding-top: 35px;
  padding-bottom: 25px;
  background-color: #70561A;
  color: #fff;
}
footer .pagetop a img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: 30px;
  padding: 5px;
  border: 1px solid #fff;
}
footer .menu ul {
  display: flex;
  align-items: center;
  gap: 30px;
}
footer .menu ul li a {
  color: #fff;
}
footer .sns ul {
  display: flex;
  align-items: center;
  gap: 30px;
}
footer .sns ul li a img {
  width: 25px;
  filter: brightness(0) invert(1);
}

/****************************************
 	レスポンシブル						*
*****************************************/
/* スマートフォン ----------------------------------------- */
@media only screen and (max-width: 402px) {
  /****************************************
  	ヘッダー							*
  *****************************************/
  header {
    justify-content: center;
    padding: 40px 30px 10px;
  }

  /****************************************
  	フッター							*
  *****************************************/
  footer .menu ul {
    flex-direction: column;
    gap: 10px;
  }
}
/* ミニ -------------------------------------------------- */
@media only screen and (max-width: 336px) {
  /****************************************
  	セッション（トップ）				*
  *****************************************/
  section.top .mv:after {
    left: 0;
    right: 0;
  }
}
