/* ==================================================
   ABOUT MV
================================================== */

.about-mv {
  width: calc(100% - 40px);
  margin: 14px auto 0;
}

.about-mv__image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 24px;
}

.about-mv__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Tablet
---------------------------------------- */

@media screen and (max-width: 1024px) {

  .about-mv__image {
    height: 260px;
  }

}


/* SP
---------------------------------------- */

@media screen and (max-width: 768px) {

  .about-mv {
    width: calc(100% - 20px);
    margin-top: 8px;
  }

  .about-mv__image {
    height: 220px;
    border-radius: 18px;
  }

}




/* ==================================================
   BREADCRUMB
================================================== */

.about-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;

  padding-top: 18px;

  color: var(--color-text);

  font-size: 11px;
}

.about-breadcrumb a,
.about-breadcrumb p {
  margin: 0;
  color: inherit;
}


/* SP
---------------------------------------- */

@media screen and (max-width: 768px) {

  .about-breadcrumb {
    padding-top: 14px;
    font-size: 10px;
  }

}




/* ==================================================
   INTRO
================================================== */

.about-intro {
  padding: 3rem 0;
}

.about-intro__inner {
  width: min(100%, 760px);
  margin: 0 auto;
}

/* ==================================================
   ABOUT INTRO HEAD
================================================== */

.about-intro__head {
  width: fit-content;

  margin-right: auto;
  margin-left: auto;

  align-items: flex-start;
  text-align: left;
}

.about-intro__head .common-head__jp {
  width: 100%;

  justify-content: flex-start;
  text-align: left;
}

.about-intro__head .common-head__en {
  justify-content: flex-start;
  text-align: left;
}

.about-intro__lead {
  margin: 40px 0 0;

  color: var(--color-text);

  font-size: 28px;
  font-weight: 500;
  line-height: 1.7;
  text-align: center;
}

.about-intro__text {
  margin-top: 38px;
}

.about-intro__text p {
  margin: 0;
  text-align: left;
  color: var(--color-text);

  font-size: 15px;
  line-height: 2;
}

.about-intro__text p + p {
  margin-top: 20px;
}


/* SP
---------------------------------------- */

@media screen and (max-width: 768px) {

  .about-intro {
    padding: 55px 1rem 70px;
  }

  .about-intro__lead {
    margin-top: 28px;
    font-size: 22px;
  }

  .about-intro__text {
    margin-top: 28px;
  }

  .about-intro__text p {
    font-size: 14px;
    line-height: 1.9;
  }

}

/* ==================================================
   ABOUT MESSAGE
================================================== */

.about-message {
  position: relative;
  z-index: 1;

  width: 100%;

  padding: 3rem 0 5rem;

  overflow: visible;
}


/* ==================================================
   MESSAGE BACKGROUND
================================================== */

.about-message__bg {
  position: absolute;
  z-index: 0;

  top: 8rem;
  left: 0;

  /*
    次の「私たちが目指す姿」へ
    約300px食い込ませる
  */
  width: 100%;
  height: calc(100% + 600px);

  background-image: url("https://marinebase.jp/system_panel/uploads/images/ab-bg01.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;

  pointer-events: none;
}


/* ==================================================
   MESSAGE INNER
================================================== */

.about-message__inner {
  position: relative;
  z-index: 2;

  width: min(calc(100% - 80px), 1200px);

  margin: 0 auto;
}


/* ==================================================
   PORTRAIT
================================================== */

.about-message__portrait {
  width: min(100%, 640px);

  margin: 0 auto;

  overflow: hidden;

  border-radius: 18px;
}

.about-message__portrait img {
  display: block;

  width: 100%;
  height: auto;
}


/* ==================================================
   MESSAGE CONTENT
================================================== */

.about-message__content {
  width: min(100%, 640px);

  margin: 34px auto 0;
}


/* Label
---------------------------------------- */

.about-message__label {
  margin: 0;

  color: var(--color-button);

  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;

  text-align: center;
}


/* Name
---------------------------------------- */

.about-message__name {
  margin: 14px 0 0;

  color: var(--color-text);

  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;

  text-align: center;
}

.about-message__name strong {
  display: block;

  margin-top: 4px;

  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}


/* Message Text
---------------------------------------- */

.about-message__text {
  margin-top: 28px;
}

.about-message__text p {
  margin: 0;

  color: var(--color-text);

  font-size: 14px;
  font-weight: 400;
  line-height: 2;
}

.about-message__text p + p {
  margin-top: 15px;
}


/* Note
---------------------------------------- */

.about-message__note {
  width: min(100%, 640px);

  margin: 26px auto 0;
  padding: 18px 22px;

  background-color: #FFFFFF;

  border-radius: 14px;
}

.about-message__note p {
  margin: 0;

  color: var(--color-text);

  font-size: 11px;
  line-height: 1.8;
}


/* ==================================================
   MESSAGE TABLET
================================================== */

@media screen and (max-width: 1024px) {

  .about-message {
    padding:
      65px
      0
      150px;
  }

  .about-message__bg {
    height: calc(100% + 240px);
  }

  .about-message__inner {
    width: min(calc(100% - 60px), 1000px);
  }

  .about-message__portrait {
    width: min(100%, 560px);
  }

  .about-message__content {
    width: min(100%, 560px);
  }

  .about-message__note {
    width: min(100%, 540px);
  }

}


/* ==================================================
   MESSAGE SP
================================================== */

@media screen and (max-width: 768px) {

  .about-message {
    padding:
      50px
      0
      100px;
  }

  .about-message__bg {
    height: calc(100% + 150px);

    background-position: center top;
    background-size: auto 100%;
  }

  .about-message__inner {
    width: calc(100% - 40px);
  }

  .about-message__portrait {
    width: 100%;

    border-radius: 14px;
  }

  .about-message__content {
    width: 100%;

    margin-top: 26px;
  }

  .about-message__label {
    font-size: 15px;
  }

  .about-message__name {
    font-size: 12px;
  }

  .about-message__name strong {
    font-size: 18px;
  }

  .about-message__text {
    margin-top: 22px;
  }

  .about-message__text p {
    font-size: 13px;
    line-height: 1.9;
  }

  .about-message__note {
    width: 100%;

    margin-top: 22px;
    padding: 16px 18px;
  }

  .about-message__note p {
    font-size: 11px;
  }

}


/* ==================================================
   ABOUT VISION
================================================== */

.about-vision {
  position: relative;
  z-index: 2;

  /*
    about-message__bg がこのセクションの
    上部約300pxまで背景として残る
  */
  padding: 3rem 0;

  background-color: transparent;
}


/* ==================================================
   VISION IMAGES
================================================== */

.about-vision__visual {
  position: relative;

  width: min(100%, 900px);
  height: 360px;

  margin: 0 auto 70px;
}

.about-vision__image {
  position: absolute;

  overflow: hidden;

  border-radius: 18px;
}

.about-vision__image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}


/* Main
---------------------------------------- */

.about-vision__image--01 {
  top: 0;
  left: 0;

  width: 380px;
  height: 240px;
}


/* Top Right
---------------------------------------- */

.about-vision__image--02 {
  top: -60px;
  right: 80px;

  width: 220px;
  height: 160px;
}


/* Bottom Right
---------------------------------------- */

.about-vision__image--03 {
  right: 40px;
  bottom: 0;

  width: 320px;
  height: auto;
}


/* ==================================================
   VISION HEADING
================================================== */

.about-vision__heading {
  display: flex;
  align-items: center;

  gap: 10px;

  width: min(100%, 720px);

  margin: 0 auto 45px;
}

.about-vision__heading div {
  display: block;

  width: 24px;
  height: 10px;

  background-color: var(--color-button);

  border-radius: 8px;
}

.about-vision__heading h2 {
  margin: 0;

  color: var(--color-button);

  font-size: 24px;
  font-weight: 600;
}


/* ==================================================
   VISION LIST
================================================== */

.about-vision__list {
  display: flex;
  flex-direction: column;

  gap: 24px;

  width: min(100%, 960px);

  margin: 0 auto;
}

.about-vision__item {
  position: relative;

  padding: 28px 34px 26px;

  background-color: #FFFFFF;

  border: 3px solid var(--color-border);
  border-radius: 16px;
  margin-bottom: 2rem;
}

.about-vision__num {
  position: absolute;

  top: -32px;
  left: 50%;

  padding: 0 14px;

  color: var(--color-button);
  background-color: #FFFFFF;

  font-size: 32px;
  font-weight: 500;

  transform: translateX(-50%);
}

.about-vision__item-inner h3 {
  margin: 0;

  color: var(--color-button);

  font-size: 20px;
  font-weight: 600;

  text-align: center;
}

.about-vision__item-inner p {
  margin: 16px 0 0;

  color: var(--color-text);

  font-size: 14px;
  line-height: 1.9;
}


/* ==================================================
   VISION TABLET
================================================== */

@media screen and (max-width: 1024px) {

  .about-vision {
    padding-top: 50px;
  }

  .about-vision__visual {
    width: min(100%, 760px);
  }

}


/* ==================================================
   VISION SP
================================================== */

@media screen and (max-width: 768px) {

  .about-vision {
    padding:
      40px
      0
      90px;
  }

  .about-vision__visual {
    height: 350px;

    margin-bottom: 50px;
  }

  .about-vision__image--01 {
    width: 64%;
    height: 180px;
  }

  .about-vision__image--02 {
    top: 40px;
    right: 0;

    width: 38%;
    height: 120px;
  }

  .about-vision__image--03 {
    right: 5%;

    width: 50%;
    height: 150px;
  }

  .about-vision__heading {
    margin-bottom: 36px;
  }

  .about-vision__heading h2 {
    font-size: 20px;
  }

  .about-vision__item {
    padding: 26px 20px 22px;
  }

  .about-vision__item-inner h3 {
    font-size: 15px;
  }

  .about-vision__item-inner p {
    font-size: 13px;
  }

}

/* ==================================================
   COMPANY
================================================== */

.about-company {
  position: relative;
  z-index: 2;

  padding: 40px 0 0;
}


/* ==================================================
   Logo
================================================== */

.about-company__logo {
  display: flex;
  align-items: center;
  justify-content: center;

  width: min(100%, 1024px);
  min-height: 220px;

  margin: 0 auto;

  background-color: #F7F5F0;

  border-radius: 24px;
}

.about-company__logo img {
  display: block;

  width: 130px;
  height: auto;
}


/* ==================================================
   Title
================================================== */

.about-company__title {
  margin: 34px 0 0;

  color: var(--color-button);

  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;

  text-align: center;
}


/* ==================================================
   Table
================================================== */

.about-company__table {
  width: min(100%, 800px);

  margin: 35px auto 0;
}

.about-company__table-item {
  display: grid;

  grid-template-columns:
    140px
    minmax(0, 1fr);

  width: 100%;

  margin: 0;

  border-bottom: 1px solid var(--color-border);
}

.about-company__table-item p {
  margin: 0;

  padding: 17px 0;

  font-size: 13px;
  line-height: 1.8;
}

.about-company__table-item p:nth-child(1) {
  color: var(--color-button);

  font-weight: 500;
  text-align: left;
}

.about-company__table-item p:nth-child(2) {
  color: var(--color-text);

  text-align: left;
}


/* ==================================================
   Photos
================================================== */

.about-company__photos {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 20px;

  width: min(100%, 620px);

  margin: 45px auto 0;
}

.about-company__photo {
  overflow: hidden;

  aspect-ratio: 1.35 / 1;

  border-radius: 16px;
}

.about-company__photo img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}


/* ==================================================
   Map
================================================== */

.about-company__map {
  position: relative;
  z-index: 5;

  width: min(100%, 620px);
  height: 360px;

  margin: 24px auto 0;

  overflow: hidden;

  background-color: #D3D3D3;

  border-radius: 16px;
}


/* CMSでiframeの外側にdivが生成される場合 */
.about-company__map > div {
  width: 100% !important;
  height: 100% !important;
}


/* Google Map */
.about-company__map iframe {
  display: block;

  width: 100% !important;
  height: 100% !important;

  margin: 0;
  padding: 0;

  border: 0;

  pointer-events: auto !important;
}


/* ==================================================
   COMPANY TABLET
================================================== */

@media screen and (max-width: 1024px) {

  .about-company__map {
    height: 330px;
  }

}


/* ==================================================
   COMPANY SP
================================================== */

@media screen and (max-width: 768px) {

  .about-company {
    padding-top: 30px;
  }


  /* Logo
  ---------------------------------------- */

  .about-company__logo {
    min-height: 180px;

    border-radius: 18px;
  }

  .about-company__logo img {
    width: 110px;
  }


  /* Table
  ---------------------------------------- */

  .about-company__table {
    margin-top: 28px;
  }

  .about-company__table-item {
    grid-template-columns:
      90px
      minmax(0, 1fr);
  }

  .about-company__table-item p {
    padding: 14px 0;

    font-size: 12px;
  }


  /* Photos
  ---------------------------------------- */

  .about-company__photos {
    gap: 12px;

    margin-top: 35px;
  }


  /* Map
  ---------------------------------------- */

  .about-company__map {
    height: 280px;

    margin-top: 18px;

    border-radius: 14px;
  }

}

/* ==================================================
   MAP
   背景より前面に表示
================================================== */

.about-company__map {
  position: relative;
  z-index: 3;
}


/* ==================================================
   CONTACT CTA
================================================== */

.about-contact {
  position: relative;
  z-index: 1;

  width: 100%;

  /*
    MAPの途中まで背景を食い込ませる
    MAP 330px想定
  */
  margin-top: -240px;

  /*
    背景はMAP途中から開始するが、
    CTA本体はMAPの下へ配置
  */
  padding:
    325px
    0
    135px;

  isolation: isolate;
}

.about-contact-case {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 3rem!important;
  padding: 0!important;
}


/* ==================================================
   CONTACT BACKGROUND
================================================== */

.about-contact__bg {
  position: absolute;
  z-index: -1;

  inset: 0;

  /*
    ab-bg02の上側カーブをそのまま使用
  */
  background-image: url("https://marinebase.jp/system_panel/uploads/images/ab-bg02.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;

  overflow: hidden;

  pointer-events: none;
}


/*
  ab-bg02は2048 × 800。
  画像を横幅100%で表示した際、
  画像より下までCONTACTが続く場合だけ
  水色を継続させる
---------------------------------------- */

.about-contact__bg::before {
  content: "";

  position: absolute;
  z-index: -1;

  top: 35.0625vw;
  right: 0;
  bottom: 0;
  left: 0;

  background-color: #E5F2FF;
}


/*
  下側だけ白で湾曲させて切り抜く
---------------------------------------- */

.about-contact__bg::after {
  content: "";

  position: absolute;
  z-index: 2;

  left: 50%;
  bottom: -135px;

  width: max(1800px, 120vw);
  height: 340px;

  background-color: #FFFFFF;

  border-radius: 80%;

  transform: translateX(-50%);

  pointer-events: none;
}


/* ==================================================
   CONTACT BOX
================================================== */

.about-contact__box {
  position: relative;
  z-index: 3;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    100px;

  gap: 12px;

  width: min(100%, 760px);

  margin: 0 auto;

  color: inherit;

  background-color: transparent;

  text-decoration: none;
}


/* ==================================================
   CONTACT CONTENT
================================================== */

.about-contact__content {
  display: flex;
  flex-direction: column;
  justify-content: center;

  min-height: 170px;

  padding:
    30px
    38px;

  background-color: #FFFFFF;

  border: 2px solid var(--color-border);
  border-radius: 20px;
}


/* ==================================================
   CONTACT HEAD
================================================== */

.about-contact .common-head {
  width: 100%;
}

.about-contact .common-head__jp {
  justify-content: flex-start;

  margin-bottom: 5px;
}

.about-contact .common-head__en {
  color: var(--color-button);

  font-size: clamp(42px, 4.5vw, 58px);
}


/* ==================================================
   CONTACT TEXT
================================================== */

.about-contact__text {
  margin: 18px 0 0;

  color: var(--color-text);

  font-size: 13px;
  font-weight: 400;

  line-height: 1.8;
  letter-spacing: 0.01em;
}


/* ==================================================
   CONTACT ARROW
================================================== */
/* Arrow
---------------------------------------- */

.about-contact__arrow {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 140px;

  background-color: var(--color-button);

  border-radius: 16px;

  font-size: 0;

  transition:
    background-color var(--transition),
    transform var(--transition);
}


/* 矢印画像 */
.about-contact__arrow::before {
  content: "";

  display: block;

  width: 18px;
  height: 18px;

  background-image: url("https://marinebase.jp/system_panel/uploads/images/btn-arrow.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}


/* Hover
---------------------------------------- */

@media (hover: hover) {

  .about-contact__box:hover
  .about-contact__arrow {
    background-color: var(--color-blue-dark);

    transform: translateX(4px);
  }

}


/* ==================================================
   HOVER
================================================== */

@media (hover: hover) {

  .about-contact__box:hover .about-contact__arrow {
    background-color: var(--color-blue-dark);

    transform: translateX(4px);
  }

}


/* ==================================================
   TABLET
================================================== */

@media screen and (max-width: 1024px) {

  .about-contact {
    margin-top: -210px;

    padding:
      285px
      0
      115px;
  }


  /* Background
  ---------------------------------------- */

  .about-contact__bg {
    background-size: 100% auto;
  }

  .about-contact__bg::before {
    top: 39.0625vw;
  }

  .about-contact__bg::after {
    bottom: -105px;

    width: 190vw;
    height: 180px;
  }


  /* Box
  ---------------------------------------- */

  .about-contact__box {
    grid-template-columns:
      minmax(0, 1fr)
      90px;
  }


  /* Content
  ---------------------------------------- */

  .about-contact__content {
    min-height: 160px;

    padding:
      28px
      32px;
  }


  /* Arrow
  ---------------------------------------- */

  .about-contact__arrow {
    min-height: 160px;
  }

}


/* ==================================================
   SP
================================================== */

@media screen and (max-width: 768px) {

  .about-contact {
    /*
      MAP 280px想定
    */
    margin-top: -175px;

    padding:
      235px
      0
      90px;
  }


  /* Background
  ---------------------------------------- */

  .about-contact__bg {
    background-position: center top;
    background-size: 100% auto;
  }

  .about-contact__bg::before {
    top: 39.0625vw;
  }

  .about-contact__bg::after {
    bottom: -55px;

    width: 220vw;
    height: 100px;
  }


  /* Box
  ---------------------------------------- */

  .about-contact__box {
    grid-template-columns:
      minmax(0, 1fr)
      64px;

    gap: 8px;
  }


  /* Content
  ---------------------------------------- */

  .about-contact__content {
    min-height: 140px;

    padding:
      24px
      20px;

    border-width: 1px;
    border-radius: 16px;
  }


  /* Head
  ---------------------------------------- */

  .about-contact .common-head__en {
    font-size: 38px;
  }


  /* Text
  ---------------------------------------- */

  .about-contact__text {
    margin-top: 14px;

    font-size: 11px;
  }

  .about-contact__text br {
    display: none;
  }
}
/* ==================================================
   SMALL SP
================================================== */

@media screen and (max-width: 480px) {

  .about-contact {
    margin-top: -150px;

    padding:
      205px
      0
      80px;
  }

  .about-contact__bg::after {
    bottom: -45px;

    width: 240vw;
    height: 85px;
  }

}