/*
Theme Name: etolabo_v2
Description: テーマの説明
Author: morishita
Version: 1.0
*/

@charset "UTF-8";

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-y: auto;
  /* 明示的に指定 */
}

@media (max-width:1023px) {
  html.html-service {
    scroll-padding-top: 200px;
  }
}

body {
  background-image: url(img/bg-deco.svg);
  background-size: contain;
  background-position: right top;
  background-color: var(--color-body);
  color: var(--color-font);
  font-family: var(--font-main);
  font-weight: 500;
}

@media (max-width:1023px) {
  body {
    background-image: url(img/bg-deco-sp.png);
    background-position: center 30px;
    background-repeat: repeat-y;
  }
}

main {
  overflow-x: clip;
  /* overflow-x: clip; を削除 - Intersection Observerの動作を妨げる */
  overflow-y: visible;
}

a {
  text-decoration: none;
  color: inherit;
  transition-duration: 0.3s;
}

a img,
a::before,
a::after,
a p,
a div,
a span,
a button {
  transition-duration: 0.3s;
}

a:hover img {
  opacity: 0.8;
}

p,
a,
li,
button,
dt,
dd,
th,
td,
address,
small {
  letter-spacing: 0.05em;
}

:root {
  --color-main: #CE7C8A;
  --color-accent: #D68A5C;
  --color-body: #F5F6F4;
  --color-font: #714E0B;
  --color-font-light: rgba(112, 76, 13, .2);
  --color-font-hover: #AD495A;
  --color-shadow: rgba(87, 87, 87, .16);
  --font-main: "しまなみ", "Shimanami";
  --font-secondary: Futura, 'Century Gothic', 'Apple Gothic', 'Trebuchet MS', Arial, sans-serif;
}

/*-----------------------------------------------------------------------------------------
フェードインアニメーション
-----------------------------------------------------------------------------------------*/

/* 左上からフェードイン */
.fade-in.from-lt {
  transform: translate3d(-1em, -.5em, 0);
  opacity: 0;
  transition: opacity 2s ease, transform 2s ease;
  /* will-change: transform, opacity; */
}

.fade-in.from-lt.is-visible {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* 右上からフェードイン */
.fade-in.from-rt {
  transform: translate3d(1em, -.5em, 0);
  opacity: 0;
  transition: opacity 2s ease, transform 2s ease;
}

.fade-in.from-rt.is-visible {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* 左下からフェードイン */
.fade-in.from-lb {
  transform: translate3d(-1em, .5em, 0);
  opacity: 0;
  transition: opacity 2s ease, transform 2s ease;
}

.fade-in.from-lb.is-visible {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* 右下からフェードイン */
.fade-in.from-rb {
  transform: translate3d(1em, .5em, 0);
  opacity: 0;
  transition: opacity 2s ease, transform 2s ease;
}

.fade-in.from-rb.is-visible {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* 下からフェードイン */
.fade-in.from-b {
  transform: translate3d(0, .5em, 0);
  opacity: 0;
  transition: opacity 2s ease, transform 2s ease;
}

.fade-in.from-b.is-visible {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* -------------------------------------
    遅延設定（TOP）
----------------------------------------*/
.main-img .fade-in.from-rt {
  transition-delay: 0s;
}

.header-wrapper h1.fade-in.from-lt {
  transition-delay: 1s;
}

.main-img .fade-in.from-rb {
  transition-delay: 1s;
}

.header-wrapper nav.fade-in.from-lb {
  transition-delay: 2s;
}


@media (max-width:1023px) {

  .fade-in.from-lt,
.fade-in.from-rt,
.fade-in.from-lb,
.fade-in.from-rb,
.fade-in.from-b {
  transition: opacity 1.2s ease, transform 1.5s ease;
}

  .header-wrapper h1.fade-in.from-lt {
    transition-delay: 0s;
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }

}

/* -------------------------------------
  アニメーション（その他）
----------------------------------------*/
@keyframes rotateAnimation {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/*-----------------------------------------------------------------------------------------
レイアウト
-----------------------------------------------------------------------------------------*/

.container {
  max-width: 1100px;
  width: 60%;
  margin: 0 auto;
}

.container-m {
  max-width: 700px;
  width: 90%;
  margin: 0 auto auto;
}

.mb-1 {
  margin-bottom: 1em;
}

.mb-2 {
  margin-bottom: 2em;
}

.mb-3 {
  margin-bottom: 3em;
}

.mb-section {
  margin-bottom: 200px;
}

.txt-box {
  text-align: justify;
  word-break: break-all;
  line-height: 2;
}

.flex-sb {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 2em;
}

@media (max-width:1023px) {

  .container {
    max-width: none;
    width: 90%;
  }

  .mb-section {
    margin-bottom: 80px;
  }

  .flex-box {
    width: 100% !important;
  }

}

.sp-block {
  display: none;
}

/*-----------------------------------------------------------------------------------------
見出し
-----------------------------------------------------------------------------------------*/

.heading-001 {
  font-size: 35px;
  font-weight: 500;
  letter-spacing: .2em;
  line-height: 2;
  writing-mode: vertical-rl;
  border: 3px dotted var(--color-font);
  border-style: none dotted none dotted;
  height: fit-content;
  margin-bottom: 3em;
}

.heading-001.white {
  color: #fff;
  border-color: #fff;
}

@media (max-width:1023px) {
  .heading-001 {
    font-size: 20px;
    border-width: 2px;
    margin: 0 auto 3em;

  }
}


/*-----------------------------------------------------------------------------------------
パーツ
-----------------------------------------------------------------------------------------*/
/* -------------------------------------
    ボタン
----------------------------------------*/

/* 背景色白のボタン */
.btn {
  display: block;
  width: 100%;
  max-width: 300px;
  font-size: 25px;
  margin: 0 0 0 auto;
  padding: .8em 2em .8em 1em;
  border-radius: 40px;
  border: 2px solid var(--color-font);
  position: relative;
  line-height: 1;
  box-sizing: border-box;

}

.btn::before {
  position: absolute;
  display: block;
  width: .4em;
  height: .8em;
  background-color: var(--color-font);
  content: "";
  mask-image: url(img/icon_arrow.svg);
  mask-size: contain;
  mask-repeat: no-repeat;
  top: 1em;
  right: 1em;
}

.btn:hover {
  color: #fff;
  background-color: var(--color-main);
  border-color: var(--color-main);
}

.btn:hover::before {
  background-color: #fff;
}

/* 背景色カラーの時のボタン */
.btn.white {
  border: 2px solid #fff;
}

.btn.white::before {
  background-color: #fff;
}

.btn.white:hover {
  color: var(--color-accent);
  background-color: #fff;
}

.btn.white:hover::before {
  background-color: var(--color-accent);
}

@media (max-width:1023px) {
  .btn {
    max-width: 250px;
    font-size: 18px;
    margin: 0 auto;
    border-width: 1px;
  }

  .btn.white {
    border-width: 1px;
  }

}


/*-----------------------------------------------------------------------------------------
header
-----------------------------------------------------------------------------------------*/
.header-wrapper {
  position: fixed;
  width: 13%;
  height: 100vh;
  z-index: 990;
  box-sizing: border-box;
  top: 0;
  left: 0;
  padding: 3% 0 3% 3%;
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
}

h1 {
  width: 80%;
}

@media (max-width:1023px) {

  .header-wrapper {
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    padding: 16px 5% 0;
    flex-wrap: wrap;
    align-content: space-between;
    justify-content: space-between;
  }

  h1 {
    width: 58px;
  }

}

nav.global ul.menu {
  width: 100%;
}

nav.global ul.menu li a {
  display: block;
  width: 100%;
  line-height: 2;
  font-size: 20px;
  position: relative;
  padding-left: 1em;

}

nav.global ul.menu li a::before {
  position: absolute;
  display: block;
  width: .4em;
  height: .8em;
  background-color: var(--color-font);
  content: "";
  mask-image: url(img/icon_arrow.svg);
  mask-size: contain;
  mask-repeat: no-repeat;
  left: 0;
  top: .7em;
}

nav.global ul.menu li a:hover {
  color: var(--color-main);
}

nav.global ul.menu li a:hover::before {
  background-color: var(--color-main);
}

/* 白モード時 */
nav.global.white-mode ul.menu li a {
  color: #fff;
}

nav.global.white-mode ul.menu li a::before {
  background-color: #fff;
}

/* 白モード時のホバー */
nav.global.white-mode ul.menu li a:hover {
  color: var(--color-font-hover);
}

nav.global.white-mode ul.menu li a:hover::before {
  background-color: var(--color-font-hover);
}

/* -------------------------------------
 アコーディオン式サブメニュー(サービス用グロナビ）
----------------------------------------*/
/* >の回転 */
nav.global li.menu-item-has-children:hover>a::before {
  transform: rotate(90deg);
}

/* サブメニューの初期状態 */
nav.global li.menu-item-has-children ul.sub-menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s ease, opacity 0.5s ease;
  margin-left: 1em;
}

/* ホバー時にサブメニューを展開 */
nav.global li.menu-item-has-children:hover>ul.sub-menu {
  max-height: fit-content;
  overflow: visible;
  opacity: 1;
}

/* サブメニュー内のリンク */
nav.global li.menu-item-has-children ul.sub-menu li a {
  font-size: 15px;
}


/* -------------------------------------
 sp-nav(sp用ハンバーガーメニュー）
----------------------------------------*/
/* ボタン */
header .btn-squ {
  display: block;
  width: 60px;
  aspect-ratio: 1/1;
  box-sizing: border-box;
  border: 0;
  position: relative;
  padding: 0;
  background-color: transparent;
}

header #hamburger span {
  position: absolute;
  width: 30px;
  height: 2px;
  top: calc(50% - 1px);
  right: 0;
  background-color: var(--color-font);
  transition: all 0.6s;
  z-index: 1000;
}

header #hamburger span::before, header #hamburger span::after {
  position: absolute;
  content: "";
  width: 30px;
  height: 2px;
  right: 0;
  background-color: var(--color-font);
  transition: all 0.6s;
}

header #hamburger span::before {
  top: -8px;
}

header #hamburger span::after {
  top: 8px;
}

header #hamburger.active span,
header #hamburger.white-mode.active span {
  background-color: transparent;
}

header #hamburger.active span::before {
  transform: translateY(8px) rotate(-45deg);
  background-color: var(--color-body);
}

header #hamburger.active span::after {
  transform: translateY(-8px) rotate(45deg);
  background-color: var(--color-body);
}

/* 白モード時のスタイル */
header #hamburger.white-mode span {
  background-color: #fff;
}

header #hamburger.white-mode span::before,
header #hamburger.white-mode span::after {
  background-color: #fff;
}

/* メニュー内容 */
.sp-nav-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  background-color: rgba(0, 0, 0, .3);
  transition-duration: 1s;
  z-index: 990;
  overflow: hidden;
}

.sp-nav-wrapper .sp-nav-bg {
  background-color: var(--color-main);
  background-image: url(img/logo-sp-nav.svg);
  background-size: 90%;
  background-position: right bottom;
  background-repeat: no-repeat;
  height: 100vh;
  width: 85%;
  position: relative;
  margin: 0 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  padding: 90px 10% 45px;
  box-sizing: border-box;
}

.sp-nav-wrapper .sp-nav-bg nav {
  width: 100%;
}

.sp-nav-wrapper .sp-nav-bg nav a {
  display: block;
  width: 100%;
  font-size: 20px;
  color: #fff;
  position: relative;
  padding-left: 1em;
  box-sizing: border-box;
}

.sp-nav-wrapper .sp-nav-bg nav a::before {
  position: absolute;
  display: block;
  width: .4em;
  height: .8em;
  background-color: #fff;
  content: "";
  mask-image: url(img/icon_arrow.svg);
  mask-size: contain;
  mask-repeat: no-repeat;
  left: 0;
  top: .5em;
}

.sp-nav-wrapper .sp-nav-bg nav ul li:not(:last-child) a {
  margin-bottom: 1.5em;
}


.sp-nav-wrapper .sp-nav-bg nav.sp-nav-bottom a {
  font-size: 16px;
}

.sp-nav-wrapper .sp-nav-bg nav.sp-nav-bottom a::before {
  position: absolute;
  content: "-";
  display: block;
  width: 1em;
  height: 1em;
  mask-image: none;
  left: 0;
  top: 0;
  background-color: transparent;
}

.sp-nav-wrapper.active {
  width: 100%;
  height: 100vh;
}

/*-----------------------------------------------------------------------------------------
footer
-----------------------------------------------------------------------------------------*/

footer {
  background-color: var(--color-main);
  position: relative;
}

/* TOPへ戻るボタン */
.return {
  display: block;
  position: absolute;
  width: 5%;
  aspect-ratio: 1/1;
  background-color: rgba(255, 255, 255, .3);
  border-radius: 50%;
  right: 3%;
  bottom: 130px;
}

.return img {
  display: block;
  position: absolute;
  width: 30%;
  aspect-ratio: 1/1;
  top: calc(50% - 15%);
  left: calc(50% - 15%);
}

.return:hover {
  background-color: var(--color-font-hover);
}

@media (max-width:1023px) {

  .return {
    width: 68px;
    bottom: calc(310px + 2em);
    right: 5%;
  }

}

/*-----------------------------------------------------------------------------------------
トップページ index.php
-----------------------------------------------------------------------------------------*/

/*-------------------------------------
main-img
---------------------------------------*/
.main-img {
  position: relative;
}

/* スクロールボタン */
.scroll {
  display: block;
  position: absolute;
  width: 5%;
  aspect-ratio: 1/1;
  border: 2px solid var(--color-font);
  box-sizing: border-box;
  border-radius: 50%;
  right: 3%;
  bottom: 6%;
}

.scroll::before {
  content: "scroll";
  font-family: var(--font-secondary);
  display: block;
  position: absolute;
  width: 70px;
  text-align: center;
  height: 20px;
  left: calc(50% - 35px);
  top: -36px;
  text-transform: uppercase;

}

.scroll img {
  display: block;
  position: absolute;
  width: 30%;
  aspect-ratio: 1/1;
  top: calc(50% - 15%);
  left: calc(50% - 15%);
}

.scroll:hover {
  background-color: #fff;
}

.main-img h2 {
  writing-mode: vertical-rl;
  font-size: 40px;
  line-height: 2;
  letter-spacing: .1em;
  z-index: 3;
  font-weight: 500;
}

.main-img h2 span {
  display: block;
  height: fit-content;
  border-right: 4px dotted var(--color-font);
  padding-left: 4px;
  box-sizing: border-box;
}

.main-img .flex-sb {
  height: 100vh;
  align-items: center;
}

/* メイン画像 */
.main-img .flex-box.img {
  width: calc(100% - 285px);
  transform: scale(1.2);
  z-index: 2;
  position: relative;
  /* animation: zoom 15s linear infinite; */
}

/* メイン画像背景サークル */
.main-img .flex-box.img::after {
  position: absolute;
  content: "";
  display: block;
  width: 104%;
  aspect-ratio: 1078/1034;
  background-image: url(img/main-02.png);
  z-index: -2;
  background-size: contain;
  background-repeat: no-repeat;
  top: 5%;
  left: -2%;
  animation: rotateAnimation 30s linear infinite;
}

@media (max-width:1023px) {

  /* スクロールアイコン */
  .scroll {
    visibility: hidden;
  }

  .main-img h2 {
    margin: 0 auto;
    font-size: 23px;
  }

  .main-img h2 span {
    border-width: 3px;
    padding-left: 3px;
    /* opacity: 0でも高さを確保 - これが重要! */
    min-height: 1em;
    visibility: visible; /* opacityで隠すため、visibilityは残す */
  }

  .main-img .flex-sb {
    padding-top: 87px;
    height: auto; /* 子要素の高さに合わせる */
  }

  /* メイン画像 */
  .main-img .flex-box.img {
    transform-origin: bottom center;
  }

}


/*-------------------------------------
about
---------------------------------------*/
#about .flex-sb {
  row-gap: 0;
}

#about .txt-box {
  font-size: 20px;

}

#about .txt-box:not(:last-child) {
  margin-bottom: 2em;
}

@media (max-width:1023px) {
  #about .txt-box {
    font-size: 16px;
    text-align: center;
  }
}

/*-------------------------------------
city
---------------------------------------*/
#city {
  background-image: url(img/bg-city.jpg);
  background-size: cover;
  height: 530px;
  background-position: left center;
  background-repeat: no-repeat;
}

@media (max-width:1023px) {
  #city {
    height: 200px;
  }
}

/*-------------------------------------
service
---------------------------------------*/

#service .flex-sb {
  margin-bottom: 3em;
}

#service .txt-box {
  font-size: 20px;

}

#service ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3em 1em;
  width: calc(100% - 332px - 2em);
}

#service ul figure img {
  border-radius: 20px;
  margin-bottom: 1em;
}

#service li a figcaption {
  text-transform: uppercase;
  font-size: 18px;
  position: relative;
  padding-right: 1em;
  box-sizing: border-box;

}

#service li a figcaption::before {
  position: absolute;
  display: block;
  width: .4em;
  height: .8em;
  background-color: var(--color-font);
  content: "";
  mask-image: url(img/icon_arrow.svg);
  mask-size: contain;
  mask-repeat: no-repeat;
  top: .4em;
  right: 0;
}

#service li a:hover figcaption {
  color: var(--color-font-hover);
}

#service li a:hover figcaption::before {
  background-color: var(--color-font-hover);
}

@media (max-width:1023px) {

  #service .txt-box {
    font-size: 16px;
    text-align: center;
  }

  #service li a figcaption {
    font-size: 15px;
  }

}

/*-------------------------------------
column
---------------------------------------*/
#column {
  background-image: url(img/bg-deco.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right 30px;
  background-color: var(--color-accent);
  padding: 150px 0;
  color: #fff;
}

.column-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3em 1.5em;
  margin-bottom: 3em;
}

.column-list li a {
  display: block;
}

/* アイキャッチ */
.column-list .catch {
  position: relative;
  width: 100%;
  padding-top: 100%;
  /* 正方形の比率(1:1)を作る */
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 1em;
}

.column-list .catch img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 画像を枠に合わせてトリミング */
}

/* 投稿日 */
.column-list time {
  font-size: 18px;
  display: block;
  margin-bottom: .5em;
  font-family: var(--font-secondary);
  letter-spacing: .05em;

}

/* 投稿タイトル */
.column-list h3 {
  font-size: 20px;
  line-height: 1.8;
  font-weight: 500;
  /* text-align: justify;
  word-break: break-all; */
  overflow-wrap: break-word;
}

@media (max-width:1023px) {
  #column {
    padding: 60px 0;
    background-image: url(img/bg-deco-sp.png);
    background-position: center 60px;
  }

  .column-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2em 1em;
  }

  .column-list .catch {
    margin-bottom: .8em;
    padding-top: 0;
  }

  .column-list .catch img {
    position: static;
  }

  .column-list time {
    font-size: 15px;
  }

  .column-list h3 {
    font-size: 16px;
/*     word-break: keep-all; */
    text-align: left;
  }
}

/*-------------------------------------
news
---------------------------------------*/

#news .flex-sb {
  align-items: flex-start;
  row-gap: 0;
}

.news-list {
  width: calc(100% - 80px - 5em);
  background-color: #fff;
  border-radius: 10px;
  padding: 3em 2.5em;
  box-shadow: 0 0 10px 0 var(--color-shadow);
  box-sizing: border-box;
}

.news-list li:not(:last-child) {
  margin-bottom: 2em;
  position: relative;
}

.news-list li:not(:last-child)::after {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--color-font-light);
  left: 0;
  bottom: -1em;
  content: "";
}

.news-list li a {
  display: flex;
  column-gap: 1em;
}

.news-list li a:hover {
  color: var(--color-font-hover);
}

/* 投稿日 */
.news-list time {
  font-size: 18px;
  font-family: var(--font-secondary);
  letter-spacing: .05em;
  width: 120px;
  line-height: 2;

}

/* 投稿タイトル */
.news-list li a p {
  font-size: 20px;
  line-height: 1.8;

}

@media (max-width:1023px) {

  .news-list li a {
    padding: 0.2em 0;
    flex-wrap: wrap;
  }

  .news-list time {
    font-size: 15px;
  }

  .news-list li a p {
    width: 100%;
    font-size: 16px;
  }
}

/*-------------------------------------
contact
---------------------------------------*/
#contact {
  padding: 150px 0;
  color: #fff;
}

#contact .flex-sb {
  row-gap: 0;
}

#contact .flex-sb .flex-box {
  width: calc(100% - 80px - 5em);
}


/* Contact Form 7 カスタムスタイル */

/* ラジオボタンヘッダー */
.form-header {
  margin-bottom: 30px;
}

.form-header .wpcf7-list-item {
  display: inline-block;
  margin: 0 15px 10px 0;
}

.form-header .wpcf7-list-item-label {
  font-size: 20px;
  cursor: pointer;
  display: inline-block;
  line-height: 2;
  letter-spacing: .05em;
}

.form-header input[type="radio"] {
  margin-right: 5px;
}


/* Contact Form 7 ラジオボタンのカスタマイズ */
.contact-form-wrapper input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid #fff;
  border-radius: 50%;
  background-color: transparent;
  cursor: pointer;
  position: relative;
  vertical-align: text-bottom;
  margin-right: .5em;
  box-sizing: border-box;
}

/* ラジオボタンが選択された時 */
.contact-form-wrapper input[type="radio"]:checked {
  background-color: var(--color-body);
  border-color: #fff;
}

/* ラジオボタン選択時の内側の円 */
.contact-form-wrapper input[type="radio"]:checked::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-font-hover);
}

/* ラジオボタンのフォーカス時 */
.contact-form-wrapper input[type="radio"]:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* フォーム行 */
.form-row {
  margin-bottom: 30px;
}

.form-row label {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 2;
  letter-spacing: .05em;
}

.required {
  margin-left: 10px;
  padding: .1em;
  font-size: 16px;
  background-color: var(--color-font-hover);
}

/* 入力フィールド共通 ★ box-sizing を追加 */
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row textarea,
.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper input[type="tel"],
.contact-form-wrapper textarea {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 4px;
  font-size: 20px;
  background-color: #fff;
  box-sizing: border-box;
  /* ★ 追加 */
}

/* Placeholder の文字色を指定 */
.contact-form-wrapper input::placeholder,
.contact-form-wrapper textarea::placeholder,
.contact-form-wrapper input::-moz-placeholder,
.contact-form-wrapper textarea::-moz-placeholder {
  color: var(--color-font-light);
  /* お好みの色に変更 */
  opacity: 1;
  /* 透明度を1に設定（ブラウザのデフォルトで薄くなるのを防ぐ） */
}

.form-row textarea,
.contact-form-wrapper textarea {
  min-height: 150px;
  resize: vertical;
}

/* 送信ボタン */
.form-submit {
  max-width: 300px;
  margin: 3rem 0 0 auto;
  position: relative;
  font-size: 25px;
}

.form-submit input[type="submit"] {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 40px;
  padding: .8em 2em .8em 1em;
  font-size: 25px;
  cursor: pointer;
  transition: all 0.3s;
  box-sizing: border-box;
  display: block;
  width: 100%;
  text-align: left;
  line-height: 1;
  font-weight: 500;
  font-family: var(--font-main);
}

.form-submit::after {
  position: absolute;
  display: block;
  width: .4em;
  height: .8em;
  background-color: #fff;
  content: "";
  mask-image: url(img/icon_arrow.svg);
  mask-size: contain;
  mask-repeat: no-repeat;
  top: 1.1em;
  right: 1em;
}

.form-submit input[type="submit"]:hover {
  background-color: var(--color-font);
  border-color: var(--color-font);
  color: #fff;
}


/* エラーメッセージ */
.wpcf7-not-valid-tip {
  color: var(--color-font-hover);
  font-size: 20px;
  margin-top: 5px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: var(--color-font-hover);
  background-color: var(--color-font-hover);
  font-size: 20px;
  text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #fff;
  color: var(--color-font-hover);
  background-color: #fff;
  font-size: 20px;
  text-align: center;
}

/* Contact Form 7 のデフォルトマージン・パディングをリセット */
.contact-form-wrapper .wpcf7-form p {
  margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 1023px) {

  #contact {
    padding: 60px 0 150px;
  }

  /* ラジオボタン */
  .form-header .wpcf7-list-item {
    display: block;
    margin-bottom: 10px;
  }

  .form-header .wpcf7-list-item-label {
    font-size: 18px;
  }

  /* その他入力欄タイトル */
  .form-row label {
    font-size: 18px;
  }

  /* 入力フィールド共通 ★ box-sizing を追加 */
  .form-row input[type="text"],
  .form-row input[type="email"],
  .form-row input[type="tel"],
  .form-row textarea,
  .contact-form-wrapper input[type="text"],
  .contact-form-wrapper input[type="email"],
  .contact-form-wrapper input[type="tel"],
  .contact-form-wrapper textarea {
    font-size: 18px;
  }

  /* 送信ボタン */
  .form-submit {
    max-width: 250px;
    margin: calc(16px * 3) auto 0;
    font-size: 18px;
  }

  .form-submit input[type="submit"] {
    font-size: 18px;
    border-width: 1px;
  }

  /* 必須アイコン */
  .required {
    font-size: 14px;
  }

  .wpcf7 form.invalid .wpcf7-response-output,
  .wpcf7 form.unaccepted .wpcf7-response-output,
  .wpcf7 form.payment-required .wpcf7-response-output,
  .wpcf7 form.sent .wpcf7-response-output {
    font-size: 18px;
  }

}


/*-------------------------------------
info
---------------------------------------*/
#info {
  color: rgba(255, 255, 255, .3);
}

#info .container {
  border-top: 1px solid rgba(255, 255, 255, .3);
  padding: 2em 0;
}

#info .h2-wrapper {
  display: flex;
  gap: 2em;
  align-items: center;
  flex-wrap: wrap;
}

#info h2 {
  width: 195px;
  opacity: .3;
}

#info address {
  font-size: 14px;


}

#info address a {
  display: block;
  font-size: 12px;
}

#info address a::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: rgba(255, 255, 255, .3);
  mask-image: url(img/icon_link.svg);
  mask-size: contain;
  vertical-align: text-bottom;
  margin-left: .5em;
}

nav.local li a {
  display: block;
  text-align: right;
  box-sizing: border-box;
  position: relative;
  padding-right: 1em;

}

nav.local li a::after {
  content: "-";
  display: block;
  position: absolute;
  width: 1em;
  height: 1em;
  top: 0;
  right: 0
}

#info a:hover {
  color: #fff;
}

#info address a:hover::after {
  background-color: #fff;
}

@media (max-width:1023px) {

  nav.local li a {
    display: block;
    text-align: left;
    padding: 0 0 0 1em;
  }

  nav.local li a::after {
    right: auto;
    left: 0;
  }

}



/*-----------------------------------------------------------------------------------------
下層ページ共通
-----------------------------------------------------------------------------------------*/
/*-------------------------------------
下層ページヘッダー
---------------------------------------*/
.lower-heading-wrapper {
  padding-top: 87px;
}

.lower-heading-wrapper .heading-001 {
  margin: 0 auto 3em;
}

/*-------------------------------------
下層ページ パンくずリスト
---------------------------------------*/
.breadcrumb-container {
  margin-bottom: 2em;
}

.lower .breadcrumb {
  margin-bottom: 0;
  padding: 0;
  border-bottom: none;
}

.lower .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}

.lower .breadcrumb-item {
  display: flex;
  align-items: center;
}

.lower .breadcrumb-item:not(:last-child)::after {
  content: ">";
  margin: 0 0.5rem;
}

.lower .breadcrumb-item a {
  color: var(--color-main);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.lower .breadcrumb-item a:hover {
  opacity: .6;
}

/*-----------------------------------------------------------------------------------------
サービス紹介 page-service.php
-----------------------------------------------------------------------------------------*/
#page-service section:not(:last-child) {
  margin-bottom: 100px;
}

/* タイトル */
#page-service section h3 {
  font-size: 35px;
  margin-bottom: .5em;
  text-transform: uppercase;
  font-weight: 500;
}

/* 画像 */
#page-service section .catch {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 2em;
}

/* 箇条書きリスト */
#page-service section dl>div {
  margin-bottom: 3em;
  position: relative;
}

#page-service section dl>div::after {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  bottom: -1.5em;
}

#page-service section dt {
  font-size: 25px;
  position: relative;
  padding-left: 1em;
  margin-bottom: 0.5em;

}

#page-service section dt span {
  font-size: 16px;
}

#page-service section dt::before {
  position: absolute;
  content: "";
  display: block;
  width: .6em;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background-color: var(--color-main);
  top: .45em;
  left: 0;
}

#page-service section dd {
  font-size: 18px;
  font-weight: 400;
}

#page-service section dd .btn {
  margin: 2em 0 0 auto;
}

@media (max-width:1023px) {

  #page-service .header-wrapper {
    background-color: var(--color-body);
    transition: background-color 0.3s ease;
  }

  #page-service .header-wrapper.transparent-bg {
    background-color: transparent;
  }

  #page-service section:not(:last-child) {
    margin-bottom: 60px;
  }

  #page-service section h3 {
    font-size: 25px;
  }

  #page-service section dt {
    font-size: 18px;
  }

  #page-service section dd {
    font-size: 16px;
  }
}


/* サービスsp用navページ内遷移 */
nav.page_nav {
  position: sticky;
  top: 86.5px;
  margin-bottom: 3em;
  background-color: var(--color-body);
  z-index: 100;
  transition: box-shadow 0.3s ease;
}

nav.page_nav.has-shadow {
  box-shadow: 0 10px 10px 0 var(--color-shadow);
}

nav.page_nav ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: .3em;
  padding: .6em 0;
}

nav.page_nav ul li a {
  display: block;
  position: relative;
  padding-left: 1em;
  box-sizing: border-box;
  text-transform: uppercase;

}

nav.page_nav ul li a::before {
  position: absolute;
  display: block;
  width: .4em;
  height: .8em;
  background-color: var(--color-font);
  content: "";
  mask-image: url(img/icon_arrow.svg);
  mask-size: contain;
  mask-repeat: no-repeat;
  transform: rotate(90deg);
  left: 0;
  top: .4em;
}


/*-----------------------------------------------------------------------------------------
会社概要 page-company.php
-----------------------------------------------------------------------------------------*/
#page-company .flex-sb {
  align-items: flex-start;
}

#page-company .map {
  width: calc(100% - 411px - 3em);
  aspect-ratio: 1/1;
}

/* #page-company .custom-pin {
  width: 50px;
  transform: translate(-25px, -22.5px);
} */

#page-company .overview>div {
  display: grid;
  grid-template-columns: 1fr 2fr;
  column-gap: 1em;
  margin-bottom: 2em;
  position: relative;
}

#page-company .overview>div::after {
  position: absolute;
  display: block;
  content: "";
  width: 100%;
  height: 2px;
  background-color: #fff;
  bottom: -1em;
}

#page-company .overview dt {
  font-size: 20px;
  color: var(--color-main);

}

#page-company .overview dd {
  font-size: 18px;
  font-weight: 400;
}

#page-company .overview dd li,
#page-company .overview dd address {
  line-height: 2;
}

@media (max-width:1023px) {

  #page-company .overview dt,
  #page-company .overview dd {
    font-size: 15px;
  }
}

/*-----------------------------------------------------------------------------------------
プライバシーポリシー privacy-policy.php
-----------------------------------------------------------------------------------------*/
#page-privacy p,
#page-privacy dl>div {
  margin-bottom: 1.5em;
}

#page-privacy dt {
  font-size: 18px;
  position: relative;
  padding-left: 1em;
  margin-bottom: .3em;
}

#page-privacy dt::before {
  content: "・";
  display: block;
  position: absolute;
  width: 1em;
  height: 1em;
  top: 0;
  left: 0;
}

#page-privacy .txt-box,
#page-privacy dd {
  font-weight: 400;
}


/*-----------------------------------------------------------------------------------------
archive共通
-----------------------------------------------------------------------------------------*/
.pagination {
  text-align: center;
  font-size: 20px;
  font-family: Futura, var(--font-main);
}

.pagination .page-numbers.current,
.pagination a {
  display: inline-block;
  width: 1em;
  text-align: center;
  position: relative;
  padding-bottom: 0.1em;
}

.pagination a.prev.page-numbers,
.pagination a.next.page-numbers {
  width: fit-content;
}


.pagination .page-numbers.current {
  border-bottom: 2px solid var(--color-font);
}

@media (max-width:1023px) {
  .pagination {
    font-size: 18px;
  }
}

/*-----------------------------------------------------------------------------------------
ニュース一覧 archive-news.php
-----------------------------------------------------------------------------------------*/

#archive-news .news-list {
  width: 100%;
  background-color: #fff;
  border-radius: 10px;
  padding: 2em;
  box-shadow: 0 0 10px 0 var(--color-shadow);
  margin-bottom: 3em;
}

/*-----------------------------------------------------------------------------------------
投稿共通 
-----------------------------------------------------------------------------------------*/
.dot {
  display: block;
  padding-left: 1.5em;
  box-sizing: border-box;
  position: relative;
}

.dot::before {
  position: absolute;
  display: block;
  content: "・";
  width: 1em;
  height: 1em;
  left: 0;
  top: 0;
}

/*-----------------------------------------------------------------------------------------
コラム投稿 single-column.php
-----------------------------------------------------------------------------------------*/
#single-column .catch {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 80px;
}

#single-column time {
  font-size: 25px;
  font-family: var(--font-secondary);
  letter-spacing: .1em;
  margin-bottom: 0.5em;
  display: block;
}

#single-column h3 {
  font-size: 30px;
/*   word-break: keep-all; */
  margin-bottom: 80px;
  line-height: 1.8;
  font-weight: 500;
}

#single-column .introduction,
#single-column section {
  margin-bottom: 80px;
}

#single-column .txt-box {
  font-size: 18px;
  margin-bottom: 1.5em;
  font-weight: 400;
}

#single-column h4 {
  font-size: 25px;
  padding-left: 1em;
  border-left: 4px solid var(--color-font);
  box-sizing: border-box;
  margin-bottom: 1em;
  letter-spacing: .1em;
  font-weight: 500;
  overflow-wrap: break-word;
  line-height: 1.8;
}

#single-column dl dt {
  font-size: 20px;
  margin-bottom: .8em;
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.8;
  text-decoration: underline;
}

#single-column .numbering {
  counter-reset: number 0;
}

#single-column .numbering>div {
  position: relative;
}

#single-column .numbering>div dt {
  padding-left: 1.5em;
  box-sizing: border-box;
}

#single-column .numbering>div::before {
  display: block;
  counter-increment: number 1;
  content: counter(number) ".";
  font-size: 20px;
  position: absolute;
  top: 4px;
  left: 0;
}

@media (max-width:1023px) {

  #single-column .catch {
    margin-bottom: 1em;
  }

  #single-column h3,
  #single-column .introduction,
  #single-column section {
    margin-bottom: 60px;
  }

  #single-column time {
    font-size: 15px;
  }

  #single-column h3,
  #single-column h4,
  #single-column dl dt {
    font-size: 18px;
  }

  #single-column .txt-box {
    font-size: 16px;
  }

  #single-column .numbering>div::before {
    font-size: 18px;
    top: 3px;
  }
}

/*-----------------------------------------------------------------------------------------
ニュース投稿 single-news.php
-----------------------------------------------------------------------------------------*/

#single-news {
  background-color: #fff;
  border-radius: 10px;
  padding: 3em 2.5em;
  box-shadow: 0 0 10px 0 var(--color-shadow);
}

#single-news h3 {
  font-size: 30px;
  margin-bottom: 40px;
  margin-bottom: 2em;
  line-height: 1.8;
  font-weight: 500;
}

#single-news time {
  font-family: var(--font-secondary);
  letter-spacing: .1em;
  display: block;
}

@media (max-width:1023px) {
  #single-news h3 {
    font-size: 18px;
    margin-bottom: 2em;
  }
}

/*-------------------------------------
404.php
---------------------------------------*/

#nf404 .heading-001 {
  display: flex;
  flex-wrap: wrap;
}

#nf404 .heading-001 span {
  display: block;
  transform: rotate(-90deg);
  margin-bottom: 0.5em;
}

#nf404 .txt-box {
  margin-bottom: 3em;
  text-align: center;
  overflow-wrap: break-word;
}

@media (max-width:1023px) {
  .sp-none {
    display: none;
  }

  .sp-block {
    display: block;
  }
}




/*# sourceMappingURL=style.css.map */