@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho&display=swap');

/* @group Common ======================================================== */


/*　リセットCSS
--------------------------------------------- */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration : none;
  color: #000000;
  border: none;
  outline: none;
  transition: .3s;
}
a:hover {
  transition: .3s;
}
a img {
  transition: .3s;
}
a img:hover {
  opacity: .5;
  transition: .3s;
}
img {
  vertical-align: bottom;
}

ul, ol {
list-style : none;
margin: 0;
padding: 0;
}

input[type="submit"]{
  -webkit-appearance: none;
}


/* @end */

/* @group HTML */
html {
  font-family: 'Shippori Mincho', serif;
  font-size : 1rem;
  line-height: 1.75em;
  color: #000000;
  padding: 0;
  margin: 0;
  position: relative;
}

body {
  padding: 0;
  margin: 0;
  width: 100%;
}
h1,h2,h3,h4,h5,h6 {
  font-size: 1rem;
  font-weight: normal;
}
/* @end */

main {
  overflow: hidden;
}

.fadein {
  opacity : 0;
  transform : translate(0, 30px);
  transition : all 1s;
}
 
.fadein.active{
  opacity : 1;
  transform : translate(0, 0);
}



/* @group 1024px PC ======================================================== */
@media screen and (min-width : 767px) { /* PC */
  body {
    min-width: 1100px;
  }
  .wrap {
    width: 80%;
    min-width: 1100px;
    margin: 0 auto;
  }
  .sp {
    display: none;
  }
}
@media screen and (max-width : 768px) {  /* SP */
  body {
    font-size: 4.5vw;
  }
  .wrap {
    width: 85%;
    margin: 0 auto;
  }
  .pc {
    display: none;
  }
}


/* ----------------------------------------------------------
 Opening
---------------------------------------------------------- */
#start_back {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 101;
  background-color: #ECF4FA;
}
#start_back .start_logo {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 200px;
  height: 174px;
  text-align: center;
  color: #fff;
  font-size: 30px;
  animation: startLogo 1s;
}
@media screen and (max-width : 768px) {  /* SP */
  #start_back .start_logo {
    width: 150px;
    height: 130px;
  }
}
#start_back .start_logo img {
  width: 100%;
  height: auto;
}
@keyframes startLogo {
  0% { opacity: 0;}
  100% { opacity: 1;}
}
#start_back.open {
  animation-name: fadeOut;
  animation-fill-mode: forwards;
  animation-duration: 2s;
  animation-delay: 2s;
}
@keyframes fadeOut {
  0% { opacity: 1;}
  100% { opacity: 0;z-index: -1;}
}

body.home header {
  opacity: 0;
  animation-name: fadeOut2;
  animation-fill-mode: forwards;
  animation-duration: 2s;
  animation-delay: 2s;
}
body.home #toppage {
  animation-name: fadeOut2;
  animation-fill-mode: forwards;
  animation-duration: 2s;
  animation-delay: 2s;
}
@keyframes fadeOut2 {
  0% { opacity: 0;}
  100% { opacity: 1;}
}



/* ----------------------------------------------------------
 header
---------------------------------------------------------- */
header {
  position: fixed;
  z-index: 10;
  width: 100%;
}
header > nav {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}
header > nav h1 {
  margin-right: auto;
}
header > nav h1 a {
  display: block;
}
header > nav h1 a img {
  width: 100%;
}
header > nav .insta {
  margin-right: 10px;
}

@media screen and (min-width : 767px) { /* PC */
  header > nav {
    padding: 2rem;
  }
  header > nav h1 {
    opacity: 0;
    transition: .5s;
  }
  header.is-animation > nav h1 {
    width: 100px;
    opacity: 1;
    transition: .5s;
  }
}

@media screen and (max-width : 768px) {  /* SP */
  header > nav {
    padding: 1rem 1rem 0 1rem
  }
  header > nav h1 {
    width: 37.5vw;
    transition: .3s;
    padding: 0.5rem 0 0 0.5rem;
  }
  header.is-animation > nav h1 {
    width: 20vw;
    transition: .3s;
    padding: 0;
  }
}


/* Gloval Nav
--------------------------------------------- */
#nav-toggle {
  position: relative;
  top: 0;
  right: 0;
}
#nav-toggle div {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0;
  background: #000000;
  text-align: center;
  transition: 0.6s;
  cursor: pointer;
  border-radius: 60px;
}
#nav-toggle div:hover {
  opacity: 1;
  transition: 0.6s;
}
#nav-toggle div span {
  display: block;
  position: absolute;
  left: 30%;
  width: 40%;
  height: 2px;
  background: #ffffff;
  transition: transform .6s ease-in-out, top .5s ease;
}
#nav-toggle div span:nth-child(1) { top: 24px; }
#nav-toggle div span:nth-child(2) { top: 36px; }
#gloval-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 998;
  text-align: center;
  transition: opacity .85s ease, visibility .85s ease;
}
 #gloval-nav nav {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  background-color: rgba(255,255,255,0.95);
}
#gloval-nav nav h2 {
  margin-right: 3rem;    
  padding: 0 1em;
}
#gloval-nav nav h2 img {
  width: 200px;
}
#gloval-nav nav ul {
  display: flex;
  list-style: none;
  background-color: transparent;
  position: relative;
  border-left: 1px solid #cccccc;
}
#gloval-nav nav ul li {
  opacity: 0;
  font-size: 1.25rem;
  text-align: left;
  border-right: 1px solid #cccccc;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}
#gloval-nav nav ul li a {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  transition: .6s ease;
  color: #000000;
}
#gloval-nav nav ul li a:hover {
  transition: .5s;
  color: #C30D23;
}

/* open */
.open { overflow: hidden; }
.open #nav-toggle {
  z-index: 999;
}
.open #nav-toggle div:after {
  display: none;
  transition: 0.6s;
}
.open #nav-toggle div span { background: #ffffff; }
.open #nav-toggle div span:nth-child(1) {
  top: 30px;
  transform: rotate(45deg);
}
.open #nav-toggle div span:nth-child(2) {
  top: 30px;
  transform: rotate(-45deg);
}
.open #gloval-nav {
  visibility: visible;
  opacity: 1;
}
.open #gloval-nav nav ul li {
  opacity: 1;
  transform: translateX(0);
  transition:  transform 1s ease, opacity .9s ease;
}
@media screen and (max-width : 768px) { /* SP */
  header > nav .insta {
    width: 56px;
  }
  header > nav .insta img {
    width: 100%;
  }
  #nav-toggle div {
    width: 56px;
    height: 56px;
  }
  #nav-toggle div span:nth-child(1) { top: 22px; }
  #nav-toggle div span:nth-child(2) { top: 33px; }
  .open #nav-toggle div span:nth-child(1),
  .open #nav-toggle div span:nth-child(2) {
    top: 28px;
  }
  #gloval-nav nav {
    flex-direction: column;
  }
  #gloval-nav nav h2 {
    margin-right: 0;
    margin-bottom: 2rem;
  }
  #gloval-nav nav h2 img {
    width: 40vw;
  }
  #gloval-nav nav ul {
    justify-content: center;
    width: 90%;
    margin: 0 auto;
    padding-left: 0;
    border-left: 0;
  }
  #gloval-nav nav ul:after {
    content: none;
  }
  #gloval-nav nav ul li:first-child {
    border-left: 1px solid #cccccc;
  }
  #gloval-nav nav ul li a {
    display: flex;
    align-items: flex-start;
    padding: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    font-size: 1rem;
    text-align: center;
  }
}

/* ----------------------------------------------------------
 common
---------------------------------------------------------- */
.flex {
  display: flex;
}
.txtrl {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}
.bgblue {
  background-color: #ECF4FA;
}


/* ----------------------------------------------------------
 toppage
---------------------------------------------------------- */
#toppage {
  opacity: 0;
  position: relative;
  padding-top: 4rem;
  padding-bottom: 3rem;
  margin: 0 auto;
}
#toppage .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
#toppage .inner figure {
  width: 100%;
  margin-bottom: 2rem;
}
#toppage .inner figure img {
  width: 100%;
}
#toppage h1 img {
  width: 100%;
}
#toppage ul {
  display: flex;
}
#toppage ul li {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  border-right: 1px solid #cccccc;
}
#toppage ul li:first-child {
  border-left: 1px solid #cccccc;
}
#toppage ul li a {
  display: block;
  padding: 1em 0.5em;
}

@media screen and (min-width : 767px) { /* PC */  
  #toppage h1 {
    position: absolute;
    left: 50%;
    top: 6rem;
    width: 250px;
    margin-left: -560px;
  }
  #toppage .inner {
    width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #toppage ul {
    position: absolute;
    top: calc(4rem + 493px);
    left: 50%;
    height: 200px;
    margin-left: 300px;
    margin-top: -200px;
  }
}
@media screen and (max-width : 768px) {  /* SP */
  #toppage {
    padding: 110px 5% 2rem 5%;
  }
  #toppage .wrap {
    flex-direction: column;
    width: 100%;
  }
  #toppage ul {
    order: 1;
    width: 100%;
    margin-bottom: 1rem;
    justify-content: end;
  }
  #toppage ul li:first-child {
    margin-left: auto;
  }
  #toppage ul li a {
    display: flex;
    align-items: center;
    padding: 1em 0.25em;
    font-size: 4vw;
  }
  #toppage .inner {
    order: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* ----------------------------------------------------------
 about
---------------------------------------------------------- */
#about article {
  padding: 3rem 0;
}
#about article:nth-of-type(1) {
  display: flex;
  justify-content: center;
}
#about article:nth-of-type(1) .left {
  padding-right: 15%;
}
#about article:nth-of-type(1) .left h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
#about article:nth-of-type(1) .left ul {
  position: relative;
  padding-left: 1rem;
}
#about article:nth-of-type(1) .left ul:before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  width: 1px;
  height: 80%;
  background-color: #cccccc;
}
#about article:nth-of-type(1) .left ul li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
#about article:nth-of-type(1) .left ul li:before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2.4rem;
  background-image: url(images/icon-pc.svg);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  margin-right: 1rem;
}
#about article:nth-of-type(1) .left ul li:nth-child(2):before {
  background-image: url(images/icon-note.svg);
}
#about article:nth-of-type(1) .left ul li:nth-child(3):before {
  background-image: url(images/icon-graph.svg);
}
#about article:nth-of-type(1) .left ul li span {
  color: #C30D23;
}
#about article:nth-of-type(1) p {
  padding: 2rem 0;
}

#about article:nth-of-type(2) ul {
  display: flex;
  flex-direction:row-reverse;
  justify-content: center;
}
#about article:nth-of-type(2) ul li {
  display: flex;
  align-items: center;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  margin-left: 3rem;
}
#about article:nth-of-type(2) ul li:last-child {
  margin-left: 0;
}
#about article:nth-of-type(2) ul li:before {
  content: "";
  display: block;
  width: 90%;
  height: 3.5rem;
  background-image: url(images/icon-flask.svg);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  margin-bottom: 1.5rem;
}
#about article:nth-of-type(2) ul li:nth-child(2):before {
  background-image: url(images/icon-compass.svg);
}
#about article:nth-of-type(2) ul li:nth-child(3):before {
  background-image: url(images/icon-square.svg);
}
#about article:nth-of-type(2) ul li:nth-child(4):before {
  background-image: url(images/icon-globe.svg);
}
#about article:nth-of-type(2) ul li:nth-child(5):before {
  background-image: url(images/icon-stationery.svg);
}
#about article:nth-of-type(2) ul li h3 {
  margin-left: 0.5rem;
  font-size: 1.5rem;
}

@media screen and (max-width : 768px) {  /* SP */
  #about article:nth-of-type(1) {
    flex-direction: column;
  }
  #about article:nth-of-type(1) .left {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 0;
  }
  #about article:nth-of-type(1) .left h2 {
    margin-left: -3em;
  }
  #about article:nth-of-type(1) p {
    display: flex;
    align-items: center;
    padding: 3rem 0 1rem 0;
  }
  #about article:nth-of-type(2) ul {
    flex-wrap: wrap;
    width: 80vw;
    margin: 0 auto;
  }
  #about article:nth-of-type(2) ul li {
    width: 50%;
    margin: 0 0 2rem 0;
  }
}


/* ----------------------------------------------------------
 score
---------------------------------------------------------- */
#score {
  padding: 4rem 0;
}
#score .title {
  display: flex;
  flex-direction:row-reverse;
  width: 1000px;
  margin: 0 auto 2rem auto;
}
#score .title figure {
  width: 50%;
  padding: 0 3rem;
}
#score .title figure img {
  width: 100%;
}
#score .title h2 {
  display: flex;
  align-items: center;
  width: 50%;
  padding: 0 3rem;
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.5em;
}
#score .title h2:before {
  content: "";
  display: block;
  width: 3em;
  height: 5.5rem;
  background-image: url(images/icon-binder.svg);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  margin-bottom: 1rem;
}
#score ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#score ul li {
  width: 500px;
  padding: 1rem 3rem;
  margin-bottom: 1.5rem;
}
#score ul li h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
#score ul li h3 span {
  padding-left: 2em;
  color: #C30D23;
  font-size: 1rem;
}
#score ul li .flex {
  margin-bottom: 1rem;
}
#score ul li .flex:last-of-type {
  margin-bottom: 0;
}
#score ul li .flex h4 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25%;
  margin-right: 1rem;
  border: 1px solid #000000;
}
#score ul li .flex dl {
  width: 50%;
  display: flex;
  flex-wrap: wrap;
}
#score ul li .flex dl dt {
  width: 50%;
}
#score ul li .flex dl dd {
  width: 50%;
}
#score ul li .flex dl + p {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25%;
  text-align: center;
  background-color: #C30D23;
  color: #ffffff;
  line-height: 1.25em;
}

@media screen and (max-width : 768px) {  /* SP */
  #score {
    padding: 3rem 0 2rem 0;
  }
  #score .title {
    width: 100%;
    margin: 0 auto;
  }
  #score .title figure {
    width: 65%;
    padding: 0;
  }
  #score .title figure img {
    object-fit: cover;
    object-position: left;
    width: 100%;
    height: 100%;
  }
  #score .title h2 {
    width: 35%;
    padding: 0;
  }
  #score ul {
    margin-top: 2rem;
  }
  #score ul li {
    width: 95%;
    padding: 0;
    margin: 0 2.5% 2rem 2.5%;
  }
  #score ul li h3 {
    font-size: 5vw;
  }
  #score ul li h3 span {
    display: block;
    padding-left: 0;
    font-size: 4vw;
  }
  #score ul li .flex h4 {
    width: calc(20% - 0.5rem);
    margin-right: 0.5rem;
    font-size: 4vw;
  }
  #score ul li .flex dl {
    width: 54.5%;
    font-size: 4vw;
  }
  #score ul li .flex dl + p {
    width: 25.5%;
    font-size: 4vw;
  }
}


/* ----------------------------------------------------------
 price
---------------------------------------------------------- */
#price {
  padding: 4rem 0;
}
#price .flex {
  align-items: center;
  justify-content: center;
}
#price .flex .left {
  width: 50%;
  text-align: center;
}
#price .flex .left h2 {
  margin-bottom: 2rem;
  font-size: 1.5rem;
  line-height: 1.5em;
}
#price .flex .left ul li {
  margin-bottom: 1rem;
}
#price .flex .left ul li a {
  padding: 0.5rem;
  border-bottom: 1px solid #cccccc;
}
#price .flex .right {
  width: 50%;
}
#price .flex .right img {
  width: 100%;
}

@media screen and (max-width : 768px) {  /* SP */
  #price .flex {
    flex-direction: column;
  }
  #price .flex .right {
    order: 1;
    width: 100%;
    margin-bottom: 2rem;
  }
  #price .flex .left {
    order: 2;
    width: 100%;
  }
  #price .flex .left h2 {
    font-size: 1.25rem;
  }
}


/* ----------------------------------------------------------
 policy
---------------------------------------------------------- */
#policy {
  padding: 4rem 0;
}
#policy .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
#policy .wrap p {
  padding-left: 5rem;
}
#policy .wrap .right {
  width: 50%;
}
#policy .wrap .right img {
  width: 100%;
}

@media screen and (max-width : 768px) {  /* SP */
  #policy .wrap {
    flex-direction: column;
  }
  #policy .wrap .right {
    order: 1;
    width: 100%;
    margin-bottom: 2rem;
  }
  #policy .wrap p {
    order: 2;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0;
  }
}


/* ----------------------------------------------------------
 contact
---------------------------------------------------------- */
#contact {
  padding: 4rem 0;
}
#contact .wrap:nth-of-type(1) {
  display: flex;
  justify-content: center;
}
#contact .wrap:nth-of-type(1) h2 {
  display: flex;
  align-items: center;
  padding: 1rem;
  margin-right: 2rem;
  border: 1px solid #000000;
  font-size: 1.5rem;
}
#contact .wrap:nth-of-type(1) p {
  text-align: center;
}
#contact .wrap:nth-of-type(2) {
  display: flex;
  justify-content: center;
  padding: 4rem 0;
  text-align: center;
} 
#contact .wrap:nth-of-type(2) div {
  margin-left: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#contact .wrap:nth-of-type(2) div h2 {
  display: inline-flex;
  align-items: flex-end;
  margin-bottom: 1rem;
}
#contact .wrap:nth-of-type(2) div h2:before {
  content: "";
  display: block;
  width: 3.25rem;
  height: 2.5rem;
  background-image: url(images/icon-mail.svg);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  margin-right: 1rem;
}
#contact .wrap:nth-of-type(2) div h2 span {
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #000000;
  font-size: 1.5rem;
}
#contact .wrap:nth-of-type(2) div p {
  margin-right: 2rem;
}
#contact .wrap:nth-of-type(2) div p a {
  margin-right: 1em;
}
#contact .map {
  text-align: center;
}
#contact .map iframe {
  width: 100% !important;
  height: 300px !important;
}

@media screen and (max-width : 768px) {  /* SP */
  #contact {
    padding: 4rem 0 1rem 0;
  }
  #contact .wrap:nth-of-type(1) {
    flex-direction: column;
  }
  #contact .wrap:nth-of-type(1) h2 {
    justify-content: center;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  #contact .wrap:nth-of-type(2) {
    flex-direction: column;
    padding: 4rem 0 2rem 0;
  }
  #contact .wrap:nth-of-type(2) div {
    margin-left: 0;
    margin-top: 1rem;
  }
  #contact .wrap:nth-of-type(2) div h2 {
    justify-content: center;
  }
  #contact .wrap:nth-of-type(2) div h2:before {
    width: 3rem;
    height: 2rem;
    margin-right: 0.5rem;
  }
  #contact .wrap:nth-of-type(2) div h2 span {
    font-size: 5.5vw;
  }
  #contact .wrap:nth-of-type(2) div p {
    margin-right: 0;
  }
  #contact .wrap:nth-of-type(2) div p a {
    margin-right: 0.5em;
  }
  #contact .map {
    width: 100%;
  }
  #contact .map iframe {
    height: 30vh !important;
  }
}


/* ----------------------------------------------------------
 footer
---------------------------------------------------------- */
footer .wrap {
  position: relative;
  padding: 1rem 0;
  text-align: center;
}
footer .wrap p:nth-of-type(1) img {
  width: 400px;
}
footer .wrap p:nth-of-type(2) img {
  width: 60px;
}
footer small {
  display: block;
  width: 100%;
  background-color: #727171;
  color: #ffffff;
  font-size: 0.85rem;
  text-align: center;
}

@media screen and (min-width : 767px) { /* PC */   
  footer .wrap p:nth-of-type(2) {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media screen and (max-width : 768px) {  /* SP */
  footer .wrap {
    display: flex;
    flex-direction: column;
  }
  footer .wrap p:nth-of-type(1) {
    order: 2;
  }
  footer .wrap p:nth-of-type(1) img {
    width: 80vw;
  }
  footer .wrap p:nth-of-type(2) {
    order: 1;
    position: relative;
    margin-bottom: 1rem;
  }
  footer small {
    font-size: 3.5vw;
    margin-bottom: 2rem;
  }
}

/*　Page Top Button
--------------------------------------------- */
#PageTopBtn {
  position: fixed;
  right: 3%;
  z-index: 100;
  width: 60px;
}
#PageTopBtn a img {
  width: 100%;
}

@media (min-width: 768px) {
  #PageTopBtn a {
    width: 100px;
    height: 70px;
    padding: 24px 0;
  }
}

@media (max-width: 767px) {
  #PageTopBtn {
    font-size: 10px;
    width: 10vw;
    right: 6vw;
  }
  #PageTopBtn a {
    width: 70px;
    height: 50px;
    padding: 17px 0;
  }
  #PageTopBtn a img {
    width: 100%;
  }
}



/* ----------------------------------------------------------
 contact form
---------------------------------------------------------- */
.contactform {
  padding-top: 120px;
}
.contactform section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}
.contactform h2 {
  text-align: center;
  display: inline-flex;
  align-items: center;
  margin-bottom: 3rem;
}
.contactform h2:before {
  content: "";
  display: block;
  width: 4.25rem;
  height: 3.5rem;
  background-image: url(https://aqua-zemi.jp/images/icon-mail.svg);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  margin-right: 1.5rem;
}
.contactform h2 div {
  font-size: 1.5rem;
}
.contactform h2 div span {
  display: block;
  font-size: 1rem;
}
.contactform h2 + p {
  text-align: center;
}
.contactform form {
  width: 90%;
  margin: 0 5% 2rem 5%;
}
.contactform table {
  width: 100%;
  margin: 2rem auto;
  border: 1px solid #cccccc;
  border-bottom: 0;
}
.contactform table tbody tr {
  display: flex;
}
.contactform table tbody tr th {
  display: block;
  width: 20%;
  padding: 1rem;
  background-color: #efefef;
  border-bottom: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
  text-align: left;
  font-weight: normal;
}
.contactform .red {
  opacity: 0;
}
.contactform table tbody tr td {
  display: block;
  width: 80%;
  padding: 1rem;
  border-bottom: 1px solid #cccccc;
  text-align: left;
}
.contactform input,
.contactform textarea {
  width: 100%;
  border: 1px solid #cccccc;
  font-size: 1.2rem;
  line-height: 1.5em;
}
.contactform textarea {
  resize: vertical;
}
.contactform input[name="item_address_2"] {
  margin-top: 0.5rem;
}
.contactform td label {
  margin-right: 2em;
}
.contactform td select {
  padding: 0.25rem;
  border: 1px solid #cccccc;
  font-size: 1rem;
}
.contactform .red_txt {
  color: #C30D23;
  font-weight: bold;
  font-size: 1.25rem;
  text-align: left;
}
.contactform input[type="submit"] {
  width: initial;
  display: block;
  width: 200px;
  text-align: center;
  color: #ffffff;
  background-color: #000000;
  padding: 1rem 3rem;
  margin: 0 1rem;
  letter-spacing: 1em;
  text-indent: 1em;
  transition: .6s;
  font-family: 'Shippori Mincho', serif;
}
.contactform input[type="submit"]:hover {
  opacity: 0.5;
  transition: .6s;
}
.contactform form + p,
.contactform form + p + p {
  margin-bottom: 1.5em;
}
.contactform form + p + p a {
  margin-right: 1em;
}
.contactform .button_box {
  display: flex;
  justify-content: center;
}
.completion {
  display: flex;
  flex-direction: column;
  height: 100vh;
}
.completion footer {
  margin-top: auto;
}

@media screen and (max-width : 768px) {  /* SP */
  .completion {
    height: 100%;
  }
  .contactform h2 {
    flex-direction: column;
    margin-bottom: 2rem;
  }
  .contactform h2:before {
    width: 3.25rem;
    height: 2.5rem;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  .contactform h2 + p {
    text-align: left;
  }
  .contactform form {
    width: 100%;
    margin: 1rem 0;
  }
  .contactform table tbody tr {
    flex-direction: column;
  }
  .contactform table tbody tr th {
    width: 100%;
    padding: 0.5rem;
    border-right: 0;
  }
  .contactform table tbody tr td {
    width: 100%;
  }
  .contactform .button_box {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contactform .button_box input {
    margin-bottom: 1rem;
  }
  .completion footer {
    padding-top: 4rem;
  }
}

