@charset "utf-8";

.main {
  padding: 100px 0 0 !important;
}

/* header */
header {
  position: relative;
}

.hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-video .hero-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

@media screen and (max-width: 550px) {
  .hero-video .hero-bg {
    left: 48%;
  }
}

/* 実績・問い合わせボタン */
.header_btn {
  position: absolute;
  top: 64%;
  left: 30%;
  font-size: 18px;
  color: #fff;
}

@media screen and (max-width: 1024px) {
  .header_btn {
    top: 62%;
    left: 30%;
    font-size: 15px;
  }
}

@media screen and (max-width: 768px) {
  .header_btn {
    display: none;
  }
}

.link_works,
.link_contact {
  margin-right: 35px;
  border-radius: 40px;
  transition: 0.5s;
}

.link_works {
  background-color: #96cbf2;
  padding: 20px 2.5em;
}

.link_works:hover {
  background-color: #5fa5db;
}

.link_contact {
  background-color: #9ccabe;
  padding: 20px 2em;
}

.link_contact:hover {
  background-color: #76a496;
}

/* fpms */
.explanation {
  text-align: center;
  padding: 100px 64px;
  background-image: url(../image/top/biwako.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 283px;
}

@media screen and (max-width: 768px) {
  .explanation {
    padding: 75px 24px;
    background-size: 200px;
  }
}

@media screen and (max-width: 480px) {
  .explanation {
    padding: 50px 16px;
    background-size: 100px;
  }
}

/* fpmsタイトル・サブタイトル */
.subtitle_fpms {
  margin-bottom: 18px;
  font-size: 18px;
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 24px !important;
  }
  .subtitle_fpms {
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 24px !important;
  }
  .subtitle_fpms,
  .subtitle_contact {
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {
  .explanation {
    font-size: 12px;
    max-width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .explanation {
    font-size: 12px;
    word-break: break-word;
    overflow-wrap: break-word;
  }
}
/* main */
main {
  background-image: url(../image/common/topbackground.png);
}

/* サービス */
/* 動画 */
.move {
  padding-bottom: 16px;
  position: relative;
  background-image: url(../image/common/foam.png);
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: 8%;
}

@media screen and (max-width: 1329px) {
  .move {
    background-image: none;
  }
}

@media screen and (max-width: 768px) {
  .move {
    padding-bottom: 8px;
  }
}

.movephoto {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.move_service {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.move_title {
  font-size: 32px;
  margin-bottom: 8px;
}

@media screen and (max-width: 768px) {
  .move_title {
    font-size: 24px;
  }
}

@media screen and (max-width: 480px) {
  .move_title {
    font-size: 20px;
  }
}

/* 動画サービス詳細 */

.move_detail {
  word-break: keep-all;
}

@media screen and (max-width: 768px) {
  .move_detail {
    font-size: 12px;
    word-break: keep-all;
  }
}

@media screen and (max-width: 480px) {
  .move_detail {
    display: none;
  }
}

/* 動画以外 */
.otherservice {
  font-size: 18px;
  padding: 50px 0;
}

@media screen and (max-width: 768px) {
  .otherservice {
    padding: 25px 0;
    font-size: 14px !important;
  }
}

@media screen and (max-width: 480px) {
  .otherservice {
    padding: 20px 0;
    font-size: 12px !important;
  }
}

.sub_service {
  display: flex;
  justify-content: center;
  gap: 16px;
}

@media screen and (max-width: 768px) {
  .sub_service {
    gap: 8px;
  }
}

.service_photo {
  max-width: 442px;
  width: 100%;
  height: auto;
  display: flex;
}

.service_box {
  position: relative;
}

.sub_service p {
  font-size: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  word-break: keep-all;
  line-height: 1;
}

@media screen and (max-width: 768px) {
  .sub_service p {
    font-size: 20px;
  }
}

@media screen and (max-width: 480px) {
  .sub_service p {
    font-size: 14px;
    word-break: keep-all;
  }
}

.underwaterphoto .drawnphoto {
  width: 30%;
}

.sub_1 {
  padding-bottom: 16px;
}

@media screen and (max-width: 768px) {
  .sub_1 {
    padding-bottom: 8px;
  }
}

.bgi_box {
  background-image: url(../image/common/foam_2.png);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 9%;
}

@media screen and (max-width: 1329px) {
  .bgi_box {
    background-image: none;
  }
}

/* ブログ */
.paddingbox_blog {
  padding: 0 250px;
}

@media screen and (max-width: 1280px) {
  .paddingbox_blog {
    padding: 0 150px;
  }
}

@media screen and (max-width: 1024px) {
  .paddingbox_blog {
    padding: 0 80px;
  }
}

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

.blog-card {
  background: #16678a;
  color: #fff;
  border-radius: 12px;
  padding: 20px 40px;
  margin-bottom: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

@media screen and (max-width: 1024px) {
  .blog-card {
    padding: 20px;
  }
}

@media screen and (max-width: 1024px) {
  .blog-card {
    padding: 15px;
  }
}

.blog-title {
  margin-top: 0;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: left;
}

@media screen and (max-width: 480px) {
  .blog-title {
    margin-bottom: 4px;
  }
}

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

@media screen and (max-width: 768px) {
  .blog-title a {
    font-size: 20px;
  }
}

@media screen and (max-width: 480px) {
  .blog-title a {
    font-size: 18px;
  }
}

.blog-img {
  width: 200px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
  .blog-img {
    width: 150px;
  }
}

@media screen and (max-width: 480px) {
  .blog-img {
    display: none;
  }
}
/* お問い合わせ */
.contact_area {
  background-image: url(../image/top/contact_img.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 100%;
  margin: 0;
  padding: 215px 0 !important;
}

@media screen and (max-width: 768px) {
  .contact_area {
    padding: 120px 0 !important;
  }
}

h5 {
  font-size: 64px !important;
}

@media screen and (max-width: 1280px) {
  h5 {
    font-size: 56px !important;
  }
}

@media screen and (max-width: 1024px) {
  h5 {
    font-size: 48px !important;
  }
}

@media screen and (max-width: 768px) {
  h5 {
    font-size: 40px !important;
  }
}

@media screen and (max-width: 480px) {
  h5 {
    font-size: 32px !important;
  }
}

.subtitle_contact,
.explain_contact {
  padding-bottom: 25px;
  font-size: 18px;
}

@media screen and (max-width: 768px) {
  .explain_contact {
    font-size: 14px;
    padding-bottom: 16px;
  }
}

@media screen and (max-width: 480px) {
  .explain_contact {
    font-size: 13px;
    padding-bottom: 12px;
  }
}

.contact_wrapper {
  display: flex;
  gap: 24px;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;

  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

@media screen and (max-width: 768px) {
  .contact_wrapper {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0 90px;
  }
}

@media screen and (max-width: 480px) {
  .contact_wrapper {
    padding: 0 20px;
    gap: 20px;
  }
}

.contact_box {
  flex: 1 1 300px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .contact_box {
    flex: none;
    width: 100%;
    min-height: 140px;
  }
}

@media screen and (max-width: 480px) {
  .contact_box {
    width: 100%;
    min-height: 160px;
  }
}

.tel {
  font-size: 40px;
}

@media screen and (max-width: 1280px) {
  .tel {
    font-size: 32px;
  }
}

@media screen and (max-width: 1024px) {
  .tel {
    font-size: 28px;
  }
}

@media screen and (max-width: 768px) {
  .tel {
    font-size: 20px;
  }
}

@media screen and (max-width: 480px) {
  .tel {
    font-size: 18px;
  }
}

.contact_tel {
  display: flex;
  background-color: #007b8a;
  padding: 48px 25px;
  font-size: 40px;
  transition: backdround-color 0.3s ease, color 0.3s ease;
}

@media screen and (max-width: 1280px) {
  .contact_tel {
    font-size: 32px;
    padding: 40px 20px;
  }
}

@media screen and (max-width: 1024px) {
  .contact_tel {
    font-size: 28px;
    padding: 36px 20px;
  }
}

@media screen and (max-width: 768px) {
  .contact_tel {
    font-size: 20px;
    padding: 24px 16px;
  }
}

@media screen and (max-width: 480px) {
  .contact_tel {
    font-size: 18px;
    padding: 20px 12px;
  }
}

.contact_tel:hover {
  background-color: #005f6b;
}

.contact_mail {
  display: flex;
  align-items: center;
  background-color: #f6f1e9;
  color: #2f5e4e;
  padding: 48px 25px;
  font-size: 40px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

@media screen and (max-width: 1280px) {
  .contact_mail {
    font-size: 32px;
    padding: 40px 20px;
  }
}

@media screen and (max-width: 1024px) {
  .contact_mail {
    font-size: 28px;
    padding: 36px 20px;
  }
}

@media screen and (max-width: 768px) {
  .contact_mail {
    font-size: 20px;
    padding: 24px 16px;
  }
}

@media screen and (max-width: 480px) {
  .contact_mail {
    font-size: 18px;
    padding: 20px 12px;
  }
}

.contact_mail:hover {
  background-color: #e6e0d5;
  color: #2f5e4e;
}

.contact_box p {
  line-height: normal;
  margin: 0;
  padding: 0;
}
