/*----------
common
----------*/
html {
  font-size: 62.5%;
}

body {
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  color: #131e35;
}

#wrapper {
  overflow: hidden;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

#wrapper {
  background-color: #fffcf4;
}

.section-title {
  position: relative;
  font-size: 3.6rem;
  font-weight: bold;
}

.section-title span {
  position: relative;
  z-index: 5;
}

.register-button {
  display: block;
  width: 300px;
  padding: 16px 10px 14px;
  background: #fd620f;
  border-radius: 25px;
  font-size: 1.6rem;
  color: #fff;
  text-align: center;
}

.register-button:hover {
  background-color: #131e35;
}

/*----------
tab
----------*/
.tabButton-wrap {
  display: flex;
  justify-content: space-between;
}

.tabButton-wrap li a {
  display: inline-block;
  width: 160px;
  padding: 8px 8px 7px;
  background: #1494d0;
  border-radius: 25px;
  font-size: 1.6rem;
  color: #fff;
  text-align: center;
  opacity: .5;
}

.tabButton-wrap li a:hover,
.tabButton-wrap li a.is-active {
  opacity: 1;
}

.js-tabContent {
  display: none;
}

.js-tabContent.is-active {
  display: block;
}

/*----------
mainVisual
----------*/
.mainVisual {
  padding: 40px;
}

.mainVisual-inner {
  position: relative;
  max-width: 1920px;
  min-width: 1200px;
  margin: 0 auto;
  background-image: url(/images/main-visual.png);
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 5px;
}

.mainVisual-logo {
  position: absolute;
  top: 20px;
  left: 20px;
}

.mainVisual-logo img {
  width: 209px;
}

.mainVisual-content {
  padding: 200px 0 130px 735px;
  color: #fff;
  line-height: 1.5;
}

.mainVisual-content h1 {
  font-size: 3.2rem;
  font-weight: bold;
}

.mainVisual-content p {
  margin-top: 35px;
  font-size: 1.6rem;
}

.mainVisual-content .register-button {
  margin-top: 80px;
}

@media screen and (min-width: 1550px) and (max-width: 1920px) {
  .mainVisual-content {
    padding: 16vw 0 12vw 55vw;
  }
}

@media screen and (min-width: 1921px) {
  .mainVisual-content {
    padding: 307px 0 230px 1056px;
  }
}

/*----------
aboutBloc
----------*/
.aboutBlock {
  margin-top: 150px;
  padding: 0 40px;
}
.aboutBlock .section-title {
  text-align: center;
  padding: 100px 0 60px;
}

.aboutBlock .section-title::after {
  content: "What is\a Hitokuchi";
  display: block;
  position: absolute;
  top: 20px;
  left: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 8rem;
  font-weight: bold;
  color: #ff4f6f;
  text-align: center;
  line-height: 1;
  white-space: pre;
  opacity: .1;
  z-index: 1;
}

.aboutBlock-inner {
  display: flex;
  justify-content: space-between;
  width: 1270px;
  margin: 0 auto;
  transform: translateX(30px);
}

.aboutBlock-content {
  width: 400px;
}

.aboutBlock-box {
  padding: 40px 30px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 1px 3px 12px #00000029;
}

.aboutBlock-box-inner {
  margin-top: 24px;
}

.aboutBlock-box-inner p {
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.5;
}

.aboutBlock-box-inner p + p {
  margin-top: 30px;
}

.aboutBlock-visual-inner {
  width: 846px;
}

.aboutBlock-visual-inner img {
  width: 100%;
}

.aboutBlock .aboutBlock-visual-sp,
.aboutBlock .aboutBlock-visual-sp.is-active {
  display: none;
}

/*----------
flowBlock
----------*/
.flowBlock {
  padding: 0 40px;
}
.flowBlock .section-title {
  padding-top: 84px;
  text-align: center;
}

.flowBlock .section-title span {
  display: inline-block;
}

.flowBlock .section-title::before {
  content: "Flow";
  display: block;
  position: absolute;
  top: 20px;
  left: 50%;
  margin-left: -95px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 8rem;
  font-weight: bold;
  color: #1494d0;
  text-align: center;
  line-height: 1;
  white-space: pre;
  opacity: .1;
  z-index: 1;
}

.flowBlock .tabButton-wrap {
  width: 340px;
  margin: 45px auto 0;
}

.flowBlock-container {
  position: relative;
  width: 990px;
  margin: 0 auto;
}

.flowBlock-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: 990px;
  margin: 40px auto 0;
  padding-left: 40px;
  background: #fff;
  box-shadow: 1px 3px 12px #00000029;
  z-index: 5;
}

.flowBlock-content::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  bottom: -35px;
  margin-left: -50px;
  border-top: 35px solid #fff;
  border-right: 50px solid transparent;
  border-left: 50px solid transparent;
  z-index: 5;
  -webkit-filter:drop-shadow(1px 3px 2px #00000029);
  filter: drop-shadow(1px 3px 2px #00000029);
}

.flowBlock-content:last-child::after {
  display: none;
}

.flowBlock-content + .flowBlock-content {
  margin-top: 32px;
}

.flowBlock-desc {
  width: 385px;
  padding-left: 40px;
}

.flowBlock-desc h3 {
  position: relative;
  font-size: 2.8rem;
  font-weight: bold;
}

.flowBlock-content:first-child .flowBlock-desc h3::after {
  content: "01";
}

.flowBlock-content:nth-child(2) .flowBlock-desc h3::after {
  content: "02";
}

.flowBlock-content:nth-child(3) .flowBlock-desc h3::after {
  content: "03";
}

.flowBlock-desc h3::after {
  display: block;
  position: absolute;
  top: -62px;
  left: -45px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 8rem;
  font-weight: bold;
  color: #f4f1ec;
  z-index: 1;
}

.flowBlock-desc h3 span {
  position: relative;
  z-index: 5;
}

.flowBlock-desc p {
  margin-top: 28px;
  font-size: 1.6rem;
  line-height: 1.5;
}

.flowBlock-desc .attention-text {
  margin-top: 18px;
  font-size: 1.2rem;
}

.flowBlock-visual {
  width: 495px;
}

.flowBlock-visual img {
  width: 100%;
}

.bg-circle {
  display: block;
  position: absolute;
}

.bg-circle01 {
  top: 200px;
  right: -290px;
}

.bg-circle02 {
  top: 290px;
  right: -150px;
}

.bg-circle03 {
  top: 730px;
  left: -380px;
}

.bg-circle04 {
  top: 1050px;
  left: -120px;
}

/*----------
carouselBlock
----------*/
.carouselBlock {
  margin-top: 130px;
}
.carouselBlock-inner .section-title {
  width: 1180px;
  margin: 0 auto;
  padding: 80px 0 70px;
}

.carouselBlock .section-title::before {
  content: "Farmers &\aRestaurants";
  display: block;
  position: absolute;
  top: 10px;
  left: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 8rem;
  font-weight: bold;
  color: #e7db73;
  text-align: center;
  line-height: 1;
  white-space: pre;
  opacity: .2;
  z-index: 1;
  text-align: left;
}

.carouselBlock-carousel02 {
  margin-top: 30px;
  padding-left: 50px;
}

.slick-list {
  overflow: visible;
}

.carouselBlock-card a,
.carouselBlock-card > span {
  display: block;
  position: relative;
  width: 340px;
  margin-left: 50px;
  margin-bottom: 8px;
  padding: 70px 15px;
  background: #fff;
  box-shadow: 1px 3px 12px #00000029;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
}

.carouselBlock-card a::before {
  content: "";
  display: block;
  position: absolute;
  top: 12px;
  right: 12px;
  width: 20px;
  height: 20px;
  background-image: url(/images/icon_blanklink.svg);
  background-size: cover;
}

.carouselBlock-card a:hover {
  opacity: .7;
}

.carouselBlock-tag {
  display: inline-block;
  position: absolute;
  top: 12px;
  left: 12px;
  width: 100px;
  padding: 5px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: bold;
  color: #fff;
}

.carouselBlock-tag.is-restaurant {
  background: #f4d87c;
}

.carouselBlock-tag.is-producer {
  background: #396b74;
}

/*----------
formBloc
----------*/
.formBlock {
  margin-top: 200px;
}

.formBlock-inner {
  width: 1173px;
  margin: 0 auto;
}

.formBlock-circle {
  padding: 160px 0 210px;
  background-image: url(/images/back_dish.svg);
  background-repeat: no-repeat;
}

.formBlock .section-title {
  text-align: center;
  transform: translateX(20px);
}

.formBlock .section-title span {
  display: inline-block;
  position: relative;
  padding: 5px 80px;
}

.formBlock .section-title span::before,
.formBlock .section-title span::after {
  content: "";
  display: block;
  width: 3px;
  height: 100px;
  background: #fd620f;
  position: absolute;
  top: 0;
}

.formBlock .section-title span::before {
  left: 0;
  transform: rotate(-30deg);
}

.formBlock .section-title span::after {
  right: 0;
  transform: rotate(30deg);
}

.formBlock-container {
  width: 520px;
  margin: 70px auto 0;
}

.inputBlock + .inputBlock {
  margin-top: 23px;
}

.inputBlock-title {
  position: relative;
  margin-bottom: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.4rem;
  font-weight: bold;
}

.inputBlock-title.is-required::after {
  content: "必須";
  display: inline-block;
  margin-left: 5px;
  padding: 2px 8px 3px;
  border-radius: 5px;
  background: #ff4f6f;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.2rem;
  font-weight: normal;
  color: #fff;
}

.inputBlock input[type="text"],
.inputBlock input[type="tel"],
.inputBlock input[type="email"] {
  display: block;
  width: 100%;
  padding: 10px 12px 9px;
  border: 1px solid #A0B3B8;
  border-radius: 6px;
  font-size: 1.6rem;
}

.inputBlock input[type="text"]:focus,
.inputBlock input[type="tel"]:focus,
.inputBlock input[type="email"]:focus {
  border: 1px solid #1494d0;
  outline: none;
}

.inputBlock input.is-error {
  border: 1px solid #ff4f6f;
  outline: none;
}

.error-message {
  margin-top: 8px;
  font-size: 1.2rem;
  color: #ff4f6f;
}

.inputBlock input + input,
.error-message + input {
  margin-top: 12px;
}

.radioList {
  margin-top: 12px;
  font-size: 1.6rem;
}

.radioList li + li {
  margin-top: 20px;
}

.radioList input[type=radio] {
  display: none;
}

.radioList label {
  display: inline-block;
  position: relative;
  padding-left: 25px;
  cursor: pointer;
}

.radioList label::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  position: absolute;
  top: -2px;
  left: 0;
  border: 1px solid #a0b3b8;
  border-radius: 50%;
}

.radioList input[type=radio]:checked + label::before {
  border: 1px solid #1494d0;
}

.radioList input[type=radio]:checked + label::after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  position: absolute;
  top: 2px;
  left: 4px;
  background: #1494d0;
  border-radius: 50%;
}

.formBlock .register-button {
  margin: 44px auto 0;
}

.formBlock .register-button:disabled {
  cursor: default;
  background: #999;
}

/*----------
footer
----------*/
footer {
  margin-top: 240px;
}

.footer-inner {
  padding: 0 40px;
}

.footer-content {
  padding: 96px;
  border-radius: 5px;
  background: #268aff;
  text-align: center;
}

.footer-content img {
  width: 309px;
}

.copyright {
  padding: 10px 5px 14px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .pc-only {
    display: none;
  }
  
  .sp-only {
    display: block;
  }

  .section-title {
    font-size: 2.4rem;
  }

  .tabButton-wrap li {
    width: 47%;
  }

  .tabButton-wrap li a {
    width: 100%;
  }

  .mainVisual {
    padding: 18px;
  }

  .mainVisual-inner {
    min-width: auto;
    width: 100%;
    background-image: url(/images/main-visual_sp.png);
  }

  .mainVisual-logo {
    top: 0;
    left: 0;
  }

  .mainVisual-logo img {
    width: 103px;
  }

  .mainVisual-content {
    padding: 0;
  }

  .mainVisual-content h1 {
    font-size: 2.2rem;
    text-align: center;
    padding-top: 20vw;
  }

  .mainVisual-desc {
    margin-top: 72vw;
    padding-bottom: 30px;
  }

  .mainVisual-content p {
    margin-top: 15px;
    padding: 0 10px;
    font-size: 1.4rem;
    text-align: center;
  }

  .mainVisual-content .register-button {
    width: 88%;
    margin: 28px auto 0;
  }

  .aboutBlock {
    margin-top: 30px;
    padding: 0;
    overflow: hidden;
  }

  .aboutBlock-inner {
    display: block;
    width: 100%;
    transform: translateX(0);
  }

  .aboutBlock-content {
    width: 100%;
  }

  .aboutBlock .section-title {
    padding: 85px 0 0;
  }

  .aboutBlock .section-title::after {
    content: "What is\aHitokuchi";
    top: 30px;
    left: 50%;
    margin-left: -143px;
    font-size: 6rem;
  }

  .aboutBlock-box {
    margin-top: 70px;
    padding: 0;
    background: none;
    box-shadow: none;
  }

  .aboutBlock .tabButton-wrap {
    width: 90%;
    margin: 0 auto;
  }

  .aboutBlock-visual-sp {
    margin-top: 15px;
  }

  .aboutBlock .aboutBlock-visual-sp.is-active {
    display: block;
  }

  .aboutBlock-visual-sp img {
    width: 100%;
  }

  .aboutBlock-box-inner {
    width: 80%;
    margin: 20px auto 0;
  }

  .aboutBlock-box-inner p {
    font-size: 1.4rem;
  }

  .aboutBlock-box-inner p + p {
    margin-top: 24px;
  }

  .flowBlock .section-title {
    padding-top: 55px;
  }

  .flowBlock .section-title::before {
    content: "FlowFlowFlowFlowFlowFlow";
    font-size: 6rem;
    left: 0;
    margin-left: 0;
  }

  .flowBlock .tabButton-wrap {
    width: 90%;
    margin: 30px auto 0;
  }

  .flowBlock-container {
    width: 100%;
    margin-top: 30px;
  }

  .flowBlock-content {
    display: block;
    width: 90%;
    margin: 0 auto;
    padding: 20px;
  }

  .flowBlock-desc {
    width: 100%;
    padding-left: 0;
  }

  .flowBlock-desc h3 {
    padding-top: 40px;
    font-size: 2rem;
  }

  .flowBlock-desc h3::after {
    top: 0;
    left: 0;
    font-size: 6rem;
  }

  .flowBlock-visual {
    width: 100%;
  }

  .flowBlock-visual img {
    width: 100%;
  }

  .bg-circle01 {
    top: 23%;
    right: -10%;
  }

  .bg-circle01 img {
    width: 85px;
  }
  
  .bg-circle02 {
    top: 30%;
    right: 0;
  }

  .bg-circle02 img {
    width: 96px;
  }
  
  .bg-circle03 {
    top: 61%;
    left: -32%;
  }

  .bg-circle03 img {
    width: 200px;
  }
  
  .bg-circle04 {
    top: 71%;
    left: -2%;
  }

  .bg-circle04 img {
    width: 167px;
  }

  .carouselBlock {
    margin-top: 80px;
  }

  .carouselBlock-inner .section-title {
    width: 100%;
    padding: 65px 20px 60px;
  }

  .carouselBlock .section-title::before {
    font-size: 6rem;
  }

  .carouselBlock-card a,
  .carouselBlock-card > span {
    width: 170px;
    margin-left: 30px;
    padding: 34px 10px;
    font-size: 1.2rem;
  }

  .carouselBlock-tag {
    width: 65px;
    top: 6px;
    left: 6px;
    font-size: 1rem;
    transform: scale(0.8);
  }

  .formBlock-inner {
    width: 100%;
  }

  .formBlock-circle {
    padding: 50px 0 60px;
    background-image: url(/images/back_dish_sp.svg);
    background-size: cover;
    background-position: top center;
  }

  .formBlock .section-title {
    transform: translateX(0);
  }

  .formBlock .section-title span {
    padding: 5px 40px;
  }

  .formBlock .section-title span::before,
  .formBlock .section-title span::after {
    top: -5px;
    height: 80px;
  }

  .formBlock .section-title span::before {
    transform: rotate(-25deg);
  }

  .formBlock .section-title span::after {
    transform: rotate(25deg);
  }

  .formBlock-container {
    width: 90%;
    margin-top: 40px;
  }

  .formBlock .register-button {
    width: 92%;
    margin-top: 70px;
  }

  footer {
    margin-top: 130px;
  }

  .footer-inner {
    width: 90%;
    margin: 0 auto;
    padding: 0;
  }

  .footer-content {
    padding: 40px 10px;
  }

  .footer-content img {
    width: 70%;
  }

  .copyright {
    font-size: 1rem;
    transform: scale(0.8);
  }
}