/* =================================
   BASE
================================= */

:root {
  --heading-serif: "ten-mincho", "貂明朝", "Noto Serif JP", serif;
  --base-sans: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.pro-page {
  font-family: var(--base-sans);
  color: #231815;
}


/* =================================
   SLIDER
================================= */

.pro-slider {
  position: relative;
  height: 700px;
  overflow: hidden;
}

@media(max-width:1200px) {

  .pro-slider {
    height: 450px;
  }
}

.pro-slider__track {
  position: relative;
  height: 100%;
}

.pro-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.pro-slider .slide.is-active {
  opacity: 1;
}

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


/* =================================
   WHITE BLOCK
================================= */

.pro-content {
  background: #e4dfcf;
  padding: 60px 20px;
}

.pro-content__inner {
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  padding: 80px 80px 100px;

  clip-path: polygon(30px 0,
      30px 0,
      calc(100% - 30px) 0,
      100% 30px,
      100% calc(100% - 30px),
      calc(100% - 30px) 100%,
      30px 100%,
      0 calc(100% - 30px),
      0 30px);
}

/* 波装飾 */
.pro-content__inner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20px;

  width: 480px;
  /* サイズ調整可 */
  height: 320px;

  background: url("images/nami.png") no-repeat bottom right / contain;

  pointer-events: none;
  z-index: 0;
}

.pro-content__inner>* {
  position: relative;
  z-index: 1;
}


/* =================================
   MAIN IMAGE
================================= */

.pro-mainimage img {
  width: 800px;
  height: 533px;
  object-fit: cover;
  display: block;
  margin: 0 auto 60px;
}


/* =================================
   CATCH (中央)
================================= */

.pro-portrait-section {
  text-align: center;
}

/* =============================
   pro-catch 装飾（理想形）
============================= */

.pro-catch {
  position: relative;
  width: fit-content;
  padding: 0 0 20px;
  border-bottom: 1px solid #09416c;
  background-color: #ffffff;
  margin: 0 auto 50px;
  font-size: 32px;
  color: #09416c;
}

.pro-catch::before {
  content: "";
  position: absolute;
  bottom: -18px;
  left: 50%;
  width: 36px;
  height: 36px;
  box-sizing: border-box;
  background-color: #ffffff;
  /* 背景色と同じ色を指定 */
  rotate: 135deg;
  translate: -50%;
}

.pro-catch::after {
  content: "";
  position: absolute;
  top: calc(100% + 20px);
  left: calc(50% - 34px);
  z-index: -1;
  width: 50px;
  height: 1px;
  transform: rotate(50deg);
  box-sizing: border-box;
  background-color: #09416c;
  box-shadow: 0 2px 0 #ffffff, 0 -2px 0 #ffffff;
  /* 背景色と同じ色を指定 */
}

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

.pro-portrait-wrap {
  text-align: center;
  position: relative;
  width: fit-content;
  margin: 0 auto 60px;
  line-height: 1.5;
}

.pro-portrait img {
  width: 300px;
  height: 400px;
  object-fit: cover;
  display: block;
}

.pro-portrait figcaption {
  font-size: 20px;
  margin-top: 16px;
  font-weight: 700;
}

.deco {
  position: absolute;
  width: 120px;
}

.deco-left {
  bottom: 90px;
  left: -100px;
}

.deco-right {
  top: 15px;
  right: -94px;
}

/* =================================
 TEXT（左寄せ） 
 ================================= */
 
.pro-text {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.pro-text h3 {
  position: relative;
  font-size: 22px;
  color: #231815;
  margin-bottom: 24px;
  padding-left: 27px;
  line-height: 1.5;
}

/* アイコン */
.pro-text h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  transform: none;
  width: 22px;
  /* サイズ調整可 */
  height: 22px;
  background: url("images/midasi.png") no-repeat center / contain;
}

.pro-text p {
  font-size: 16px;
  line-height: 2;
}



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

@media(max-width:768px) {

  .pro-slider {
    height: 300px;
  }

  .pro-catch {
    font-size: 24px;
  }

  .pro-portrait-wrap {
    transform: scale(.9);
    transform-origin: center top;
    margin: 0 auto;
  }

  .pro-portrait figcaption {
    font-size: 17px;
  }

  .pro-text h3 {
    font-size: 20px;
    padding-left: 16px;
  }

  .pro-text p {
    font-size: 15px;
    line-height: 1.9;
  }

  .pro-text h3::before {
    width: 18px;
    height: 18px;
    left: -5px;
  }

  .pro-content {
    padding: 40px 20px;
  }

  .pro-content__inner {
    padding: 40px 20px 100px;
  }

  .pro-mainimage img {
    width: 100%;
    height: auto;
    margin: 0 auto 20px;
  }

}




/* =================================
   FISHPRO CAROUSEL
================================= */

.fishpro-section {
  background: #e4dfcf;
  padding: 120px 0;
  overflow: hidden;
}

.fishpro-inner {
  width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

/* -----------------------------
   左タイトル
----------------------------- */

.fishpro-title {
  width: 320px;
}

.fishpro-title-main span {
  display: block;
  background: #fff;
  padding: 4px 9px;
  margin-bottom: 10px;
  font-family: var(--heading-serif);
  font-size: 32px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  width: fit-content;
}

/* -----------------------------
   カルーセル
----------------------------- */

.fishpro-carousel {
  width: calc(100% - 290px);
  overflow: hidden;
}

.fishpro-carousel-viewport {
  overflow: hidden;
}

.fishpro-carousel-track {
  display: flex;
  gap: 32px;

  transition: transform .7s cubic-bezier(.22, .61, .36, 1);

  will-change: transform;
  transform: translateZ(0);
}

/* -----------------------------
   カード
----------------------------- */

.fishpro-card {
  width: 320px;
  flex-shrink: 0;
}

.fishpro-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  display: block;
}

.fishpro-name {
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.6;
}

.fishpro-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* =================================
   SMARTPHONE
================================= */

@media (max-width:768px) {

  .fishpro-inner {
    flex-direction: column;
    gap: 40px;
    width: 100%;
    padding: 0 20px;
    align-items: flex-start;
  }

  .fishpro-title {
    width: auto;
    padding-top: 0;
  }

  .fishpro-carousel {
    width: 100%;
  }

  .fishpro-carousel-track {
    gap: 32px;
  }

  .fishpro-card {
    width: 75%;
  }

}