/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input,
select {
  vertical-align: middle;
}

/******************* リセットcssここまで **********************/

/*********************** 共通 ******************************/
html {
  margin: 0;
  padding: 0;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  padding: 0;
  font-weight: 500;
  color: #333;
  line-height: 2;
  letter-spacing: 0.1em;
  font-family: 'Noto Serif JP', serif;
  scroll-padding-top: 80px;
}

.wrap {
  overflow: hidden;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

h2,
h3,
h4,
h5 {
  margin: 0;
  padding: 0;
}

p {
  margin: 0;
  padding: 0;
  color: #262626;
}

img {
  width: 100%;
  vertical-align: bottom;
}

figure {
  margin: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

ul,
li,
dl,
dt,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
  transition: all 0.6s ease;
}

a:hover {
  transition: all 0.6s ease;
}

.content-wrapper {
  width: 90%;
  margin: 0 auto;
  max-width: 1400px;
}

/* ボタンパーツ */
.btn-parts {
  margin-top: 80px;
}

.btn-parts p {
  text-align: center;
  margin-bottom: 20px;
}

/* ボタンパーツ共通 */
.button {
  display: inline-block;
  width: 180px;
  height: 50px;
  text-align: center;
  text-decoration: none;
  line-height: 50px;
  outline: none;
  font-size: 14px;
  color: #fff;
}

.button::before,
.button::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: "";
}

.button,
.button::before,
.button::after {
  -webkit-transition: ease-in 0.3s;
  transition: ease-in 0.3s;
}

img {
  width: 100%;
  vertical-align: bottom;
}

* {
  list-style: none;
}

a {
  text-decoration: none;
  color: #fff;
}

/*********************** 共通 ここまで******************************/
main {
  position: relative;
  z-index: 0;
  font-family: 'Noto Serif JP', serif;
}

header {
  position: fixed;
  width: 100%;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
}

.site-logo {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  font-style: normal;
  display: flex;
  align-items: center;
}

.site-logo img {
  width: 100px;
  height: auto;
  margin-right: 5px;
  object-fit: cover;
}

.site-logo-txt {
  padding-left: 10px;
}

.sp-nav-btn,
.sp-nav {
  display: none;
}

.header-wrapper {
  display: flex;
  align-items: center;
  padding: 1% 3vw;
  transition: ease-in 0.3s;
}

.fa-chevron-right {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
}

.header-wrapper .btn-wrapper .button {
  border-radius: 50px;
  font-size: 14px;
  width: 160px;
    display: inline-block;
    padding-top: 16px;
}

.btn-wrapper {
  transition: ease-in 0.3s;
  border-radius: 50px;
}

.button:hover {
  background-color: #fff;
  color: #000858;
}



.pc-nav ul li {
  display: inline-block;
  vertical-align: middle;
  padding: 0 24px;
}

.pc-nav {
  margin-left: auto;
}

.hover-under-line a {
  position: relative;
  display: inline-block;
  margin: 10px 0;
  font-size: 14px;
  color: #fff;
}

.footer-under-line a {
  color: #ffffff;
}

.hover-under-line a:after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: "";
  width: 100%;
  height: 2px;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.footer-under-line a:after {
  background: #fff;
}

.footer-under-line a:after {
  bottom: -8px;
}

.hover-under-line a:hover:after {
  bottom: 0;
  opacity: 1;
  visibility: visible;
}

.footer-under-line a:hover:after {
  bottom: -4px;
}

/* メインビジュアル */
.mv img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: top;
}

.mv {
  position: relative;
  z-index: -1;
}

.mv__copy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  color: #ffffff;
  font-size: 48px;
}

.mv__copy img {
    object-fit: cover;
    width: 74%;
    height: auto;
    opacity: .85;
    margin: 0 auto;
}

.mv__en {
  position: absolute;
  top: 110%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  color: #262626;
  font-family: didot;
  font-size: 20px;
  letter-spacing: 0.2em;
  font-family: 'GFS Didot', serif;
  text-align: center;
}

.mv_other>img {
  height: 550px;
  object-position: center;
  filter: brightness(0.8);

}

.mv_other h2 {
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  letter-spacing: 0.15em;
  text-shadow: 0 0 1px #e9f1f6;
}

.mv_other span {
  font-size: 17px;
  display: block;
  font-weight: normal;
  letter-spacing: .1em;
  padding: 10px;
}
.mv__work img {
  width: 100%;
  height: 50vh;
  object-fit: cover;
  object-position: top;
}

.mail-form {
    text-align: center;
}
.mail-form iframe {
    width: 100%;
    height: 460px;
}

@media screen and (max-width: 768px) {

  .mv__copy {
    text-align: center;
    font-size: 30px;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  

  .mv__copy img {
    display: none;
  }

  .mv__en {
    font-size: 12px;

  }

  .mv img {
    height: auto;
  }

  .mv_other h2 {
    font-size: 22px;
    width: 100%;
    left: 50%;
  }
      

}

/* メインビジュアル */

/* スクロール後ヘッダー背景色 */
.header-wrapper.addColor {
  background: none;
  transition: ease-in 0.3s;
  background: #add8e6;
}

/* スクロール後ヘッダー背景色 */

.content-wrapper {
  width: 90%;
  margin: 0 auto;
  max-width: 1400px;
}

.btn {
  display: flex;
  justify-content: center;
}

.btn .button {
  position: relative;
  background: #3E4BAF;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn .button:after {
  position: absolute;
  height: 1px;
  width: 20%;
  background-color: #fff;
  right: 0;
  top: 50%;
  z-index: 1;
}

.btn .button:hover {
  border: 1px solid #5277C9;
  background-color: #ffffff;
  color: #5277c9;
}

.btn .button:hover:after {
  right: -20px;
  background-color: #5277c9;
}

.section-title {
  text-align: center;
  font-size: 64px;
  position: relative;
  font-family: times;
  font-weight: 400;
  font-style: normal;
  color: #333;
  line-height: 1.25;
  letter-spacing: .1em;
  padding-bottom: 24px;
}

.section-title:before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 2px;
  width: 50px;
  background-color: #C1AB05;
}


.sub-text {
  font-size: 16px;
  color: #4c4c4c;
  display: block;
  letter-spacing: .5em;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .section-title {
    font-size: 36px;
  }

  .sub-text {
    font-size: 12px;
  }
}

.about {
  padding: 80px 0;
}

.about__box {
  background-color: #fff;
  padding: 32px;
  width: 50%;
  margin: 0 auto;
  position: relative;
}

.about__box img {
  width: 250px;
  height: auto;
  margin-bottom: 5px;
}

.about .btn {
  text-align: center;
}

.about__inner {
  width: 90%;
  margin: 24px auto 48px;
  text-align: center;
}

.about__inner .section-title {
  padding: 0;
  margin-top: 16px;
}

@media screen and (max-width:768px) {
  .about {
    padding: 40px 0;
  }

  .about__inner {
    width: 100%;
    padding: 24px 0;
    margin: 0;
  }

  .about__box {
    background-color: #fff;
    padding: 0;
    width: 100%;
    margin: 0 auto;
  }
  .about__box img {
    width: 180px;
  }
}

.feature__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  height: 500px;
  position: relative;
}

.feature__item:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  background-color: rgba(0, 0, 0, 0.4);
}

.feature__item h3 {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  font-weight: normal;
}

.feature__item span {
  display: block;
  letter-spacing: .5em;
}

.bg_01 {
  background: url(img/bg_01.jpg) no-repeat;
  background-size: cover;
}

.bg_02 {
  background: url(img/bg_02.jpg) no-repeat;
  background-size: cover;
}

.bg_03 {
  background: url(img/bg_03.jpg) no-repeat;
  background-size: cover;
  background-position: center;
}

.feature__item:after {
  content: '';
  width: 90%;
  height: 70%;
  border: 1px solid #C1AB05;
}

@media screen and (max-width:768px) {
  .feature__item {
    height: 250px;
  }

  .feature__item h3 {
    font-size: 18px;
    font-weight: normal;
  }
}

.menu {
  padding: 80px 0;
}

.menu__list-flex {
  display: flex;
  justify-content: space-around;
  margin-top: 48px;
}


.menu__item {
  position: relative;
  width: 30%;
}

.menu__item img {
  height: 250px;
}

.menu__item p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    width: 100%;
    text-align: center;
}

.menu__item .overlay {
  overflow: hidden;
}

.menu__item .overlay:after {
  display: block;
  position: absolute;
  content: '';
  background: rgba(0, 0, 0, .4);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: ease-in .3s;
}

.menu__item img {
  transition: ease-in .3s;
}

.menu__item a:hover img {
  transform: scale(1.1);
  transition: ease-in .3s;
}

.menu__item .overlay:hover:after {
  transition: ease-in .3s;
  background: rgba(0, 0, 0, .1);

}

/* work */
.menu__list {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-template-rows: repeat(4,1fr);
  margin-top: 48px;
  width: 100%;
  gap: 30px 10px;
}
.menu__item__work {
  position: relative;
  width: 100%;
  height: 300px;
}
/* grid最後を中央に */
.menu__item__work:nth-last-of-type(1) {
  grid-area: 4 / 2 / 5 / 3;
}

.menu__item__work img {
  height: 300px;
}

.menu__item__work p {
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translate(-50%,0%);
    color: #333;
    font-size: 15px;
    width: 100%;
    text-align: left;
    line-height: 1.5;
    background-color: rgba(255, 255, 255, .9);
    padding: 5px 20px;
    height: 120px;
    border-left: #add8e6 solid 12px;
}

.menu__item__work p span {
  font-size: 24px;
  font-weight: 500;
}


@media screen and (max-width:768px) {
  .menu {
    padding: 40px 0;
  }

  .menu__list {
    display: block;
  }

  .menu__list-flex{
    display: block;
  }

  .menu__item {
    margin: 16px auto;
    width: 100%;
    height: auto;
  }

.menu__item__work {
    margin: 16px auto;
    width: 100%;
    height: auto;
    margin-bottom: 100px;
  }
  .menu__item__work p span {
    font-size: 20px;
  }

.menu__item__work p {
    width: 100%;
    text-align: left;
    line-height: 1.5;
    padding: 20px;
}
}

.follow {
  text-align: center;
  padding: 80px 0;
}

@media screen and (max-width:768px) {
  .follow {
    padding: 40px 0;
  }
}

.follow__text {
  margin: 48px 0 24px;
}

.fa-line,
.fa-instagram {
  color: #333333;
  font-size: 64px;
  transition: ease-in .3s;
  padding: 24px;
}

.fa-line:hover,
.fa-instagram:hover {
  transform: scale(1.1);
  transition: ease-in .3s;
}

.experience {
  text-align: center;
  background: url(img/experience_bg.jpg) no-repeat;
  background-size: cover;
  background-color: #ffffffd7;
  background-blend-mode: lighten;
  height: 500px;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.experience a {
  color: #333333;
  font-family: 'Domine', serif;
  font-size: 35px;
  text-decoration: none;
}

.experience h2 {
  font-size: 32px;
}

.experience span {
  font-size: 104px;
  letter-spacing: .1em;
}

@media screen and (max-width:480px) {
  
.experience span a{
  font-size: 6vw;
  letter-spacing: .1em;
}
}

.fa-phone-alt {
  font-size: 64px;
}

.fa-envelope-open:before {
    font-size: 35px;
}
    
@media screen and (max-width:768px) {
  .experience {
    padding: 40px 0;
    height: auto;
  }

  .experience h2 {
    font-size: 18px;
  }

  .experience span {
    font-size: 24px;
    font-family: Al Nile;
    letter-spacing: .1em;
    text-decoration: underline;
  }

  .fa-phone-alt {
    font-size: 24px
  }
}


.footer-right {
  width: 100%;
  height: auto;
}

.footer-right ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}

.footer-right li:not(:last-child) {
  margin: 0 24px;
}

.footer-right li:last-child {
  margin-left: 24px;
}

footer {
    background: #add8e6;
    color: #fff;
    padding: 80px 0;
}

.footer__last {
  font-size: 12px;
  margin-top: 20px;
}

.footer-logo {
  color: #ffffff;
  margin-bottom: 20px;
}

.copyright {
  font-family: Verdana, “Droid Sans”;
}

.flex {
  display: flex;
  align-items: center;
}

.img-text-1col {
  width: 50%;
}

.footer-right {
  width: 50%;
}


@media screen and (max-width:768px) {
  .footer-right li:last-child {
    margin: 0;
  }

  footer {
    padding: 35px 0;
  }

  footer .img-text-1col {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .footer-logo {
    display: flex;
    justify-content: center;
  }

  .flex {
    flex-direction: column-reverse;
  }

  .footer-right {
    margin-bottom: 30px;
  }

  .footer-right ul {
    flex-direction: column;
  }
}

/****************** index.html ここまで ******************/

.headline {
  position: relative;
  font-size: 2rem;
  margin-top: 24px;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 4px solid #C1AB05;
  color: #C1AB05;
  font-weight: normal;
  text-align: left;
}

.headline::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  z-index: 2;
  content: '';
  width: 20%;
  height: 4px;
  background-color: #c0c0c0;
}

.headline .sub-text {
  font-size: 16px;
  font-family: sans-serif;
  font-weight: normal;
  letter-spacing: 0.075em;
}

@media screen and (max-width:768px) {
  .headline .sub-text {
    font-size: 12px;
  }
}

.payment {
  padding: 80px 0;
}

.payment__text {
  text-align: center;
  margin: 40px 0;
  font-size: 18px;
}

.payment__list {
  text-align: center;
  margin: 40px 0;
  font-size: 40px;
}

.price {
  text-align: center;
  padding: 80px 0;
}

.price__list {
  margin-bottom: 40px;
}

.price__item {
  display: flex;
  justify-content: space-between;
  width: 50%;
  margin: 0 auto;
  position: relative;
  letter-spacing: 0;
}

.item-last-text {
  text-align: right;
  width: 50%;
  margin: 0 auto;
  font-size: 10px;
  padding-right: 10px;
}

.price__item span {
  font-size: 12px;
}

.price__item p {
  background-color: #fff;
  padding: 0 10px;
}

.price__item:after {
  content: "";
  height: 1px;
  width: 100%;
  border-top: 1px dotted #ccc;
  position: absolute;
  bottom: 16px;
  left: 0;
  z-index: -1;
}

.program__title {
  margin: 20px 0;
  font-weight: normal;
}

.program__item {
  position: relative;
  padding-left: 20px;
}

.program__item:before {
  content: '';
  display: block;
  position: absolute;
  top: 15px;
  left: 0;
  width: 15px;
  height: 1px;
  background-color: #000;
}

.program__list {
  display: inline-block;
  text-align: justify;
}

.price__desc {
  font-family: 'Domine', serif;
}

@media screen and (max-width:768px) {
  .price {
    padding: 40px 0;
  }
  .price__item {
    width: 100%;
  }
  .headline {
    font-size: 18px;
  }
  .price__item p {
    font-size: 14px;
  }
}

.overview-table-parts01 {
	padding: 80px 0;
}
.overview-table-parts01 table {
	width: 100%;
}
.overview-table-parts01 table tr {
	border-bottom: 1px solid #dcdcdc;
}
.overview-table-parts01 table tr th {
	padding: 30px 20px;
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    text-align: left;
    width: 300px;
}
.overview-table-parts01 table tr td {
  padding-left: 20px;
  padding-bottom: 20px;
}
@media screen and (max-width: 767px) {
	.overview-table-parts01 table tr th {
		display: block;
		width: 100%;
		text-align: left;
		padding-bottom: 0;
		padding: 15px 20px 0 20px;
	}
	.overview-table-parts01 table tr td {
		display: block;
		width: 100%;
		padding: 15px 0 15px 20px;
	}
}









.work-desc__content {
  background-color: rgb(231, 247, 255);
  padding: 40px 0;
}

.work-desc__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 80px 0;
  background-color: #fff;
}

.work-desc__inner img {
  width: 50%;
}

.work-desc__textbox {
  padding: 0 32px;
  width: 50%;
}

.work-desc__textbox h3 {
  position: relative;
  padding-left: 60px;
  font-size: 24px;
}

.work-desc__textbox h3::before {
  content: attr(data-number);
  position: absolute;
  top: 40%;
  left: 0;
  transform: translateY(-50%);
  color: rgba(63, 193, 201, 0.3);
  font-size: 48px;
}

.work-desc__textbox h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 1px;
  background-color: rgba(63, 193, 201, 1);
}

.work-desc__textbox p {
  padding: 24px;
  text-align: justify;
}

.work-desc__inner:nth-child(2n) {
  flex-direction: row-reverse;
}

@media screen and (max-width:768px) {
  .work-desc__inner {
    display: block;
  }

  .work-desc__inner img {
    width: 100%;
  }

  .work-desc__textbox {
    padding: 16px;
    width: 100%;
  }

  .work-desc__textbox h3 {
    font-size: 18px;
  }

  .work-desc__textbox p {
    padding: 18px;
  }
}

/***************************** works.htmlここまで *****************************/

.overview {
  padding: 160px 0;
}

.overview table {
  width: 100%;
}

.overview table tr {
  border-bottom: 1px solid #dcdcdc;
}

.overview table tr th {
  padding: 30px 20px;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  text-align: left;
  width: 300px;
}

.overview table tr td {
  padding-left: 20px;
  padding-bottom: 20px;
}

@media screen and (max-width: 768px) {
  .overview {
    padding: 40px 0;
  }

  .overview table tr th {
    display: block;
    width: 100%;
    text-align: left;
    padding-bottom: 0;
    padding: 15px 20px 0 20px;
  }

  .overview table tr td {
    display: block;
    width: 100%;
    padding: 15px 0 15px 20px;
  }
}

.map {
  position: relative;
  width: 50%;
  padding-top: 25%;
}

.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media screen and (max-width:768px) {
  .map {
    position: relative;
    width: 100%;
    padding-top: 50%;
  }
}

/***************************** company.htmlここまで *****************************/

.coming-soon {
  margin: 160px 0;
  font-size: 72px;
  text-align: center;
}
.mail-form iframe {
    width: 100%;
    height: 610px;
}

/***************************** contact.htmlここまで *****************************/



/***** ハンバーガー *****/
@media screen and (max-width: 768px) {

  .sp-nav-btn,
  .sp-nav {
    display: block;
  }

  .pc-nav {
    display: none;
  }

  .sp-nav__item a {
    color: #333333;
  }

  /* ハンバーガーボタンの中身 */
  .sp-nav-btn {
    position: relative;
    width: 25px;
    height: 16px;
    margin: 5% 0 7% 0;
    z-index: 20;
    margin-left: auto;
    cursor: pointer;
  }

  /* ハンバーガーボタンの中身 */

  /* ハンバーガーボタンの背景色 */
  .sp-nav-btn:before {
    content: "menu";
    position: absolute;
    color: #fff;
    width: 45px;
    height: 40px;
    font-size: 10px;
    top: -10px;
    right: -8px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 0px;
    padding-top: 45px;
  }

  /* ハンバーガーボタンの背景色 */

  .pc-nav ul,
  .btn-wrapper {
    display: none;
  }

  /* ハンバーガーの３本線 */

  .sp-nav-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: absolute;
  }

  .sp-nav-btn span:nth-of-type(1) {
    top: 0;
    right: 3px;
    transition: ease-in 0.3s;
  }

  .sp-nav-btn span:nth-of-type(2) {
    top: 0;
    bottom: 0;
    margin: auto;
    right: 3px;
    transition: ease-in 0.3s;
  }

  .sp-nav-btn span:nth-of-type(3) {
    bottom: 0;
    right: 3px;
    transition: ease-in 0.3s;
  }

  /* ハンバーガーの３本線 */

  /* ハンバーガークリック後の線の動き */
  .sp-nav-btn.active span:nth-of-type(1) {
    transform: translateY(10px) rotate(-45deg);
    transition: ease-in .3s;
    background-color: #333;
  }

  .sp-nav-btn.active span:nth-of-type(2) {
    opacity: 0;
    transition: ease-in .3s;

  }

  .sp-nav-btn.active span:nth-of-type(3) {
    transform: translateY(-4px) rotate(45deg);
    transition: ease-in .3s;
    background-color: #333;
  }

  .sp-nav-btn.active:before {
    opacity: 0;
    transition: ease-in .3s;
  }

  /* ハンバーガークリック後の線の動き */

  /* ハンバーガークリック後のメニュー */
  .sp-nav {
    display: block;
    position: fixed;
    z-index: 10;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    transform: translateX(100vw);
    transition: ease-in 0.3s;
    background: #fff;
  }

  /* ハンバーガークリック後のメニュー */

  .sp-nav.active {
    transform: translateX(0);
  }

  /* ハンバーガークリック後メニュー中身 */
  .sp-nav ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
  }

  .sp-nav ul li {
    font-size: 16px;
    text-align: center;
    padding-top: 24px;
  }

  .sp-btn-wrapper {
    height: 50px;
    line-height: 50px;
  }

  /* ハンバーガークリック後メニュー中身 */

  /***** ハンバーガーここまで *****/

}


.scrolldown4 {
  /*描画位置※位置は適宜調整してください*/
  position: absolute;
  bottom: 1%;
  right: 50%;
  /*矢印の動き1秒かけて永遠にループ*/
  animation: arrowmove 1s ease-in-out infinite;
}

/*下からの距離が変化して全体が下→上→下に動く*/
@keyframes arrowmove {
  0% {
    bottom: 1%;
  }

  50% {
    bottom: 3%;
  }

  100% {
    bottom: 1%;
  }
}

/*Scrollテキストの描写*/
.scrolldown4 span {
  /*描画位置*/
  position: absolute;
  left: -20px;
  bottom: 10px;
  /*テキストの形状*/
  color: #eee;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  /*縦書き設定*/
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}

/* 矢印の描写 */
.scrolldown4:before {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom: 0;
  right: -6px;
  /*矢印の形状*/
  width: 1px;
  height: 20px;
  background: #eee;
  transform: skewX(-31deg);
}

.scrolldown4:after {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom: 0;
  right: 0;
  /*矢印の形状*/
  width: 1px;
  height: 50px;
  background: #eee;
}

/*========= ローディング画面のためのCSS ===============*/
#splash {
	position: fixed;
	width: 100%;
	height: 100%;
	background: #add8e6;
	z-index: 9999999;
	text-align:center;
  color:#fff;
}

#splash-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
#splash-logo img {
	width: 45%;
}


/*========= 画面遷移のためのCSS ===============*/

/*画面遷移アニメーション*/
.splashbg{
    display: none;
}

/*bodyにappearクラスがついたら出現*/
body.appear .splashbg{
    display: block;
    content: "";
    position:fixed;
	z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
	left: 0;
    transform: scaleX(0);
    background-color: #333;/*伸びる背景色の設定*/
	animation-name:PageAnime;
	animation-duration:1.2s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;
}

@keyframes PageAnime{
	0% {
		transform-origin:left;
		transform:scaleX(0);
	}
	50% {
		transform-origin:left;
		transform:scaleX(1);
	}
	50.001% {
		transform-origin:right;
	}
	100% {
		transform-origin:right;
		transform:scaleX(0);
	}
}

/*画面遷移の後現れるコンテンツ設定*/
#container{
	opacity: 0;/*はじめは透過0に*/
}

/*bodyにappearクラスがついたら出現*/
body.appear #container{
	animation-name:PageAnimeAppear;
	animation-duration:1s;
	animation-delay: 0.8s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes PageAnimeAppear{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
}
}








.bgextend{
  animation-name:bgextendAnimeBase;
  animation-duration:1s;
  animation-fill-mode:forwards;
  position: relative;
  overflow: hidden;/*　はみ出た色要素を隠す　*/
  opacity:0;
}

@keyframes bgextendAnimeBase{
  from {
    opacity:0;
  }

  to {
    opacity:1;  
}
}

/*中の要素*/
.bgappear{
  animation-name:bgextendAnimeSecond;
  animation-duration:1s;
  animation-delay: 0.6s;
  animation-fill-mode:forwards;
  opacity: 0;
}

@keyframes bgextendAnimeSecond{
  0% {
  opacity: 0;
  }
  100% {
  opacity: 1;
}
}

/*左から*/
.bgLRextend::before{
  animation-name:bgLRextendAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #666;/*伸びる背景色の設定*/
}
@keyframes bgLRextendAnime{
  0% {
    transform-origin:left;
    transform:scaleX(0);
  }
  50% {
    transform-origin:left;
    transform:scaleX(1);
  }
  50.001% {
    transform-origin:right;
  }
  100% {
    transform-origin:right;
    transform:scaleX(0);
  }
}


.contact-form-parts {
  padding: 120px 0;
  text-align: center;
}


#formWrap {
  width: 100%;
  max-width: 700px;
	margin:0 auto;
	color:#555;
	line-height:120%;
  font-size:90%;
  text-align: left;
}
table.formTable{
	width:100%;
	margin:0 auto 20px;
	border-collapse:collapse;
}
table.formTable td,table.formTable th{
	/* border:1px solid #ccc; */
	padding:10px;
}
table.formTable th{
	width:30%;
	font-weight:normal;
  /* background:#4ba8de; */
  color: #121212;
  text-align:left;
  vertical-align: middle;
}

.formTable .caution-text {
  color: rgb(216, 15, 15);
}

table.formTable textarea {
  border: none;
  box-shadow: 0 0 0 1px #ccc inset;
}

.contact-button {
  display       : inline-block;
  border-radius : 5%;          /* 角丸       */
  font-size     : 16px;        /* 文字サイズ */
  text-align    : center;      /* 文字位置   */
  cursor        : pointer;     /* カーソル   */
  padding       : 12px 12px;   /* 余白       */
  background    : #4ba8de;     /* 背景色     */
  color         : #ffffff;     /* 文字色     */
  line-height   : 1em;         /* 1行の高さ  */
  transition    : .3s;         /* なめらか変化 */
  box-shadow    : 2px 2px 0px #666666;  /* 影の設定 */
  border        : 2px solid #4ba8de;    /* 枠の指定 */
  width: 100%;
  max-width: 150px;
}

.contact-button:hover {
  box-shadow    : none;        /* カーソル時の影消去 */
  color         : #4ba8de;     /* 背景色     */
  background    : #ffffff;     /* 文字色     */
}

.reset-button {
  background    : #fff;     /* 背景色     */
  color         : #4ba8de;     /* 文字色     */
}

.reset-button:hover {
  box-shadow    : none;        /* カーソル時の影消去 */
  color         : #fff;     /* 背景色     */
  background    : #4ba8de;     /* 文字色     */
}

.button-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.button-wrapper input {
  margin-bottom: 20px;
}


.m-form-text {
  height: 2.4em;
  width: 100%;
  padding: 0 16px;
  border-radius: 4px;
  border: none;
  box-shadow: 0 0 0 1px #ccc inset;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.m-form-text:focus {
  outline: 0;
  box-shadow: 0 0 0 2px rgb(33, 150, 243) inset;
}


@media screen and (max-width: 768px) {
  .contact-form-parts {
    padding: 40px 0;
  }
}




/*　簡易版レスポンシブ用CSS（必要最低限のみとしています。ブレークポイントも含め自由に設定下さい）　*/
@media screen and (max-width:572px) {
  #formWrap {
    width:95%;
    margin: 0 auto;  
  }
  table.formTable th, table.formTable td {
    width:auto;
    display:block;
    padding-bottom: 0;
  }
  table.formTable th {
    margin-top:5px;
    border-bottom:0;
  }
  input[type="text"], textarea {
    width:100%;
    padding:5px;
    font-size:110%;
    display:block;
  }
  input[type="submit"], input[type="reset"], input[type="button"] {
    /* display:block; */
    height:40px;
  }
  }
  
  .button {
    display       : inline-block;
    border-radius : 5%;          /* 角丸       */
    font-size     : 12pt;        /* 文字サイズ */
    text-align    : center;      /* 文字位置   */
    cursor        : pointer;     /* カーソル   */
    padding       : 10px 25px;   /* 余白       */
    background    : #333333;     /* 背景色     */
    color         : #ffffff;     /* 文字色     */
    line-height   : 1em;         /* 1行の高さ  */
    transition    : .3s;         /* なめらか変化 */
    box-shadow    : 1px 1px #666666;  /* 影の設定 */
    border        : 1px solid #333333;    /* 枠の指定 */
  }
  .button:hover {
    box-shadow    : none;        /* カーソル時の影消去 */
    color         : #333333;     /* 背景色     */
    background    : #ffffff;     /* 文字色     */
  }
  
  

/*********************** contact.htmlはここまで ***********************/
