/* 2025/07/26 */

@charset "utf-8";

html { overflow: auto; }
body { overflow: hidden; }

html {
  overflow-y: scroll;
}

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  line-height: 1.618;

  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

h1,h2,h3,h4,h5,h6,p,ul,ol {
  margin: 0;
}

h1,h2,h3,h4,h5,h6 {
  font-weight: 500;
  line-height: 1.41;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

p:not(:last-child),ul,ol {
  margin-bottom: 1em;
}

@media(max-width: 599px) {
  p br {
    display: none;
  }
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  font-style: italic;
  background-repeat: no-repeat;
  background-size: cover;
  shape-margin: 0.75rem;
}

strong {
  font-weight: 700;
}

ins {
  text-decoration: none;
}

table {
  border-collapse: collapse;
}

address {
  font-style: normal;
}

figure {
  border: 0;
  margin: 0;
}

fieldset {
  border: 0;
}

/* 文字色
======================================================================= */

body {
  color: #535050;
}

/* リンク */

a,
a:hover {
  color: #1a0dab;
  text-decoration: underline;
}

a:hover, 
a:focus {
  text-decoration: none;
}

a:active {
  color: #1a0dab;
  text-decoration: none;
}

a:hover > img {
  opacity: .9;
}

/* =======================================================================
  メディアクエリによる表示／非表示
======================================================================= */

.pc { display: block; }
.sp { display: none; }

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

/* =======================================================================
  レイアウト
======================================================================= */

/* 幅 */

.l-width {
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  max-width: 808px;
}

/* バック横幅いっぱい */

body .l-wide {
  margin-right: -100%;
  margin-left: -100%;
  padding-right: 100%;
  padding-left: 100%;
}

@media(max-width: 599px) {
  body .l-wide {
    margin-right: -24px;
    margin-left: -24px;
    padding-right: 24px;
    padding-left: 24px;
  }
}

/* 間隔 */

.l-margin {
  margin: 40px auto;
}

.l-padding {
  padding: 40px;
}

.l-padding-s {
  padding: 1.5em;
}

.l-padding > .l-margin:first-child {
  margin-top: 0;
}
.l-padding > .l-margin:last-child {
  margin-bottom: 0;
}

@media(max-width: 599px) {
  .l-margin {
    margin: 24px auto;
  }
  .l-padding {
    padding: 24px;
  }
}

/* 二段組 */

.l-columns-2 {
  columns: 2;
  column-gap: 24px;
}

.l-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* 三段組 */

.l-columns-3 {
  columns: 3;
  column-gap: 24px;
}

.l-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media(max-width: 599px) {
  .l-columns-2,
  .l-columns-3 {
    columns: 1;
    column-gap: 0;
  }
  .l-grid-2 {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    justify-items: center;
  }
  .l-grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    justify-items: center;
  }
}
/* 画像の大きさ */

.l-max-width-90 { max-width: 90%; }
.l-max-width-80 { max-width: 80%; }
.l-max-width-70 { max-width: 70%; }
.l-max-width-60 { max-width: 60%; }
.l-max-width-50 { max-width: 50%; }
.l-max-width-40 { max-width: 40%; }
.l-max-width-30 { max-width: 30%; }
.l-max-width-20 { max-width: 20%; }
.l-max-width-10 { max-width: 10%; }

@media(max-width: 599px) {
  .l-sp-max-width-90 { max-width: 90%; }
  .l-sp-max-width-80 { max-width: 80%; }
  .l-sp-max-width-70 { max-width: 70%; }
  .l-sp-max-width-60 { max-width: 60%; }
  .l-sp-max-width-50 { max-width: 50%; }
  .l-sp-max-width-40 { max-width: 40%; }
  .l-sp-max-width-30 { max-width: 30%; }
  .l-sp-max-width-20 { max-width: 20%; }
  .l-sp-max-width-10 { max-width: 10%; }
}

/* 文字揃え */

.l-txt-center,
p.l-txt-center {
  text-align: center;
}

.l-txt-right,
p.l-txt-right {
  text-align: right;
}

.l-txt-left,
p.l-txt-left {
  text-align: left;
}

/* 形状 */

.is-shadow-s {
  box-shadow: 0 3px 4px 0 rgb(0 0 0 / .1);
}

.is-shadow-l {
  filter: drop-shadow(0 16px 16px rgb(0 0 0 / .15));
}

.is-round {
  border-radius: 8px;
}

/* ◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢  ▲ ここまでは基本触らない ▲  ◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢ */

/* =======================================================================

  ヘッダー

======================================================================= */

.header-1 {
  position: fixed;
  top: 0px;
  width: 100%;
  padding: 10px;
  background: rgba(243, 237, 233, 0.9);
  z-index: 999;
}

.header-2 {
  position: fixed;
  top: 0px;
  width: 100%;
  padding: 10px;
  background: url("img/header__bg.jpg") no-repeat center center;
  z-index: 999;
}

.header-1 a,
.header-2 a {
  text-decoration: none;
}

.header__logo-menu {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

/* ロゴ */
.logo {
  width: 250px;
  margin: 5px;
  text-align: left;
  line-height: 0;
}

.logo img {
  width: 150px;
  margin-top: 5px;
  text-align: left;
  line-height: 0;
}

@media (max-width: 768px) {
  .logo {
    width: 180px;   /* ← 好みで調整 */
    margin: 0; /* 中央寄せしたい場合 */
  }
}

/* ハンバーガーメニュー
-------------------------------------------------- */
.gnav-toggle {
  position: relative;
  margin-top: 12px;
}

/* チェックボックス等は非表示に */
.gnav-hidden {
  display: none;
}

/* アイコンのスペース */
#gnav-open {
  display: inline-block;
  width: 30px;
  height: 22px;
  vertical-align: middle;
}

/* ハンバーガーの形をCSSで表現 */
#gnav-open span,
#gnav-open span::before,
#gnav-open span::after {
  content: '';
  position: absolute;
  height: 3px;
  /*線の太さ*/
  width: 25px;
  /*長さ*/
  border-radius: 3px;
  background: #555;
  display: block;
  cursor: pointer;
}

#gnav-open span::before {
  bottom: -8px;
}

#gnav-open span::after {
  bottom: -16px;
}

/* 閉じる用の薄黒箇所 */
#gnav-close {
  display: none;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0;
  transition: 0.3s ease-in-out;
}

/* チェックがついたら表示させる */
#gnav-input:checked ~ #gnav-close {
  display: block;
  opacity: 0.5;
}

#gnav-input:checked ~ #gnav-content {
  transform: translateX(0%);
  box-shadow: 6px 0 25px rgba(0, 0, 0, 0.15);
}

/* メニューの中身 */
.gnav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 70%;
  max-width: 300px;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  transition: 0.3s ease-in-out;
  transform: translateX(-105%);
}

.gnav-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 50px;
  text-transform: uppercase;
}

.gnav-item {
  border-bottom: 2px dotted #eee;
  margin: 10px;
  padding-bottom: 20px;
  list-style: none;
}

.gnav-item a {
  color: #fff;
  font-size: 12px;
  display: block;
  width: 200px;
  text-align: center;
}

.gnav-item a::first-line {
  font-size: 16px;
  font-weight: normal;
}

@media screen and (min-width:768px) {
  .gnav-menu {
    flex-direction: row;
    padding-top: 15px;
    font-style: italic;
  }

  .gnav-item {
    border-bottom: none;
    margin: 0;
    padding-bottom: 0;
  }

  .gnav-item a {
    color: #333;
    width: 120px;
  }

  .gnav-item a:hover {
    color: #e66e70;
  }
}

/* =======================================================================

  メイン

======================================================================= */

.main {
  padding-bottom: 0;
}

.main > *:first-child {
  margin-top: 0;
}
.main > *:last-child {
  margin-bottom: 0;
}

@media(max-width: 599px) {
  .main {
    padding-bottom: 24px;
  }
}

/* =======================================================================
  タイポグラフィー
======================================================================= */

.main p:not([class]), .main ul, .main ol {
  font-size: 1.1em;
}

@media(max-width: 599px) {
  .main p:not([class]), .main ul, .main ol {
    font-size: 1em;
  }
}

/* 小見出し H3
======================================================================= */

.h3 {

  padding: 50px 0;
  text-align: center;
  font-size: 25px;
  font-weight: bold;
  line-height: 1.333;
  color: #535050;
}
  .h3:first-child {
    margin-top: 0;
  }

@media(max-width: 599px) {
  .h3 {
    margin: 24px 0;
    padding: .75em 1em;
    font-size: 18px;
  }
}

/* 小見出し H3-1
======================================================================= */

.h3-1 {
  margin: 40px auto;
  padding: 48px 0;
  text-align: center;
  font-size: 30px;
  line-height: 1.333;
  color: #333;
  position: relative;
}
  .h3-1:first-child {
    margin-top: 0;
  }

.h3-1::before {
  position: absolute;
  top: 0;
  left: 0;

  content: '';
  display: block;
  width: 100%;
  height: 25px;
  background: transparent url(img/h3-deco.png) no-repeat center bottom;
  background-size: contain;
}

.h3-1::after {
  position: absolute;
  bottom: 0;
  left: 0;

  content: '';
  display: block;
  width: 100%;
  height: 25px;
  background: transparent url(img/h3-deco.png) no-repeat center top;
  background-size: contain;
}

@media(max-width: 599px) {
  .h3-1 {
    margin: 24px 0;
    padding: 30px 0;
    font-size: 21px;
  }
  .h3-1::before,
  .h3-1::after {
    height: 13px;
  }
}

/* 小見出し H4
======================================================================= */

.h4 {

  padding: 1em 0 0;
  font-size: 24px;
  line-height: 1.333;
  color: #333;
  text-align: center;
}

@media(max-width: 599px) {
  .h4 {
  margin: 2em auto 1em;
    font-size: 18px;
  }
}

/* 小見出し H5
======================================================================= */

.h5 {
  margin: 40px auto 1em;
  font-size: 18px;
  line-height: 1.333;
}

@media(max-width: 599px) {
  .h5 {
    margin: 24px auto 1em;
    font-size: 16px;
  }
}

/* 引用
======================================================================= */

.blockquote {
  position: relative;
  padding: 24px 24px 24px 64px;
  box-sizing: border-box;
  font-style: italic;
  background: #f2efe6;
  color: #333;
}

.blockquote::before {
  display: inline-block;
  position: absolute;
  top: 24px;
  left: 24px;
  content: "\f10d";
  font-family: FontAwesome;
  color: #ddd;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
}

.blockquote p {
  padding: 0;
  margin: 18px 0;
  line-height: 1.7;
}

.blockquote cite {
  display: block;
  text-align: right;
  color: #888888;
  font-size: 0.9em;
}

@media(max-width: 599px) {
  .blockquote {
    padding: 24px 24px 24px 48px;
  }
}

/* キャプション
======================================================================= */

.caption,
.main p.caption {
  color: #666;
  font-size: 16px;
  line-height: 1.5;
}

/* サイン
======================================================================= */

p.sign {
  margin: 3em 0;
  text-align: right;
  font-weight: 700;
  font-size: 1.5em;
  font-family: serif;
}
  p.sign img {
    max-width: 50%;
  }

@media(max-width: 599px) {
  .main p.sign {
    margin: 2em 0 ;
  }
  .main p.sign img {
    max-width: 50%;
  }
}

/* UL
======================================================================= */

.ul {
  background-color: #f2efe6;
  padding: 1.5em 2em;
  padding-left: 3em;
}

.ul li::before {
  display: inline-block;
  margin-left: -1.3em;
  width: 1.3em;
  color: #369;
  content: "\f111";
  font-family: FontAwesome;
}

@media(max-width: 599px) {
  .ul {
    font-size: 1em;
  }
}

/* 表
======================================================================= */

.table {
  width: 100%;
}

.table th,
.table td {
  padding: .75em 1em;
  vertical-align: top;
  text-align: left;
}

.table thead th {
  background: #369;
  color: #fff;
}

.table th,
.table td,
.table p {
  line-height: 1.5;
  border-bottom: 1px solid #ddd;
}

.table p {
  margin-bottom: .333em;
}
  .table p:last-child {
    margin-bottom: 0;
  }

.table tbody th {
  background: #f2efe6;
}



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

.cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px; /* 必要に応じて調整 */
  padding: 40px 30px;
}

.cta__item {
  flex: 1; /* 左のテキストを広く */
}

.cta__h4 {
  font-weight: bold;
  font-size: 21px;
}

.cta__txt {
  font-size: .9em;
}

.cta__btn {
  padding-right: 20px;
}

.cta__btn img {
  display: block;
  width: 250px; /* 必要に応じて調整 */
  box-shadow: 0 3px 4px 0 rgb(0 0 0 / .1);
}

.cta .is-shadow-l:hover {
  filter: none;
}

@media (max-width: 768px) {
  .cta {
    flex-direction: column;
    text-align: center;
    padding-bottom: 20px;
    gap: 0; /* 必要に応じて調整 */
  }

  .cta__btn img {
    margin-top: 20px;
    width: 200px;
  }

  .cta__h4 {
    font-size: 20px;
  }

  .cta__txt {
    font-size: .8em;
    margin: 10px 10px 10px;
  }
}

/* =======================================================================
  CONTACTページ
======================================================================= */
.contact__h1 {
  margin-top: 100px;
  margin-bottom: 40px;

  display: flex;
  justify-content: center; /* 水平方向の中央揃え */
  align-items: center;    /* 垂直方向の中央揃え */
}

.contact__h1 img {
  max-width: 30%;  /* 親要素の幅を最大に */
  max-height: 30%; /* 親要素の高さを最大に */
  width: auto;      /* 元の縦横比を保つ */
  height: auto;     /* 元の縦横比を保つ */
}

/* 白背景ボックス（説明文） */
.contact__txt {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  position: relative;
  z-index: 1;
  line-height: 1.8;
  text-align: center;
}

.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1; /* 背景で表示するため */
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画面にフィットさせる */
}

/*フォーム*/
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form label {
  font-weight: 400;
  color: #ffff;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.contact-btn {
  background: #535050;
  padding: 12px 0;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.contact-btn:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .contact__h1 {
    margin-top: 120px;
    }

  .contact__h1 img {
  max-width: 50%;  /* 親要素の幅を最大に */
  max-height: 50%; /* 親要素の高さを最大に */
  }

  .contact__txt {
    font-size: .8em;
    text-align: left;
  }
}

/* =======================================================================
  TOP：ヒーローイメージ
======================================================================= */
.hero-video-pc {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-video-pc video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =======================
   SP動画の最終調整
======================= */
@media (max-width: 768px) {

  /* PC版を非表示 */
  .hero-video {
    display: none !important;
  }

  /* SP版動画ブロック */
  .hero-video-sp {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: block !important;
  }

  /* SP動画の最適化（縦長動画対応） */
  .hero-video-sp video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
  }
}

@media screen and (min-width:768px) {
  .hero-video-sp {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
  }

  .hero-video-sp video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
  }
}
/* =======================================================================
  TOP：read
======================================================================= */
.read__h3 {
  font-size: 23px;
  font-weight: bold;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.read__txt {
  text-align: center;
  font-size: 1em;
}

@media screen and (max-width:768px) {
  .read__h3 {
  font-size: 1.2em;
  }

  .read__txt {
  margin-bottom: 0;
  }

}

/* =======================================================================
  TOP：コンセプト
======================================================================= */
.concept {
  display: flex;
  align-items: center;   /* 縦位置を揃える */
  position: relative;    /* 子要素の重なり調整に必要 */
  margin-bottom: 20px;
}

.concept__read {
  text-align: center;

}

.concept__img {
  width: 150%;
  position: relative;
  z-index: 2;            /* 手前に表示させる */
  margin-top: -80px;
}

.concept__txt {
  width: 160%;
  position: relative;
  left: -20px;           /* 画像方向に少し重ねる */
  z-index: 1;
}

@media (max-width: 768px) {

  .concept {
    display: block;        /* 横並び → 縦並び */
    margin: 0;
  }

  .concept__img {
    width: 100%;           /* 横幅いっぱいに */
    margin: 0 auto;        /* 中央に */
    position: relative;
    z-index: 1;            /* 通常の重なりに戻す */
    margin-top: 0;         /* PCの -80px をリセット */
    left: 0;               /* 位置ずれ防止 */
  }

  .concept__txt {
    width: 100%;           /* 横幅いっぱい */
    position: relative;
    left: 0;               /* PCのずらしを解除 */
    z-index: 1;
    margin-top: 20px;      /* 画像との余白 */
  }
}

/* =======================================================================
  TOP：Service
======================================================================= */
.service {
  background: url("img/service__bg.jpg") no-repeat center TOP fixed;
  background-size: cover;
}

.section__h3 {
  font-size: 25px;
  font-weight: bold;
  text-align: center;
}

.section__txt {
  text-align: center;
  font-size: 21px;
  margin-bottom: 40px;
}

.topservice__item {
  background-color: #fff;
  box-shadow: 0 3px 4px 0 rgb(0 0 0 / .1);
}

.topservice__item:last-child {
  margin-bottom: 40px;
}

.service__img {
  margin: 10px;
  width: 45px;
}

.topservice__inner {

}

.topservice__title {
  display: flex;
  align-items: center;
  background-color: #53463c;
  color: #fff;
  font-style: italic;

  /* innerのpaddingと同じ数値で打ち消す */
  margin: 0 -25px 0;
  padding: 15px 40px;
}

.topservice__title-1 {
  font-size: 30px;
  line-height: 1.4;
}

.topservice__title-2 {
  font-size: 16px;
  margin-left: 50px;
  line-height: 3.2;
}

.section__item {
  text-align: center; /* 中央寄せ */
}

.section__item a {
  display: inline-block;
  padding: 0 0 6px;          /* 下線との余白 */
  color: #333;
  font-size: 21px;
  font-weight: bold;
  text-decoration: none;    /* デフォルト下線は消す */
  border-bottom: 1px solid #333;  /* 下線 */
  transition: color 0.3s, border-color 0.3s;
}

.section__item a:hover {
  color: #e66e70;
  border-bottom-color: #e66e70;
}

.service__head {
  margin: 20px 60px 20px;
  font-size: 18px;
  font-weight: 700;
  font-style: italic;
}

.topservice__txt {
  margin-left: 60px;
  padding-bottom: 40px;
  font-size: .9em;
}

@media (max-width: 768px) {
  .service {
    background-attachment: scroll;
  }

  .section__h3 {
  font-size: 1.2em;
  }

  .section__txt {
    font-size: .9em;
    margin-bottom: 40px;
  }

  .topservice__title {
  padding: 15px 20px;
  }

  .topservice__title-1 {
    font-size: 1.2em;
    line-height: 1.4;
  }

  .service__head {
    margin: 0;
    margin-bottom: 10px;
    padding-top: 10px;
    font-size: 16px;
    font-weight: 700;
  }

  .topservice__txt {
    margin-left: 0;
    font-size: 13px;
    padding-bottom: 20px;
  }
}

/* =======================================================================
  TOP：value
======================================================================= */
.topvalue {
  margin-bottom: 30px;
}

.value__h1 {
  margin-top: 100px;
  margin-bottom: 40px;

  display: flex;
  justify-content: center; /* 水平方向の中央揃え */
  align-items: center;    /* 垂直方向の中央揃え */
}

.value__h1 img {
  max-width: 30%;  /* 親要素の幅を最大に */
  max-height: 30%; /* 親要素の高さを最大に */
  width: auto;      /* 元の縦横比を保つ */
  height: auto;     /* 元の縦横比を保つ */
}

.topvalue__txt {
  text-align: center;
  padding-top: 30px;
}

.topvalue__img {
  margin-bottom: 70px;
}

.topvalue__point-item {
  background-color: #535050;
  margin: 20px;
  border-radius: 10px 100px / 120px;
}

.topvalue__point-1 {
  padding: 10px 20px 0;
  color: #fff;
  font-size: 26px;
  font-style: italic;
  font-weight: 400;
}

.topvalue__pointtxt-1 {
  padding: 0 20px 10px;
  color: #fff;
  text-align: right;
}

@media (max-width: 768px)  {
  .topvalue {
    margin-bottom: 0;
  }

  .topvalue__txt {
    font-size: .8em;
  }

  .topvalue__img {
    margin-bottom: 40px;
  }

  .topvalue__point-1 {
    padding: 10px 30px 10px;  
    font-size: 1.2em;
  }

.topvalue__pointtxt-1 {
    padding: 0 30px 10px;
    font-size: .7em;
    text-align: left;
  }
}

/* =======================================================================
  TOP：works
======================================================================= */
.topworks__item {
  position: relative;
}

.topworks__img {
  background: url('img/works__bg.jpg') no-repeat center/cover fixed;
  width: 100%;
  height: 600px; /* 必要に応じて調整 */
}

.topworks__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  padding: 20px;
}

.topworks__h3 {
  font-size: 25px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
}

.topworks__txt {
  background: transparent; 
}

.topworks__btn a {
  display: inline-block;
  margin-top: 100px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.9);
  color: #333;
  border-radius: 4px;
  font-size: 21px;
  font-weight: bold;
  text-decoration: none;  /* 下線を消す */
  transition: color 0.3s;  /* アニメーション */
}

.topworks__btn a:hover {
  color: #e66e70;          /* ホバー時のピンク */
}

/* WORKS 背景画像の基本設定 */
.topworks__img {
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  .topworks {
    position: relative;
    min-height: 60vh;
  }

  .topworks::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/works__bg.jpg"); /* ← 明示 */
    background-size: cover;
    background-position: center;
    z-index: 0;
  }

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

  .topworks__img {
    position: relative;
    min-height: 25vh;   /* ← 高さを半分くらいに */
    overflow: hidden;
  }

  .topworks__img::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/works__bg.jpg");
    background-size: cover;
    background-position: center;
    z-index: 0;
  }

  .topworks__img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75);
    z-index: 1;
  }

  /* ★ 幅制限は中身だけに */
  .topworks__content {
    position: relative;
    z-index: 2;
    max-width: 808px;
    padding: 40px 24px;
    margin: 0 auto;
    text-align: center;
  }

  .topworks__h3 {
  font-size: 1.2em;
  }

  /* テキストボックス位置調整（背景の中に収める） */
  .topworks__txt {
  font-size: .9em;
  }

  /* テキスト画像やボタンの調整 */
  .topworks__txt img {
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
}

/* =======================================================================
  TOP：FLOW
======================================================================= */

.flow__title {
  text-align: center;
}

.flow__item {
  position: relative; /* ←基準位置を作る */
  background-color: #f3ede9;
  padding: 40px 20px 20px;
  border-radius: 12px;
  overflow: visible; /* ←飛び出しを許可 */

}

.flow__num {
  position: absolute;
  top: -10px;   /* ←好きな量だけ上に飛び出させる */
  left: -10px;  /* ←左にも飛び出す */
  z-index: 5;
}


/* 画像が大きすぎる場合の調整例 */
.flow__num img {
  width: 50px;
  height: auto;
}

.flow__txt {
  font-weight: bold;
  font-size: 1.3em;
  margin-bottom: 10px;
  padding-left: 60px;
}

.flow__txt-1 {
  margin: 0 70px 20px;
  font-size: .9em;
}

@media (max-width: 768px)  {
  .flow {
    padding-top: 20px;
  }

  .flow__item {
    padding: 10px 10px 10px;
  }

  .flow__num {
    width: 30px;
    top: -5px;   /* ←好きな量だけ上に飛び出させる */
    left: -5px;  /* ←左にも飛び出す */
  }
  .flow__title {
    font-size: .7em;

  }

  .flow__txt {
    font-size: 1em;
    padding-left: 30px;
  }

  .flow__txt-1 {
    margin: 10px 10px 0;
    font-size: .8em;
  }
}
/* =======================================================================
  TOP：about
======================================================================= */

.about {
  background: url("img/about__bg.jpg") no-repeat center top fixed;
  background-size: cover;
  padding: 40px 50px 0;
}

.topabout__txt {
  text-align: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (max-width: 768px) {
  .about {
    position: relative;
    min-height: 60vh;
    padding-top: 40px;
  }

  .about::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/about__bg.jpg"); /* ← 明示 */
    background-size: cover;
    background-position: center;
    z-index: 0;
  }

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

  .about__h4 {
    font-size: 1em;
  }

  .topabout__txt {
    font-size: .8em;
  }
}

/* =======================================================================
  サービスページ
======================================================================= */
.service__h1 {
  margin-top: 100px;
  margin-bottom: 40px;

  display: flex;
  justify-content: center; /* 水平方向の中央揃え */
  align-items: center;    /* 垂直方向の中央揃え */
}

.service__h1 img {
  max-width: 30%;  /* 親要素の幅を最大に */
  max-height: 30%; /* 親要素の高さを最大に */
  width: auto;      /* 元の縦横比を保つ */
  height: auto;     /* 元の縦横比を保つ */
}

/* 白背景ボックス（説明文） */
.service__txt {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  position: relative;
  z-index: 1;
  line-height: 1.8;
  text-align: center;
}

/*OEM*/
.solution__item {
  margin-top: 70px;
  margin-bottom: 40px;

  display: flex;
  justify-content: center; /* 水平方向の中央揃え */
  align-items: center;    /* 垂直方向の中央揃え */
}

.solution__item img {
  max-width: 100%;  /* 親要素の幅を最大に */
  max-height: 100%; /* 親要素の高さを最大に */
  width: auto;      /* 元の縦横比を保つ */
  height: auto;     /* 元の縦横比を保つ */
}

.solution__flex {
  margin-bottom: 40px;
  display: flex;
  gap: 40px;        /* 画像とテキストの余白 */
  align-items: flex-start;
}

.solution__txt {
  font-size: 15px;
  flex: 1;          /* テキスト部分に適度な幅を持たせる */
}

.solution__img {
  flex: 1;
  max-width: 100%;
}

.solution__point {
  background-color: #e8e0d3;
}

.solution__title {
  font-size: 21px;
  font-weight: bold;
  margin: -10px -10px;
}

.solution__title::before {
  color: #535050;
  content: '\f14a';
  font-family: FontAwesome;
  font-size: 1.1em;
  margin: 10px;
}

.solution__txt-1 {
  margin-top: 20px;
  padding-left: 30px;
}

/*design*/
.design__item {
  margin-top: 70px;
  margin-bottom: 40px;

  display: flex;
  justify-content: center; /* 水平方向の中央揃え */
  align-items: center;    /* 垂直方向の中央揃え */
}

.design__item img {
  max-width: 100%;  /* 親要素の幅を最大に */
  max-height: 100%; /* 親要素の高さを最大に */
  width: auto;      /* 元の縦横比を保つ */
  height: auto;     /* 元の縦横比を保つ */
}

/*web*/
.web__item {
  margin-top: 70px;
  margin-bottom: 40px;

  display: flex;
  justify-content: center; /* 水平方向の中央揃え */
  align-items: center;    /* 垂直方向の中央揃え */
}

.web__item img {
  max-width: 100%;  /* 親要素の幅を最大に */
  max-height: 100%; /* 親要素の高さを最大に */
  width: auto;      /* 元の縦横比を保つ */
  height: auto;     /* 元の縦横比を保つ */
}

@media (max-width: 768px) {
    .service__h1 {
    margin-top: 120px;
    }

  .service__h1 img {
  max-width: 50%;  /* 親要素の幅を最大に */
  max-height: 50%; /* 親要素の高さを最大に */
}

  .service__txt {
    font-size: .8em;
    text-align: left;
  }

  .solution__item {
    margin-top: 40px;
  }

  .solution__txt {
    font-size: .8em;
  }

  .solution__flex {
    flex-direction: column;
  }

  .solution__title {
    font-size: .9em;
    margin: 0 -5px;
  }

.solution__title::before {
  margin: 10px;
}

  .solution__txt-1 {
    font-size: .8em;
    padding-left: 0;
}
  }

/* =======================================================================
  valueページ
======================================================================= */
.value__read {
}
.value {
  background-color: #f3ede9;
  padding: 40px 0;
}

.value__h2 {
  font-weight: 700;
  text-align: center;
}

.value__item {
  max-width: 808px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;

  background-color: #fff;
  box-shadow: 0 3px 4px 0 rgb(0 0 0 / .1);
  border-top: 10px solid #3b1d0f;

  display: grid;
  grid-template-columns: 1fr 40%;
  padding: 0;
}

.value__item:last-child {
  margin-bottom: 0;
}

.value__img {
  margin: 40px 40px;
}

.value__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.value__head {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.value__txt {
  font-size: 13px;
}

.compare__h2 {
  margin-top: 40px;
  text-align: center;
}

.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 16px;
  background: #eee4db;
  margin-top: 20px;
  margin-bottom: 40px;
}

/* ヘッダー */
.compare-table thead th {
  background: #3b1d0f;
  color: #fff;
  padding: 14px 10px;
  text-align: center;
  font-weight: 400;
}

.compare-table thead th.is-brand {
  background: #8a7564;
}

/* 左列（項目名） */
.compare-table tbody th {
  background: #3b1d0f;
  color: #fff;
  text-align: center;
  padding: 10px 5px;
  font-weight: 400;
  white-space: nowrap;
}

/* 中身 */
.compare-table td {
  background: #fff;
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  padding: 10px 5px;
}

.faq__h2 {
  margin-top: 30px;
  margin-bottom: 30px;
  text-align: center;
}

.banner-1__btn img {
  width: 65%;
  margin: 40px auto;
  display: block;
  box-shadow: 0 3px 4px 0 rgb(0 0 0 / .1);
}

@media(max-width: 599px) {
  .value__h1 {
    margin-top: 120px;
    margin-bottom: 20px;
    }

  .value__h1 img {
  max-width: 50%;  /* 親要素の幅を最大に */
  max-height: 50%; /* 親要素の高さを最大に */
}

 .value__h2 {
    font-size: 1.2em;
    font-weight: 700;
 }

  /* 下に移動して横位置（文字が多い場合） */
  .value__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
  }
  .value__img {
    width: 90%;
    margin-top: 0;
  }
  .value__img img {
    aspect-ratio: 1.5 / 1;
  }

  .value__head {
    font-size: 1.2em;
  }
  .compare-sp {
    margin-bottom: 20px;
  }

  .compare__h2 {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 1em;
  }
  .compare-table {
    font-size: 14px;
    border-spacing: 8px;
  }

  .compare-table td {
    font-size: 18px;
  }

  .banner-1__btn img {
  width: 100%;
  margin-bottom: 0;
}
}

/* =======================================================================
  WORKSページ
======================================================================= */
.works__h1 {
  margin-top: 100px;
  margin-bottom: 40px;

  display: flex;
  justify-content: center; /* 水平方向の中央揃え */
  align-items: center;    /* 垂直方向の中央揃え */
}

.works__h1 img {
  max-width: 30%;  /* 親要素の幅を最大に */
  max-height: 30%; /* 親要素の高さを最大に */
  width: auto;      /* 元の縦横比を保つ */
  height: auto;     /* 元の縦横比を保つ */
}

/* 白背景ボックス（説明文） */
.works__txt {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  position: relative;
  z-index: 1;
  line-height: 1.8;
  text-align: center;
}

.works__image {
  position: relative;
}

.works__image img {
  width: 100%;
  height: auto;
  display: block;
}

.works__comment {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  background: rgba(232, 224, 211, 0.9);
  padding: 40px 40px 40px 40px;
  font-size: 24px;
  letter-spacing: 0.1em;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .works__h1 {
    margin-top: 120px;
  }
  
  .works__h1 img {
    max-width: 50%;  /* 親要素の幅を最大に */
    max-height: 50%; /* 親要素の高さを最大に */
  }

  .works__txt {
    font-size: .8em;
    text-align: left;
  }

  .works__comment {
  padding: 20px 20px 20px 20px;
  font-size: 21px;
  }
}

/* =======================================================================
  ABOUTページ
======================================================================= */
.about__h1 {
  margin-top: 100px;
  margin-bottom: 40px;

  display: flex;
  justify-content: center; /* 水平方向の中央揃え */
  align-items: center;    /* 垂直方向の中央揃え */
}

.about__h1 img {
  max-width: 30%;  /* 親要素の幅を最大に */
  max-height: 30%; /* 親要素の高さを最大に */
  width: auto;      /* 元の縦横比を保つ */
  height: auto;     /* 元の縦横比を保つ */
}

.about__h2 {
  font-weight: 700;
  text-align: center;
  margin-bottom: 80px;
}

.about__item {
  display: flex;
  margin-bottom: 50px;
}

.about__txt-1 {
  padding-right: 20px;
  font-size: .8em;
}

.about__txt-1 h2 {
  margin: 10px 0 15px;
}

.about__img {
  width: 50%;
}
/* 白背景ボックス（説明文） */
.about__massage {
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  position: relative;
  z-index: 1;
  line-height: 1.8;
  text-align: left;
}

.about__massage-1 {
  font-weight: 600;
  padding-bottom: 30px;
}
.about__massage-2 {
  font-size: .8em;
}

/* 会社概要*/
.company {
  padding-bottom: 30px;
}

.company__title {
  font-size: 24px;
  margin-top: 20px;
  margin-bottom: 40px;
  text-align: center;
}

.company__table {
  border-top: none;
}

.company__row {
  display: flex;
  padding: 10px 0;
  border-bottom: none;
}

.company__row:nth-child(odd) {
  background-color: #f3ede9; 
  }

  .company__row:nth-child(even) {
  background-color: #ffffff;
  }

.company__row dt {
  margin-left: 40px;
  width: 30%;
  font-weight: 500;
  color: #333;
}

.company__row dd {
  width: 70%;
  margin: 0;
  color: #555;
  line-height: 1.8;
}

.company__row a {
  color: #333;
  text-decoration: none;
}

.company__row a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
  .about__h1 {
    margin-top: 120px;
  }
  
  .about__h1 img {
    max-width: 50%;  /* 親要素の幅を最大に */
    max-height: 50%; /* 親要素の高さを最大に */
  }

  .about__h2 {
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 40px;
}


  .about__item {
    flex-direction: column;
    margin-bottom: 30px;
  }

  .about__img,
  .about__txt {
    width: 100%;
  }

  .about__img {
    margin-bottom: 16px;
  }

  .about__txt-1 {
    padding: 0;
    margin-bottom: 20px;
  }

  .company {
    padding-bottom: 0;
  }

  .company__title {
    margin-top: 0;
    padding-top: 20px;
    margin-bottom: 0;
    font-size: 1em;

  }

  .company__row dt {
    font-size: .8em;
    margin-left: 20px;
  }

  .company__row dd {
    font-size: .8em;
  }

}


/* =======================================================================
  ブレット
======================================================================= */

.bullet {
  background: #f2efe6;
}

.bullet__title {
  text-align: center;
}

ul.bullet__ul {
  background-color: #fff;
  box-shadow: 0 3px 4px 0 rgb(0 0 0 / .1);
  list-style-type: none;
  margin-bottom: 0;
}

ul.bullet__ul li {
  position: relative;
  margin-bottom: .75em;
  padding-bottom: .75em;
  padding-left: 33px;
  border-bottom: 1px solid #ddd;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.5;
}

ul.bullet__ul li:last-child {
  margin-bottom: 0;
}

ul.bullet__ul li::before {
  position: absolute;
  top: 0;
  left: 0;

  color: #369;
  content: '\f14a';
  font-family: FontAwesome;
  font-size: 1.1em;
}

ul.bullet__ul li h4 {
  margin: 0 0 .25em;
  font-size: 21px;
  line-height: 1.5;
}

.main 
ul.bullet__ul li p {
  margin-bottom: .5em;
  font-weight: normal;
  line-height: 1.5;
  font-size: 1rem;
  color: #333;
}

  ul.bullet__ul li p:last-child {
    margin-bottom: 0;
  }

@media(max-width: 599px) {
  ul.bullet__ul li,
  ul.bullet__ul li h4 {
    font-size: 18px;
  }
  ul.bullet__ul li {
    padding-left: 27px;
  }
}

/* =======================================================================
  ブレット１
======================================================================= */

.bullet-1 {
  background: #f2efe6;
}

ul.bullet-1__ul {
  background-color: #fff;
  box-shadow: 0 3px 4px 0 rgb(0 0 0 / .1);
  list-style-type: none;
  margin-bottom: 0;
}

ul.bullet-1__ul li {
  position: relative;
  margin-bottom: .75em;
  padding-bottom: .75em;
  padding-left: 33px;
  border-bottom: 1px solid #ddd;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.5;
}

ul.bullet-1__ul li:last-child {
  margin-bottom: 0;
}

ul.bullet-1__ul li::before {
  position: absolute;
  top: .25em; /* (line-height1.5 - 1) ÷ 2 */
  left: 0;

  content: '';
  display: inline-block;
  width: 21px;
  height: 21px;
  background-image: url(img/check-mark.png);
  background-size: contain;
  vertical-align: middle;
}

@media(max-width: 599px) {
  ul.bullet-1__ul li {
    padding-left: 27px;
    font-size: 18px;
  }

  ul.bullet-1__ul li::before {
    width: 18px;
    height: 18px;
  }
}

/* =======================================================================
  チェックリスト
======================================================================= */

ul.checklist {
  margin: 30px 0;
  padding: 30px;
  background-color: #f2efe6;
  list-style-type: none;
}

ul.checklist > li {
  position: relative;
  margin: 0;
  padding: .5em;
  padding-left: 1.75em;
  border-top: 1px solid #ddd;
  line-height: 1.5;
}

ul.checklist > li:last-child {
  border-bottom: 1px solid #ddd;
}

ul.checklist > li::before {
  position: absolute;
  top: .25em; /* (line-height1.5 - 1) ÷ 2 */
  left: 0;

  color: #369;
  content: '\f14a';
  font-family: FontAwesome;
  font-size: 1.2em;
}

ul.checklist > li.caption {
  padding-left: 1.5em;
  text-indent: -1em;
  font-weight: normal;
  font-size: 17px;
  line-height: 1.618em;
}
ul.checklist > li.caption::before {
  content: none;
}

@media(max-width: 599px) {
  ul.checklist {
    margin: 24px 0;
    padding: 24px;
  }
}

/* =======================================================================
  ナンバーリスト
======================================================================= */

ol.numberlist {
  margin: 30px 0;
  padding: 30px;
  background-color: #f2efe6;
  list-style-type: none;
  counter-reset: number;
}

ol.numberlist li {
  position: relative;
  padding-left: 2em;
  line-height: 1.5;

  border-bottom: 1px solid #ddd;
  padding-top: .75em;
  padding-bottom: .75em;
}

ol.numberlist li::before {
  position: absolute;
  top: 50%;
  left: 0;
  display:inline-block;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #369;
  color: #fff;
  content: counter(number);
  counter-increment: number;
  text-align: center;
  font-weight: 700;
  font-size: .75em;
  line-height: 25px;
  transform: translateY(-50%);
}

@media(max-width: 599px) {
  ol.numberlist {
    margin: 24px 0;
    padding: 15px;
    border: none;
  }
  .main 
  ol.numberlist > li {
    font-size: 1.1em;
    padding: 6px 0;
    padding-left: 2em;
  }
  ol.numberlist > li::before {
    margin-right: 6px;
  }
}

/* =======================================================================
  色囲み
======================================================================= */

.color-box {
  background-color: #f2efe6;
}

.main .color-box *:last-child {
  margin-bottom: 0;
}

/* =======================================================================
  線囲み
======================================================================= */

.border-box {
  border: 1px solid #ddd;
}

.main .border-box *:last-child {
  margin-bottom: 0;
}

@media(max-width: 599px) {
  .border-box {
  }
}

/* =======================================================================
  フォーム
======================================================================= */

.form {
  position: relative;
  background: #f2efe6;
}

.form__title {
  margin: -40px -40px 24px;
  padding: 24px 1em;
  background: #369;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  text-align: center;
}

.form__head {
  margin: 0 auto 24px;
  padding: 0;
  text-align: center;
  font-weight: 700;
  font-size: 24px;
}

.form input[type="text"],
.form input[type="email"] {
  display: block;
  margin: 0 auto 1em;
  padding: 1em;
  width: 100%;
  border-width: 1px;
  border-style: solid;
  border-color: #aaa;
  border-radius: 2px;
  background-color: #fff;
  color: #666;
  font-size: 1.2em;
  font-family: FontAwesome;
}

.form__btn {
  display: block;
  margin: 0 auto 24px;
  max-width: 100%;
}

.form p.form__note {
  overflow-y: scroll;
  margin-bottom: 0;
  padding: .5em;
  height: 4.6em;
  background-color: #fff;
  color: #666;
  font-size: 13px;
  line-height: 1.333;
}

.form p.form__note:last-child {
  margin-bottom: 0;
}

@media(max-width: 599px) {
  .form {
    margin: 24px 0;
    padding: 24px;
  }
  .form__title {
    margin: -24px -24px 24px;
    padding: 24px;
    font-size: 16px;
  }
  .form__head {
    font-size: 16px;
  }
  .form input[type="text"],
  .form input[type="email"] {
    margin: 0 0 15px;
    font-size: 15px;
  }
  .form__btn {
    margin: 0 0 15px;
    max-width: 100%;
  }
  .form p.form__note {
    font-size: .666em;
  }

  body div.submit {
    padding: 0;
  }
  body .form_input_input {
    max-width: 100%;
  }
}

/* =======================================================================
  レイアウト01
======================================================================= */

.lay-01 {
  background: #f2efe6 url("img/lay-bg.jpg") no-repeat center top / 100vw fixed;
}

.lay-01__title {
  text-align: center;
}

.lay-01__item {
  background-color: #fff;
  box-shadow: 0 3px 4px 0 rgb(0 0 0 / .1);
}
.lay-01__item:last-child {
  margin-bottom: 0;
}

.lay-01__img {
  margin: -40px -40px 40px;
}

.lay-01__head {
  display: flex;
  margin-bottom: 24px;
  align-items: center;
  font-size: clamp(18px, 5.07vw, 27px);
}

.lay-01__head-num {
  margin-right: 15px;
  width: 60px;
  flex-shrink: 0;
}

@media(max-width: 599px) {
  .lay-01 {
    background-attachment: scroll;
    margin-right: -24px;
    margin-left: -24px;
    padding-right: 24px;
    padding-left: 24px;
  }
  .lay-01__img {
    margin: -24px -24px 24px;
  }
  .lay-01__head {
    margin-bottom: 16px;
  }
  .lay-01__head-num {
    margin-right: 16px;
    width: 45px;
  }
}

/* =======================================================================
  レイアウト02
======================================================================= */

.lay-02 {
  background-color: #f2efe6;
}

.lay-02__title {
  text-align: center;
}

.lay-02__item {
  background-color: #fff;
  box-shadow: 0 3px 4px 0 rgb(0 0 0 / .1);
}
.lay-02__item:last-child {
  margin-bottom: 0;
}

.lay-02__img {
  margin: -40px -40px 40px;
}

.lay-02__head {
  margin-bottom: 24px;
  display: flex;
}

.lay-02__head-num {
  padding: 24px;

  background-color: #369;
  color: #fff;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lay-02__head-txt {
  padding: 24px;

  width: 100%;
  background-color: #f3f3f3;
  display: flex;
  align-items: center;
}

@media(max-width: 599px) {
  .lay-02__img {
    margin: -24px -24px 24px;
  }
  .lay-02__head {
    flex-direction: column;
  }
  .lay-02__head-num {
    padding: .8em 1em;
    font-size: .8em;
  }
  .lay-02__head-txt {
    padding: 1em;
  }
}

/* =======================================================================
  レイアウト03
======================================================================= */

.lay-03 {
}

.lay-03__item {
  background-color: #f2efe6;
}
.lay-03__item:last-child {
  margin-bottom: 0;
}

.lay-03__img {
  margin: -40px -40px 40px;
}

@media(max-width: 599px) {
  .lay-03 {
  }
  .lay-03__img {
    margin: -24px -24px 24px;
  }
}
  
/* =======================================================================
  レイアウト04
======================================================================= */

.lay-04 {
}

.lay-04__item {
  background-color: #f2efe6;

  display: grid;
  grid-template-columns: auto 25%;
}

.lay-04__item:last-child {
  margin-bottom: 0;
}

.lay-04__img {
}

.lay-04__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lay-04__txt {
}

@media(max-width: 599px) {
  /* 下に移動して横位置（文字が多い場合） */
  .lay-04__item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .lay-04__img {
    width: 100%;
  }
  .lay-04__img img {
    aspect-ratio: 2.414 / 1;
  }

  /* そのまま縮める（文字が少ない場合） */
  .lay-04__item {
    display: grid;
  }
  .lay-04__img {
    width: 100%;
    height: 100%;
  }
  .lay-04__img img {
    aspect-ratio: auto;
    height: 100%;
  }
}

/* =======================================================================
  レイアウト05
======================================================================= */

ol.lay-05 {
  padding: 0;

  list-style-type: none;
  counter-reset: number;
}

ol.lay-05 li {
  position: relative;

  margin-bottom: 1em;
  background-color: #f2efe6;

  display: flex;
}

ol.lay-05 li span {
  display: flex;
  align-items: center;
  justify-content: start;
}

.lay-05__img {
  width: 25%;
  flex-shrink: 0;
  margin-left: auto;
}

.lay-05__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

ol.lay-05 li::before {
  padding: 1em;
  display: block;
  background: #369;
  color: #fff;
  content: counter(number);
  counter-increment: number;
  text-align: center;

  display: flex;
  align-items: center;
  justify-content: center;
}


/* =======================================================================
  セミナー概要
======================================================================= */

.overview {
  margin: 40px auto;
}

.overview > *:first-child {
  margin-top: 0;
}

.main .overview p,
.main .overview li {
}

.overview__h4 {
  margin: 2em auto 1em;
  padding: 1em;
  border-top: 1px solid #369;
  background-color: #f2efe6;
  color: #333;
  text-shadow: 0 1px 0 #fff;
  font-size: 1.1em;
  line-height: 1;
}

.main .overview ul {
  margin: 1em 0;
}

.overview__table {
  margin: 24px auto;
  width: 100%;
}

.overview__table th,
.overview__table td {
  padding: 1em;
  border: 1px solid #ddd;
  vertical-align: top;
  text-align: left;
}

.overview__table thead th {
  border: 1px solid rgb(0 0 0 / .3);
  border-bottom: none;
  background: #369;
  color: #fff;
  text-align: center;
  font-weight: 700;
}

.overview__table th,
.overview__table td,
.overview__table p {
  font-size: 1em;
  line-height: 1.5;
}

.overview__table p {
  margin-bottom: .333em;
}
  .overview__table p:last-child {
    margin-bottom: 0;
  }

.overview__table tbody th {
  background: #f2efe6;
}

.overview__table del {
  color: #666;
}

.overview__table .nowrap {
  white-space: nowrap;
}

.overview__table .close {
  color: #666;
}

.overview__table .close th {
  background: #eee;
}

.overview__table .close td {
  background: #f8f8f8;
}

.overview__table .close, 
.overview__table .close a {
  color: #999;
}

.new {
  display: inline-block;
  margin-bottom: 6px;
  padding: .3em 1em;
  border-radius: 9999px;
  background-color: #cc2200;
  color: #fff;
  font-size: 11px;
  line-height: 1;
	float: right;
}

@media(max-width: 599px) {
  .overview {
    margin: 24px auto;
  }
  .overview__h4 {
    margin: 24px auto 1em;
    padding: .75em;
    font-size: 16px;
  }
  .main .overview ul {
    margin: 1em 0;
  }
	.new {
		font-size: 9px;
		float: none;
  }
}

/* =======================================================================
  よくある質問
======================================================================= */
/* ===== FAQ accordion ===== */
.faq {
  margin-bottom: 40px;
}

.faq__item{
  border: 1px solid rgba(207,205,203,.12);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  margin: 14px 0;
}

/* 質問（クリック領域） */
.faq__q{
  background-color: #f3ede9;
  position: relative;
  cursor: pointer;
  padding: 18px 56px 18px 18px;
}
.faq__q h4{
  margin: 0;
  font-size: .9em;
  font-weight: bold;
  line-height: 1.6;
}

/* 右側の + / - */
.faq__q::after,
.faq__q::before{
  content:"";
  position:absolute;
  right: 20px;
  top: 50%;
  width: 14px;
  height: 2px;
  background: currentColor;
  opacity: .75;
  transform: translateY(-50%);
}
.faq__q::before{
  transform: translateY(-50%) rotate(90deg);
}

/* 回答：閉じた状態（gridで自然にアニメ） */
.faq__a{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .22s ease;
  border-top: 1px solid rgba(0,0,0,.08);
  font-size: .8em;
}
.faq__a-1{ overflow: hidden; }

.faq__a-1 p {
  margin: 0;
  padding: 18px 18px 18px 18px;
  line-height: 1.9;
  color: rgba(0,0,0,.78);
}

/* 開いた状態 */
.faq__item.is-open .faq__a{
  grid-template-rows: 1fr;
}
.faq__item.is-open .faq__q::before{
  opacity: 0; /* + の縦棒を消して - にする */
}

/* hover */
.faq__item:hover{
  border-color: rgba(0,0,0,.2);
}

@media (max-width: 768px){
  .faq__q {
    padding: 16px 52px 16px 16px;
  }
  .faq__q::after,.faq__q::before { 
    right: 16px; 
  }
  .faq__a-1 p { 
    padding: 16px 16px 16px;
  }
  
  .compare-table {
    font-size: 14px;
    border-spacing: 8px;
  }

  .compare-table td {
    font-size: 18px;
  }



  /* SP専用 表示 */
.compare-sp {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* SP用テーブル */
.compare-table-sp {
  min-width: 700px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 8px;
  background: #eee4db;
}

.compare-table-sp th,
.compare-table-sp td {
  background: #fff;
  padding: 14px 10px;
  text-align: center;
  font-size: 14px;
}

/* 左列（会社名） */
.compare-table-sp tbody th {
  background: #3b1d0f;
  color: #fff;
  white-space: nowrap;
}

/* 上段（項目名） */
.compare-table-sp thead th {
  background: #3b1d0f;
  color: #fff;
  font-size: 13px;
}

/* 左上空欄 */
.compare-table-sp thead th:first-child {
  background: transparent;
}

/* VICTURUS強調 */
.compare-table-sp .is-brand th,
.compare-table-sp .is-brand td {
  background: #8a7564;
  color: #fff;
}
}


/* =======================================================================
  プロフィール
======================================================================= */

.profile {
  background: #f2efe6;
}

.main .profile,
.main .profile p,
.main .profile li {
  font-size: 1rem;
}

ul.profile__title {
  margin-bottom: 1em;
  padding: 0 0 0 1.25em;
}

.profile__name-j {
  margin-bottom: .5em;
  letter-spacing: .5em;
  font-size: 1.618em;
  line-height: 1;
  font-feature-settings: "palt";

  color: #333;
  font-weight: 700;
}

.profile__name-j-ruby {
  font-size: .7em;
  letter-spacing: .25em;
}

.profile__name-e {
  margin-bottom: 1.5em;
  color: #aaa;
  letter-spacing: .25em;
  font-weight: normal;
  font-size: 1em;
  line-height: 1;
  font-feature-settings: "palt";
  text-transform: uppercase;
}

.profile__photo {
  float: right;
  margin: 0 0 2em 2em;
  width: 150px;
}

.profile__photo img {
  border-radius: 50%;
}

.main 
.profile h4 {
  margin: 1.5em 0 1em;
  padding-top: 1em;
  border-top: 1px solid #ddd;
  font-size: 18px;
}

/* 本 */

.profile__books {
  padding: 0;
  list-style-type: none;

  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.profile__books img {
  width: 100%;
  aspect-ratio: 2 / 3;
}

@media(max-width: 599px) {
  .profile {
    margin: 24px auto;
    padding: 24px;
  }
  .profile__photo {
    display: block;
    float: none;
    margin: 1em auto;
    width: 40%;
  }
  .profile__name-j {
    text-align: center;
    font-size: 18px;
  }
  .profile__name-j-ruby {
    display: block;
    margin-top: 16px;
  }
  .profile__name-e {
    text-align: center;
    font-size: 15px;
  }
  .main 
  .profile p,
  .main 
  .profile li {
    font-size: .9em;
  }
  .main 
  .profile h4 {
    font-size: 18px;
  }
  .profile__books {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

/* =======================================================================
  フッター
======================================================================= */

.footer {
  margin: 0;
  padding: 20px 0;
  font-size: .8em;
  text-align: center;
  background-color: #f2efe6;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.footer__logo-menu {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  font-style: italic;
}

.footer__nav {
  margin-right: 50px;
  padding-bottom: 40px;
}

/* ロゴ */
.footer__logo img {
  width: 150px;
  margin-left: 20px;
}

@media screen and (min-width:768px) {
  .logo {
    width: 250px;
  }
}

.footer__logo {
  margin-bottom: 30px;
}

.footer__navi {
  text-align: right;
}

.footer__navi p {
  margin-bottom: 0;
}

.footer__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display:flex;
  justify-content: flex-end;
}

.footer__nav ul li {
  font-size: .9em;
}

.footer__nav ul li:not(:last-child) {
  margin-right: 1em;
  padding-right: 1em;
  border-right: 1px solid #ccc;
}

.footer a {
  color: inherit;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer__copy {
  font-size: 1em;
  text-align: right;
}

@media(max-width: 599px) {
  .footer {
    padding: 24px 0;
  }
  .footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer__logo {
    margin: 0 auto 10px;
  }

  .footer__logo img {
    max-width: 70%;
  }

  .footer__nav {
    margin: 0;
    padding: 0;
  }
  
  .footer__nav ul li:not(:last-child) {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
    text-align: center;
    font-size: 1em;
    text-decoration: underline;
  }

  .footer__nav ul {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer__nav ul li {
    border-right: none;
    margin: 0;
    padding: 0;
  }

  .footer__copy {
    text-align: center;
    margin-top: 20px;
  }
}

/* =======================================================================
  このページの先頭へ戻る
======================================================================= */
#pagetop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
}

#pagetop a {
  display: block;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.7;
}

#pagetop a:hover {
  opacity: 1;
}

/* =======================================================================
  ページ下部常駐ボタン
======================================================================= */



/* =======================================================================
  アクセント
======================================================================= */

.a-bold,
p.a-bold {
  font-weight: 700;
}

.a-big,
p.a-big {
  font-size: 21px;
}

.a-big1,
p.a-big1 {
  font-size: 24px;
}

.a-big2,
p.a-big2 {
  font-size: 27px;
}

.a-big3,
p.a-big3 {
  font-size: 30px;
}

@media(max-width: 599px) {
  .a-big,
  p.a-big {
    font-size: 17px;
  }

  .a-big1,
  p.a-big1 {
    font-size: 19px;
  }

  .a-big2,
  p.a-big2 {
    font-size: 21px;
  }

  .a-big3,
  p.a-big3 {
    font-size: 23px;
  }
}

.a-center,
p.a-center {
  text-align: center;
}

.a-marker,
p.a-marker {
  text-decoration: underline;
  text-decoration-thickness: 0.5em;
  text-decoration-color: #ffea00;
  text-underline-offset: -0.3em;
  text-decoration-skip-ink: none;
}

.a-red,
p.a-red {
  color: #cc2200;
}

.a-underline,
p.a-underline {
  text-decoration: underline;
}

/* 点滅 */

.a-blink {
	animation: blink .8s ease-in-out infinite alternate;
}

@keyframes blink {
	0% {opacity: 0;}
	100% {opacity: 1;}
}

/* フワフワ */

.a-fuwafuwa {
  animation: 2s fuwafuwa infinite;
}

@keyframes fuwafuwa {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(15px); }
}

/* 初期非表示 */
.animate-on-scroll { 
  opacity: 0; 
  transition: opacity 0.8s ease-out; 
}

/* オプション：フェードイン時に滑らかに見せたいなら */
.animate-on-scroll.animate__animated { 
  opacity: 1; 
}

.will-animate {
  opacity: 0;
  transform: translateY(20px); /* ← 上からUPにしたいなら推奨 */
  transition: all 0.8s ease-out;
}

/* 

vwの値 = (目標のサイズ(px) / ビューポート幅(px)) × 100
（例）5.6vw = (21px ÷ 375px) × 100

ビューポート375pxの場合

18px = 4.80vw
19px = 5.07vw
24px = 5.33vw
21px = 5.60vw
22px = 5.87vw
23px = 6.13vw
24px = 6.40vw
25px = 6.67vw
26px = 6.93vw
27px = 7.20vw
28px = 7.47vw
29px = 7.73vw
30px = 8.00vw
31px = 8.27vw
32px = 8.53vw
33px = 8.80vw
34px = 9.07vw
35px = 9.33vw
36px = 9.60vw
37px = 9.87vw
38px = 10.13vw
39px = 10.40vw
40px = 10.67vw

*/

/* 
 * LP Template
 * © Motokazu Yoshida Design
 */