/*! destyle.css v1.0.14 | MIT License | nicolas-cusan/destyle.css */

/* Reset */
*,
::before,
::after {
  box-sizing: border-box;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
body {
  margin: 0;
}
main {
  display: block;
}
p, table, blockquote, address, pre, iframe, form, figure, dl {
  margin: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  margin: 0;
}
ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
dt {
  font-weight: 700;
}
dd {
  margin-left: 0;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  border: 0;
  border-top: 1px solid;
  margin: 0;
  clear: both;
  color: inherit;
}
pre {
  font-family: monospace, monospace;
  font-size: inherit;
}
address {
  font-style: inherit;
}
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}
b, strong {
  font-weight: bolder;
}
code, kbd, samp {
  font-family: monospace, monospace;
  font-size: inherit;
}
small {
  font-size: 80%;
}
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
img {
  border-style: none;
  vertical-align: bottom;
}
embed, object, iframe {
  border: 0;
  vertical-align: bottom;
}
button, input, optgroup, select, textarea {
  -webkit-appearance: none;
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  outline: 0;
  border-radius: 0;
  text-align: inherit;
}
[type="checkbox"] {
  -webkit-appearance: checkbox;
  appearance: checkbox;
}
[type="radio"] {
  -webkit-appearance: radio;
  appearance: radio;
}
button, input {
  overflow: visible;
}
button, select {
  text-transform: none;
}
button, [type="button"], [type="reset"], [type="submit"] {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
button[disabled], [type="button"][disabled], [type="reset"][disabled], [type="submit"][disabled] {
  cursor: default;
}
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
select::-ms-expand {
  display: none;
}
option {
  padding: 0;
}
fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
legend {
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
textarea {
  overflow: auto;
}
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
label[for] {
  cursor: pointer;
}
details {
  display: block;
}
summary {
  display: list-item;
}
[contenteditable] {
  outline: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
caption {
  text-align: left;
}
td, th {
  vertical-align: top;
  padding: 0;
}
th {
  text-align: left;
  font-weight: 700;
}
template, [hidden] {
  display: none;
}

/* ===============================================
   基本スタイル
   =============================================== */
body {
  color: #333;
  font-family: -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", "Hiragino Sans", "ヒラギノ角ゴシック ProN", sans-serif;
  min-width: 320px;
}
a {
  color: #555;
}
img {
  width: 100%;
  height: auto;
}
h2, h3, h4, h5 {
  letter-spacing: 0.2em;
}
h2 {
  font-size: 18px;
  line-height: 1.8;
  padding-top: 80px;
  margin: 0 auto 32px;
  width: 90%;
  max-width: 900px;
}
h3 {
  font-size: 16px;
  margin: 0 auto 24px;
  width: 90%;
  max-width: 900px;
}
p {
  color: #555;
  font-size: 14px;
  letter-spacing: 0.1em;
  line-height: 1.8em;
  margin: 0 auto 32px;
  width: 90%;
  max-width: 900px;
}
ul {
  font-size: 14px;
}
li {
  letter-spacing: 0.1em;
  line-height: 1.5em;
  padding: 0 0.5em 1em 0.5em;
}
td {
  font-size: 14px;
}
.font-very-small {
  font-size: 10px !important;
}
.new-line {
  display: inline-block;
}
.mincho {
  font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
}
.body-in {
  position: relative;
}

/* ===============================================
   ヘッダー & ナビゲーション
   =============================================== */
.header-inner {
  background: #fff;
  height: 50px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
}
.header-inner > a > img {
  height: 50px;
  left: 5%;
  position: absolute;
  width: 100px;
}
.nav-toggle {
  display: block;
  height: 1.5rem;
  margin: 13px 0 13px 90%;
  position: relative;
  width: 1.75rem;
  z-index: 999;
}
.nav-toggle span {
  background-color: #333;
  display: block;
  height: 2px;
  position: absolute;
  transition: transform 0.5s, opacity 0.5s;
  width: 100%;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 0; bottom: 0; margin: auto; }
.nav-toggle span:nth-child(3) { bottom: 0; }
.nav-toggle.show span:nth-child(1) { transform: translateY(10px) rotate(-45deg); }
.nav-toggle.show span:nth-child(2) { opacity: 0; }
.nav-toggle.show span:nth-child(3) { transform: translateY(-12px) rotate(45deg); }
.nav {
  background: rgba(255, 255, 255, 0.9);
  color: #333;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s, visibility 0.8s;
  overflow-y: scroll;
  z-index: 998;
}
.nav.show {
  opacity: 1;
  visibility: visible;
}
.nav ul {
  display: block;
  padding: 2em 0;
  text-align: center;
}
.nav li {
  margin: 0 auto;
  padding-bottom: 1em;
  width: fit-content;
}
.nav li:hover {
  opacity: 0.3;
}
.nav a {
  color: #333;
}
.nav-inq {
  background: rgba(211, 198, 166, 0.6);
  border: 3px solid #333;
  border-radius: 10px;
  box-shadow: 2px 2px 4px #ccc;
  margin: 34px auto 0;
  max-width: 300px;
  width: 80%;
  text-align: center;
}
.nav-inq:hover,
.banner-nav-insta:hover,
.banner-nav-youtube:hover {
  opacity: 0.5;
  transition: 0.2s;
}
.nav-inq-none {
  font-size: 14px;
  padding-top: 26px;
}
.nav-inq-p {
  color: #35322a;
  font-size: 20px;
  font-weight: 900;
  padding-bottom: 10px;
}
.nav-img img {
  display: block;
  margin: 0 auto;
  width: 180px;
}
.nav-img-p {
  font-size: 16px;
  margin: 1em auto 0;
  text-align: center;
  text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, 0 1px 0 #fff, -1px 0 0 #fff, 1px 0 0 #fff;
}
.nav-tel-p {
  font-size: 14px;
  line-height: 1.2em;
  margin: 1em auto 0;
  text-align: center;
}
.nav-tel-no {
  font-size: 32px;
  text-align: center;
}
.banner-nav-insta,
.banner-nav-youtube {
  border: 2px solid #d3c6a6;
  border-radius: 10px;
  margin: 0 auto 10px;
  width: 90%;
}

/* ===============================================
   フッター
   =============================================== */
footer {
  background-color: #333;
  color: #999;
}
.story {
  padding: 80px 0 20px;
  overflow-x: hidden;
}
.story h2,
.story p {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: #ccc;
  margin: 0;
  padding: 0;
  width: auto !important;
  height: 100%;
}
.story h2 {
  letter-spacing: 0.3em;
  height: auto;
}
.story p {
  letter-spacing: 0.1em;
}
.story-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}
.story-text-group {
  width: 100%;
}
.story-text-group:first-child {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 1.5rem;
}
.story-paragraphs,
.story-text-group:nth-child(2) {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: 0.5rem;
  height: 45vh;
  min-height: 337px;
}
.scroll-fade {
  transition: 0.8s ease-in-out;
  opacity: 0;
}
.scroll-fade.on {
  opacity: 1;
}
.footer-wrap {
  margin: 60px auto 40px;
}
.footer-logo {
  display: flex;
  justify-content: center;
  margin: 0 auto 40px;
  width: 80%;
}
.footer-logo img {
  padding: 0 20px;
  width: 150px;
}
.footer-logo img:first-child {
  border-right: 0.5px solid #999;
}
.footer-sns {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px auto 40px;
  width: 35%;
}
.footer-sns img {
  padding: 0 20px;
  width: 70px;
}
.footer-sns img:hover {
  opacity: 0.3;
  transition: 0.3s;
}
.copyright {
  color: #a5a5a5;
  font-size: 10px;
  padding-bottom: 10px;
  text-align: center;
  margin-bottom: 0;
  width: 100%;
}

.footer-menu {
  margin: 0 auto 16px;
  width: 80%;
  max-width: 900px;
}
/* スマホのスタイル (デフォルト：縦並び) */
.footer-menu ul {
  display: block;
  text-align: center;
  font-size: 12px;
}
.footer-menu li {
  display: block;
  margin: 0 auto;
  padding: 0;
  width: fit-content;
}
.footer-menu li:not(:last-child) {
  margin-bottom: 8px;
}
.footer-menu a {
  color: #bbb;
  display: block;
  padding: 10px 20px;
  border-radius: 4px;
  transition: background-color 0.2s;
}
.footer-menu a:hover {
  background-color: #444;
  color: #fff;
}

/* ===============================================
   共通コンポーネント (ボタンなど)
   =============================================== */
.inquiry-button {
  align-items: center;
  background: #f3be72;
  border: solid 0.5px #fff;
  color: #000;
  opacity: 0.9;
  border-radius: 25px;
  bottom: 20px;
  cursor: pointer;
  display: none;
  font-size: 12px;
  height: 35px;
  justify-content: center;
  left: 0;
  margin: auto;
  position: fixed;
  right: 0;
  text-align: center;
  width: 50%;
  z-index: 2;
}
.inquiry-button:hover {
  opacity: 0.3;
  transition: ease 0.3s;
}
.inquiry-button span::before {
  background: #333;
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 5px;
  margin: 4px 2px 0 0;
  vertical-align: top;
  width: 5px;
}
.inquiry-button span::after {
  background: no-repeat url(../img/top/sotorie-logo-black.svg);
  background-position: center;
  content: "";
  display: inline-block;
  height: 0.7em;
  width: 3em;
}
.pagetop-button {
  align-items: center;
  background: #fff;
  border: solid 0.5px #333;
  border-radius: 50%;
  bottom: 20px;
  cursor: pointer;
  display: none;
  height: 35px;
  justify-content: center;
  opacity: 0.7;
  position: fixed;
  right: 20px;
  width: 35px;
  z-index: 2;
}
.pagetop-button:hover {
  opacity: 0.3;
  transition: ease 0.3s;
}
.pagetop-button-arrow {
  border-right: 2px solid #333;
  border-top: 2px solid #333;
  display: block;
  height: 10px;
  margin: auto;
  transform: translateY(20%) rotate(-45deg);
  width: 10px;
}

/* ===============================================
   FAQページ 固有スタイル
   =============================================== */
.hero-section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: contain;
  z-index: -1;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}
.hero-content h1 {
  font-size: 24px;
  color: #333;
  text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, 0 1px 0 #fff, -1px 0 0 #fff, 1px 0 0 #fff;
}
.hero-content p {
  margin: 0;
  padding: 0;
  line-height: 1.8em;
  text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, 0 1px 0 #fff, -1px 0 0 #fff, 1px 0 0 #fff;
}
.main-content {
  background-color: #fff;
  padding: 50px 20px;
  position: relative;
}
.grayge-bg {
  background: #f2ebe0;
  border-radius: 30px;
  margin: 0 auto;
  max-width: 900px;
}
.faq-index {
  padding-bottom: 18px;
}
.faq-index h2 {
  padding: 32px 16px 16px;
  margin-bottom: 0;
}
.faq-index ul {
  width: 90%;
  margin: 0 auto;
}
.faq-item {
  padding-bottom: 32px;
}
summary.faq-question {
  cursor: pointer;
  display: block;
  margin: 0 auto;
  padding-bottom: 16px;
  position: relative;
  width: 90%;
  max-width: 900px;
  font-weight: 600;
  line-height: 1.8em;
}
summary.faq-question::-webkit-details-marker {
  display: none;
}
summary.faq-question::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto 0;
  width: 10px;
  height: 10px;
  border-top: 2px solid #ded4bc;
  border-right: 2px solid #ded4bc;
  transform: rotate(135deg);
  transition: transform 0.2s ease-in;
}
.faq-item[open] > summary.faq-question {
  border-bottom: 0.5px solid #333;
}
.faq-item[open] > summary.faq-question::before {
  transform: rotate(-45deg);
}
.faq-answer {
  color: #555;
}
.faq-answer p:first-of-type {
  padding-top: 1rem;
}
.faq-answer ul {
  margin: 0 auto;
  max-width: 900px;
  width: 80%;
}
.faq-q-icon {
  color: #010066;
  font-weight: 900;
}
.faq-a-icon {
  color: #c93a34;
  font-weight: 900;
}
.comparison-container {
  width: 90%;
  max-width: 900px;
  margin: 2em auto;
}
.comparison-table thead {
  display: none;
}
.comparison-table,
.comparison-table tbody,
.comparison-table tr,
.comparison-table th,
.comparison-table td {
  display: block;
  width: 100%;
}
.comparison-table tr {
  margin-bottom: 2.5em;
  padding-bottom: 2.5em;
  border-bottom: 0.5px solid #d3c6a6;
}
.comparison-table tr:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.comparison-table th[scope="row"] {
  background-color: transparent;
  padding: 0;
  margin-bottom: 1.5em;
  text-align: center;
  font-size: 1.1em;
  font-weight: 600;
}
.comparison-table td {
  padding: 0;
  margin-bottom: 2em;
}
.comparison-table td:last-child {
  margin-bottom: 0;
}
.comparison-table td::before {
  content: attr(data-label);
  display: block;
  font-weight: 600;
  font-size: 1em;
  margin-bottom: 0.8em;
  color: #333;
}
.comparison-table ul {
  list-style: none;
  padding: 0 0 0 20px;
  margin: 0;
  line-height: 1.7;
}
.comparison-table li {
  padding: 0 0 0.5em 1.2em;
  position: relative;
  letter-spacing: normal;
  line-height: 1.5em;
}
.comparison-table li::before {
  content: "-";
  position: absolute;
  left: 0;
}
.comparison-table small {
  display: block;
  font-size: 0.85em;
  color: #555; /* ★★★ 最終修正 ★★★ */
  margin-top: 0.4em;
  line-height: 1.5;
}
.selection-points {
  width: 90%;
  max-width: 900px;
  margin: 2em auto;
  padding: 2em;
  background-color: #f9f9f9;
  border: 1px solid #f4f1e9;
  border-radius: 8px;
  font-size: 14px;
}
.selection-points h3 {
  font-size: 1.2em;
  font-weight: 600;
  text-align: center;
  margin: 0 auto 1.5em;
  padding-bottom: 0.8em;
  border-bottom: 1px solid #e0e0e0;
}
.selection-points p {
  padding-top: 0;
  margin: 0 0 1em 0;
  line-height: 1.8;
}
.selection-points p:last-child {
  margin-bottom: 0;
}
.selection-points ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
}
.selection-points li {
  line-height: 1.8;
  padding: 0 0 1em 1.5em;
  position: relative;
  letter-spacing: normal;
}
.selection-points li:last-child {
  margin-bottom: 0;
}
.selection-points li::before {
  content: "✓";
  color: #8ca35f;
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 2px;
}
.selection-points strong {
  font-weight: 600;
}

/* ===============================================
   PC表示用のスタイル (768px以上)
   =============================================== */
@media (min-width: 768px) {
  .story-content-wrapper {
    width: auto;
    max-width: none;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: flex-start;
  }
  .story-text-group {
    width: auto;
    max-width: 48%;
  }
  .footer-wrap {
    display: flex;
    max-width: 900px;
  }
  .footer-logo {
    justify-content: flex-end;
    margin-bottom: 0;
  }
  .footer-logo img {
    padding: 0 0 0 20px;
    width: 200px;
  }
  .footer-logo img:first-child {
    padding-right: 20px;
  }
  .footer-sns {
    justify-content: start;
    margin: 0;
  }
  .footer-sns img {
    padding: 0 20px 0 0;
    width: 50px;
  }
  .copyright {
    margin: 0 auto;
    text-align: right;
    width: 80%;
    max-width: 900px;
  }
  
  .footer-menu {
    width: auto;
  }
  .footer-menu ul {
    display: flex;
    justify-content: flex-end;
    font-size: 10px;
  }
  .footer-menu li {
    display: block;
    width: auto;
  }
  .footer-menu li:not(:last-child) {
    margin-bottom: 0;
  }
  .footer-menu a {
    padding: 8px 10px;
  }

  .comparison-table {
    display: table;
    border-collapse: collapse;
    font-size: 14px;
    table-layout: fixed;
  }
  .comparison-table thead {
    display: table-header-group;
  }
  .comparison-table tbody {
    display: table-row-group;
  }
  .comparison-table tr {
    display: table-row;
    margin: 0;
    padding: 0;
    border-bottom: none;
    border-top: 1px solid #e0e0e0;
  }
  .comparison-table tr:first-child {
    border-top: none;
  }
  .comparison-table th,
  .comparison-table td {
    display: table-cell;
    padding: 20px;
    text-align: left;
    vertical-align: top;
    margin: 0;
  }
  .comparison-table td::before {
    display: none;
  }
  .comparison-table thead th {
    background-color: #f4f1e9;
    font-weight: 600;
    border-bottom: 2px solid #e0e0e0;
  }
  .comparison-table th[scope="row"] {
    background-color: #f4f1e9;
    font-weight: 600;
    padding: 20px;
    text-align: left;
  }
  .comparison-table thead th:nth-child(1) { width: 28%; }
  .comparison-table thead th:nth-child(2) { width: 36%; }
  .comparison-table thead th:nth-child(3) { width: 36%; }
  
  .comparison-table.four-columns thead th:nth-child(1) { width: 20%; }
  .comparison-table.four-columns thead th:nth-child(2) { width: 30%; }
  .comparison-table.four-columns thead th:nth-child(3) { width: 30%; }
  .comparison-table.four-columns thead th:nth-child(4) { width: 20%; }
  
  .comparison-table.five-columns thead th:nth-child(1) { width: 15%; }
  .comparison-table.five-columns thead th:nth-child(2) { width: 15%; }
  .comparison-table.five-columns thead th:nth-child(3) { width: 15%; }
  .comparison-table.five-columns thead th:nth-child(4) { width: 15%; }
  .comparison-table.five-columns thead th:nth-child(5) { width: 40%; }
}