@charset "UTF-8";
/* ========================== 下層ページ　ベース ========================== */
.layer-inner {
  background: url("../images/common/back_layer2.jpg") top center / cover no-repeat;
  background-attachment: fixed;
}

.layer-inner .h-inner {
  padding: 180px 0 120px;
}

.layer-inner .h-inner span {
  padding-left: 30px
}

.layer-cont-inner {
  position: relative;
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 30px 30px 0 0;
  box-shadow: 0 0 40px rgba(110, 110, 110, 0.15);
}

@media screen and (max-width: 768px) {
  .layer-inner .h-inner {
    padding: 150px 0 80px;
  }

}
/*----------------------------------
  見出し
----------------------------------*/
.conte-box {
  padding: 250px 40px 0;
  max-width: 1300px;
  margin: 0 auto 100px;
  text-align: center;
}

.conte-box h1 {
  font-size: 65px;
  font-weight: 600;
  line-height: 0.7;
}

.conte-box h1 span {
  font-size: 18px;
  font-weight: bold;
  letter-spacing: .1em;
}

.sec-title {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: .4em;
  display: inline-block;
  padding: 10px 10px 30px;
  position: relative;
}

.sec-title::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 5px;
  background-color: #208ebf;
  display: block;
  left: 10px;
  bottom: 10px;
}

@media screen and (max-width: 768px) {
  .conte-box {
    width: 83%;
    padding: 100px 0 0;
  }

  .conte-box h1 {
	margin-top: 100px;
    font-size: 50px;
	line-height: 1.1;
  }

  .conte-box h1 span {
    font-size: 16px;
  }
	
  .sec-title {
    font-size: 23px;
    letter-spacing: .3em;
  }
	
}

/*----------------------------------
  共通コンテナ
----------------------------------*/
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}

/*----------------------------------
  ABOUT
----------------------------------*/
.message-box {
  margin-top: 50px;
  line-height: 2;
}

.about-bg {
  background-color:#F9F9F9;
  padding: 60px 20px;
  margin-bottom: 70px;
}

.about-table {
  display: grid;
  gap: 20px;
  margin-bottom: 70px;
  margin-top: 50px;
}

.about-table > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid #ddd;
  padding: 0 40px 20px;
  align-items: center;
}

.about-table a {
  font-weight: normal;
}

.wrapper {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 100px;
}

.sign {
  text-align: left;
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  line-height: 1.8;
  margin-top: 40px;
}

.kaisho {
  font-family: "Yuji Syuku", "Klee One", serif;
  font-size: 1.1em;
  letter-spacing: 0.05em;
}

.about-img {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.about-img img {
  height: clamp(250px, 35vw, 400px);
  width: auto;
  display: block;
}

.about-syaze {
  text-align: center;
  margin: 50px auto;
}

.about-syaze img {
  display: inline-block;
  width: auto;
}

.map-wrap {
   margin-top: 70px;
}

.about-daiemon {
  text-align: center;
}

.about-daiemon img {
  max-width: 75%;
  height: auto;
  margin: 100px auto;
}


@media screen and (max-width: 768px) {
  .about-table > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
	
  .about-img {
    flex-direction: column;
    gap: 20px;
  }

  .about-img img {
    width: 100%;
    height: auto;
  }
	
  .about-syaze img {
    width: 100%;
    height: auto;
  }
  .about-dai-bg {
  margin: 0 auto 100px;
  padding: 20px;
}

  .about-daiemon {
    text-align: center;
}

  .about-daiemon img {
  max-width: 100%;
  height: auto;
  margin: 30px auto;
}


}

/*----------------------------------
  SERVICE
----------------------------------*/
.service {
  padding: 0;
}

.service-title {
  color: #1e73be;
  font-size: 22px;
  margin-bottom: 30px;
  letter-spacing: 0.2em;
  font-weight: 600;
}

.service-item  {
  width: 100%;
  margin: 50px auto;
  text-align: left;
} 

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.type1 {
  margin-bottom: 40px;
}

.service-top {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.service-top .service-img {
  flex: 0 0 50%;
}

.service-top .service-img img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.service-top .service-text {
  flex: 1;
}

.service-title {
  margin-bottom: 20px;
}

.service-images {
  display: flex;
  gap: 20px;
  margin: 50px 0 100px;
}

.service-images img {
  display: block;
  width: calc((100% - 40px) / 3);
  height: auto;
  object-fit: cover;
}

.type2 {
  margin-bottom: 40px;
  line-height: 1.8;
}

.type2 .service-images {
  margin: 50px 0 100px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.type2 .service-images img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.type3 {
  margin: 50px 0 100px;
  line-height: 1.8;
}

.type3-top {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.type3-top > * {
  min-width: 0;
}

.service-text {
  flex: 1;
  line-height: 1.8;
}

.service-media {
  flex: 0 0 55%;
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.service-media video {
  flex: 1;
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.service-bg {
  background-color:#F9F9F9;
  padding: 60px 20px;
  margin-bottom: 70px;
}

.type4 {
  margin-bottom: 40px;
  line-height: 1.8;
}

.type4 .service-images {
  margin: 50px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.type4 .service-images img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.type5 {
  margin: 50px 0 100px;
  line-height: 1.8;
}

.type5-top {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.type5-top > * {
  min-width: 0;
}

.type5 .service-text {
  flex: 1;
  line-height: 1.8;
}

.type5 .service-media {
  flex: 0 0 55%;
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.type5 .service-media video {
  flex: 1;
  width: 100%;
  height: 690px;
  object-fit: cover;
  display: block;
}

.type5 .service-images {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 50px;
  margin-bottom: 0;
}

.type5 .service-images img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}


@media (max-width: 768px) {
  .service-top {
    flex-direction: column;
    gap: 30px;
  }

  .service-top .service-img {
    flex: 0 0 auto;
  }

  .service-top .service-img img {
    height: auto;
  }

  .type1 .service-images {
    flex-direction: column;
    gap: 20px;
    margin: 30px 0 60px;
  }

  .type1 .service-images img {
    width: 100%;
    height: auto;
  }

  .type2 .service-images {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0 60px;
  }
	
  .type3-top {
    flex-direction: column;
  }

  .service-media {
    flex-direction: column;
  }

  .service-media img,
  .service-media video {
    height: auto;
  }

  .type4 .service-images {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 30px;
  }

  .type4 .service-images img {
    height: auto;
  }

  .type5 {
    margin: 40px 0 60px;
  }

  .type5-top {
    flex-direction: column;
    gap: 20px;
  }

  .type5 .service-media {
    flex: 0 0 auto;
    flex-direction: column;
    gap: 20px;
  }

  .type5 .service-media video {
    width: 100%;
    height: auto;
  }

  .type5 .service-images {
    margin-top: 30px;
    gap: 40px;
  }	

}


/*----------------------------------
  WORKS
----------------------------------*/
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 330px);
  gap: 80px 53px;
}

.works-grid li {
  background: #fff;
  overflow: hidden;
  transition: .3s;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.05);
}

.works-grid li:hover {
  transform: translateY(-5px);
}

.works-grid p {
  margin: 0;
}

.works-grid img,
.works-grid video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.work-info {
  padding: 25px;
}

.work-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
}

.work-line {
  border-top: 1px dotted #999;
  margin: 20px 0;
}

.work-date,
.work-client {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

.works-grid img:hover {
  transform: scale(1.03);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 9999;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-inner {
  max-width: 90%;
  text-align: center;
}

.modal-img {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  margin: 0 auto;
}

.modal-caption {
  color: #fff;
  margin-top: 10px;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-inner {
  transform: scale(0.9);
  opacity: 0;
  transition:
    transform 1s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal.show .modal-inner {
  transform: scale(1);
  opacity: 1;
}

.modal-prev,
.modal-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  font-size: 12px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  z-index: 1000;
}

.modal-prev { left: 20px; }
.modal-next { right: 20px; }

.modal-prev::before {
  content: "◀";
}

.modal-next::before {
  content: "▶";
}

.modal-prev,
.modal-next {
  backdrop-filter: blur(2px);
}

@media (max-width: 768px) {
  .works-grid {
    grid-template-columns: 1fr;
    gap: 70px 20px;
  }

  .modal-img {
    max-width: 90vw;
    max-height: 65vh;
  }
}

/*----------------------------------
  RECRUIT
----------------------------------*/
.rec-title {
  display: flex;
  align-items: center;
  column-gap: 30px;
  font-size: 25px;
  font-weight: 300;
  letter-spacing: .2em;
}

.rec-title::before {
  width: 0.7em;
  height: 0.4em;
  border-bottom: 4px solid #2589d0;
  border-left: 4px solid #2589d0;
  transform: rotate(-45deg) translate(2px, -2px);
  content: '';
}

.recruit-table {
  display: grid;
  gap: 20px;
  margin-bottom: 70px;
  margin-top: 50px;
}

.recruit-table > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid #ddd;
  padding: 0 40px 20px;
  align-items: center;
  line-height: 1.8;
}

.rec-box {
  width: 80%;
  margin: 50px auto 10px;
  text-align: center;
  padding: 40px;
  border-radius: 20px;
  background: #f2f2f2;
  font-size: 18px;
  line-height: 1.8;
}

@media screen and (max-width: 768px) {
  .recruit-table > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}


/*----------------------------------
  PRIVACY
----------------------------------*/
.privacy h3 {
  display: flex;
  align-items: center;
  margin-top: 70px;
  margin-bottom: 15px;
  font-size: 1.6rem;
  font-family: "Outfit", sans-serif;
}

.privacy h3 span {
  color: #999999;
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1;
  margin-right: 15px;
}

.privacy p {
  line-height: 2;
}

/*----------------------------------
  CONTACT
----------------------------------*/
.contact-div {
  text-align: center;
  line-height: 2;
}

.contact-div p {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.contact-div img {
  width: 250px;
  margin: 0 auto;
}

.form {
  max-width: 800px;
  margin: 0 auto;
}

.form span {
  color: red;
}

.form-note {
  margin-bottom: 20px;
  text-align: right;
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.form-btn {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.form-btn input {
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}

.form-btn input[type="submit"] {
  background: #005ba0;
  color: #fff;
  border-radius: 10px;
}

.form-btn input[type="reset"] {
  background: #f2f2f2;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .contact-box {
    font-size: 1.1rem;
    text-align: left;
  }

}