@charset "utf-8";

*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul[role="list"],
ol[role="list"] {
  list-style: none;
}

img,
picture {
  display: block;
  max-width: 100%;
}

.q-sindan {
  margin-top: 3rem;
  font-size: 1rem;
}

@media (max-width: 640px) {
  .q-sindan {
    margin-top: 1rem;
    margin-right: .5rem;
    margin-bottom: 3rem;
    margin-left: .5rem;
  }
}

.q-sindan > h1 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.main-visual {
  position: relative;
  padding: 3rem 4rem;
  background-color: #58b765;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
  max-width: 1200px;
  margin: 1rem auto 0;
}

@media (max-width: 640px) {
  .main-visual {
    padding: 2rem 1rem;
    gap: 2rem;
  }
}

.main-visual > .logo{
  margin-right: auto;
}

@media (max-width: 640px){
  .main-visual > .logo{
    max-width: 50%;
  }
}

.main-visual__wrap {
  display: grid;
  grid-template-columns: auto 280px;
  grid-template-rows: repeat(2, auto);
  align-items: end;
  justify-content: center;
  gap: 1rem;
}

@media (max-width: 640px) {
  .main-visual__wrap {
    display: block;
  }
}

.main-visual__image {
  grid-row: 1/ 3;
}

.main-visual__arrow {
  grid-row: 1/ 2;
  margin-bottom: auto;
}

@media (max-width: 640px) {
  .main-visual__arrow {
    display: none;
  }
}

.main-visual__text {
  color: #fff;
}

@media (max-width: 640px) {
  .main-visual__text {
    width: 100%;
    margin-top: 1rem;
  }
}

.main-visual__text > span {
  font-size: 1.25rem;
  font-weight: bold;
}

.onayami {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
}

.onayami__title {
  font-size: 2rem;
  font-weight: bold;
}

@media (max-width: 640px) {
  .onayami__title {
    font-size: 1.5rem;
  }
}

.onayami__wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2rem;
}

@media (max-width: 640px) {
  .onayami__wrap {
    align-items: center;
    flex-direction: column;
  }
}

.onayami__contents {
  position: relative;
}

@media (max-width: 640px) {
  .onayami__contents {
    justify-content: center;
    margin-top: 1rem;
  }
}

.onayami__contents:nth-of-type(1) .onayami__text {
  position: absolute;
  top: 73px;
  left: 36px;
  text-align: center;
  font-size: 1.25rem;
}

@media (max-width: 640px) {
  .onayami__contents:nth-of-type(1) .onayami__text {
    top: 30%;
    left: 6%;
    font-size: clamp(.75rem, 4vw, 1.25rem);
  }
}

.onayami__contents:nth-of-type(2) .onayami__text {
  position: absolute;
  top: 62px;
  left: 200px;
  text-align: center;
  font-size: 1.25rem;
}

@media (max-width: 640px) {
  .onayami__contents:nth-of-type(2) .onayami__text {
    top: 23%;
    left: 42%;
    font-size: clamp(.75rem, 4vw, 1.25rem);
  }
}

.details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
}

.details__contents {
  display: flex;
}

@media (max-width: 640px) {
  .details__contents {
    flex-direction: column;
  }
}

.details__head {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-color: #58b765;
  font-size: 1.25rem;
}

@media (max-width: 640px) {
  .details__head {
    padding: .5rem;
    font-size: 1.125rem;
  }
}

.details__body {
  flex: 4;
  padding: 1.5rem;
  background-color: #ecf4d9;
}

@media (max-width: 640px) {
  .details__body {
    padding: 1rem;
  }
}

.details__body > p {
  font-size: 1.125rem;
}

@media (max-width: 640px) {
  .details__body > p {
    font-size: 1rem;
  }
}

.details__body > p:last-of-type {
  font-size: .875rem;
}

.details__table {
  width: 100%;
  margin: .5rem 0;
  table-layout: fixed;
}

.details__table th {
  padding: .5rem;
  text-align: center;
  color: #fff;
  border: solid 1px #000;
  background-color: #58b765;
  ;
}

.details__table td {
  padding: .5rem;
  text-align: center;
  border: solid 1px #000;
}

.details__table tr:nth-of-type(2) td {
  background-color: #c8e3c1;
}

.details__table tr:nth-of-type(2) td:first-of-type {
  vertical-align: middle;
}

.osusume {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-top: 3rem;
  line-height: 1.1;
}

.osusume__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  letter-spacing: .2rem;
  color: #58b765;
  font-size: 3.25rem;
  font-weight: bold;
}

@media (max-width: 640px) {
  .osusume__head {
    font-size: 1.5rem;
  }
}

.osusume__info {
  position: relative;
  margin-top: 2rem;
  padding: 1.5rem 3rem;
  text-align: center;
  color: #e60012;
  border: solid 2px;
  font-size: 2.25rem;
  font-weight: bold;
}

@media (max-width: 640px) {
  .osusume__info {
    padding: 1rem;
    font-size: 1.25rem;
  }
}

.osusume__info::before {
  position: absolute;
  z-index: 1;
  bottom: -46px;
  left: 50%;
  display: block;
  width: 48px;
  height: 48px;
  content: "";
  background-color: #fff;
  clip-path: polygon(34% 0, 8% 50%, 105% 0);
  translate: -50%;
}

.osusume__info::after {
  position: absolute;
  bottom: -50px;
  left: 50%;
  display: block;
  width: 48px;
  height: 48px;
  content: "";
  background-color: #e60012;
  clip-path: polygon(25% 0, 0% 50%, 100% 0);
  translate: -50%;
}

.osusume__info > p:last-of-type {
  margin-top: .5rem;
  color: #333;
  font-size: 1.25rem;
}

@media (max-width: 640px) {
  .osusume__info > p:last-of-type {
    font-size: 1rem;
  }
}

.osusume__process {
  margin-top: 2rem;
}

.osusume__process > h3 {
  font-size: 1.25rem;
  font-weight: bold;
}

@media (max-width: 640px) {
  .osusume__process > h3 {
    font-size: 1.125rem;
    font-weight: bold;
  }
}

.osusume__ul {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .osusume__ul {
    flex-direction: column;
  }
}

.osusume__ul li {
  display: flex;
  align-items: center;
  gap: .725rem;
}

@media (max-width: 640px) {
  .osusume__ul li {
    flex-direction: column;
    width: 100%;
  }
}

.osusume__ul li:not(:last-of-type)::after {
  display: block;
  width: 2rem;
  height: 2rem;
  content: "";
  background-color: #b4d898;
  clip-path: polygon(0% 40%, 78% 40%, 40% 0%, 60% 0%, 100% 50%, 60% 100%, 40% 100%, 78% 55%, 0% 55%);
}

@media (max-width: 640px) {
  .osusume__ul li:not(:last-of-type)::after {
    height: 1rem;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
  }
}

.process__item {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: .25rem;
  width: 6rem;
  height: 18rem;
  border-radius: 8px;
  background-color: #b4d898;
  box-shadow: 4px 4px 8px #999;
  font-size: 1.25rem;
  font-weight: bold;
  writing-mode: vertical-rl;
}

@media (max-width: 640px) {
  .process__item {
    width: 100%;
    width: 100%;
    height: 4rem;
    box-shadow: 2px 2px 4px #999;
    font-size: 1.125rem;
    writing-mode: inherit;
  }
}

.osusume__ul li:nth-of-type(2) .process__item,
.osusume__ul li:nth-of-type(3) .process__item {
  color: #fff;
  background-color: #58b765;
  font-size: 1.5rem;
}

@media (max-width: 640px) {

  .osusume__ul li:nth-of-type(2) .process__item,
  .osusume__ul li:nth-of-type(3) .process__item {
    font-size: 1.25rem;
  }
}

.process__item span {
  font-size: 1rem;
}

@media (max-width: 640px) {
  .process__item span {
    font-size: .875rem;
  }
}

/* 
--------------------------------------------- */
.sindan {
  width: 100%;
  max-width: 1000px;
  margin: 2rem auto 0;
  padding: 2rem;
  border: solid 2px #1452b6;
  border-radius: 2rem;
}

@media (max-width: 640px) {
  .sindan {
    padding: 1.25rem;
    border-radius: 1rem;
  }
}

.sindan__title {
  padding: 1rem;
  text-align: center;
  color: #fff;
  background-color: #1452b6;
  font-size: 2rem;
  font-weight: bold;
}

@media (max-width: 640px) {
  .sindan__title {
    font-size: 1.25rem;
  }
}

.sindan__title > span {
  font-size: 1.5rem;
  font-weight: normal;
}

@media (max-width: 640px) {
  .sindan__title > span {
    font-size: 1rem;
  }
}

.sindan__text {
  width: auto;
  margin: 1rem auto 0;
  padding: 1rem 8rem;
  text-align: center;
  background-color: #abe8ef;
  font-size: 1.25rem;
  font-weight: bold;
  clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
}

@media (max-width: 640px) {
  .sindan__text {
    padding: 1rem .5rem;
    font-size: 1rem;
    clip-path: polygon(3% 0%, 100% 0%, 97% 100%, 0% 100%);
  }
}

.sindan__text > span {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .sindan__text > span {
    white-space: nowrap;
  }
}

.sindan__figure {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.contact {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  width: 100%;
  max-width: 640px;
  margin: 5rem auto 0;
}

@media (max-width: 640px) {
  .contact {
    display: block;
  }
}

.only-sp {
  display: none;
}

@media (max-width: 640px) {
  .only-sp {
    display: block;
  }
}

@media (max-width: 640px) {
  .only_pc {
    display: none;
  }
}

.contact_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

@media (max-width: 640px) {
  .contact_wrap {
    flex-direction: column;
  }
}

.contact__title {
  width: 100%;
  max-width: 320px;
  padding: 2rem;
  color: #fff;
  background-color: #1452b6;
  font-size: 1.5rem;
  font-weight: bold;
  clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%);
  text-align: left;
}

@media (max-width: 640px) {
  .contact__title {
    margin: auto;
    padding: 1rem 1rem 2rem 1rem;
    font-size: 1.25rem;
    clip-path: polygon(0% 0%, 100% 0, 100% 80%, 50% 100%, 0 80%);
  }
}

.contact_wrap:first-of-type > .contact__title {
  background-color: #edb31f;
}


.contact__download {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 320px;
  min-height: 5rem;
  color: #fff;
  border-radius: 3rem;
  background-color: #1d96c7;
  font-size: 1.5rem;
  font-weight: bold;
}

@media (max-width: 640px) {
  .contact__download {
    min-height: 4rem;
    color: #fff;
    font-size: 1.25rem;
  }
}

.contact__download::after {
  position: absolute;
  right: 16px;
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  content: "";
  background-color: #fff;
  clip-path: polygon(0 10%, 0% 90%, 35% 50%);
}

.contact__sheet {
  grid-column: 1/3;
  grid-row: 3/4;
  margin-top: .5rem;
  font-size: 1.25rem;
  font-weight: bold;
}

@media (max-width: 640px) {
  .contact__sheet {
    margin-top: 1rem;
    font-size: 1rem;
  }
}

.contact__address {
  grid-column: 1/3;
  grid-row: 4/5;
  margin-top: .5rem;
  font-size: 1.25rem;
  font-weight: bold;
}

@media (max-width: 640px) {
  .contact__address {
    margin-top: 1rem;
    font-size: 1rem;
  }
}

.contact__url {
  grid-column: 1/3;
  grid-row: 5/6;
  margin-top: .5rem;
  color: #1452b6;
}

@media (max-width: 640px) {
  .contact__url {
    margin-top: 1rem;
  }
}

.contact__url > a {
  text-decoration: underline;
}