/* シリエトクマーケティング用の調整（テンプレートの style.css を上書き） */

/* ---------- 全体の色（写真の色調に合わせ、グレーをわずかに暖色寄りに） ---------- */
body {
  background: #eeece8;
}
.gray-bg {
  background: #e4e1dc;
}
.sir-field input[type="text"],
.sir-field input[type="email"],
.sir-field input[type="tel"],
.sir-field textarea,
.sir-thanks {
  background: #faf9f7;
}

/* ---------- メニュー（7項目が1行に収まるよう、狭めの PC 幅で詰める） ---------- */
@media (min-width: 992px) and (max-width: 1299px) {
  .logo {
    width: 18%;
  }
  .menu-box {
    width: 72%;
  }
  .social-top {
    width: 10%;
  }
  .menu-box .navigation li a {
    padding: 15px 11px;
    font-size: 12px;
  }
}

/* ---------- 文字 ---------- */
body {
  font-family: "Open Sans", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #808080;
  font-size: 15px;
  line-height: 2;
  font-feature-settings: "palt";
}
h1, h2, h3, h4, h5, h6 {
  font-family: "Oswald", "Noto Sans JP", sans-serif;
}
.sub-title {
  font-size: 16px;
  line-height: 2;
  color: #999;
}
.small-title {
  font-family: "Oswald", "Noto Sans JP", sans-serif;
  line-height: 1.6;
}
/* 日本語の小見出しは Oswald の縦長に合わせて少し詰める */
.services-list .small-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 3.2em;
}
.services-list .small-title i {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  background: #2b292a;
  color: #fff;
  font-size: 15px;
}

/* 日本語の改行位置をフレーズ単位にする */
.phrase {
  display: inline-block;
}

/* ---------- ヘッダー / ロゴ ---------- */
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
}
.logo-link img {
  width: 44px;
  height: 44px;
}
.logo-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.28em;
  color: #fff;
  text-align: left;
  white-space: nowrap;
}
.shrink .logo-text {
  color: #2b292a;
}
.shrink .logo-link img {
  width: 36px;
  height: 36px;
}
#status {
  background-image: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
#status img {
  width: 64px;
  height: 64px;
  animation: sir-pulse 1.2s ease-in-out infinite;
}
@keyframes sir-pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1); }
}

/* ---------- 見出し上のアイコン（クマ） ---------- */
.content-icon-bear {
  width: 64px;
  height: 64px;
  line-height: 64px;
  background-color: #f2f2f2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.content-icon-bear img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.big-icon-bear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #fff;
}
.big-icon-bear img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

/* ---------- スライダー ---------- */
.caption-box h1,
.caption-box h3 {
  color: #ffffff;
  font-size: 80px;
  letter-spacing: 5px;
  margin: 40px 0 10px;
  line-height: 1.05;
  text-transform: uppercase;
  font-weight: normal;
}
.caption-box p {
  font-size: 17px;
  letter-spacing: 0.08em;
}
/* 文字が背景に埋もれないよう、ごく薄い影を付ける */
.caption-box h1,
.caption-box h3,
.caption-box p {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
/* モノクロ写真は明暗がはっきりしているので、文字が埋もれないよう黒を少し濃く */
.home-slider .slider-mask {
  background-color: rgba(0, 0, 0, 0.38);
}
/* 明るく細かい背景のスライドは、さらに濃くする */
.home-slider .slide-dim .slider-mask {
  background-color: rgba(0, 0, 0, 0.55);
}

/* 日本語の見出し・説明は大文字変換しない（BtoB が BTOB にならないように） */
.services-list .small-title,
.gal-detail p {
  text-transform: none;
}

/* ---------- 写真ギャラリー（クリックで拡大しない） ---------- */
.gal-box > a {
  cursor: default;
}
/* 幅に合わせて高さも縮め、元の縦横比を保つ（width/height 属性による縦伸びを防ぐ） */
.gal-box img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ---------- Philosophy ---------- */
.philosophy-headline {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 34px;
  letter-spacing: 0.18em;
  color: #2b292a;
  margin: 10px 0 34px;
}
.philosophy-lead {
  max-width: 760px;
  margin: 0 auto;
  color: #666;
  font-size: 16px;
  line-height: 2.2;
}
.philosophy-lead p {
  margin: 0 0 18px;
}
.philosophy-lead strong {
  color: #2b292a;
  font-weight: 700;
  border-bottom: 2px solid #2b292a;
}
.journey {
  display: flex;
  align-items: stretch;
  max-width: 1080px;
  margin: 50px auto 0;
  counter-reset: none;
}
.journey-step {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 96px;
  padding: 14px 18px 14px 26px;
  background: #e9e6e1;
  color: #2b292a;
  text-align: center;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 16px 50%);
  margin-left: -10px;
}
.journey-step:first-child {
  margin-left: 0;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
}
.journey-no {
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  color: #999;
}
.journey-label {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  line-height: 1.5;
}
.journey-start {
  background: #d6d2cb;
}
.journey-after {
  background: #4a4647;
  color: #fff;
}
.journey-after .journey-no {
  color: #bbb;
}
.journey-edge {
  flex-grow: 1.5;
  background: #2b292a;
}
.journey-ranges {
  display: flex;
  max-width: 1080px;
  margin: 12px auto 0;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.journey-range {
  padding-top: 8px;
  text-align: center;
}
.journey-range-general {
  flex: 4 1 0;
  color: #999;
  border-top: 1px solid #ccc;
  margin-right: 8px;
}
.journey-range-edge {
  flex: 2.5 1 0;
  color: #2b292a;
  font-weight: 700;
  border-top: 2px solid #2b292a;
}
.diagrams {
  margin-top: 70px;
}
.diagram {
  max-width: 1080px;
  margin: 0 auto 70px;
}
.diagram figcaption {
  text-align: center;
  margin-bottom: 24px;
}
.diagram-no {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 3px;
  color: #999;
  text-transform: uppercase;
}
.diagram-title {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: #2b292a;
  margin: 6px 0 10px;
}
.diagram-desc {
  display: block;
  max-width: 720px;
  margin: 0 auto;
  font-size: 14px;
  line-height: 2;
  color: #777;
}
.diagram-svg {
  display: block;
  width: 100%;
  height: auto;
}
.diagram-hint {
  display: none;
  text-align: center;
  font-size: 12px;
  color: #999;
}
.philosophy-steps {
  margin-top: 20px;
}
.philosophy-steps .small-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  text-transform: none;
}
.philosophy-steps .small-title > span {
  background: #2b292a;
  color: #fff;
  display: inline-block;
  font-family: "Oswald", sans-serif;
  font-weight: 400;
  font-size: 35px;
  line-height: 1;
  padding: 8px;
  margin-right: 6px;
  vertical-align: middle;
}
.philosophy-closing {
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.2em;
  color: #2b292a;
  margin: 10px 0 0;
}

/* ---------- 引用帯 ---------- */
/* 夜の写真（bg/2）は暗いので、かぶせる黒を薄くする */
.bg2 .bg-mask {
  background-color: rgba(0, 0, 0, 0.25);
}
.big-text h3 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.7;
}

/* ---------- プロフィール ---------- */
#profile {
  padding-bottom: 0;
}
.profile-box {
  display: flex;
  align-items: stretch;
  padding-bottom: 0;
}
.profile-image {
  flex: 0 0 34%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 30px;
}
.profile-image img {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}
.profile-detail {
  flex: 1 1 auto;
  padding: 60px 6% 60px 0;
}
.profile-detail h3 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.1em;
  margin: 0 0 14px;
}
.profile-detail h3 small {
  display: block;
  margin-top: 10px;
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #999;
}
.profile-detail .team-post {
  margin-bottom: 24px;
  padding: 2px 12px;
  font-size: 12px;
  letter-spacing: 0.15em;
}
.profile-detail p {
  color: #666;
}
.profile-detail p.team-post {
  color: #fff;
}
.qual-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.qual-list li {
  border: 1px solid #2b292a;
  color: #2b292a;
  font-size: 12px;
  line-height: 1;
  padding: 9px 14px;
  letter-spacing: 0.08em;
}

/* ---------- 会社概要 ---------- */
.company-table {
  margin: 0 0 20px;
  border-top: 1px solid #2b292a;
}
.company-row {
  display: flex;
  border-bottom: 1px solid #ddd;
}
.company-row dt,
.company-row dd {
  padding: 22px 16px;
  line-height: 1.9;
}
.company-row dt {
  flex: 0 0 160px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  color: #2b292a;
  letter-spacing: 0.15em;
}
.company-row dd {
  flex: 1 1 auto;
  color: #555;
}
.company-en {
  font-family: "Oswald", sans-serif;
  letter-spacing: 2px;
  color: #aaa;
  font-size: 13px;
}
.company-business {
  margin: 0;
  padding-left: 1.6em;
  list-style: decimal;
}
.company-business li {
  padding-left: 0.3em;
}

/* ---------- お問い合わせフォーム（送信先は Google フォーム） ---------- */
.sir-form {
  text-align: left;
}
.sir-field {
  margin-bottom: 22px;
}
.sir-field > label {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #2b292a;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.sir-field .req {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.6;
  color: #fff;
  background: #2b292a;
  letter-spacing: 0.1em;
  vertical-align: 1px;
}
.sir-field input[type="text"],
.sir-field input[type="email"],
.sir-field input[type="tel"],
.sir-field textarea {
  display: block;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #fafafa;
  padding: 12px 14px;
  font-size: 16px; /* iOS で拡大されないよう 16px */
  line-height: 1.6;
  color: #2b292a;
  transition: border-color .2s, background .2s;
  -webkit-appearance: none;
}
.sir-field textarea {
  resize: vertical;
  min-height: 160px;
}
.sir-field input:focus,
.sir-field textarea:focus {
  outline: none;
  border-color: #2b292a;
  background: #fff;
}
.sir-field.is-invalid input,
.sir-field.is-invalid textarea {
  border-color: #c0392b;
  background: #fff7f6;
}
.sir-consent label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  cursor: pointer;
}
.sir-consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #2b292a;
  flex: 0 0 auto;
}
.sir-consent a {
  color: #2b292a;
  border-bottom: 1px solid #bbb;
}
.sir-consent.is-invalid label {
  color: #c0392b;
}
.sir-form-error {
  color: #c0392b;
  font-size: 14px;
  margin: 0 0 16px;
}
.sir-submit {
  text-align: center;
  margin-top: 30px;
}
.sir-button {
  display: inline-block;
  min-width: 240px;
  padding: 14px 40px;
  border: 2px solid #2b292a;
  background: #2b292a;
  color: #fff;
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.2em;
  transition: background .2s, color .2s;
}
.sir-button:hover,
.sir-button:focus {
  background: #fff;
  color: #2b292a;
  outline: none;
}
.sir-button[disabled] {
  opacity: 0.6;
  cursor: wait;
}
.sir-thanks {
  text-align: center;
  padding: 50px 20px;
  border: 1px solid #e3e3e3;
  background: #fafafa;
}
.sir-thanks .big-icon-bear {
  background: #fff;
  border: 1px solid #eee;
}
.sir-thanks-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.12em;
  color: #2b292a;
  margin: 18px 0 10px;
}
.form-note {
  margin-top: 16px;
  font-size: 13px;
  text-align: center;
}
.form-note a,
.policy a {
  color: #2b292a;
  border-bottom: 1px solid #bbb;
}
.form-note a:hover,
.policy a:hover {
  border-bottom-color: #2b292a;
}

/* ---------- 下層ページ（プライバシーポリシー等） ---------- */
.page-hero {
  position: relative;
  background-color: #2b292a;
  padding: 190px 0 110px;
  text-align: center;
}
.page-hero-caption {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  color: #fff;
  font-size: 60px;
  letter-spacing: 5px;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.page-hero p {
  color: #fff;
  letter-spacing: 0.2em;
  margin: 0;
}
.subpage .content {
  margin-top: 0;
  top: -40px;
}
.policy {
  color: #555;
}
.policy-lead {
  margin-bottom: 40px;
}
.policy h2 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.06em;
  color: #2b292a;
  margin: 48px 0 16px;
  padding-left: 14px;
  border-left: 4px solid #2b292a;
  line-height: 1.5;
}
.policy ul,
.policy ol {
  padding-left: 1.6em;
  margin-bottom: 1em;
}
.policy ul {
  list-style: square;
}
.policy ol {
  list-style: decimal;
}
.policy li {
  margin-bottom: 6px;
}
.policy-table {
  margin-top: 8px;
}
.policy-date {
  margin-top: 56px;
  text-align: right;
  line-height: 1.9;
}

/* ---------- フッター ---------- */
.footer p {
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  letter-spacing: 0.08em;
}
.footer-box {
  text-align: right;
}
.footer-links {
  margin-bottom: 4px !important;
}
.footer-links a {
  color: #ccc;
}
.footer-links a:hover {
  color: #fff;
}
.footer-en {
  text-transform: uppercase;
  letter-spacing: 0.3em !important;
  color: #888;
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 991px) {
  .profile-box {
    flex-direction: column;
  }
  .profile-image {
    flex-basis: auto;
    padding: 50px 20px 0;
  }
  .profile-image img {
    max-width: 200px;
  }
  .profile-detail {
    padding: 30px 6% 50px;
  }
  .footer-box {
    text-align: center;
  }
}
@media (max-width: 991px) {
  .journey {
    flex-direction: column;
    max-width: 420px;
  }
  .journey-step,
  .journey-step:first-child {
    flex: 0 0 auto;
    margin-left: 0;
    margin-top: -6px;
    min-height: 72px;
    padding: 24px 16px 26px;
    clip-path: polygon(0 0, 50% 12px, 100% 0, 100% calc(100% - 12px), 50% 100%, 0 calc(100% - 12px));
  }
  .journey-step:first-child {
    margin-top: 0;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 50% 100%, 0 calc(100% - 12px));
  }
  .journey-ranges {
    display: none;
  }
}
@media (max-width: 767px) {
  body {
    font-size: 14px;
  }
  .content {
    max-width: 94%;
    margin-top: 40px;
    padding: 50px 0;
  }
  .content-title {
    font-size: 44px;
  }
  .sub-title {
    font-size: 14px;
    text-align: left;
    padding: 0 6px;
  }
  .caption-box {
    padding: 38% 0 30%;
  }
  .caption-box h1,
  .caption-box h3 {
    font-size: 40px;
    letter-spacing: 3px;
  }
  .caption-box p {
    font-size: 14px;
    line-height: 1.8;
  }
  .logo {
    width: auto;
  }
  .logo-text {
    font-size: 10px;
  }
  .big-text {
    padding-top: 100px;
    padding-bottom: 100px;
  }
  .big-text h3 {
    font-size: 22px;
  }
  .profile-detail {
    padding: 30px 20px 40px;
  }
  .profile-detail h3 {
    font-size: 24px;
  }
  .philosophy-headline {
    font-size: 24px;
    letter-spacing: 0.1em;
  }
  .philosophy-lead {
    font-size: 14px;
    text-align: left;
    padding: 0 6px;
  }
  .philosophy-closing {
    font-size: 16px;
    letter-spacing: 0.1em;
  }
  .diagram-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .diagram-scroll .diagram-svg {
    min-width: 820px;
  }
  .diagram-hint {
    display: block;
    margin-top: -40px;
    margin-bottom: 40px;
  }
  .diagram-title {
    font-size: 18px;
  }
  .diagram-desc {
    text-align: left;
    padding: 0 6px;
  }
  .page-hero {
    padding: 140px 0 80px;
  }
  .page-hero h1 {
    font-size: 36px;
    letter-spacing: 3px;
  }
  .policy {
    padding: 0 8px;
  }
  .policy h2 {
    font-size: 17px;
  }
  .company-row {
    flex-direction: column;
  }
  .company-row dt {
    flex-basis: auto;
    padding: 18px 6px 0;
  }
  .company-row dd {
    padding: 6px 6px 18px;
  }
}
