@charset "utf-8";

:root {
  --base-color: #FAFAFA;
  --main-color: #014669;
  --acsenty-color: #292929;
  --primary-Red: #FD4242;
  --primary-gury: #8C8C8C;
  --contentWidth: 84%;
  --contentPadding: 4.2%;
}

/******************************************************************/
/******************************************************************/
body {
  background-color: #FAFAFA;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.22) 1px, transparent 1px);
  background-size: 53px 53px;
  min-height: 100vh;
}

html {
  font-size: 62.5%;
  font-family: "M PLUS 1p", "Poppins", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400; /* 500, 600, 700, 800;*/
  font-style: normal;/* italic; */
  }

body {
  font-style: normal;
  line-height: normal;
  background-color: var(--primary-White);
  color: var(--primary-Black);
}

img, video {
  max-width: 100%;
  height: auto;
}

/******************************************************************/
/******************************************************************/
/******************************************************************/
/******************************************************************/
.section--work {
  display: flex;
  padding: 100px 30px 150px 30px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
}

.work__container {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.work__txt {
  margin-top: 10px;
  color: var(--acsenty-color);
  text-align: center;
  font-family: Poppins;
  font-size: 1.8rem;
  font-weight: 500;
}


.work__contents {
  display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 50px;
align-self: stretch;
}

.work__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: stretch;
}

/******************************************************************/
.section--about {
  display: flex;
  padding: 100px 30px 150px 30px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 70px;
}

.about__container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px;
}

.about__contents {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px;
  align-self: stretch;
}

.about__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  align-self: stretch;
}

.about__title {
  color: var(--acsenty-color);
  text-align: center;
  font-family: Poppins;
  font-size: 2.6rem;
  font-weight: 700;
}

.about__box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.about__txt{
  color: var(--acsenty-color);
  font-family: "M PLUS 1p";
  font-size: 1.6rem;
}

.about__txt--sub {
  color: var(--acsenty-color);
  font-family: Poppins;
  font-size: 1.4rem;
}

.about__img {
  width: 100%;
  box-shadow: 2px 3px 2px 0 rgba(0, 0, 0, 0.40);
}

/******************************************************************/
/******************************************************************/
/******************************************************************/
/******************************************************************/
.section--video {
  display: flex;
  padding: 100px 30px 150px 30px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
}


.video__container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 70px;
  align-self: stretch;
}

.video__contents {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;
}


.video__txt {
  color: var(--acsenty-color);
  margin-top: 10px;
  text-align: center;
  font-family: Poppins;
  font-size: 1.8rem;
  font-weight: 500;
}

.videoDetai__img {
  border-radius: 1.5px;
  box-shadow: 2px 3px 2px 0 rgba(0, 0, 0, 0.40);
  width: 100%;
  height: auto;
}

/******************************************************************/
/******************************************************************/
/******************************************************************/
/******************************************************************/
.section--photo {
  display: flex;
  padding: 100px 30px 150px 30px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
}

.Photo__container {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.Photo__contents {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  align-self: stretch;
}

.Photo__item {
  display: flex;
  gap: 20px;
  }







  /* 写真カードホバー */
.Photo__box {
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.Photo__box:hover {
  transform: translateY(-10px);
  z-index: 10;
}

/* 画像を明るく */
.Photo__img {
  transition: filter 0.3s ease, box-shadow 0.3s ease;
}

.Photo__box:hover .Photo__img {
  filter: brightness(1.1);
  box-shadow: 4px 8px 20px rgba(0, 0, 0, 0.7);
}

/* 全体をグレーアウト */
.Photo__container:has(.Photo__box:hover) .Photo__box:not(:hover) {
  opacity: 0.3;
  filter: grayscale(0.5);
}




.Photo__img {
  border-radius: 1.5px;
  box-shadow: 2px 3px 2px 0 rgba(0, 0, 0, 0.40);
}

.modalDialog {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 99999;
  opacity: 0;
  transition: opacity 400ms ease-in;
  pointer-events: none;
}

.modlPhoto {
  width: 80%;
  max-width: 800px;
  position: relative;
  top: 100px;
  margin: 10% auto;
  border-radius: 10px;
}

.modalImage {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1.5px;
  box-shadow: 2px 3px 2px 0 rgba(0, 0, 0, 0.40);
}

button span {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 0.5px;
  margin: 0 10px;
  background-color: var(--acsenty-color);
  border-radius: 3px;
  width: 10px;
  height: 10px;
}

.nextBtn__img {
  width: 5.52px;
  height: 7.631px;
}

.modalBtn {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.nextBtn {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  color: var(--acsenty-color);
  text-align: center;
  font-family: Poppins;
  font-size: 1rem;
  background: var(--base-color);
  border: 1.5px solid var(--base-color)!important;
  border: none;
  padding: 0px 20px;
  cursor: pointer;
}

.nextBtn--left {
  border-radius: 10px 100px 100px 10px;
}

.nextBtn--righut {
  border-radius: 100px 10px 10px 100px;
}

.nextBtn__img--left {
  transform: rotate(-90deg);
}

.nextBtn__img--right {
  transform: rotate(90deg);
}

.close {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 17px;
  height: 17px;
  top: -40px;
  background: var(--base-color);
  border-radius: 2px;
  cursor: pointer;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.closeBtn--modal {
  width: 11px!important;
  height: 12px!important;
}


.close:hover {
  background: var(--acsenty-color);
  border: 1.5px solid var(--base-color);
}

.closeBtn {
  width: 16px;
  height: 16px;
  transition: filter 0.3s;
}

.close:hover .closeBtn {
  filter: brightness(0) invert(1);  /* 白に */
}


/* Nextボタンホバー */
.nextBtn {
  transition: all 0.3s;
}
.nextBtn:hover {
  background: var(--acsenty-color);  /* 黒 */
  color: var(--base-color);  /* 白文字 */
  border: 1.5px solid var(--base-color);
}
.nextBtn span {
  transition: all 0.3s;
}
.nextBtn:hover span {
  background-color: var(--base-color);  /* 白 */
}

.nextBtn__img {
  transition: filter 0.3s;
}

/* 矢印を黒にする */
.nextBtn:hover .nextBtn__img {
  filter: brightness(0);  /* 黒に */
}


/******************************************************************/
/******************************************************************/
/******************************************************************/
/******************************************************************/
.section--videoDetai {
  display: flex;
  padding: 100px 30px 150px 30px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 70px;
}

.videoDetai__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.videoDetai__box {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
}

.videoDetai__topics {
  color: var(--acsenty-color);
  text-align: justify;
  font-family: Poppins;
  font-size: 2.4rem;
  font-weight: 700;
}
.videoDetai__topics--ats {
  font-size: 2.3rem;
}

.videoDetai__txtbox {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 35px;
}

.videoDetai__boxcont {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.videoDetai__boxtitle {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  border-bottom: 1px dashed var(--main-color);
}

.videoDetai__txt {
  color: var(--main-color);
  font-family: Poppins;
  font-size: 1.6rem;
  font-weight: 700;
}

.videoDetai__txt--sub {
    overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
  color: var(--acsenty-color);
  font-family: Poppins;
  font-size: 1.4rem;
}

.videoDetai__contents--video {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.videoDetai__contents--samune {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.videoDetai__item {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-self: flex-start;
}

.videoSamune__img {
  border-radius: 1.5px;
  box-shadow: 2px 3px 2px 0 rgba(0, 0, 0, 0.40);
}
/******************************************************************/
/******************************************************************/
/******************************************************************/
/******************************************************************/
.section--contact {
  display: flex;
  padding: 100px 30px 150px 30px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 70px;
  align-self: stretch;
}

.contact__container {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 70px;
}

.contact__inputbox {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
}

.contact__parts {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 15px;
}

.contact__category {
  display: flex;
  width: 50%;
  flex-direction: row;
  justify-content: space-between;
  padding-right: 70px;
  align-items: end;
  gap: 15px;
  }


.contact__title {
  color: var(--acsenty-color);
  font-family: Poppins;
  font-size: 2rem;
  font-weight: 700;
  line-height: 100%;
}

.contact__category--Required {
  display: flex;
  align-items: center;
  color: var(--primary-Red);
  font-family: Poppins;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 100%;
}

.group {
  display: flex;
  font-size: 1.6rem;
  line-height: 150%;
  height: 40px;
  padding: 8px 10px;
  align-items: center;
  align-self: stretch;
  border-radius: 2px;
  border: 1px solid var(--acsenty-color);
  background: var(--base-color);
  box-shadow: 2px 2px 0 0 #707070;
}


.group--mesg {
  display: flex;
  height: 300px;
  align-items: flex-start;
  resize: none
}
/* ============== */
.contBtn__box--send {
    display: flex;
  width: 189px;
  height: 30px;
  padding: 10px 40px;
  justify-content: space-between;
  align-items: center;
  aspect-ratio: 63/10;
  border-radius: 150px;
  background: var(--acsenty-color);
  color: var(--base-color);
  text-align: center;
  font-family: Poppins;
  font-size: 1.6rem;
  border: 1.5px solid var(--base-color)!important;
}

.contBtn__imgBox {
  border-radius: 5px;
  background: var(--base-color);
  display: flex;
  width: 18px;
  height: 18px;
  transform: rotate(90deg);
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
}

.contBtn__img {
  color: var(--acsenty-color);
  width: 11.52px;
  height: 14.431px;
  padding-top: 1px;
  transform: rotate(-90deg);
  flex-shrink: 0;
  aspect-ratio: 5/8;
}

/******************************************************************/
/******************************************************************/
/******************************************************************/
/******************************************************************/
/******************************************************************/
/******************************************************************/
@media screen and (min-width: 940px) {
  .section--work {
    margin: 0 auto;
    width: 960px;
    padding: 100px 0px 150px;
  }
  .work__contents {
    flex-direction: row;
  }
  .work__contents {
    gap: 80px;
  }
  .pcBr {
    display: none;
  }

  .section--about {
    margin: 0 auto;
    width: 960px;
    padding: 100px 0px 150px;
  }
  .about__contents {
    gap: 40px;
  }
  .about__container {
    flex-direction: row;
    gap: 50px;
  }

  .section--video {
    margin: 0 auto;
    width: 960px;
    padding: 100px 0px 150px;
  }
  .video__contents {
    flex-direction: row;
  }
  .videoDetai__boxtitle {
    width: 100%;
  }
  .videoDetai__boxcont {
    flex-direction: column;
    gap: 15px;
  }
  .videoDetai__txtbox {
    gap: 15px;
  }


  .section--photo {
      margin: 0 auto;
      max-width: 960px;
      padding: 100px 0px 150px;
  }
  .Photo__container {
    width: 100%;
  }
  .Photo__item {
    justify-content: space-between;
  }
  .Photo__contents {
    align-items: stretch;
    gap: 30px;
  }
  .modalDialog {
    top: -70px;
  }
  .nextBtn {
    font-size: 1.8rem;
  }
  .nextBtn__img {
    width: 11.52px;
    height: 12.631px;
  }
  button span {
    padding-right: 0px;
    width: 17px;
    height: 17px;
  }
  .close {
    width: 22px;
    height: 22px;
  }
  .closeBtn {
    width: 15px!important;
    height: 15px!important;
  }
  .Photo__img {
    width: 300px;
  }


  .section--videoDetai {
      margin: 0 auto;
      width: 960px;
      padding: 100px 0px 150px;
  }
  .videoDetai__contents--video {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
  }
  .videoDetai__img--main {
    width: 60%;
  }
  .videoDetai__box--sub {
    width: 30%;
  }

  .section--contact {
    margin: 0 auto;
    width: 960px;
    padding: 100px 0px 150px;
  }
}
