@charset "UTF-8";

/** fv **/
.fv {
  margin-left: calc((1000px - 100vw) / 2);
  position: relative;
  height: 570px;
  width: calc(100% + ((100vw - 1000px) / 2));
}
.fv figure {
  margin-right: 70px;
  overflow: hidden;
  position: absolute;
  height: 100%;
  width: calc(100% - 70px);
}
.fv figure img {
  position: absolute;
  left: calc(50% - 7vw);
  top: calc(50% - 2vw);
  transform: translateY(-50%);
  max-width: initial;
  height: calc(100% + 38vw);
  width: auto;
}
.fv h2 {
  display: table;
  margin-left: auto;
  padding-top: 50px;
  position: relative;
}
@media screen and (max-width: 1040px) {
  .fv {
    margin-left: 0;
    height: 50vw;
    width: calc(100% - 4vw);
  }
  .fv figure {
    margin-right: 0;
    width: calc(100% - 6vw);
  }
  .fv figure img {
    left: calc(50% - 12vw);
    top: calc(50% - 2vw);
    height: calc(100% + 45vw);
  }
  .fv h2 {
    padding-top: 5vw;
    width: 12vw;
  }
}

@media screen and (max-width: 780px) {
  .fv {
    margin-left: -6vw;
    height: 108vw;
    width: calc(100% + 6vw);
  }
  .fv figure {
    margin-right: 0;
    width: 100%;
  }
  .fv figure img {
    left: calc(50% - 37vw);
    top: calc(50% - 6vw);
    height: calc(100% + 30vw);
  }
  .fv h2 {
    margin-right: 3vw;
    padding-top: 70.5vw;
    width: 20vw;
  }
}

/** intro **/
.intro {
  font-family: "A1 Mincho", serif;
  margin-top: 100px;
}
.intro h3 {
  font-size: 38px;
  letter-spacing: 2px;
  -webkit-text-stroke: 1px #000;
  text-stroke: 1px #000;
  width: 300px;
}
.intro h3 span {
  letter-spacing: 6px;
}
.intro p {
  font-size: 18px;
  line-height: 2;
  margin-right: -5px;
  text-shadow: 0 0 #000;
}
@media screen and (max-width: 1040px) {
  .intro {
    margin: 0 2vw;
    margin-top: 10vw;
  }
  .intro h3 {
    font-size: 3.4vw;
    letter-spacing: 0.2vw;
    width: 28vw;
  }
  .intro h3 span {
    letter-spacing: 0.6vw;
  }
  .intro p {
    font-size: 1.7vw;
    margin-right: -0.5vw;
  }
}
@media screen and (max-width: 780px) {
  .intro {
    margin: 0;
    margin-top: 12vw;
  }
  .intro h3 {
    font-size: 5.8vw;
    letter-spacing: 0.6vw;
    margin-bottom: 9vw;
    width: 100%;
  }
  .intro h3 span {
    letter-spacing: 0.6vw;
  }
  .intro p {
    font-size: 3.4vw;
    margin-right: -0.5vw;
  }
}

/** wg_speciality **/
.wg_speciality {
  margin-top: 100px;
}
.wg_speciality h2 {
  color: #006423;
  font-size: 48px;
  letter-spacing: 3px;
  margin-bottom: 80px;
}
.wg_speciality h2 span {
  border-bottom: solid 1px #d0a600;
  letter-spacing: 0;
  margin-left: 30px;
  padding-bottom: 5px;
}
.wg_speciality h2 em {
  color: #d0a600;
  font-family: "A1 Mincho", "A1明朝", serif;
  font-size: 80px;
  margin-right: 10px;
}
.wg_speciality article {
  margin-bottom: 100px;
  position: relative;
}
.wg_speciality article h3 {
  color: #006423;
  font-size: 22px;
  letter-spacing: 2px;
  margin-left: -6px;
  position: relative;
  padding-top: 100px;
  -moz-writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  -ms-writing-mode: vertical-rll;
  writing-mode: vertical-rl;
  width: 70px;
  text-orientation: upright;
  white-space: nowrap;
}
.wg_speciality article h3 span.no {
  color: #d0a600;
  font-family: "A1 Mincho", "A1明朝", serif;
  font-size: 52px;
  letter-spacing: 8px;
  line-height: 1;
  padding-bottom: 15px;
  padding-left: 4px;
  position: absolute;
  left: 1px;
  top: 0;
  text-align: center;
  -moz-writing-mode: initial;
  -webkit-writing-mode: initial;
  -ms-writing-mode: initial;
  -ms-writing-mode: initial;
  writing-mode: initial;
  width: 100%;
}
.wg_speciality article h3 span.no::after {
  background-color: #d0a600;
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 4px;
  height: 1px;
  width: 60px;
}
.wg_speciality article h3 span.tc {
  text-combine-upright: all;
}
.wg_speciality article h3 span.ls_1 {
  letter-spacing: -8px;
}
.wg_speciality article p {
  font-family: "A1 Mincho";
  font-size: 18px;
  line-height: 1.75;
  margin-left: 30px;
  text-shadow: 0 0 #000;
  width: 400px;
}
.wg_speciality article p.mt-20 {
  margin-top: 20px;
  font-size: 12px;
}
.wg_speciality article figure {
  overflow: hidden;
  position: absolute;
  left: calc(50% + 10px);
  top: 0;
  height: 100%;
  width: calc(50vw - 10px);
}
.wg_speciality article figure img {
  position: absolute;
  transform: translateX(-50%);
  max-width: initial;
}
.wg_speciality article.box_1 figure img {
  left: calc(50% - 2vw);
  top: calc(50%);
  width: calc(100% + 7vw);
}
.wg_speciality article.box_2 figure img {
  left: calc(50%);
  top: calc(50% + 3vw);
  width: calc(100% + 10vw);
}
.wg_speciality article.box_3 figure img {
  left: calc(50% - 1vw);
  top: calc(50% + 1vw);
  width: calc(100% + 3vw);
}
.wg_speciality article.box_4 figure img {
  left: calc(50% - 0.5vw);
  top: calc(50% + 1vw);
  width: calc(100% + 2vw);
}
.wg_speciality article.box_5 figure img {
  left: calc(50% - 0.5vw);
  top: calc(50% + 3vw);
  width: calc(100% + 1vw);
}
.wg_speciality article.box_6 figure img {
  left: calc(50% - 6.5vw);
  top: calc(50% + 1vw);
  width: calc(100% + 14vw);
}
.wg_speciality .attention_box {
  text-align: center;
  margin-top: 20px;
}
.wg_speciality .attention_box p.attention {
  font-size: 13px;
  text-align: center;
}

@media screen and (max-width: 1350px) {
  .wg_speciality article figure img {
    width: auto !important;
  }
  .wg_speciality article.box_1 figure img {
    left: calc(50% - 0vw);
    top: calc(50%);
    height: calc(100% + 6vw);
  }
  .wg_speciality article.box_2 figure img {
    left: calc(50% - 2vw);
    top: calc(50%);
    height: calc(100% + 9vw);
  }
  .wg_speciality article.box_3 figure img {
    left: calc(50% + 3vw);
    top: calc(50% - 1vw);
    height: calc(100% + 6vw);
  }
  .wg_speciality article.box_4 figure img {
    left: calc(50% - 0vw);
    top: calc(50%);
    height: calc(100% + 3vw);
  }
  .wg_speciality article.box_5 figure img {
    left: calc(50% + 2vw);
    top: calc(50% - 1vw);
    height: calc(100% + 2vw);
  }
  .wg_speciality article.box_6 figure img {
    left: calc(50% - 8vw);
    top: calc(50% + 1vw);
    height: calc(100% + 14vw);
  }
  .wg_speciality  {
    margin-top: 4vw;
  }
  .wg_speciality  p {
    font-size: 1.4vw;
  }
}
@media screen and (max-width: 1040px) {
  .wg_speciality {
    margin: 0 2vw;
    margin-top: 10vw;
  }
  .wg_speciality h2 {
    font-size: 4.6vw;
    letter-spacing: 0.3vw;
    margin-bottom: 8vw;
  }
  .wg_speciality h2 span {
    margin-left: 3vw;
    padding-bottom: 0.5vw;
  }
  .wg_speciality h2 em {
    font-size: 7.4vw;
    margin-right: 1vw;
  }
  .wg_speciality article {
    margin-bottom: 10vw;
  }
  .wg_speciality article h3 {
    font-size: 2vw;
    letter-spacing: 0.2vw;
    margin-left: -0.6vw;
    padding-top: 10vw;
    width: 7vw;
  }
  .wg_speciality article h3 span.no {
    font-size: 5vw;
    letter-spacing: 0.8vw;
    padding-bottom: 1.5vw;
    padding-left: 0.8vw;
    left: 0.1vw;
  }
  .wg_speciality article h3 span.no::after {
    left: 0.8vw;
    width: 6vw;
  }
  .wg_speciality article h3 span.ls_1 {
    letter-spacing: -0.8vw;
  }
  .wg_speciality article p {
    font-size: 1.7vw;
    margin-left: 3vw;
    width: 40vw;
  }
  .wg_speciality article figure {
    left: calc(50% + 3vw);
    width: calc(50vw - 3vw);
  }
  .wg_speciality article.box_1 figure img {
    left: calc(50% + 0.5vw);
    top: calc(50%);
    height: calc(100% + 3vw);
  }
  .wg_speciality article.box_2 figure img {
    left: calc(50% - 2vw);
    top: calc(50% + 1vw);
    height: calc(100% + 2vw);
  }
  .wg_speciality article.box_3 figure img {
    left: calc(50% + 6vw);
    top: calc(50% + -1vw);
    height: calc(100% + 5vw);
  }
  .wg_speciality article.box_4 figure img {
    left: calc(50% - 0.5vw);
    top: calc(50% - 0.5vw);
    height: calc(100% + 1vw);
  }
  .wg_speciality article.box_5 figure img {
    left: calc(50% + 7vw);
    top: calc(50% - 0.5vw);
    height: calc(100% + 3vw);
  }
  .wg_speciality article.box_6 figure img {
    left: calc(50% - 6.5vw);
    top: calc(50% + 1vw);
    height: calc(100% + 13vw);
  }
  .wg_speciality .attention_box {
    margin-top: 4vw;
  }
  .wg_speciality .attention_box p .attention{
    font-size: 1.3vw;
  }
}
@media screen and (max-width: 780px) {
  .wg_speciality {
    margin: 0;
    margin-top: 18vw;
  }
  .wg_speciality h2 {
    font-size: 6.8vw;
    letter-spacing: 0.3vw;
    margin-bottom: 10vw;
    margin-right: -6vw;
  }
  .wg_speciality h2 span {
    margin-left: 4vw;
    padding-bottom: 0.5vw;
  }
  .wg_speciality h2 em {
    font-size: 12vw;
    margin-right: 1vw;
  }
  .wg_speciality article {
    margin-bottom: 13vw;
    padding-top: 60vw;
  }
  .wg_speciality article h3 {
    /* font-size: 4.2vw; */
    font-size: 3.65vw;
    letter-spacing: 0.4vw;
    margin-left: -0.6vw;
    padding-top: 18vw;
    width: 13vw;
  }
  .wg_speciality article h3 span.no {
    font-size: 8.6vw;
    letter-spacing: 1.8vw;
    padding-bottom: 3vw;
    padding-left: 0.8vw;
    left: 0.1vw;
  }
  .wg_speciality article h3 span.no::after {
    left: 0.8vw;
    width: 11vw;
  }
  .wg_speciality article h3 span.ls_1 {
    letter-spacing: -1.2vw;
  }
  .wg_speciality article p {
    font-size: 3.5vw;
    line-height: 1.7;
    margin-left: 5vw;
    margin-right: -2vw;
    width: calc(100% - 13vw - 5vw + 2vw);
  }
  .wg_speciality article figure {
    left: 0;
    top: 0;
    height: 53vw;
    width: calc(100% + 6vw);
  }
  .wg_speciality article figure img {
    height: auto !important;
  }
  .wg_speciality article.box_1 figure img {
    left: calc(50% - 1vw);
    top: calc(50% + 0.5vw);
    width: calc(100% + 9vw) !important;
  }
  .wg_speciality article.box_2 figure img {
    left: calc(50% - 3vw);
    top: calc(50% + 3vw);
    width: calc(100% + 18vw) !important;
  }
  .wg_speciality article.box_3 figure img {
    left: calc(50% + 1vw);
    top: calc(50% + 3vw);
    width: calc(100% + 12vw) !important;
  }
  .wg_speciality article.box_4 figure img {
    left: calc(50% + 1vw);
    top: calc(50% + 2vw);
    width: calc(100% + 10vw) !important;
  }
  .wg_speciality article.box_5 figure img {
    left: calc(50%);
    top: calc(50% - 4vw);
    width: calc(100% + 2vw) !important;
  }
  .wg_speciality article.box_6 figure img {
    left: calc(50% - 8vw);
    top: calc(50% + 1vw);
    width: calc(100% + 44vw) !important;
  }
  .wg_speciality .attention_box {
    margin-top: 4vw;
  }
  .wg_speciality .attention_box p.attention{
    font-size: 3.2vw;
  }
}

/* =========================
   Base
========================= */

.p-speciality {
  background-color: #ffffff;
  color: #333333;
  font-size: 16px;
  line-height: 1.7;
}

.u-sp-only {
  display: none;
}

/* =========================
   Hero
========================= */

.p-speciality-hero {
  padding: 80px 20px 48px;
}

.p-speciality-hero__inner {
  margin-left: auto;
  margin-right: auto;
  max-width: 1040px;
}

.p-speciality-hero__title {
  font-size: 2.4rem;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

.p-speciality-hero__lead {
  font-size: 0.98rem;
  line-height: 1.9;
}

/* =========================
   CATEGORY NAV（中央揃え）
========================= */

.p-speciality-categoryNav {
  background-color: #ffffff;
  border-bottom: 1px solid #e3e3e3;
  border-top: 1px solid #e3e3e3;
  padding: 24px 20px;
  text-align: center; /* ★全体中央揃え */
}

.p-speciality-categoryNav__inner {
  margin-left: auto;
  margin-right: auto;
  max-width: 1040px;
}

/* 見出し CATEGORY を中央に */

.p-speciality-categoryNav__heading {
  color: #7f8a81;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  margin: 0 0 12px;
  text-align: center; /* ★中央揃え */
  text-transform: uppercase;
}

/* ボタンの並びを中央に */

.p-speciality-categoryNav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center; /* ★中央寄せ */
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

/* ボタン（通常：グレー） */

.p-speciality-categoryNav__link {
  -moz-column-gap: 6px;
  -webkit-text-decoration: none;
  align-items: center;
  background-color: #e5e5e5; /* グレー */
  border-radius: 6px;
  color: #374138;
  column-gap: 6px;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 16px;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

/* ホバー（グリーン） */

.p-speciality-categoryNav__link:hover,
.p-speciality-categoryNav__link:focus-visible {
  background-color: #0f7f4a;
  color: #ffffff;
  opacity: 0.95;
}

/* 英語ラベル */

.p-speciality-categoryNav__en {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  opacity: 0.85;
  text-transform: uppercase;
}

/* =========================
   Section
========================= */

.p-speciality-section {
  padding: 56px 20px;
}

.p-speciality-section__inner {
  margin-left: auto;
  margin-right: auto;
  max-width: 1040px;
}

.p-speciality-section__header {
  margin-bottom: 24px;
}

.p-speciality-section__title {
  border-bottom: .1rem solid #ccc;
  padding-bottom: 1.6rem;
  font-weight: 700;
}

.p-speciality-section__en {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  margin-left: 8px;
}

.p-speciality-section__description {
  color: #555555;
  font-size: 0.95rem;
  line-height: 1.9;
  margin-top: 1.6rem;
}

/* ここは swiper に任せるので display:grid は削除推奨 */

.p-speciality-cardList {
  list-style: none;
  margin: 0;
  padding: 0; /* display: grid; ← これは外す */
}

/* スライドとしての最低限 */

.p-speciality-cardList__item.swiper-slide {
  height: auto;
}

.p-speciality-slider {
  overflow: hidden;
  position: relative;
  margin-top: 1.6rem;
}

/* ナビのスタイル（簡易） */

.p-speciality-slider__nav {
  display: flex;
  justify-content: space-between;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 50%;
}

.p-speciality-slider__prev,
.p-speciality-slider__next {
  background-color: rgba(0, 0, 0, 0.4);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  height: 32px;
  pointer-events: auto;
  width: 32px;
}

.p-speciality-slider__prev::before,
.p-speciality-slider__next::before {
  border-right: 2px solid #ffffff;
  border-top: 2px solid #ffffff;
  content: "";
  display: block;
  height: 10px;
  margin: 0 auto;
  transform: rotate(225deg);
  width: 10px;
}

.p-speciality-slider__next::before {
  transform: rotate(45deg);
}

/* =========================
   Responsive
========================= */

/* ページ全体背景 */

.p-speciality {
  background-color: #f5f5f5; /* ページ全体の背景色 */
  color: #333333;
  font-size: 16px;
  line-height: 1.7;
}

/* Hero 背景（必要なら色分け） */

.p-speciality-hero {
  background-color: #ffffff; /* ヒーロー部分は白背景 */
  padding: 80px 20px 48px;
}

/* セクション毎の背景（交互色など） */

.p-speciality-section {
  background-color: #ffffff; /* 各セクションの背景色 */
  padding: 56px 20px;
}

.p-speciality-section:nth-child(even) {
  background-color: #f9f9f9; /* 偶数セクションは薄いグレー、交互で色分けする場合 */
}

/* カード */

.p-speciality-card {
  -webkit-text-decoration: none;
  background-color: #ffffff; /* カード背景色 */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.p-speciality-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* サムネイル部分 */

.p-speciality-card__thumb {
  aspect-ratio: 4/3;
  background-color: #eaeaea; /* 画像読み込み前の背景の色 */
  overflow: hidden;
  width: 100%;
}

.p-speciality-card__thumb img {
  -o-object-fit: cover;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

/* カード本文 */

.p-speciality-card__body {
  background-color: #ffffff; /* カード本文部分の背景、必要であれば透明や別色に */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 16px 16px 18px;
  row-gap: 8px;
}

/* カテゴリナビ背景（もし背景をつけたいなら） */

.p-speciality-categoryNav {
  background-color: #ffffff;
  border-bottom: 1px solid #eeeeee;
  border-top: 1px solid #eeeeee;
  padding: 24px 20px;
}
