/*================================================
SETTINGS
================================================*/

/* variables */
:root {
  --primary-color: #e18c79;
  --secondary-color: #ffb6a3;
  --tertiary-color: #fae7e2;
  
  --base-font-color: #696969;
  --accent-font-color: #696969;

  --base-font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;

  --header-height: 7.2rem;
}

/*================================================
GENERIC
================================================*/

* {
  margin: 0;
  padding: 0;
}
html {
  overflow-x: hidden;
  width: 100%;
  font-size: 62.5%;
  scroll-behavior: smooth;
}
body {
  width: 100%;
  color: var(--base-font-color);
  font-size: 1.6rem;
  font-family: var(--base-font-family);
  line-height: 1.75;
  word-break: break-word;
  hyphens: auto;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/*================================================
LAYOUT & GRID
================================================*/

.container {
  width: 100%;
  background-color: #ffffff;
  text-align: center;
  margin-inline: auto;
  text-align: left;
}

/*================================================
ELEMENTS
================================================*/

/* headings */
h1,
h2,
h3,
h4,
h5 {
  font-weight: 500;
  line-height: 1.5;
  text-align: justify;
  letter-spacing: .01em;
}

/* p */
p {
  text-align: justify;
}

/* a */
a {
  display: inline-block;
  max-width: 100%;
  background: transparent;
  color: var(--accent-font-color);
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}
a:hover {
  cursor: pointer;
}

/* img */
img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  vertical-align: bottom;
}

/*================================================
COMMON
================================================*/

.article {
  padding-top: 8rem;
  padding-bottom: 8rem;
}
.section-inner {
  width: 100%;
  margin-inline: auto;
}
.article-title > h2 {
  color: #3d3732;
  font-size: 2.8rem;
  text-align: center;
  margin-top: -.7rem;
  margin-bottom: -.7rem;
}
.article-title + * {
  margin-top: 3.6rem;
}

/*================================================
HEADER
================================================*/

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-height);
  padding-right: 2rem;
  padding-left: 2rem;
}
.header-logo > h1 {
  height: 2.4rem;
}
.header-logo > h1 > img {
  width: auto;
  height: 100%;
}
nav {
  margin-left: auto;
}
nav > ul {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}
nav > ul > li > a {
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: .05em;
}

/*================================================
FOOTER
================================================*/

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-top: 2px solid #FF876D;
  background-color: #fde3d8;
}
.footer-copyright > p {
  color: #FF876D;
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: .075em;
}
.footer-company > a {
  font-size: 1.3rem;
  line-height: 1;
  text-decoration: underline;
  letter-spacing: .05em;
}

/*================================================
HOME
================================================*/

/* main-visual */
.main-visual {
  height: calc(75vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffb6a3 url(../images/main-visual.svg) no-repeat center center / contain;
}
.main-copy {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.main-copy > h2 {
  height: calc((75vh - var(--header-height)) * .15);
}
.main-copy > h2 > img {
  width: auto;
  height: 100%;
}
.main-copy > h3 {
  color: #fff;
  font-size: calc((75vh - var(--header-height)) * .04);
  letter-spacing: .1em;
}
.main-copy > h2 + h3 {
  color: #fff;
  margin-top: .5em;
}

/* about */
.about {
  background: #fff url(../images/about_bg.svg) no-repeat center center / cover;
}
.about .section-inner {
  max-width: 64rem;
}

/* feature */
.feature {
  background-color: #FCF6EE;
}
.feature .section-inner {
  text-align: center;
}
.feature .section-inner > ol {
  display: inline-block;
  text-align: justify;
  list-style-type: decimal;
}
.feature .section-inner > ol > li {
  font-size: 1.8rem;
  letter-spacing: .05em;
  line-height: 2;
}

/* function-ui */
.function-ui .article-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
}
.function-ui .article-title > img {
  max-width: 3.2rem;
}
.function-ui .section-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 4.2rem;
  max-width: 100rem;
}
.function-ui .section-inner > figure {
  width: 100%;
  max-width: calc((100% - 4.2rem * 2) / 3);
}
.function-ui .section-inner > figure > img {
  border: 1px solid #dedede;
}
.function-ui .section-inner > figure > figcaption {
  text-align: center;
  letter-spacing: .075em;
}
.function-ui .section-inner > figure > img + figcaption {
  margin-top: .5em;
}

/* contact */
.contact {
  background-color: #fde3d8;
}
.contact .button {
  height: 8rem;
  margin-inline: auto;
  border: none; /*枠線を表示しない*/
  border-radius: 4rem; /*丸みを調整*/ 	
  background-color: #FF876D; /*背景色*/
  width: 100%;
  max-width: 40rem;
  align-items: center;
  justify-content: center;
  display: flex;
  transition: .3s;
}
.contact .button > button {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 2.1rem;
  letter-spacing: .1em;
}
.contact .button:hover {
  cursor: pointer;
  opacity: .75;
}
.contact .button > button:hover {
  cursor: pointer;
}

/* user-voice*/
.user-voice {
  background-image: url(../images/back2.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #fff;
  text-align: center;
}
.user-voice .section-inner {
  max-width: 64rem;
}
.user-voice .section-inner h3 {
  text-align: center;
}
.user-voice-item {
  display: flex;
  gap: 5rem;
  margin-top: 2.4rem;
}

/* plan */
.plan {
  background-color: #fcf6ee;
}
.plan .section-inner {
  display: flex;
  justify-content: space-between;
  max-width: 100rem;
}

.plan-list {
  width: 100%;
}
.plan-list > ul {
  display: flex;
  justify-content: center;
}
.plan-list > ul > li {
  width: 100%;
  max-width: calc((100% - 6.4rem * 2) / 3);
  text-align: center;
  display: flex;
  flex-flow: column;
  background-color: #fff;
  border: 1px solid #dedede;
}
.plan-list > ul > li > .plan-item-header {
  padding: 1em;
  background-color: #3a3a3a;
}
.plan-list > ul > li > .plan-item-header > h5 {
  color: #fff;
  font-size: 1.8rem;
  text-align: center;
  letter-spacing: .05em;
}
.plan-list > ul > li > .plan-item-body > dl > div {
  padding: 1.5em;
}
.plan-list > ul > li > .plan-item-body > dl > .plan-item-conversion {
  background-color: #f5f5f5;
}
.plan-list > ul > li > .plan-item-body > dl > div > dt,
.plan-list > ul > li > .plan-item-body > dl > div > dd {
  line-height: 1;
  letter-spacing: .05em;
}
.plan-list > ul > li > .plan-item-body > dl > div > dt {
  font-weight: 500;
}
.plan-list > ul > li > .plan-item-body > dl > div > dt + dd {
  margin-top: 1em;
}

/*詳しい料金を見る*/
.plan-item2  {
  padding: 15px; /*内側の余白*/
  margin: 20px 330px;
  border-radius: 15px; /*丸みを調整*/ 	
  background-color: #4e4d4d; /*背景色*/
  width: 250px;
  align-items: center;
  justify-content: center;
  display: flex;
}

/* セクション*/
  /* .section  {
  background-color: #ffffff;
  border-left-style: solid;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column
} */

/* faq */
/* .faq {
  background-image: url(../images/back3.png);
  background-size: 100%;
  background-repeat: no-repeat;
} */
.faq .section-inner {
  max-width: 100rem;
}
.faq .article-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
}
.faq .article-title > img {
  max-width: 3.2rem;
}
.faq-item {
  width: 500px;
  margin: 80px;
  margin-left: 240px;
  background: #fff;
}
.faq-item p {
  padding: 15px 20px;
}

/* accordion */
.accordion {
  max-width: 64rem;
  margin-inline: auto;
}
.accordion-item + .accordion-item {
  margin-top: 3.2rem;
}
.accordion-item-header,
.accordion-item-body {
  position: relative;
  z-index: 1;
  padding: 3.2rem;
  cursor: pointer;
}
.accordion-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--primary-color);
  color: #fff;
}
.accordion-item-body {
  display: none;
  background-color: #fff;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}
.accordion-item-header-inner,
.accordion-item-body-inner {
  display: flex;
  align-items: flex-start;
}
.accordion-item-header-inner::before,
.accordion-item-body-inner::before,
.accordion-item-header-text,
.accordion-item-body-text {
  font-size: 1.6rem;
}
.accordion-item-header-text,
.accordion-item-body-text {
  margin: -7px 0 -7px 0.25em;
}
.accordion-item-header-inner::before,
.accordion-item-body-inner::before {
  line-height: 1;
  white-space: nowrap;
}
.accordion-item-header-inner::before {
  content: "Q.";
  font-weight: 500;
}
.accordion-item-body-inner::before {
  content: "A.";
}
.accordion-item-header-button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 3.2rem;
}
.accordion-item-header-button::before {
  content: "";
  width: 1.4rem;
  height: 1.4rem;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  transform-origin: 66.67% 66.67%;
  transition: 0.3s;
}
.accordion-item-header.is-open > .accordion-item-header-button::before {
  transform: rotate(-135deg);
}

/*================================================
CONTACT FORM
================================================*/

.contact-form {
  max-width: 60rem;
  margin-inline: auto;
  padding: 2rem;
  background-color: #f5f5f5;
  border-radius: 8px;
}
.contact-form .article-title > h2 {
  font-size: 1.8rem;
}
.form-group + .form-group {
  margin-top: 15px;
}
.form-group label {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 5px;
}
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: .8rem;
  font-size: 1.4rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
  line-height: 1.5;
}
.form-group textarea {
  min-height: 10rem;
}
input[name="confirm"],
input[name="send"] {
  display: block;
  width: 100%;
  max-width: 28rem;
  margin-inline: auto;
  padding: 18px;
  font-size: 1.4rem;
  font-weight: 500;
  color: #fff;
  background-color: var(--primary-color);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
  letter-spacing: .75em;
}
input[name="back"] {
  display: block;
  width: 100%;
  max-width: 28rem;
  margin-inline: auto;
  padding: 18px;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--primary-color);
  background-color: #fff;
  border: 1px solid var(--primary-color);
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
  letter-spacing: .75em;
}

input[name="send"] + input[name="back"] {
  margin-top: 1.8rem;
}

.form-group input[type="submit"]:hover {
  cursor: pointer;
  opacity: .75;
}
form > dl > div + div {
  margin-top: 1em;
}
form > dl > div > dt {
  margin-left: -.5em;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1;
  opacity: .5;
}
form > dl > div > dd {
  line-height: 1.75;
}
form > dl > div > dt + dd {
  margin-top: .25em;
}
form > dl + input {
  margin-top: 1.8rem;
}

/*================================================
MODAL
================================================*/

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

/* モーダルの内容 */
.modal-content {
  border-radius: 5px;
  width: 100%;
  max-width: 64rem;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.modal-content > iframe {
  width: 100%;
  height: 65rem;
  max-width: 64rem;
  min-height: 64rem;
  background-color: #f5f5f5;
  border-radius: 8px;
}
.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
}