@charset "utf-8";

body {
  font-family: "Kiwi Maru", serif;
  font-weight: 400;
  color: #655542;
  letter-spacing: 0;
  line-height: normal;
  background: #FFFBF7;
}

.hidden {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

picture, img, a, span {
    display: inline-block;
}

img, svg {
    width: 100%;
    height: 100%;
}

button {
    color: inherit;
    background: transparent;
}

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

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
div,
span,
img,
a,
table,
tr,
th,
td,
small,
button,
time,
figure {
  border: 0;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

li,
dd {
  list-style-type: none;
}

header,
footer,
nav,
section,
article,
main,
aside,
figure,
figcaption {
  display: block;
}

img {
  border: none;
  vertical-align: bottom;
}

.br-sp br,
.br-500 br {
  display: none;
}
@media screen and (min-width: 500px) {
  .br-500 br{
    display: inline-block;
  }
}
@media screen and (min-width: 768px) {
  .br-sp br{
    display: inline-block;
  }
  .br-pc br{
    display: none;
  }
}
@media screen and (min-width: 1024px) {
  .br-900 br{
    display: none;
  }
}

.c-link {
  text-decoration: underline !important;
}
.c-link:hover {
  text-decoration: underline !important;
  opacity: 0.7;
}
.c-link2  a{
  text-decoration: underline !important;
}
.c-link a:hover {
  text-decoration: underline !important;
  opacity: 0.7;
}

.l-inner {
  width: 100%;
  max-width: 600px;
  padding: 0 20px;
  margin: 0 auto;
  position: relative;
  line-height: normal !important;
}
@media screen and (min-width: 768px) {
  .l-inner {
    max-width: 900px;
    height: inherit;
    padding: 0 83px;
  }
}
@media screen and (min-width: 1024px) {
  .l-inner {
    max-width: 1366px;
  }
}

.title-wrap {
  width: fit-content;
  text-align: center;
  position: relative;
}
.title-img {
  width: 207px;
  height: auto;
}
.title-sub {
  font-size: 18px;
  letter-spacing: 0.08em;
  line-height: calc(38 / 18);
  color: #F7934A;
}
.title-main {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: calc(33 / 32);
}


.button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 168px;
  background: #655542;
  border-radius: 0 20px 20px 0;
  border: 1px solid #655542;
  padding: 9px 13px;
  flex-shrink: 0;
}
.button p {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1;
  color: #fff;
  text-decoration: none;
}
.button::after {
  content: "";
  background: url('../images/button-arrow-white.svg') center / contain no-repeat;
  width: 11px;
  height: 8px;
}
.button:hover {
  background: #fff;
}
.button:hover p {
  color: #655542;
}
.button:hover::after {
  background: url('../images/button-arrow-brown.svg') center / contain no-repeat;
}

.button-white {
  background: #FFFBF7;
  border: 1px solid #655542;
}
.button-white p {
  color: #655542;
}
.button-white::after {
  background: url('../images/button-arrow-brown.svg') center / contain no-repeat;
}
.button-white:hover {
  background: #655542;
}
.button-white:hover p {
  color: #FFFBF7;
}
.button-white:hover::after {
  background: url('../images/button-arrow-white.svg') center / contain no-repeat;
}

.bg-detail {
  position: relative;
  padding-bottom: 242px;
  background: url('../images/20250729160610302248.png') bottom center / cover !important;
}
.bg-detail02 {
  position: relative;
  padding-bottom: 170px;
  background: url('../images/20250703143225935030.png') top center / cover !important;
}
.bg-detail-large {
  position: relative;
  padding-bottom: 153px;
  background: url('../images/20250729160610302248.png') bottom center / cover !important;
}

.c-head {
  padding: 107px 0 0;
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .c-head__inner {
    padding: 0 20px;
  }
}

.c-breadcrumb {
  display: flex;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  color: #9F9F9F;
  font-weight: 300;
  letter-spacing: 0.06em;
  gap: 17px;
}
.c-breadcrumb a {
  transition: text-decoration 0.3s
}
.c-breadcrumb a:hover {
  text-decoration: underline;
}

.c-head__title {
  margin-top: 57px;
}
@media screen and (min-width: 768px) {
  .c-head__title {
    margin-left: 64px;
  }
}

.c-head__title-sub {
  color: #F7934A;
  font-size: 18px;
  line-height: calc(20 / 18);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.08em;
}
.c-head__title-sub::before {
  content: "";
  background: url('../images/top-about.svg') center / contain no-repeat;
  width: 14px;
  height: 8px;
  rotate: -90deg;
}
.c-head__title-main {
  margin-top: 17px;
  font-size: 28px;
  line-height: calc(38 / 32);
  letter-spacing: 0.08em;
  font-weight: 400;
}
@media screen and (min-width: 768px) {
  .c-head__title-main {
    font-size: 32px;
  }
}

.c-head__img {
  margin-top: 80px;
  aspect-ratio: 375 / 400;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}
@media screen and (min-width: 768px) {
  .c-head__img {
    margin-top: 110px;
    aspect-ratio: 1326 / 600;
  }
}
.c-head__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c-head__img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.webgene-pagination {
  margin-top: 70px;
  font-size: 14px;
  justify-self: center;
  grid-column: 1 / -1;
}

.webgene-pagination a:hover {
  opacity: 0.7;
}

.webgene-pagination ul {
  display: flex;
  list-style: none;
  gap: 10px;
  padding-inline-start: 0;
  justify-content: center;
  align-items: center;
}

.webgene-pagination ul .number a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  line-height: 1;
  border-radius: 50%;
  background-color: #fff;
  color: #4B4B4B;
}

.webgene-pagination ul .number.selected a {
  background: #FFA639;
  color: #fff;
  border-radius: 50%;
}

li.next,
li.prev {
  position: relative;
}

li.next a,
li.prev a{
  height: 40px;
  width: 40px;
  padding: 2px;
  position: relative;
}

li.prev:after,
li.next:after {
  pointer-events: none;
  content: "";
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
}

li.prev:after {
  background-image: url("../images/prev.svg");
  left: 0;
}
li.next:after {
  background-image: url("../images/next.svg");
  right: 0;
}

@media screen and (min-width: 768px) {
  li.next {
    margin-left: 30px;
  }
  li.prev {
    margin-right: 30px;
  }

  li.next a,
  li.prev a{
    margin-top: 3px;
    color: #283B54;
    width: auto;
    padding-block: 10px;
    z-index: 10;
    line-height: 1;
  }
  li.prev a {
    padding-left: 48px;
  }
  li.next a {
    padding-right: 48px;
  }
  
  li.prev:after,
  li.next:after {
    pointer-events: auto;
  }
}

.detail-box {
  background: #fff;
  border-radius: 10px;
  padding: 63px 23px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  max-width: 1010px;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .detail-box {
    padding: 93px 43px 110px;
  }
}
@media screen and (min-width: 1024px) {
  .detail-box {
    padding: 93px 83px 110px;
  }
}

.post-ttl {
  margin-top: 50px;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  font-weight: 400;
  padding-bottom: 16px;
  border-bottom: 1.5px solid #D0D0D0;
  padding-left:33px;
  position: relative;
}
@media screen and (min-width: 1200px) {
  .post-ttl {
    font-size: 22px;
  }
}

.post-ttl::before {
  content: "";
  position: absolute;
  background: #FFA639;
  width: 8px;
  height: 67%;
  top: 40%;
  transform: translateY(-50%);
  left: 2px;
}

.post-detail__content span {
  display: block;
  margin-inline: auto;
}

.post-detail__content img,
.detail img, 
.post-detail__image {
  margin: 40px auto 10px;
  max-width: 598px;
  margin-inline: auto;
  display: block;
  aspect-ratio: 595 / 281;
  border-radius: 10px;
}
@media screen and (min-width: 768px) {
  .post-detail__content img,
  .detail img,
  .post-detail__image {
    margin: 65px auto 20px;
    width: calc(595 / 1366 * 100vw);
    max-width: 595px !important;
  }
}

.post-detail__content img,
.detail img,
.post-detail__image {
  object-fit: cover;
}

.detail-text {
  padding-block: 32px 60px;
  font-weight: 400;
}
@media screen and (min-width: 768px) {
  .detail-text {
    padding-block: 44px 80px;
  }
}

.post-detail__content h2 {
  margin-top: 53px;
  font-size: 18px;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 35px;
}
@media screen and (min-width: 768px) {
  .post-detail__content h2 {
    gap: 17px;
  }
}

.post-detail__content h2::before {
  content: "";
  background: url('../images/icon-faq__title.svg') center / contain no-repeat;
  width: 19px;
  height: 18px;
  flex-shrink: 0;
}

.post-detail__content h3 {
  margin-top: 83px;
  font-size: 18px;
  letter-spacing: 0.06em;
  padding-bottom: 12px;
  border-bottom: 1.5px solid #FFA639;
  margin-bottom: 40px;
}

.detail__btn {
  display: block;
  margin-inline: auto;
  border: 1px solid transparent;
  width: 218px;
  background: #FFA639;
  border: 1px solid #FFA639;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  padding: 14px;
  border-radius:40px;
}
.detail__btn:hover {
  color: #FFA639;
  background: #fff;
}