/* ======================================================
   Simple Reset (Meyer系ベース)
   ====================================================== */

/* Box sizing ------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margins/paddings ---------------------- */
html, body, h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
  padding: 0;
}

/* Body ----------------------------------------------- */
html, body {
  height: 100%;
}
body {
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #1B435D;
  background: #fff;
  font-size: 16px;
}

h1 {
  font-size: 32px;
}

h2, h3, h4 {
  font-size: 28px;
}

h4 {
  color: #EA9048;
}

@media screen and (max-width: 797px) {
  h1 {
    font-size: 24px;
  }

  h2, h3, h4 {
    font-size: 20px;
  }
}

/* Remove list styles ---------------------------------- */
ul, ol {
  list-style: none;
}

/* Links ----------------------------------------------- */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.7;
}

a:focus,
button:focus,
input:focus {
  outline: none; /* クリック時の青い囲いを消す */
}

/* Images & media -------------------------------------- */
img, picture, video, canvas {
  max-width: 100%;
  display: block;
}

/* Buttons & inputs ------------------------------------ */
button, input, textarea, select {
  font: inherit;
}
button {
  background: none;
  border: none;
  cursor: pointer;
}

/* Tables ---------------------------------------------- */
table {
  border-collapse: collapse;
}

/* Utility: visually-hidden ---------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ======================================================
   Base Layout & Components
   ====================================================== */

:root {
  --container-max: 1200px;
  --gap: 20px;
  --transition: 200ms ease;
}

/* Container Hero ------------------------------------------- */
.container {
  width: calc(100% - 2 * var(--gap));
  max-width: var(--container-max);
  margin: 0 auto;
}

.hero {
  padding: 60px 0 120px;
}

.is-pc {
    display: block !important;
}

.is-sp {
    display: none !important;
}

@media screen and (max-width: 797px) {
  .hero {
      padding: 40px 0 60px;
  }

  .is-pc {
    display: none !important;
  }

  .is-sp {
    display: block !important;
  }
}

/* Header ---------------------------------------------- */
.site-header {
  background: #fff;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 50;
}

.header-top {
  display: flex;
  justify-content: space-between;
  padding: 12px 0 4px;
  color: #78ACD7;
}

.header-top_nav {
  display: flex;
  align-items: center;
}

.header-top_contact {
  margin-left: 80px;
}

.header-top_fax {
  margin-left: 10px;
}

.header-background {
  position: relative;
  background-color: #78ACD7;
/*  clip-path: polygon(0% 15%, 0 0, 15% 0%, 85% 0%, 100% 0, 100% 15%, 100% 85%, 32% 85%, 31% 100%, 15% 100%, 0 100%, 0% 85%);*/
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 48px;
  position: relative;
}

/* Logo */
.logo {
  position: relative;
  font-weight: 900;
  letter-spacing: .02em;
  color: #fff;
}

.logo-text {
  position: absolute;
  width: 280px;
  bottom: -30px;
}

.header-ribbon {
  position: absolute;
  bottom: -40px;
  width: 54vw;
  margin-left: calc(50% - 30vw);
  z-index: -1;
}

.header-ribbon img {
  width: 100%;
  height: 46px;
}

@media screen and (max-width: 1279px) {
  .header-ribbon {
    width: 60vw;
  }
}

@media screen and (max-width: 1079px) {
  .header-inner {
    height: 54px;
  }

  .header-ribbon {
    display: none;
  }

  .logo-text {
    position: relative;
    bottom: 0px;
  }
}

@media screen and (max-width: 959px) {
  .header-top {
    display: none;
  }
}

/* --------------------------------------
   ハンバーガー（常に表示）
-------------------------------------- */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  z-index: 1001;
}

.hamburger {
  display: inline-block;
  width: 30px;
  height: 4px;
  border-radius: 10px;
  background: #fff;
  position: relative;
  transition: all .3s ease;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 30px;
  height: 4px;
  border-radius: 10px;
  background: #fff;
  transition: all .3s ease;
}

.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

/* ハンバーガーが開いた時（×） */
.nav-toggle.open .hamburger {
  background: transparent;
}
.nav-toggle.open .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}
.nav-toggle.open .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* --------------------------------------
   ドロワーメニュー（右側スライド）
-------------------------------------- */
/* ドロワーメニュー */
.main-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 340px;
  height: 100vh;
  background: #78ACD7;
  color: #fff;
  padding: 110px 20px;
  transform: translateX(100%);
  transition: transform .3s ease;
  box-shadow: -4px 0 20px rgba(0,0,0,0.1);
  z-index: 1001; /* overlay より上 */
}

/* ハンバーガー / 閉じるボタンをメニューの上に配置 */
.nav-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;        /* メニューより前面 */
}

.main-nav.open {
  transform: translateX(0);
}

.main-nav ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-nav a {
  border-radius: 6px;
  transition: background var(--transition);
}
.main-nav a:hover {
  background: rgba(11,124,255,0.08);
}

/* --------------------------------------
   オーバーレイ（クリックで閉じる）
-------------------------------------- */
/* overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  z-index: 1000;        /* メニューの下 */
}
.overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Mv ------------------------------------------------ */
.mv {
  position: relative;
  margin: 10px 0 0;
}

.mv-image {
  background-image: url(../images/mv.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 90vh;
  margin-top: 94px;
}

.mv-title {
  width: 820px;
  position: absolute;
  top: 70px;
  left: 0;
}

.mv-title_en {
  font-size: 72px;
  margin-left: 40px;
  color: #78ACD7;
}

.mv-title_ja {
  font-size: 36px;
  text-align: right;
  padding: 4px 20px;
  color: #fff;
  background-color:rgba(120,172,215,0.8);
}

.mv-text {
  position: absolute;
  right: 0;
  bottom: 90px;
  font-size: 28px;
  padding: 20px 40px;
  background-color:rgba(234,144,72,0.8);
  color: #fff;
  font-weight: 700;
}

@media screen and (max-width: 1079px) {
  .mv-image {
    margin-top: 100px;
  }
}

@media screen and (max-width: 959px) {
  .mv-image {
    margin-top: 54px;
  }

  .mv-title {
      width: 90%;
  }

  .mv-title_en {
      font-size: 60px;
  }
}

@media screen and (max-width: 797px) {
  .mv-image {
      height: 60vh;
  }

  .mv-title_en {
    font-size: 30px;
    margin-left: 20px;
  }

  .mv-title_ja {
    font-size: 20px;
  }

  .mv-text {
    font-size: 14px;
    padding: 10px 20px;
  }
}

/* section-title ---------------------------------------------- */
.section-title {
  position: relative;
  background-color: #C6DFFF;
  padding: 90px 0;
  text-align: center;
}

.section-ribbon {
  position: absolute;
  right: 0;
  top: -30px;
}

.section-title_ja {
  font-weight: 700;
  width: 620px;
  margin: 0 auto;
  border-bottom: solid 2px #fff;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.section-title_en {
  font-size: 24px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
}

@media screen and (max-width: 959px) {
  .section-ribbon {
    display: none;
  }
}

@media screen and (max-width: 797px) {
  .section-title {
    padding: 45px 0;
  }

  .section-title_ja {
    width: 96%;
  }

  .section-title_en {
    font-size: 20px;
  }
}

/* section-subtitle ---------------------------------------------- */
.section-subtitle {
  padding: 30px 0;
  background-color: #78ACD7;
  text-align: center;
}

.section-subtitle_content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-subtitle h3 {
  text-align: center;
  color: #fff;
  margin: 0 50px;
}

.section-subtitle_image img {
  width: 90%;
}

@media screen and (max-width: 797px) {
  .section-subtitle {
    padding: 10px 0;
  }

  .section-subtitle h3 {
      margin: 0 0;
  }

  .section-subtitle_image {
    display: none;
  }
}

/* section01 ---------------------------------------------- */
.section01-contents {
  display: flex;
  justify-content: space-between;
}

.section01-contents:nth-child(even) {
  flex-direction: row-reverse;
  margin-top: 60px;
}

.section01-images {
  width: 35%;
}

.section01-images img {
  border-radius: 10px;
}

.section01-text {
  width: 60%;
}

.section01-text h4 {
  border-left: 10px solid #1B435D;
  border-bottom: 2px solid #1B435D;
  padding-left: 10px;
  padding-bottom: 4px;
  margin-bottom: 10px;
}

@media screen and (max-width: 797px) {
  .section01-contents,
  .section01-contents:nth-child(even) {
    flex-direction: column;
  }

  .section01-images {
    width: 80%;
    margin: 0 auto;
  }

  .section01-text {
    width: 100%;
    margin-top: 40px;
  }
}

/* section02 ---------------------------------------------- */
.section02-contents {
  position: relative;
  height: 320px;
}

.section02-contents:nth-child(n+2) {
  margin-top: 100px;
}

.section02-images {
  position: absolute;
  width: 350px;
  top: -14px;
  left: 60px;
}

.section02-images img {
  border-radius: 12px;
}


.section02-text h4 {
  padding: 40px 0 40px 45%;
  background-color: #C6DFFF;
}

.section02-lead {
  position: absolute;
  width: 480px;
  top: 140px;
  right: 145px;
}

.section02-table {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}

@media screen and (max-width: 1079px) {
  .section02-contents {
      height: unset;
      display: flex;
      justify-content: space-between;
  }

  .section02-images {
      position: unset;
      width: 38%;
  }

  .section02-text {
    width: 60%;
  }

  .section02-text h4 {
    padding: 40px 0 40px 20px;
    background-color: #C6DFFF;
  }

  .section02-lead {
    position: unset;
    width: 100%;
    margin-top: 20px;
  }
}

@media screen and (max-width: 797px) {
  .section02-contents {
    flex-direction: column-reverse;
  }

  .section02-contents:nth-child(n+2) {
    margin-top: 60px;
  }

  .section02-images {
    width: 50%;
    margin: 0 auto;
  }

  .section02-text h4 {
    padding: 10px 10px;
  }

  .section02-text {
    width: 100%;
    margin-bottom: 30px;
  }

  .section02-table {
    justify-content: space-evenly;
  }
}

/* section03 ---------------------------------------------- */
.section03-contents {
  display: flex;
}

.section03-contents:nth-child(n+2){
  margin-top: 40px;
}

.section03-contents:nth-child(even) {
  flex-direction: row-reverse;
}

.section03-text {
  position: relative;
  width: 90vw;
  margin-left: calc(50% - 50vw);
  height: 140px;
  background-color: #C6DFFF;
}

.section03-contents:nth-child(even) .section03-text {
  width: 90vw;
  margin-right: calc(50% - 50vw);
  margin-left: unset;
}

.section03-text h4 {
  position: absolute;
  top: 32px;
  right: 100px;
  width: 450px;
}

.section03-lead {
  position: absolute;
  width: 450px;
  top: 160px;
  right: 65px;
}

.section03-contents:nth-child(even) .section03-text h4 {
  position: absolute;
  top: 32px;
  left: 89px;
  right: unset;
  width: 450px;
}

.section03-contents:nth-child(even) .section03-lead {
  position: absolute;
  width: 450px;
  top: 160px;
  left: 122px;
  right: unset;

}

.section03-text h4 span {
  font-size: 14px;
  color: #1B435D;
  font-weight: 400;
}

.section03-images {
  position: relative;
  width: 380px;
}

.section03-images span {
  position: absolute;
  text-align: right;
  width: 362px;
  right: 10px;
}

@media screen and (max-width: 959px) {
  .section03-text,
  .section03-contents:nth-child(even) .section03-text {
    width: 100%;
    margin-left: unset;
    margin-right: unset;
    height: unset;
    background-color: #fff;
  }

  .section03-title {
    padding: 10px 10px;
    background-color: #C6DFFF;
  }

  .section03-text h4,
  .section03-contents:nth-child(even) .section03-text h4 {
    position: unset;
    width: unset;
  }

  .section03-lead,
  .section03-contents:nth-child(even) .section03-lead {
    position: unset;
    width: unset;
    margin: 20px 0 0 20px;
  }

  .section03-images {
    width: 290px;
    margin: 0 20px;
   }
}

@media screen and (max-width: 797px) {
  .section03-contents,
  .section03-contents:nth-child(even) {
    flex-direction: column;
  }

  .section03-lead, .section03-contents:nth-child(even) .section03-lead {
    margin: 10px 0 20px;
  }

  .section03-images {
    width: 200px;
    margin: 0 auto;
  }
}


/* section04 ---------------------------------------------- */
.section04-contents {}

.section04-text {
  width: 90%;
  margin: 0 auto;
}

.section04-list {
  display: flex;
  margin: 50px 0 0;
}

.section04-images {
  display: flex;
  flex-direction: column;
}

.section04-lead {
  text-align: center;
  font-size: 12px;
}

@media screen and (max-width: 797px) {
  .section04-text {
    width: 100%;
  }
}

/* section05 ---------------------------------------------- */
.section05-images {
  width: 70%;
  margin: 0 auto;
}

.section05-text span {
  font-weight: 700;
}

@media screen and (max-width: 797px) {
  .section05-images {
    width: 100%;
  }
}

/* section06 ---------------------------------------------- */
.section06-text {
  text-align: center;
}
.section06-inner {
  display: flex;
  justify-content: center;
  margin-top: 100px;
}

.section06-images {
  width: 50%;
}

.section06-images img {
  width: 460px;
  margin: 0 40px 0 auto;
}

.section06-list {
  width: 50%;
}

.section06-title {
  background-color: #C6DFFF;
  padding: 10px 0 10px 20px;
  font-size: 28px;
}

.section06-lead {
  padding: 10px 20px;
  width: 75%;
}

.section06-area:nth-child(n+2) {
  margin-top: 50px;
}

@media screen and (max-width: 1279px) {
  .section06-lead {
    width: 100%;
  }
}

@media screen and (max-width: 959px) {
  .section06-images img {
    width: 80%;
  }
}

@media screen and (max-width: 797px) {
  .section06-inner {
    flex-direction: column;
    margin-top: 60px;
  }

  .section06-images {
      margin: 0 auto;
  }

  .section06-images img {
    width: 100%;
    margin: 0 auto;
  }

  .section06-list {
    width: 100%;
    margin-top: 40px;
  }

  .section06-title {
    font-size: 20px;
  }

  .section06-area:nth-child(n+2) {
    margin-top: 20px;
  }
}

/* Footer ---------------------------------------------- */
.site-footer {
  background-color: #78ACD7;
  padding: 60px 0 10px;
}

.footer-contents {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  margin-top: 80px;
}

.footer-title_name {
  font-size: 38px;
  font-weight: 900;
}

.footer-menu_title,
.footer-company_title {
  border-bottom: 2px solid #fff;
  padding-bottom: 4px;
  margin-bottom: 10px;
}

.footer-menu_list,
.footer-company_list {
  margin-left: 10px;
}

.footer-menu_list li,
.footer-company_list li {
  margin-bottom: 10px;
}

.footer-company_list li img {
  width: 40%;
}

.copywrite {
  text-align: center;
  color: #fff;
  margin: 50px 0 0;
}

@media screen and (max-width: 1079px) {
  .footer-contents {
    flex-wrap: wrap;
  }

  .footer-title {
    width: 100%;
    margin-top: 0;
  }

  .footer-menu,
  .footer-company {
    margin-top: 40px;
    width: 48%;
  }
}

@media screen and (max-width: 797px) {
  .footer-title_name {
    font-size: 24px;
  }

  .footer-menu,
  .footer-company {
    margin-top: 40px;
    width: 100%;
  }

  .footer-company_list li img {
    width: 150px;
  }
}
