@charset "utf-8";

/* 全体 */

html {
  background-color: #fcf6f1;
  background-size: contain;
  background-blend-mode: lighten; 
  background-attachment: fixed;
}

body {
  margin: 45px auto;
  padding-top: 100px;
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  text-align: center;
  width: 85%;
  border-radius: 20px;
  overflow-x: hidden;
}

h2 {
    margin-bottom: 1.8rem;
    font-size: 1.6rem;
}

h3 {
  font-size: 2.3rem;
  margin: 0;
  color:  #3aabd2;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  margin-top: 0.5rem;
}

h4 {
    padding: 0.3rem;
    width: 90%;
    margin-bottom: 0;
    margin-left: 1.5rem;
    background-color: #fcfcfc57;
    border-bottom: 1px solid #e9d2c4;
}

.not-border {
    width: fit-content;
    border-left: 5px solid #e7bb9f;
    border-bottom: none;
    margin-left: 2.5rem;
}

p {
    margin: 0.5rem 1.5rem 1.7rem;
    font-size: 1rem;
}

h3::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 30%;
  height: 3px;
  background-color:  #3aabd2;
  transform: translateX(-50%);
}

.container {
    display: flex;
    justify-content: start;
    gap: 50px;
    margin: 0 auto;
    width: 86%;
}

.left-wrapper {
    width: 30%;
    margin-left: 5%;
    position: sticky;
    top: 200px;
    align-self: flex-start;
    will-change: transform;
    transform: translateZ(0);
}

.left-wrapper img {
    width: 200px;
    border-radius: 50%;
    margin-top: 3rem;

    display: block;
    margin-left: auto;
    margin-right: auto;
}

.left-wrapper p {
    font-size: 0.9rem;
    margin-top: 1.5rem;
    background-color: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #e9d2c4;
    padding: 1.3rem;
}

.right-wrapper {
    margin-bottom: 50px;
    padding-top: 2%;
    border-radius: 5px;
    width: 55%;
}

.right-wrapper img {
    width: 2rem;
    border-radius: 50%;
    vertical-align: middle;
    margin: 0 15px;
}

.right-wrapper img.w-img{
    width: 80%; 
    border-radius: 0;
    margin: 0 10%;
}

.device {
    border-radius: 0 !important;
}

.naiyou {
    background-color: #FFFFFF;
}

.adress-off p {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 0;
}

details {
    background-color: #FFFFFF;
    border: 1px solid #e9d2c4;
    width: 100%;
    text-align: left;
    margin-bottom: 1rem;
}


summary {
    padding: 1.5rem;
    list-style: none;
    position: relative;
    font-weight: 600;
    font-size: 1rem;
}

/* summaryアニメーションここから */
summary::before,
summary::after {
    content: "";
    position: absolute;
    width: 1rem;
    height: 2px;
    background-color: #222;
    right: 1rem;
    top: 2.5rem;
}
summary::after {
    transform: rotateZ(90deg);
}

details[open] summary::after {
    transform: translateY(-50%) rotate(0deg);
}

summary:hover{
    background: rgb(235, 235, 233);
}

.pop {
    background-color: #3aabd2;
    width: 600px;
    color: #FFFFFF;
    margin: 0 auto;
    margin-top: 5%;
    border-radius: 20px;
}

.pop img {
    width: 25px;
    border-radius: 50%;
    vertical-align: middle;
    margin: 0 15px;
}

.back-bottun {
    border: 3px solid #0895c4;
    background-color: #FFFFFF;
    border-radius: 20px;
    width: 250px;
    align-items: center;
    margin: 0 auto 30px;
}

a {
    color: #1ea0d3;
    font-weight: 500;
    text-decoration: none;
}

.ats {
    line-height: 2;
}

.content {
    width: 97%;
}

.ats img {
    width: 22px;
    align-items: center;
    vertical-align: middle;
    margin-right: 8px;
}

details summary::-webkit-details-marker {
  display: none;
}

footer {
    margin-top: 5%;
    padding-bottom: 15px;
}

/* コンテナ内色変更ここから */
.left-wrapper.blue h3 {
    color: #3aabd2;
}
.left-wrapper.green h3 {
    color: #2fb38b;
}
.left-wrapper.yellow h3 {
    color: #e0a800;
}
.left-wrapper.blue h3::after {
    background-color: #3aabd2;
}
.left-wrapper.green h3::after {
    background-color: #2fb38b;
}
.left-wrapper.yellow h3::after {
    background-color: #e0a800;
}
/* コンテナ内色変更ここまで */

/* リンク内色変更ここから */
.a-blue {
    color: #3aabd2;
}
.a-green {
    color: #25b988;
}
.a-yellow {
    color: #e0a800;
}
.back-bottun.blue {
    border: 3px solid #3aabd2;
}
.back-bottun.green {
    border: 3px solid #25b988;
}
.back-bottun.yellow {
    border: 3px solid #e0a800;
}
/* リンク内色変更ここまで */

/* pop内色変更ここから */
.pop.blue {
    background-color: #3aabd2;
}
.pop.green {
    background-color: #33c59a;
}
.pop.yellow {
    background-color: #e0a800;
}
/* pop内色変更ここまで */

/* スマホ対応ここから */
@media screen and (max-width: 900px) {

  html,
  body {
    overflow-x: hidden;
  }
  * {
    box-sizing: border-box;
  }
  body {
    width: 95%;
    margin: 0 auto;
    padding-top: 40px;
  }
  .container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;
    margin: 0 auto;
  }
  .left-wrapper {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    position: static;
  }
  .right-wrapper {
    width: 100%;
    margin: 0 auto 30px;
    padding-top: 0;
  }
  .left-wrapper img {
    width: 70%;
    max-width: 240px;
    margin: 1rem auto 0;
    display: block;
  }
  .left-wrapper p {
    width: 90%;
    margin: 1rem auto;
    padding: 1rem;
    line-height: 1.8;
  }
  h2 {
    font-size: 1rem;
    line-height: 1.5;
  }
  h3 {
    font-size: 1.8rem;
    line-height: 1.4;
  }
  h4,
  .not-border {
    width: calc(100% - 2rem);
    margin: 1rem auto 0;
    padding: 0.5rem;
    font-size: 1rem;
    line-height: 1.7;
  }
  details {
    width: 100%;
    overflow: hidden;
  }
  summary {
    position: relative;
    padding: 1.2rem 3.5rem 1.2rem 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
  }
  summary::before,
  summary::after {
    content: "";
    position: absolute;
    width: 1rem;
    height: 2px;
    background-color: #222;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
  }
  summary::after {
    transform: translateY(-50%) rotate(90deg);
  }
  details[open] summary::after {
    transform: translateY(-50%) rotate(0deg);
  }
  p {
    margin: 0.8rem 1rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.9;
  }
  details p.content {
    width: 100%;
    margin: 0;
    padding: 0 1rem 1.5rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .right-wrapper img {
    width: 1.6rem;
    margin: 0 6px;
  }
  .right-wrapper img.w-img {
    width: 100%;
    margin: 0;
  }
  .pop {
    width: 90%;
    max-width: 500px;
    margin: 30px auto 0;
    padding: 12px;
    border-radius: 15px;
  }
  .pop img {
    width: 22px;
    margin: 0 8px;
  }
  .back-bottun {
    width: 80%;
    max-width: 250px;
    margin: 20px auto;
    padding: 10px;
  }
  .ats {
    line-height: 1.8;
  }
  .ats img {
    width: 20px;
  }
  footer {
    margin-top: 40px;
    padding-bottom: 20px;
    font-size: 0.8rem;
  }

}
/* スマホ対応ここまで */