/* ---------------
common
---------------*/

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Vollkorn:wght@400;700&display=swap");

html[lang="ja"] {
  font-family: "Vollkorn", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #001f54;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Vollkorn", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #001f54;
  margin: 0;
  padding: 0;
  font-size: 18px;
  -webkit-text-size-adjust: 100%;
}
a {
  color: #007dcb;
}
::before,
::after {
  box-sizing: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button {
  -webkit-appearance: none;
  appearance: none;
  vertical-align: middle;
  border: 0;
  outline: 0;
  background: transparent;
  border-radius: 0;
  text-align: inherit;
}
button:hover {
  cursor: pointer;
}

@media screen and (max-width: 767px) {
  body {
    font-size: 14px;
  }
}

@media screen and (min-width: 768px) {
  /* PC用CSS指定 */
  .onlyPc {
    display: block;
  }
  body .onlySp,
  body .slick-slide img.onlySp {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  /* SP用CSS指定 */
  body .onlyPc,
  body .slick-slide img.onlyPc {
    display: none;
  }
  .onlySp {
    display: block;
  }
}

/*** slider ここから ***/
.slider {
  width: 100%;
  margin: 0 auto;
}
.slick-slide {
  margin: 0px 15px;
}
.slick-slide img {
  width: 100%;
}
.slick-prev:before,
.slick-next:before {
  animation: anime1 0.5s ease 0s infinite alternate;
  transform-origin: center;
  display: block;
}
@keyframes anime1 {
  from {
    transform: scale(0.9, 0.9);
  }
  to {
    transform: scale(1, 1);
  }
}
.slick-slide {
  transition: all ease-in-out 0.3s;
  opacity: 0.2;
}

.slick-current {
  opacity: 1;
}
.slick-prev {
  left: -65px;
  z-index: 10;
}
.slick-next {
  right: -65px;
}
@media screen and (max-width: 767px) {
  .slick-prev {
    left: 5px;
  }
  .slick-next {
    right: 5px;
  }
}
/*** slider ここまで ***/

body.doc_en {
  background: url(../img/bg001.jpg) center top;
}
/* ---------------
section2
---------------*/
.section2Content {
  padding-top: 60px;
  padding-bottom: 50px;
}
.section2__contentWrap {
  width: 990px;
  margin: 0 auto;
}

.section2Box {
  width: 960px;
  margin: 0 15px 15px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 8px #000;
}
.section2Box__content {
  height: 540px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}
.slide001_img2 {
  background: url(../img/slide001_img2.jpg) no-repeat;
  background-size: 100%;
}
.slide001_img2txt {
  padding-left: 50px;
  padding-top: 140px;
}
.slide001_img2txt h3 {
  font-size: 28px;
  margin-bottom: 15px;
}
.slide001_img2txt p {
  font-size: 18px;
  line-height: 1.8;
}
.section2Box__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  padding: 15px 25px;
  background: #001f54;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
}

.section2Box__footerBox1 {
  text-align: left;
}
.section2Box__ttl {
  font-size: 38px;
}
.section2Box__footerBox1 p {
  font-size: 18px;
}
.docec__Btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 50px;
  padding: 15px 30px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}
.docec__Btn:hover {
  border: 2px solid #fff;
  color: #001f54;
  background: #fff;
}
.docec__Btn::before {
  content: "";
  background: url(../img/icon_btn_download.png) no-repeat;
  background-size: 25px 25px;
  width: 25px;
  height: 25px;
  display: block;
  margin-right: 20px;
}
.docec__Btn::after {
  content: "";
  background: url(../img/icon_box.png) no-repeat;
  background-size: 30px 22px;
  width: 30px;
  height: 23px;
  display: block;
  margin-left: 20px;
}
.docec__Btn:hover::before {
  content: "";
  background: url(../img/icon_btn_download_ov.png) no-repeat;
  background-size: 25px 25px;
  width: 25px;
  height: 25px;
  display: block;
  margin-right: 20px;
}
.docec__Btn:hover::after {
  content: "";
  background: url(../img/icon_box_ov.png) no-repeat;
  background-size: 30px 22px;
  width: 30px;
  height: 23px;
  display: block;
  margin-left: 20px;
}
.docec__BtnContent {
  display: block;
}
.docec__Btntext1 {
  font-size: 18px;
  display: block;
}

.docec__Btntext2 {
  font-size: 24px;
  display: inline-block;
}

/* お問い合わせフォーム */
.p-doc-en-form-header {
  width: 100%;
}

.p-doc-en-form-header__img {
  width: 100%;
  aspect-ratio: 960 / 150;
}

.p-doc-en-form-header__img img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.p-doc-en-form {
  width: 100%;
}

.p-doc-en-form__content {
  width: 100%;
  max-width: 1175px;
  margin-inline: auto;
}

.p-form {
  padding: 40px 50px 80px;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.p-form *.error {
  width: 100%;
  color: #ff4f4f;
  font-size: 12px;
  line-height: 1.42857143;
  padding: 2px 5px;
}

.p-form__wrapper {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 60px;
}

.p-form__item {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: start;
}

.p-form__label {
  padding-top: 7px;
  width: 30%;
}

.p-form__label-text {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 14px;
  line-height: 1.42857143;
  color: #333;
}

.p-form__icon {
  border-radius: 0.25em;
  color: #fff;
  font-size: 75%;
  line-height: 1;
  padding: 0.2em 0.6em;
  text-align: center;
  vertical-align: baseline;
  white-space: nowrap;
  margin-left: 5px;
}

.p-form__icon.p-form__icon--required {
  background-color: #d9534f;
}

.p-form__icon.p-form__icon--not-required {
  background-color: #777777;
}

.p-form__input {
  width: 70%;
}

.p-form__input-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
}

.p-form__input-text {
  color: #555;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 14px;
  padding: 6px 10px;
  width: 100%;
  line-height: 1;
  outline: none;
}

.p-form__input-text.error-input-field {
  background-color: #ffdcdc;
  border: 1px solid #ff4f4f;
}

.p-form__input-text--middle,
.p-form__input-text--first {
  width: 50%;
}

.p-form__input-text.p-form__input-text--textarea {
  height: 100px;
  resize: vertical;
  line-height: 150%;
}

.p-form__button {
  margin-top: 80px;
  text-align: center;
}

.p-form__input-button {
  width: 200px;
  background-color: rgb(0, 31, 84);
  height: 40px;
  border-radius: 4px;
  font-size: 16px;
  color: rgb(255, 255, 255);
  border-width: 1px;
  border-color: rgb(2, 117, 216);
  -webkit-box-shadow: none;
  box-shadow: none;
}

.p-form__input-button:hover {
  opacity: 0.8;
}

.p-doc-en-form-footer {
  width: 100%;
}

.p-doc-en-form-footer__img {
  width: 100%;
  aspect-ratio: 940 / 150;
}

.p-doc-en-form-footer__img img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

@media screen and (max-width: 767px) {
  /* SP用CSS指定 */
  .section2 {
    padding: 0;
    background: url(../img/bg001.jpg) center top;
  }
  .section2Content {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .section2__contentWrap {
    width: 100%;
    margin: 0 auto;
  }
  .section2Box__header {
    padding: 10px;
  }
  .section2Box {
    margin: 0 20px;
  }
  .section2Box__box {
    display: block;
  }
  .section2_ttl {
    font-size: 21px;
    margin-bottom: 10px;
  }

  .section2Box__content {
    height: auto;
  }
  .section2Box__Sp h2 {
    font-size: 18px;
    text-align: center;
    padding: 20px 0;
  }
  .section2Box__Sp .logoimg {
    text-align: center;
    width: 60%;
    margin: 0 auto;
    display: block;
    padding-bottom: 20px;
  }
  .slide001_img2 {
    background: none;
  }

  .slide001_img2txt {
    padding: 15px;
  }
  .slide001_img2txt h3 {
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
  }
  .slide001_img2txt p {
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
  }
  .section2Box__footer {
    display: block;
    color: #fff;
    padding: 15px 10px;
    background: #001f54;
    overflow: hidden;
    border-radius: 0 0 16px 16px;
  }
  .section2Box__ttl {
    font-size: 18px;
    text-align: center;
  }
  .section2Box__footerBox1 p {
    text-align: center;
    padding-bottom: 10px;
    font-size: 14px;
  }
  .docec__Btn {
    padding: 5px 0;
  }
  .docec__Btntext1 {
    font-size: 14px;
    text-align: center;
  }
  .docec__Btntext2 {
    font-size: 15px;
  }
  .docec__Btn::before {
    margin-right: 10px;
  }
  .docec__Btn::after {
    margin-left: 10px;
  }
  .docec__Btn:hover::before {
    margin-right: 10px;
  }
  .docec__Btn:hover::after {
    margin-left: 10px;
  }

  /* お問い合わせフォーム */

  .p-form {
    padding: 30px 15px 60px;
  }

  .p-form__wrapper {
    gap: 30px;
  }

  .p-form__item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 10px;
  }

  .p-form__label {
    width: 100%;
  }

  .p-form__label-text {
    font-weight: bold;
  }

  .p-form__input {
    width: 100%;
    padding: 0 5px;
  }

  .p-form__button {
    margin-top: 50px;
  }
}

/* ---------------
footer
---------------*/

.snsBox {
  display: flex;
  align-items: center;
  justify-content: center;
}
.snsBox li {
  list-style: none;
}
.snsBox li a {
  padding: 8px;
}
.snsBox li a img {
  width: 50px;
  height: 50px;
}
.footer {
  padding: 40px 0;
  text-align: center;
  font-size: 16px;
  min-height: 300px;
}
.copyright {
  font-size: 12px;
  color: #fff;
}

@media screen and (max-width: 767px) {
  /* SP用CSS指定 */
  .footer {
    padding: 20px 0;
    font-size: 12px;
    min-height: 180px;
  }
}
/* ---------------
other
---------------*/

.fixedArea {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 0 0;
}
.fixedArea__btn img {
  margin: 0 auto;
  /* animation: anime2 0.5s ease 0s infinite alternate; */
  transform-origin: center;
}
@keyframes anime2 {
  from {
    transform: scale(0.99, 0.99);
  }
  to {
    transform: scale(1, 1);
  }
}

.gototop {
  position: fixed;
  bottom: 130px;
  margin: 0 auto;
  width: 100%;
}
.gototop__contentWrap {
  margin: 0 auto;
  width: 1200px;
}
.gototop__btn {
  float: right;
  margin: 0 auto;
}
.gototop__btn img {
  width: 66px;
  height: 66px;
}
p#success-message {
    border: 1px solid #009900;
    border-radius: 5px;
    margin-top: 20px;
    color: #009900;
}

p#error-message {
    border: 1px solid #C04C4C;
    border-radius: 5px;
    margin-top: 20px;
    color: #C04C4C;
}

@media screen and (max-width: 767px) {
  /* SP用CSS指定 */
  .fixedArea {
    padding: 5px 0 0;
  }
  .fixedArea__btn img {
    width: 100%;
  }
  .gototop {
    bottom: 110px;
    right: 10px;
  }
  .gototop__contentWrap {
    width: 100%;
  }
  .gototop__btn img {
    width: 55px;
    height: 55px;
  }
}
