/* こんなお悩み・症状はありませんか？ セクション専用CSS */
/* ベース（他CSSに依存しないための最小リセット） */
.top-trouble, .top-trouble *, .top-trouble *::before, .top-trouble *::after { box-sizing: border-box; }
.top-trouble a { text-decoration: none; background-color: transparent; }
.top-trouble h2, .top-trouble h3, .top-trouble p { margin: 0; }
.top-trouble img { border: 0; max-width: 100%; }
.top-trouble article { display: flex; flex-direction: column; }

.top-trouble {
  position: relative;
  padding: 14px 40px;
  overflow: hidden;
  background-color: #f4f3ef;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(143, 126, 101, 0.035) 0,
      rgba(143, 126, 101, 0.035) 1px,
      transparent 1px,
      transparent 5px
    );
}

.top-trouble__inner {
  position: relative;
  max-width: 75%;
  min-height: 1240px;
  margin: 0 auto;
  padding: 40px 42px 40px 310px;
  box-sizing: border-box;
  background-color: #fff;

  
  background-image:
    linear-gradient(
      rgba(70, 97, 122, 0.035) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(70, 97, 122, 0.035) 1px,
      transparent 1px
    );
  background-size: 7px 7px;

  border-top: 1px solid #dbcbb0;

  box-shadow:
    0 0 0 1px rgba(219, 203, 176, 0.25),
    0 10px 30px rgba(42, 50, 58, 0.08);
}

.top-trouble__side-text {
  position: absolute;
  top: 52%;
  left: 8px;
  color: rgba(60, 85, 108, 0.07);
  font-family: "Times New Roman", serif;
  font-size: 100px;
  letter-spacing: 0.08em;
  writing-mode: sideways-lr;
  transform: translateY(-50%);
}

.top-trouble__heading {
  text-align: left;
}

.top-trouble__heading h2 {
  position: relative;
  margin: 0 0 25px;
  padding: 0 0 23px;
  color: #344e69;
  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "YuMincho",
    serif;
  font-size: 35px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.12em;
  text-align: center;
}

.top-trouble__heading h2::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: #b99251;
}

.top-trouble__accent {
  color: #647cab;
  font-size: 1.2em;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.top-trouble__photo {
  position: absolute;
  top: 165px;
  left: -30px;
  width: 300px;
  padding: 8px 8px 30px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid rgba(219, 203, 176, 0.7);
  transform: rotate(-3.5deg);
  box-shadow: 7px 8px 12px rgba(38, 48, 56, 0.13);
}

.top-trouble__photo::before {
  content: "";
  position: absolute;
  top: -7px;
  left: -7px;
  width: calc(100% + 14px);
  height: calc(100% + 14px);
  border: 1px solid rgba(219, 203, 176, 0.25);
  pointer-events: none;
}

.top-trouble__photo img {
  display: block;
  width: 100%;
  height: auto;
}

.top-trouble__intro {
  position: relative;
  margin-bottom: 20px;
  padding: 17px 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(219, 203, 176, 0.6);
  text-align: center;
}

.top-trouble__intro::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  width: 0;
  height: 0;
  border-top: 12px solid #b89655;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
  transform: translateX(-50%);
}

.top-trouble__intro p {
  margin: 0;
  color: #5b6875;
  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "YuMincho",
    serif;
  font-size: 16px;
  line-height: 2.1;
}

.top-trouble__list {
  margin-top: 25px;
}

.top-trouble__item {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 20px 0 25px;
  border-bottom: 1px solid rgba(77, 98, 118, 0.15);
}

.top-trouble__check {
  position: relative;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #dbcbb0;
}

.top-trouble__check::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 6px;
  width: 11px;
  height: 6px;
  border-bottom: 2px solid #53779a;
  border-left: 2px solid #53779a;
  transform: rotate(-45deg);
}

.top-trouble__item-body {
  flex: 1;
}

.top-trouble__item h3 {
  margin: 0 0 8px;
  color: #344d65;
  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "YuMincho",
    serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.05em;
}

.top-trouble__item p {
  margin: 0;
  color: #687682;
  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "YuMincho",
    serif;
  font-size: 15px;
  line-height: 1.9;
}

.top-trouble__cta {
  margin-top: 35px;
  text-align: center;
}

.top-trouble__cta a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 38px;
  padding: 8px 30px;
  box-sizing: border-box;
  color: #40546a;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(219, 203, 176, 0.7);
  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "YuMincho",
    serif;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: opacity 0.3s;
}

.top-trouble__cta a:hover {
  opacity: 0.65;
}

@media screen and (max-width: 767px) {
  .top-trouble {
    padding: 8px 6px;}
  .top-trouble__inner {
    min-height: 0;
    padding: 24px 18px 30px;
    max-width: 95%;}
  .top-trouble__side-text {
    display: none;}
  .top-trouble__heading {
    text-align: center;}
  .top-trouble__heading h2 {
    margin-bottom: 17px;
    padding-bottom: 0;
    font-size: 23px;
    line-height: 1.65;
    letter-spacing: 0.1em;}
  .top-trouble__heading h2::after {
    display: none;}
  .top-trouble__photo {
    position: relative;
    top: auto;
    left: auto;
    width: 90%;
    margin: 0 auto;
    padding: 5px 5px 18px;
    transform: rotate(-2.5deg);
    box-shadow: 5px 6px 9px rgba(38, 48, 56, 0.12);}
  .top-trouble__photo::before {
    top: -4px;
    left: -4px;
    width: calc(100% + 8px);
    height: calc(100% + 8px);}
  .top-trouble__intro {
    z-index: 2;
    width: 98%;
    margin: 5px auto 0;
    padding: 13px 10px 18px;
    box-sizing: border-box;}
  .top-trouble__intro p {
    font-size: 15px;
    line-height: 2;}
  .top-trouble__intro::after {
    bottom: -8px;
    border-top-width: 8px;
    border-right-width: 7px;
    border-left-width: 7px;}
  .top-trouble__list {
    margin-top: 18px;}
  .top-trouble__item {
    gap: 10px;
    padding: 11px 0 12px;}
  .top-trouble__check {
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    margin-top: 5px;}
  .top-trouble__check::after {
    top: 2px;
    left: 2px;
    width: 5px;
    height: 3px;
    border-bottom-width: 1px;
    border-left-width: 1px;}
  .top-trouble__item h3 {
    margin-bottom: 4px;
    font-size: 16px;
    line-height: 1.55;}
  .top-trouble__item p {
    font-size: 13px;
    line-height: 1.8;}
  .top-trouble__cta {
    margin-top: 22px;}
  .top-trouble__cta a {
    min-width: 125px;
    min-height: 30px;
    padding: 7px 13px;
    font-size: 14px;}
}

.top-trouble {padding:60px 26px 80px;
}

.top-trouble .top-trouble__inner {
 max-width:1390px; min-height:0;padding:54px clamp(22px,4.2vw,70px) 60px;
}

.top-trouble .top-trouble__side-text {left:5px;font-size:68px;opacity:.8;
}

.top-trouble .top-trouble__heading {max-width:900px;margin:0 auto;
}

.top-trouble .top-trouble__intro {max-width:930px;margin:0 auto 40px;
}

.top-trouble .top-trouble__list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin:28px 0 40px;
}

.top-trouble .top-trouble__item {
 display:flex;flex-direction:column;min-width:0;gap:0;padding:0;
 border:1px solid #ded2bf;background:#fff;box-shadow:5px 9px 16px rgba(20,39,61,.09);
}

.top-trouble .top-trouble__item:last-child:nth-child(odd) {grid-column:1/-1;width:calc(50% - 14px);justify-self:center;
}

.top-trouble__item-image {width:100%;aspect-ratio: 1.8/1;overflow:hidden;background:#f4f2ef;
}

.top-trouble__item-image img {display:block;width:100%;height:100%;object-fit:cover;object-position:center;
}

.top-trouble .top-trouble__item-body {padding:20px 23px 24px;flex:1;display:flex;flex-direction:column;
}

.top-trouble .top-trouble__item-title {display:flex;gap:12px;align-items:flex-start;
}

.top-trouble .top-trouble__item-title h3 {min-width:0;margin:0 0 10px;font-size:clamp(18px,1.48vw,22px);line-height:1.6;
}

.top-trouble .top-trouble__check {flex:none;margin-top:6px;
}

.top-trouble .top-trouble__item p {padding-left:42px;margin:0 0 12px;line-height:1.9;
}

.top-trouble__direct {margin:auto 0 0 42px;display:inline-flex;gap:10px;align-items:center;width:fit-content;padding:8px 0 4px;color:#a67828;font-size:14px;letter-spacing:.035em;border-bottom:1px solid #cbb17b;
}

.top-trouble__direct span {transition:transform .2s;
}

.top-trouble__direct:hover span {transform:translateX(4px);
}

.top-trouble .top-trouble__cta {margin-top:26px;
}

@media (max-width:767px) {
  .top-trouble {padding:36px 14px 58px;}
  .top-trouble .top-trouble__inner {padding:38px 18px 42px;min-height:0;max-width:100%;}
  .top-trouble .top-trouble__side-text {display:none;}
  .top-trouble .top-trouble__heading h2 {font-size:clamp(24px,5.5vw,31px);}
  .top-trouble .top-trouble__intro {margin-bottom:30px;padding:16px 15px;}
  .top-trouble .top-trouble__intro p {font-size:13px;line-height:1.9;}
  .top-trouble .top-trouble__list {grid-template-columns:1fr;gap:19px;}
  .top-trouble .top-trouble__item:last-child:nth-child(odd) {grid-column:auto;width:100%;}
  .top-trouble__item-image {aspect-ratio:1.75;}
  .top-trouble .top-trouble__item-body {padding:17px 15px 21px;}
  .top-trouble .top-trouble__item p {padding-left:39px;font-size:13px;}
  .top-trouble .top-trouble__item-title h3 {font-size:18px;}
  .top-trouble__direct {margin-left:39px;}
}

@media (min-width:1101px) {
  .top-trouble .top-trouble__inner {max-width:1410px;padding:48px 42px 62px;}
  .top-trouble .top-trouble__list {grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 26px;}
  .top-trouble .top-trouble__item:last-child:nth-child(odd) {grid-column:auto;width:100%;justify-self:stretch;}
  .top-trouble__item-image {aspect-ratio:2.1/1;max-height:185px;}
  .top-trouble .top-trouble__item-body {padding:16px 19px 21px;}
  .top-trouble .top-trouble__item-title h3 {font-size:clamp(17px,1.23vw,19px);line-height:1.5;}
  .top-trouble .top-trouble__item p {padding-left:34px;font-size:14px;line-height:1.85;}
  .top-trouble__direct {margin-left:34px;font-size:13px;}
}

@media (min-width:768px) and (max-width:1100px) {
  .top-trouble .top-trouble__list {grid-template-columns:repeat(2,minmax(0,1fr));gap:23px;}
  .top-trouble .top-trouble__item:last-child:nth-child(odd) {grid-column:1/-1;width:calc(50% - 12px);justify-self:center;}
  .top-trouble__item-image {aspect-ratio:2.05;max-height:190px;}
}

@media (max-width:767px) {
  .top-trouble .top-trouble__list {grid-template-columns:minmax(0,1fr);gap:18px;}
  .top-trouble .top-trouble__item:last-child:nth-child(odd) {grid-column:auto;width:100%;}
  .top-trouble__item-image {aspect-ratio:2.08;max-height:195px;}
  .top-trouble .top-trouble__item-body {padding:15px 17px 19px;}
  .top-trouble .top-trouble__item-title h3 {font-size:17px;}
}

@media (min-width:1101px) {
  .top-trouble .top-trouble__item:nth-last-child(2),
  .top-trouble .top-trouble__item:last-child {
    transform:translateX(calc(50% + 13px));}
  .top-trouble .top-trouble__item--08 .top-trouble__item-image img,
  .top-trouble .top-trouble__item--09 .top-trouble__item-image img,
  .top-trouble .top-trouble__item--10 .top-trouble__item-image img {object-position:50% 40%;}
}

.top-trouble__direct--secondary {margin-top:5px;
}

@media screen and (max-width: 767px) {
  .top-trouble .top-trouble__heading h2 {font-size:clamp(18.5px, 5vw, 25px); line-height:1.6; letter-spacing:.055em;}
  .top-trouble .top-trouble__heading .top-trouble__line {white-space:nowrap;}
  .top-trouble .top-trouble__accent {letter-spacing:.035em; font-size:1.12em;}
  .top-trouble .top-trouble__item-title {gap:8px;}
  .top-trouble .top-trouble__item-title h3 {font-size:clamp(15px,4.0vw,17px); line-height:1.55; letter-spacing:.02em; text-wrap:balance; word-break:normal;}
  .top-trouble .top-trouble__check {flex:0 0 auto;}
  .top-trouble .top-trouble__item p {padding-left:32px;}
  .top-trouble .top-trouble__direct {margin-left:32px; max-width:calc(100% - 32px); gap:6px; font-size:clamp(11.5px,3.35vw,13px); line-height:1.65; text-wrap:balance;}
  .top-trouble .top-trouble__direct span {flex:0 0 auto;}
}

@media screen and (max-width: 767px) {
  .top-trouble .top-trouble__heading h2 {
    font-size: clamp(18px, 4.7vw, 22px);
    line-height: 1.6;
    letter-spacing: .02em;}
  .top-trouble .top-trouble__heading .top-trouble__line {
    display: inline-block;
    white-space: nowrap;}
  .top-trouble .top-trouble__accent {font-size: 1.1em; letter-spacing: .02em;}
  .top-trouble .top-trouble__item-title h3 {
    font-size: clamp(16px, 4.1vw, 18px);
    letter-spacing: .005em;
    line-height: 1.62;
    text-wrap: balance;}
}
