/*
	Theme Name: diver_child
	Template: diver
	Description:  Diverの子テーマです。
	Theme URI: http://tan-taka.com/diver/
	Author: Takato Takagi
 */

/* カスタマイズする場合にはこれより下に追記してください  */
#main-wrap,
.single-post-main,
#page-main {
  margin: 0 auto;
}
#header {
  display: none;
}
.single-post-main {
  padding: 0;
}
section .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 10px;
}
section {
  padding: 5rem 0;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: serif;
  line-height: 1.4;
  font-weight: bold;
}
.content h2,
h2 {
  margin: 0;
  padding: 0;
  font-size: 3em;
}
.content h2 .title_img,
h2 .title_img {
  margin-bottom: 1em;
}
.content h3,
h3 {
  font-size: 2em;
  padding: 0;
  margin: 0.5em 0;
}
.center {
  text-align: center;
}
.pc__none {
  display: none;
}
.sp__none {
  display: block;
}
#copyright {
  float: none;
  padding: 10px;
  text-align: left;
  max-width: 1000px;
  margin: 0 auto;
}
.company_name {
  font-size: 1.6rem;
  font-family: serif;
}
@media screen and (max-width: 980px) {
  .pc__none {
    display: block;
  }
  .sp__none {
    display: none;
  }
  .company_name {
    font-size: 1.2rem;
  }
  .col2,
  .col3,
  .col4,
  .col3_2,
  .col4_3,
  .sc_col2.sp,
  .sc_col3.sp,
  .sc_col4.sp,
  .sc_col3_2.sp,
  .sc_col4_3.sp {
    width: 100%;
    float: none;
  }
}
.fv {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  color: #fff;
}

.fv-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.02);
  backface-visibility: hidden;
}

/* 少し暗くする */
.fv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.fv-header {
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.contact-btn {
  padding: 12px 20px;
  background: #fff;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
}

.menu-btn {
  width: 64px;
  height: 64px;
  background: #000;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  padding: 0;
}

.menu-btn span {
  width: 30px;
  height: 2px;
  background: #fff;
  margin: 0 auto;
}

.fv-content {
  position: absolute;
  left: 8%;
  bottom: 10%;
  z-index: 2;
  max-width: 700px;
}

.fv-content h1 {
  font-size: clamp(40px, 5vw, 84px);
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 40px;
  font-family: serif;
}

.fv-content p {
  font-size: clamp(18px, 2vw, 34px);
  line-height: 1.5;
  font-family: serif;
}
@media screen and (max-width: 980px) {
  .title_img {
    max-width: 50%;
    margin: 0 auto;
  }
  section {
    padding: 3rem 0;
  }
  .fv-header {
    top: 20px;
    left: 20px;
    right: 20px;
  }

  .contact-btn {
    padding: 10px 14px;
    font-size: 14px;
  }

  .menu-btn {
    width: 52px;
    height: 52px;
  }

  .fv-content {
    left: 30px;
    right: 30px;
    bottom: 60px;
  }

  .fv-content h1 {
    font-size: 10vw;
  }

  .fv-content p {
    font-size: 20px;
  }
}
@media screen and (max-width: 480px) {
  .fv {
    height: 70vh;
  }
  .title_img {
    max-width: 70%;
  }
}

/*Our Mission*/
.our_mission {
  background-color: #000;
  position: relative;
  background: url(./images/mission.webp) no-repeat #000;
  background-position: 80% -100px;
  color: #fff;
}
.our_mission *,
.business * {
  color: #fff !important;
}
.our_mission .container {
  position: relative;
}
.content .our_mission h2,
.content .business h2 {
  background-color: unset !important;
  text-align: center;
  color: #fff;
  line-height: 1;
  padding: 0.5em 0 10px;
}
.our_misson_content {
  width: 70%;
  margin-right: auto;
  color: #fff;
}
@media screen and (max-width: 980px) {
  .our_mission {
    background: unset;
    background-color: #000;
  }
  .our_mission .container {
    background: url(./images/mission.webp) no-repeat;
    background-position: 8vw -30vw;
    background-size: 135%;
  }
  .content .our_mission h3 {
    padding-bottom: 1em;
    font-size: 2.5em;
    line-height: 1.4;
    padding-left: 5% !important;
    margin-bottom: 0;
    border: none;
  }
}
@media screen and (max-width: 767px) {
  .our_misson_content {
    width: 100%;
  }
}
/*Business Segments*/
.business {
  background-color: #000;
  position: relative;
  color: #fff;
}
.business .sc_col3 {
  position: relative;
}
.business .business_img img {
  width: 100%;
  margin: 0;
}
.business .business_text {
  margin-top: -120px;
  position: relative;
  z-index: 2;
  border: none;
  text-shadow:
    0px 0px 8px #333,
    0px 0px 8px #333,
    0px 0px 8px #333;
  padding-left: 10px;
}
.business .business_text h3 {
  border: none;
}

@media screen and (max-width: 980px) {
  .content .business .business_text {
    margin: 0 auto;
    position: absolute;
    bottom: 10px;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
  }
  .business .business_text h3 {
    margin: 0;
  }
}

/*Partner*/
.content .partner {
  background: url(../diver_child/images/partner.webp) no-repeat;
  background-position: top right;
}
.content .partner h2 {
  background: unset !important;
  text-align: center;
  line-height: 1;
  padding: 0.5em 0 10px;
  color: #000;
}
.content .partner h3 {
  border-bottom: none !important;
}
.partner-box {
  border: 2px solid #000;
  padding: 20px;
  margin-top: 10%;
}
.partner-box * {
  font-size: 0.8em;
}
.partner-box h3 {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 1.6em;
}
.partner-box img {
  margin-bottom: 0;
}
@media screen and (max-width: 980px) {
  .content .partner {
    background: unset;
  }
  .partner-box {
    border: 1px solid #000;
  }
  .partner-box-icon img {
    max-width: 15vw;
  }
}
.hissu {
  background-color: #e70023;
  color: #fff;
}
.hissu,
.nini {
  padding: 2px 5px;
  margin: 5px;
  border-radius: 5px;
  font-size: 0.8rem;
}
.must {
  margin-left: 10px;
}
.sendform {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 0;
}
.nini {
  background-color: #eef0f3;
  color: #3e549d;
}
.contact-form-title {
  text-align: center;
}
