@charset "utf-8";

/* ==================================================== */

/*  フォントサイズ
/* ==================================================== */
/* 1920pxで割る */
:root {
  --fs58: clamp(5rem, 3.021vw, 5.8rem);
  --fs42: clamp(3.8rem, 2.188vw, 4.2rem);
  --fs40: clamp(3.5rem, 2.083vw, 4rem);
  --fs30: clamp(2.5rem, 1.56vw, 3rem);
  --fs28: clamp(2.4rem, 1.458vw, 2.8rem);
  --fs26: clamp(2.3rem, 1.354vw, 2.6rem);
  --fs24: clamp(2.1rem, 1.248vw, 2.4rem);
  --fs23: clamp(2rem, 1.197vw, 2.3rem);
  --fs22: clamp(1.9rem, 1.144vw, 2.2rem);
  --fs20: clamp(1.7rem, 1.042vw, 2rem);
  --fs18: clamp(1.6rem, 0.937vw, 1.8rem);
  --fs17: clamp(1.5rem, 0.885vw, 1.7rem);
  --fs16: clamp(1.5rem, 0.832vw, 1.6rem);
  --fs15: clamp(1.4rem, 0.78vw, 1.5rem);
  --fs14: clamp(1.3rem, 0.729vw, 1.4rem);
  --fs13: clamp(1.2rem, 0.677vw, 1.3rem);
}
@media screen and (max-width: 767px) {
  :root {
    --fs46: min(12.26vw, 4.6rem);
    --fs28: min(7.4vw, 2.8rem);
    --fs24: min(6.4vw, 2.4rem);
    --fs20: min(5.33vw, 2rem);
    --fs18: min(4.8vw, 1.8rem);
    --fs17: min(4.53vw, 1.7rem);
    --fs16: min(4.26vw, 1.6rem);
    --fs15: min(4vw, 1.5rem);
    --fs14: min(3.73vw, 1.4rem);
  }
}
/* ==================================================== */

/*  基本
/* ==================================================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
html,
body {
  width: 100%;
  height: 100%;
  font-size: 62.5%;
}
body {
  position: relative;
  font-family: "zen-maru-gothic", sans-serif;
  font-size: var(--fs14);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: #000;

  -webkit-font-smoothing: antialiased;
}
body.active {
  /*ハンバーガーメニューを開いたら背景固定*/
  position: fixed;
  width: 100%;
}
main {
  display: block;
}
main figure {
  margin: 0;
}
a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}
a:hover {
  transition: opacity 0.3s ease;
  opacity: 0.7;
}
@media screen and (max-width: 1024px) {
  a a[href^="tel"] {
    pointer-events: none;
  }
  a:hover {
    transition: opacity 0.3s ease;
    opacity: 0.7;
  }
}
img {
  width: 100%;
  height: auto;
}
img[src$=".svg"] {
  /*IEでimgタグのsrcにsvgを指定した時に崩れる防止*/
  width: 100%;
  height: auto;
}
sup {
  position: relative;
  top: -0.1em;
  font-size: 70%;
  vertical-align: top;
}
sub {
  position: relative;
  bottom: -0.1em;
  font-size: 70%;
  vertical-align: bottom;
}

/* ==================================================== */

/*  全ページ共通（common）クラス
/* ==================================================== */
.flex {
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flexbox;
  display: -moz-flexbox;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-flex;
  display: flex;

  -js-display: flex;
}
.c-pc-only {
  display: inline-block !important;
}
.c-tab-only {
  display: none !important;
}
.c-sp-only {
  display: none !important;
}
.c-tab-over {
  display: inline-block !important;
}
.c-tab-less {
  display: none !important;
}
.clear {
  clear: both !important;
}
.c-justify {
  text-align: justify;
  text-justify: inter-ideograph;
  text-justify: inter-character;
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .c-pc-only {
    display: none !important;
  }
  .c-tab-only {
    display: inline-block !important;
  }
  .c-sp-only {
    display: none !important;
  }
  .c-tab-over {
    display: inline-block !important;
  }
  .c-tab-less {
    display: inline-block !important;
  }
}
@media screen and (max-width: 767px) {
  .c-pc-only {
    display: none !important;
  }
  .c-tab-only {
    display: none !important;
  }
  .c-sp-only {
    display: inline-block !important;
  }
  .c-tab-over {
    display: none !important;
  }
  .c-tab-less {
    display: inline-block !important;
  }
}

/* ==================================================== */

/*  全ページ共通レイアウト
/* ==================================================== */
/*header*/
header {
  position: absolute;
  top: 0;
  z-index: 997;
  width: 100%;
  margin: 0 auto;
  padding: 40px 0;
}
.contents-page header {
  position: relative;
}
.l-header-area {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -ms-flex-align: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  max-width: 1460px;
  margin: auto;
  padding: 0 40px;
}
/* 追従ヘッダー */
.l-header-area.is-fixed {
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  animation: headerSlideDown 0.4s ease forwards;
}
@keyframes headerSlideDown {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0);
  }
}
.l-header-area .logo {
  position: relative;
  z-index: 5;
  width: 10vw;
  max-width: 119.8656px;
}
.l-header-area.is-fixed .logo {
  width: 7vw;
  padding: 10px 0;
}
.l-header-area .logo a {
  display: block;
}
.header-nav {
  width: auto;
}
.header-nav .nav-parent {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -ms-flex-align: center;
}
.header-nav .nav-parent > li {
  padding: 10px 17.5px;
  font-size: var(--fs16);
  font-weight: 700;
}
.header-nav .nav-parent > li.logo-sp {
  display: none;
}
.header-nav .nav-parent > li.logo-hibari {
  width: 8vw;
  max-width: 120.0701px;
  margin: 0 20px 0 12px;
  padding: 0;
}
.header-nav .nav-parent > li.logo-toyoura {
  width: 8vw;
  max-width: 119.1706px;
  margin-top: auto;
  padding: 0;
}
.header-nav .nav-parent > li.header-nav-parent {
  position: relative;
}
.header-nav .nav-parent > li.header-nav-parent a {
  padding-bottom: 20px;
}
.header-nav .nav-parent > li.header-nav-parent .header-nav-child {
  position: absolute;
  top: 39px;
  left: 50%;
  z-index: 5;
  display: none;
  width: 200px;
  padding: 23px 30px;
  border-radius: 17.408px;
  box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.35);
  background-color: #fff;
  font-size: var(--fs15);
  text-align: center;
  color: #000;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.header-nav .nav-parent > li.header-nav-parent .header-nav-child.open {
  display: block;
}
.header-nav .nav-parent > li.header-nav-parent .header-nav-child li {
  margin-bottom: 18px;
}
.header-nav .nav-parent > li.header-nav-parent .header-nav-child li:last-child {
  margin-bottom: 0;
}
.header-nav .nav-parent > li.sp-only-nav {
  display: none;
}
.header-hamburger {
  display: none;
}

.sp-nav-contact {
  display: none;
}
.l-header-area.is-fixed .sp-nav-contact {
  display: block;
}
.l-header-area.is-fixed .sp-nav-contact .c-btn a {
  padding: 8px 36px 9px;
}
.l-header-area.is-fixed .logo-pc {
  display: none;
}
@media (max-width: 1024px) {
  header {
    height: auto;
    padding: 24px 0;
  }
  .l-header-area {
    position: relative;
    z-index: 993;
    padding: 0 6%;
  }
  .l-header-area .logo {
    width: 22vw;
  }
  .header-nav {
    display: block;
  }
  .header-nav.active {
    display: block;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
  .header-nav.active li {
    font-size: var(--fs16);
    font-weight: 700;
    text-align: center;
  }
  .header-nav .nav-parent {
    display: none;
  }
  .header-nav .nav-parent > li.header-nav-parent {
    display: none;
  }
  .header-nav .nav-parent > li {
    max-width: 500px;
    margin: auto;
    padding: 0 0 49px;
    font-size: var(--fs16);
  }
  .header-nav .nav-parent > li.sp-only-nav {
    display: block;
  }
  .header-nav .nav-parent > li a {
    position: relative;
    display: block;
  }
  .header-nav .nav-parent > li a::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 12.281px;
    height: 11.7622px;
    content: url("../img/common/nav_sp_arrow.svg");
  }
  .header-nav .nav-parent > li.logo-pc {
    display: none;
  }
  .header-nav .nav-parent > li.logo-sp {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    align-items: flex-end;
    -ms-flex-align: end;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 13px;
    padding-bottom: 39px;
  }
  .header-nav .nav-parent > li.logo-sp .logo-hibari {
    width: 36.17%;
    max-width: 150px;
    margin-right: 11.32%;
  }
  .header-nav .nav-parent > li.logo-sp .logo-toyoura {
    width: 35.89%;
    max-width: 150px;
    margin-left: 11.32%;
  }
  .header-nav .nav-parent > li.logo-sp a::after {
    content: none;
  }
  .header-nav .nav-parent > li.insta-sp {
    padding: 0;
  }
  .header-nav .nav-parent > li.insta-sp .insta-01 {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -ms-flex-align: center;
    width: 100%;
    margin-bottom: 25px;
    margin-left: 2%;
    color: #807665;
  }
  .header-nav .nav-parent > li.insta-sp .insta-02 {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -ms-flex-align: center;
    width: 100%;
    margin-left: 2%;
    color: #565656;
  }
  .header-nav .nav-parent > li.insta-sp .insta-01::before {
    display: inline-block;
    width: 29.7462px;
    height: 29.725px;
    margin-right: min(8.9%, 21px);
    content: url("../img/common/sns_insta_01.svg");
  }
  .header-nav .nav-parent > li.insta-sp .insta-02::before {
    display: inline-block;
    width: 29.7462px;
    height: 29.725px;
    margin-right: min(8.9%, 21px);
    content: url("../img/common/sns_insta_02.svg");
  }
  .header-nav .nav-parent > li.insta-sp .insta-01 a,
  .header-nav .nav-parent > li.insta-sp .insta-02 a {
    display: inline-block;
  }
  .header-nav .nav-parent > li.insta-sp .insta-01 a::after,
  .header-nav .nav-parent > li.insta-sp .insta-02 a::after {
    content: none;
  }
  .header-hamburger {
    position: fixed;
    top: 25px;
    right: 5%;
    z-index: 998;
    display: block;
    width: 30px;
    height: 20px;
  }
  .header-hamburger span {
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #000;
    -webkit-transition: 0.5s;
    transition: 0.5s;
  }
  .header-hamburger span:first-of-type {
    top: 0;
  }
  .header-hamburger span:nth-of-type(2) {
    top: 50%;
  }
  .header-hamburger span:last-of-type {
    top: 100%;
  }
  .header-hamburger.active span:first-of-type {
    top: 50%;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .header-hamburger.active span:nth-of-type(2) {
    opacity: 0;
  }
  .header-hamburger.active span:last-of-type {
    top: 50%;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .active .header-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 990;
    overflow-y: scroll;
    width: 100%;
    height: 100vh;
    padding: 140px 0 0;
    background-color: #fff;
  }
  .active .l-header-area {
    padding: 0;
  }
  .header-nav .nav-parent.active {
    position: relative;
    top: 0;
    left: 0;
    z-index: 2;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    height: 100%;
    padding: 0 18.1vw 160px;
    background-color: #fff;
  }
  .active .header-nav .nav-parent > li a {
    display: block;
  }
  .active .header-nav .nav-parent > li.nav a:after {
    display: inline-block;
    width: 16.49px;
    height: 12.41px;
    margin: 8px 0 0 0;
    background-image: url(../img/common/arrow_02.svg);
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
    content: "";
  }
  .header-hamburger.active:after {
    content: none;
    -webkit-transform: rotateY(360deg);
    transform: rotateY(360deg);
  }
  .header-hamburger.active span:first-of-type {
    top: 50%;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .header-hamburger.active span:nth-of-type(2) {
    opacity: 0;
  }
  .header-hamburger.active span:last-of-type {
    top: 50%;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .active .l-header-area .logo {
    position: fixed;
    top: 24px;
    left: 6%;
    z-index: 999;
  }
  .active .header-nav .nav-parent > li.sp-nav-contact {
    margin-top: 40px;
    text-align: center;
    display: block;
  }
  .active .header-nav .nav-parent > li.sp-nav-contact .c-btn a {
    width: 100%;
    padding: 12px 36px 12px;
  }
  .header-nav .nav-parent > li.sp-nav-contact a::after {
    content: none;
  }
  .l-header-area.is-fixed {
    position: relative;
    animation: none;
    background: transparent;
    box-shadow: none;
  }

  .l-header-area.is-fixed .logo {
    width: 22vw;
    padding: 0;
  }

  .l-header-area.is-fixed .sp-nav-contact {
    display: none;
  }
}

/*footer*/
footer {
  position: relative;
  z-index: 990;
  margin-top: 343px;
  padding: 34px 0 48px;
  background-color: #313131;
  font-weight: 700;
  color: #fff;
}
footer:before {
  position: absolute;
  top: -231px;
  right: 0;
  left: 0;
  z-index: -1;
  display: block;
  width: 1004.3038px;
  height: 231px;
  margin: auto;
  background-image: url(../img/common/footer_img.webp);
  background-repeat: no-repeat;
  background-size: contain;
  /* vertical-align: middle; */
  content: "";
}
footer .footer-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -ms-flex-align: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
footer .footer-flex .footer-company {
  margin-left: 8%;
}
footer .footer-flex .footer-company .footer-logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
footer .footer-flex .footer-company .footer-logo figure {
  width: 88.5022px;
  margin: 4px 30px 0 0;
}
footer .footer-flex .footer-company .footer-logo p {
  font-size: var(--fs14);
  line-height: 1.6;
}
footer .footer-flex .footer-company .footer-logo p span.hojin {
  font-size: var(--fs16);
}
footer .footer-flex .footer-company .footer-logo p span {
  display: block;
  margin-bottom: 8px;
}
footer .footer-flex .footer-other {
  margin-right: 8%;
  text-align: right;
}
footer .footer-flex .footer-other li {
  margin-bottom: 5px;
  font-size: var(--fs15);
}
footer .footer-flex .footer-other li:last-child {
  margin-bottom: 0;
}
footer .footer-flex .footer-other li a {
  text-decoration: underline;
  color: #fff;
}
.copyright {
  text-align: center;
  padding-top: 30px;
  font-size: var(--fs12);
}
@media (max-width: 1024px) {
  footer:before {
    top: -22.7vw;
    width: 100%;

    aspect-ratio: 1 / 0.23;
  }
}
@media screen and (max-width: 767px) {
  footer {
    margin-top: 43vw;
    padding: 34px 5% 120px;
  }
  .foot-home {
    padding: 34px 5% 20px;
  }
  footer .footer-flex {
    align-items: flex-start;
    flex-direction: column-reverse;
  }
  footer .footer-flex .footer-other {
    margin-right: 0;
    margin-bottom: 20px;
    text-align: left;
  }
  footer .footer-flex .footer-company {
    margin-left: 0;
  }
}

.inner-max {
  max-width: 2500px;
  margin: auto;
}
.inner-m {
  /*1220px*/
  max-width: 1300px;
  margin: auto;
  padding: 0 40px;
}
@media screen and (max-width: 767px) {
  .inner-m {
    padding: 0;
  }
}

/* ====================================================
fix-insta
==================================================== */
.fix-insta {
  display: none;
}
.contents-page .fix-insta {
  position: fixed;
  bottom: 10%;
  right: 0;
  z-index: 992;
  display: block;
  width: 8%;
  max-width: 134.8796px;
  min-width: 78px;
}
.contents-page .fix-insta .fix-insta-box {
  width: 100%;
}
.contents-page .fix-insta .insta-01 {
  margin-bottom: 22px;
}
.contents-page .fix-insta .fix-insta-box a {
  display: block;
  padding: 25px 0;
  border-radius: 16px 0 0 16px;
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.4);
  background-color: #fff;
  font-size: var(--fs14);
}
.contents-page .fix-insta .fix-insta-box figure {
  width: 20%;
  max-width: 39.6617px;
  margin: 0 auto 8px;
}
.contents-page .fix-insta .fix-insta-box p {
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}
.contents-page .fix-insta .insta-01 p {
  color: #807665;
}
.contents-page .fix-insta .insta-02 p {
  color: #565656;
}
@media screen and (max-width: 767px) {
  .contents-page .fix-insta {
    top: auto;
    bottom: 0;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-width: 100%;

    gap: 20px;
  }
  .contents-page .fix-insta .insta-01 {
    margin-bottom: 0;
  }
  .contents-page .fix-insta .fix-insta-box {
    width: 40%;
  }
  .contents-page .fix-insta .fix-insta-box a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0;
    border-radius: 16px 16px 0 0;

    gap: 10px;
  }
  .contents-page .fix-insta .fix-insta-box figure {
    width: 25px;
    margin: 0;
  }
  .contents-page .fix-insta .fix-insta-box p {
    text-align: left;
  }
}
/* ====================================================
contents-page-head
==================================================== */
.contents-page-head {
  position: relative;
  width: 100%;
  height: auto;
  padding-top: 80px;
  background-position: center;
  background-size: cover;

  aspect-ratio: 1920 / 690;
}
.contents-page-head h1 {
  font-size: var(--fs28);
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.2rem;
  color: #fff;
}
@media screen and (max-width: 767px) {
  .contents-page-head {
    height: 240px;
    margin-bottom: 60px;
    padding-top: 40px;
  }
  .contents-page-head h1 {
    font-size: var(--fs26);
  }
}

/* ====================================================
contact-area
==================================================== */
.contact-area {
  overflow-x: hidden !important;
  padding-top: 165px;
}
.contact-area .flex {
  position: relative;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.contact-area .flex .contact-txt {
  padding-top: 10px;
  text-align: center;
}
.contact-area .flex .contact-txt .contact-icon {
  width: 70.6009px;
  margin: 0 auto 25px;
}
.contact-area .flex .contact-txt h2 {
  margin-bottom: 28px;
  font-size: var(--fs22);
  font-weight: 700;
}
.contact-area .flex .contact-txt p {
  margin-bottom: 50px;
  font-size: var(--fs15);
  font-weight: 700;
}
.contact-area .flex figure {
  width: 46.75%;
  max-width: 570.4401px;
  margin-left: 173px;
}
.contact-area .flex .contact-mark {
  position: absolute;
  top: -92px;
  right: -84.6467px;
  width: 198.654px;
}
.contact-area .flex .contact-txt .c-btn a {
  padding: 16px 48px 14px;
  background-color: #807665;
}
@media screen and (max-width: 1024px) {
  .contact-area .flex {
    gap: 40px;
  }
  .contact-area .flex figure {
    margin-left: 0;
  }
}
@media screen and (max-width: 767px) {
  .contact-area {
    padding: 120px 5% 0;
  }
  .contact-area .c-btn {
    position: relative;
  }
  .contact-area .flex .contact-txt {
    padding-top: 0;
  }
  .contact-area .flex .contact-txt p {
    margin-bottom: 60px;
    line-height: 2.2;
  }
  .contact-area .c-btn:before {
    position: absolute;
    top: -20px;
    left: 18px;
    width: 72px;
    height: 55px;
    background: url(../img/common/contact_mark.webp) no-repeat center / 100%;
    content: "";
  }
  .contact-area .flex .contact-txt .c-btn a {
    font-size: var(--fs16);
  }
}

/* ====================================================
共通ボタン
==================================================== */
.c-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.c-btn a {
  display: block;
  padding: 4px 36px 5px;
  border-radius: 30px;
  background-color: #565656;
  font-size: var(--fs14);
  font-weight: 700;
  color: #fff;
}
@media screen and (max-width: 767px) {
}

/* ====================================================
矢印
==================================================== */
.arrow-link {
  position: relative;
  display: inline-flex;
}

.arrow-link::after {
  display: block;
  width: 6px;
  height: 6px;
  margin: auto;
  margin-left: 10px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

/* ====================================================
アニメーション
==================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(70px);
  transition: opacity 1.3s, transform 1.3s;
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* ====================================================
ローデイング
==================================================== */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  transition: opacity 0.5s ease, visibility 0s 0.5s;
}

.loading-logo img {
  width: 180px;
  height: auto;
  transition: opacity 1s ease-in-out;
  opacity: 0;
}

#loading-screen.logo-fade-in .loading-logo img {
  opacity: 1;
}

#loading-screen.loaded {
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}

/* ====================================================
モーダル
==================================================== */
.home .modal-trigger {
  display: block;
  cursor: pointer;
  transition: opacity 0.3s;
}
.home .modal-trigger:hover {
  opacity: 0.8;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  visibility: hidden;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  transition: opacity 0.5s, transform 0s 0.5s, visibility 0s 0.5s;
  transform: scale(0);
  opacity: 0;
}

.modal.is-open {
  visibility: visible;
  transition: opacity 0.5s, transform 0s 0s, visibility 0s 0s;
  transform: scale(1);
  opacity: 1;
}

.modal-wrapper {
  position: relative;
  z-index: 10000;
  overflow-y: auto;
  width: 80%;
  max-width: 960px;
  max-height: 90vh;
  margin: auto;
  padding: 80px 20px 20px;
  border-radius: 5px;
}

/* 閉じるボタン */
.close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10001;
  font-size: 32px;
  line-height: 1;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
}

/* 背景クリックで閉じるためのエリア */
.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: default;
}

/* モーダル内の画像調整 */
.modal-content img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}
.modal-content p {
  font-size: 14px;
  line-height: 1.6;
}

@media screen and (max-width: 767px) {
  .modal-wrapper {
    width: 100%;
  }
}

/* ====================================================
アイコン
==================================================== */
a[href*=".pdf"]:after {
  display: inline-block;
  width: 21px;
  height: 21px;
  margin: 0 0 2px 8px;
  background-image: url(../../img/common/icon_pdf.svg);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  content: "";
}

a[href$=".xlsx"]:after,
a[href$=".xls"]:after {
  display: inline-block;
  width: 21px;
  height: 21px;
  margin: 0 0 2px 8px;
  background-image: url(../../img/common/icon_excel.svg);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  content: "";
}

a[href$=".doc"]:after,
a[href$=".docx"]:after {
  display: inline-block;
  width: 21px;
  height: 21px;
  margin: 0 0 2px 8px;
  background-image: url(../../img/common/icon_word.svg);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  content: "";
}
