@charset "UTF-8";

/* 共通 */
html {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-size: 100%;
}

body {
  background-color: #f0e8d8;
  color: #333;
  font-size: 1rem;
  line-height: 1.8;
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  letter-spacing: .07em;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;

  -o-object-fit: cover;
     object-fit: cover;
}

ul {
  list-style: none;
}

a {
  display: block;
  color: #333;
  text-decoration: none;
}

.content {
  max-width: 1260px;
  margin: 0 auto;
  padding: 120px 30px;
  text-align: left;
}

.content_row {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

.content_gap_none {
  gap: 0;
}

.content_rev {
  flex-direction: row-reverse;
}

.content__main {
  padding-top: 40px;
}

.background-img-base {
  background-image: url(../img/AdobeStock_435320367.jpeg);
  background-size: cover;
}

.background-color-base {
  background-color: #fffaf2;
}

.section-ttl {
  display: inline-block;
  line-height: 1;

  -webkit-writing-mode: vertical-lr;
      -ms-writing-mode: tb-lr;
          writing-mode: vertical-lr;
}

.section-ttl_rev {
  right: 0;
}

.section-ttl__main {
  margin-right: 20px;
  font-size: 2rem;
  letter-spacing: .3em;
}

.section-ttl__sub {
  text-transform: capitalize;
}

.blank_size_s {
  margin-top: 0;
  margin-left: .5em;
}

.blank_left-1em {
  margin-left: 1em;
}

.blank_left-5em {
  margin-left: 5.5em;
}

.full-background-img-wrapper {
  position: relative;
}

.full-background-img_top {
  width: 100%;
  height: 50px;
  background-image: url(../img/img230130205526.jpg);
}

.full-background-img_mid {
  width: 100%;
  padding-bottom: 250px;
  background-image: url(../img/275867398_1383822612058455_2847172940429333874_n.jpeg);
  background-size: cover;
  background-attachment: fixed;
}

.full-background-img_bottom {
  width: 100%;
  height: 50px;
  background-image: url(../img/img230130205526.jpg);
}

/* ---------------
タブレット画面 */
@media screen and (max-width:1024px) {
  .content {
    gap: 30px;
  }

  .full-background-img_mid {
    padding-bottom: 180px;
  }
}

/* ---------------
スマートフォン画面 */
@media screen and (max-width:599px) {
  .content {
    flex-direction: column;
    padding: 80px 4%;

    gap: 30px;
  }

  .content__main {
    width: 100%;
  }

  .section-ttl {
    position: static;

    -webkit-writing-mode: horizontal-tb;
        -ms-writing-mode: lr-tb;
            writing-mode: horizontal-tb;
  }

  .section-ttl__main {
    font-size: 1.5rem;
    letter-spacing: .07em;
  }

  .section-ttl__sub {
    font-size: .75rem;
  }

  .full-background-img_mid {
    padding-bottom: 130px;
  }
}



/* --------------------
ヘッダー
-------------------- */

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* max-width: 1260px; */
  padding: 0 3%;
  margin: 0 auto;
}

.main-logo__img {
  width: 125px;
  padding: 25px;
}

.main-logo__txt {
  position: absolute;
  width: 125px;
}

.site-ttl {
  margin: 0 auto;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  font-family: "ar-weibeigbstd", serif;

  -webkit-writing-mode: vertical-lr;
      -ms-writing-mode: tb-lr;
          writing-mode: vertical-lr;
}

.site-ttl__main,
.site-ttl__sub {
  display: block;
}

.site-ttl__main {
  margin: 8px 8px 0 0;
  font-size: 3.75rem;
}

.site-ttl__sub {
  font-size: 1.5rem;
}

.blank {
  margin-top: .5em;
}

.blank_left-half-em {
  margin-left: 0.5em;
}

.nav {
  display: flex;
  justify-content: space-between;
  font-weight: bold;

  gap: 30px;
}

.nav__list {
  display: flex;
  justify-content: space-between;
  font-weight: bold;

  gap: 30px;
}

.nav__item {
  position: relative;
  white-space: nowrap;
  transition: all .5s;
}

.nav__item::after {
  position: absolute;
  bottom: 20%;
  left: 0;
  transform: scale(0, -1);
  width: 100%;
  height: 1.5px;
  background-color: #b4cf9e;
  content: "";
  transition: all .5s;

  transform-origin: center top;
}

.nav__item:hover::after {
  transform: scale(1, 1);
}

.nav__item > a {
  display: block;
  line-height: 60px;
  transition: all .5s;
}

.nav__item:hover > a {
  color: #b4cf9e;
}

.nav__item_icon::after {
  content: none;
}


/* ---------------
タブレット画面 */
@media screen and (max-width:1024px) {
  .header__nav_pc {
    display: none;
  }

  .site-ttl__main {
    font-size: 3.125rem;
  }

  .site-ttl__sub {
    font-size: 1.25rem;
  }
}

@media screen and (max-width:699px) {
  .main-logo {
    display: flex;
    align-items: center;
  }

  .main-logo__txt {
    position: static;
    width: auto;
  }

  .site-ttl {
    display: flex;
    flex-direction: column-reverse;

    -webkit-writing-mode: horizontal-tb;
        -ms-writing-mode: lr-tb;
            writing-mode: horizontal-tb;
  }

  .site-ttl__main {
    margin: 5px 5px 0 0;
    font-size: 2.5rem;
  }

  .site-ttl__sub {
    margin-left: 8px;
    font-size: 1rem;
  }

  .blank {
    margin-left: .5em;
  }
}

/* ---------------
スマートフォン画面 */
@media screen and (max-width:599px) {
  .main-logo__img {
    width: 90px;
    padding: 15px;
  }

  .site-ttl__main {
    margin: 5px 5px 0 0;
    font-size: 1.875rem;
  }

  .site-ttl__sub {
    margin-left: 8px;
    font-size: 1rem;
  }
}

/* ハンバーガーメニュー
-------------------- */
.burger-btn {
  display: none;
  position: fixed;
  top: 45px;
  right: 50px;
  z-index: 10001;
  width: 40px;
  height: 30px;
  transition-duration: .5s;
}

.burger-line,
.burger-line::before,
.burger-line::after {
  position: absolute;
  top: 15px;
  width: 13px;
  height: 1px;
  background-color: #333;
}

.burger-line {
  transition-duration: .3s;
}

.burger-line::before,
.burger-line::after {
  content: "";
  transition-duration: .5s;
}

.burger-line::before {
  top: -8px;
}

.burger-line::after {
  top: 8px;
}

.burger-line_left {
  right: 15px;
}

.burger-btn.is-active {
  display: block;
}

.burger-btn.is-active .burger-line {
  background-color: transparent;
}

.burger-btn.is-active .burger-line_left::before {
  transform: rotateZ(-45deg) scaleX(1.2) translate(-1.5px, 1.5px);
}

.burger-btn.is-active .burger-line_left::after {
  transform: rotateZ(45deg) scaleX(1.2) translate(-1.5px, -1.5px);
}

.burger-btn.is-active .burger-line_right::before {
  transform: rotateZ(45deg) scaleX(1.2) translate(1.5px, 1.5px);
}

.burger-btn.is-active .burger-line_right::after {
  transform: rotateZ(-45deg) scaleX(1.2) translate(1.5px, -1.5px);
}

.burger-btn:hover {
  cursor: pointer;
}

.header__nav_sp {
  display: none;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -10000;
  width: 100%;
  height: 100%;
  transition: all .5s;
}

.header__nav_sp::before,
.header__nav_sp::after {
  opacity: 0;
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  content: "";
}

.header__nav_sp::after {
  z-index: -1;
  background-image: url(../img/img230130205526.jpg);
  background-size: cover;
}


.main-logo_sp {
  opacity: .05;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.main-logo__img_sp {
  width: 100%;
}

.site-ttl_sp {
  position: absolute;
  top: 5%;
  left: 5%;
  z-index: inherit;
}

.site-ttl__main_sp {
  margin: 5px 5px 0 0;
  font-size: 2.5rem;
}

.site-ttl__sub_sp {
  font-size: 1rem;
}

.nav__list_sp {
  flex-direction: column;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  text-align: center;
}

.nav__item_sp > a {
  display: block;
  line-height: 30px;
}

.nav__item_sp::after {
  content: none;
}

.nav__item_sp:hover > a {
  color: #aaa;
}

.header__nav_sp.is-active {
  display: block;
  opacity: 1;
  z-index: 10000;
  overflow: hidden;
          animation-name: fade-in;
          animation-duration: .5s;

  -webkit-animation-name: fade-in;
  -webkit-animation-duration: .5s;
}

@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.header__nav_sp.is-active::before,
.header__nav_sp.is-active::after {
  opacity: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ---------------
タブレット画面 */
@media screen and (max-width:1024px) {
  .burger-btn {
    display: block;
  }
}

/* ---------------
スマートフォン画面 */
@media screen and (max-width:599px) {
  .burger-btn {
    top: 30px;
    right: 40px;
  }

  .nav__list_sp {
    transform: translate(-50%, -40%);
    font-size: 1.25rem;

    gap: 20px;
  }
}

/* --------------------
ファーストビュー
-------------------- */
.fv {
  height: calc(100vh - 125px);
  /* max-width: 1260px; */
  margin: 0 auto;
}

.fv__inner {
  position: relative;
}

.swiper_fv {
  position: relative;
  width: 70vw;
  /* max-width: 850px; */
  height: 73vh;
  margin: 0 auto;
}

.swiper-img_fv {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 100%;

  -o-object-fit: cover;
     object-fit: cover;

  animation: zoomUp 7s linear 0s normal both;
}

@keyframes zoomUp {
  0% {
    transform: scale(1) translateY(-50%);
  }
  100% {
    transform: scale(1.05) translateY(-50%);
  }
}

.scroll {
  position: absolute;
  right: 8%;
  bottom: 2%;
}

.chevron {
  display: block;
  position: relative;
  width: 100%;
  height: 30px;
  text-align: center;
}

.chevron::before,
.chevron::after {
  display: block;
  position: absolute;
  top: 5px;
  left: 50%;
  width: 25px;/*線の長さ*/
  height: 2px;/*線の太さ*/
  border-radius: 10px;
  background: #333;/*線の色*/
  content: "";
}

.chevron_bottom::before {
  transform: translateX(-15%) rotate(140deg);
}

.chevron_bottom::after {
  transform: translateX(-85%) rotate(-140deg);
}

.chevron_animation {
          animation-name: rotate;
          animation-duration: 5s;
          animation-timing-function: ease-in-out;
          animation-iteration-count: infinite;

  -webkit-animation-name: rotate;
  -webkit-animation-duration: 5s;
  -webkit-animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
}

@-webkit-keyframes rotate {
  0% {
    transform: rotateY(0);
  }
  100% {
    transform: rotateY(360deg);
  }
}

@keyframes rotate {
  0% {
    transform: rotateY(0);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/* ---------------
タブレット画面 */
@media screen and (max-width:1024px) {
  .swiper_fv {
    width: 65vw;
  }
}

@media screen and (max-width:699px) {
  .swiper_fv {
    width: 100vw;
  }

  .scroll {
    display: none;
  }
}


/* --------------------
上方舞について
-------------------- */
.section-txt-wrapper {
  width: 60%;
  margin: 0 auto;
}

.section-txt {
  margin-bottom: 20px;
}

.section-txt:last-child {
  margin-bottom: 0;
}

/* ---------------
タブレット画面 */
@media screen and (max-width:699px) {
  .section-txt-wrapper {
    width: 90%;
  }
}

/* ---------------
スマートフォン画面 */
@media screen and (max-width:599px) {
  .section-txt-wrapper {
    width: 100%;
    padding: 0;
  }
}


/* --------------------
プロフィール
-------------------- */
.profile {
  display: flex;
  align-items: center;
}

.profile__body {
  flex: 1;
}

.name {
  margin-bottom: 30px;
  line-height: 1;
}

.name__main {
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.name__sub {
  font-size: .875rem;
}

.profile__txt-wrapper {
  margin-bottom: 30px;
}

.profile__img-wrapper {
  flex: 0 1 37.58333%;
  margin-left: 3.3333%;
  background-image: url(../img/japanese-paper_00474.jpeg);
}

.timeline__item {
  display: flex;
  margin-bottom: 14px;
}

.timeline__date {
  flex: 0 1 90px;
}

.timeline__content {
  word-break: keep-all;
}

.both-bar-txt {
  position: relative;
  margin-left: 1.2em;
  font-size: .875rem;
  white-space: nowrap;
}

.both-bar-txt::before,
.both-bar-txt::after {
  display: inline-block;
  position: absolute;
  top: 50%;
  width: 8px;
  height: 1px;
  background-color: #333;
  content: "";
}

.both-bar-txt::before {
  left: -.8em;
}

.both-bar-txt::after {
  right: -.8em;
}


/* ---------------
タブレット画面 */
@media screen and (max-width:1024px) {
  .profile {
    flex-direction: column-reverse;
  }

  .profile__body {
    width: 90%;
    margin: 0 auto;
  }

  .profile__img-wrapper {
    width: 300px;
    margin-bottom: 50px;
    margin-left: 0;
  }
}

/* ---------------
スマートフォン画面 */
@media screen and (max-width:599px) {
  .timeline__item {
    display: block;
  }

  .timeline__date {
    font-weight: bold;
  }
}


/* --------------------
お知らせ
-------------------- */
.news__body {
  display: flex;
  justify-content: start;
  align-items: center;
  position: relative;
  width: 70vw;
  max-width: 950px;
  padding: 30px;
  border-bottom: 1px solid #333;
  background-color: #f7f7f7;
  transition: all .3s;
}

.news__list:first-of-type {
  border-top: 1px solid #333;
}

.news__body:focus,
.news__body:hover {
  opacity: .7;
}

.news__body:focus .news__date,
.news__body:focus .news__ttl,
.news__body:hover .news__date,
.news__body:hover .news__ttl {
  color: #b4cf9e;
}

.news__date,
.news__ttl {
  transition: .3s;
}

.news__date {
  margin-right: 2em;
}

.news__ttl {
  flex-shrink: 0;
}

.news__label {
  display: inline-block;
  flex-shrink: 0;
  position: absolute;
  right: calc(30px + 5%);
  padding: .2em .8em;
  background-color: #b4cf9e;
  font-weight: bold;
  font-size: .75em;
}

.chevron_size_s {
  width: 30px;
}

.chevron_size_s::before,
.chevron_size_s::after {
  display: block;
  position: absolute;
  width: 15px;/*線の長さ*/
}

.chevron_right {
  position: absolute;
  right: 0;
  margin-right: 30px;
}

.chevron_right::before {
  top: 25%;
}

.chevron_right::after {
  top: 75%;
}

.chevron_right::before {
  transform: translateY(125%) rotate(45deg);
}

.chevron_right::after {
  transform: translateY(-125%) rotate(-45deg);
}



/* ---------------
タブレット画面 */
@media screen and (max-width:1024px) {
  .news {
    margin-left: 5%;
  }

  .news__body {
    display: block;
    padding: 15px 30px;
  }

  .news__label {
    top: 15px;
    left: 150px;
    right: inherit;
  }

  .chevron_right {
    top: 50%;
    transform: translateY(-50%);
  }
}

/* ---------------
スマートフォン画面 */
@media screen and (max-width:599px) {
  .news {
    margin-left: 0;
    width: 100%;
  }

  .news__body {
    width: 100%;
  }
}


/* --------------------
公演情報
-------------------- */
.performance {
  width: calc(100% - 148px);
  padding-left: 5%;
}

.cards {
  display: flex;
  flex-wrap: wrap;
}

.cards_col3 {
  margin-bottom: -30px;
}

.cards__item {
  flex-shrink: 0;
  width: 30.707%;
  min-width: 220px;
  margin-right: 3.439%;
  margin-bottom: 30px;
}

.cards__item:nth-of-type(3n) {
  margin-right: 0;
}

.card {
  box-shadow: 0 3px 6px rgba(0, 0, 0, .2);
}

.card_link {
  display: block;
  color: currentColor;
  transition: .3s;
}

.card_link:focus .card__ttl,
.card_link:focus .card__date,
.card_link:focus .card__venue,
.card_link:hover .card__ttl,
.card_link:hover .card__date,
.card_link:hover .card__venue {
  color: #b4cf9e;
}

.card_link:hover .card__img,
.card_link:focus .card__img {
  transform: scale(1.05) translateY(-50%);
}

.card__img-wrapper {
  position: relative;
  padding-top: 141.4214%;
  overflow: hidden;
  /* background-image: url(../img/japanese-paper_00474.jpeg); */
  /* background-size: cover; */
  margin-bottom: 0;
}

.card__img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  transition: .3s;
}

.card__body {
  padding: 15px;
  background-color: #f7f7f7;
  transition: .3s;
}

.card__body > *:last-child {
  margin-bottom: 0;
}

.card__ttl,
.card__date {
  white-space: nowrap;
  transition: .3s;
}

.card__venue {
  transition: .3s;
} 

.card__ttl {
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 1.5rem;
}

/* ---------------
タブレット画面 */
@media screen and (max-width:1024px) {
  .cards_col3 {
    margin-bottom: -20px;
  }

  .cards__item {
    width: 80%;
    margin-right: 10%;
    margin-bottom: 30px;
    margin-left: 10%;
  }
}

/* ---------------
スマートフォン画面 */
@media screen and (max-width:599px) {
  .performance {
    width: 100%;
    padding-right: 5%;
  }

  .cards__item {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }
}


/* --------------------
お稽古情報
-------------------- */
.media {
  display: flex;
  align-items: center;
  margin-bottom: 100px;
}

.media_rev {
  flex-direction: row-reverse;
}

.media__img-wrapper {
  flex: 0 1 48.3333%;
  margin-right: 3.3333%;
  background-image: url(../img/japanese-paper_00474.jpeg);
}

.media__img {
  width: 100%;
}

.media__body {
  flex: 1;
  padding: 0 50px;
}

.media__body > *:last-child {
  margin-bottom: 0;
}

.media__txt-wrapper {
  display: flex;
}

.media__txt {
  margin-bottom: 16px;
}

.media__txt_no-wrap {
  flex-shrink: 0;
}

.media__caption {
  margin-top: 28px;
  margin-bottom: 16px;
  font-weight: bold;
  font-size: 1.25rem;
  text-align: center;
}

.media__btn-wrapper {
  display: flex;
  flex-direction: column;
  width: 250px;
  margin: 0 auto;

  gap: 10px;
}

.before-icon-btn {
  display: inline-block;
  position: relative;
  width: 100%;
  padding: .2em 1em;
  border: 1px solid currentColor;
  transition: .3s;
}

.before-icon-btn::before {
  display: inline-block;
  position: relative;
  z-index: 3;
  margin-right: .5em;
  font-family: "Font Awesome 6 Free";

  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.before-icon-btn-mail::before {
  font: var(--fa-font-regular);
  content: "\f0e0";
}

.before-icon-btn-instagram::before {
  font: var(--fa-font-brands);
  content: "\f16d";
}

.before-icon-btn > span {
  position: relative;
  z-index: 3;
}

.bg-left::after {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  transform: scale(0, 1);
  width: 100%;
  height: 100%;
  background-color: #b4cf9e;
  content: "";
  transition: transform .6s cubic-bezier(.8, 0, .2, 1)0s;

  transform-origin: right top;
}

.bg-left:focus:after,
.bg-left:hover:after {
  transform: scale(1, 1);

  transform-origin: left top;
}

.line-btn {
  display: block;
  position: relative;
  width: 320px;
  margin: 0 auto;
  padding: 10px 50px 10px 30px;
  color: #333;
  font-size: 1.25rem;
  outline: none;
}

.line-btn::before,
.line-btn::after {
  position: absolute;
  top: 2.5em;
  left: 0;
  z-index: 1;
  height: 3px;
  content: "";
  transition: all .5s ease-in-out;
}

.line-btn::before {
  width: 100%;
  background-color: #333;
}

.line-btn::after {
  width: 10%;
  background-color: #b4cf9e;
}

.line-btn:focus::after,
.line-btn:hover::after {
  width: 100%;
}

.line-btn > span::after {
  position: absolute;
  top: 1.3em;
  right: 25px;
  transform: rotate(45deg);
  width: 10px;
  height: 10px;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  content: "";
  transition: all .3s;
}

.line-btn:focus > span::after,
.line-btn:hover > span::after {
  right: 15px;
}


/* ---------------
タブレット画面 */
@media screen and (max-width:1024px) {
  .media {
    flex-direction: column-reverse;
  }

  .media__img-wrapper {
    width: 70%;
    margin-right: 0;
    margin-bottom: 20px;
  }
}

/* ---------------
スマートフォン画面 */
@media screen and (max-width:599px) {
  .media__body {
    padding: 0;
  }

  .line-btn {
    display: block;
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 10px 50px 10px 30px;
    color: #333;
    font-size: 1.125rem;
    outline: none;
  }
}


/* --------------------
生徒さんの声
-------------------- */
.card_link {
  cursor: pointer;
}

.card_square {
  position: relative;
}

.card_square::before {
  display: block;
  padding-top: 100%;
  content: "";
}

.card_modal:focus,
.card_modal:hover {
  transform: scale(1.05);
}

.card__body_square {
  position: absolute;
  top: 0;
  height: 100%;
}

.card__body_bg-img {
  background-image: url(../img/japanese-paper_00474.jpeg);
  background-size: cover;
}

.card__profile {
  margin-bottom: 1em;
  font-weight: bold;
  font-size: 1.25rem;
}

.card__txt {
  text-align: justify;
}

.txt-limit {
  display: -webkit-box;
  overflow: hidden;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7; /* 任意の行数を指定 */
}


@media screen and (max-width:1200px) {
  .txt-limit {
    -webkit-line-clamp: 6; /* 任意の行数を指定 */
  }
}

/* ---------------
タブレット画面 */
@media screen and (max-width:1024px) {
  .voice .cards__item {
    width: 43%;
    margin-right: 5%;
    margin-bottom: 30px;
    margin-left: 0;
  }

  .cards__item:nth-of-type(3n) {
    margin-right: 5%;
  }

  .txt-limit {
    -webkit-line-clamp: 9; /* 任意の行数を指定 */
  }
}

@media screen and (max-width:950px) {
  .txt-limit {
    -webkit-line-clamp: 7; /* 任意の行数を指定 */
  }
}

@media screen and (max-width:850px) {
  .txt-limit {
    -webkit-line-clamp: 6; /* 任意の行数を指定 */
  }
}

/* ---------------
スマートフォン画面 */
@media screen and (max-width:799px) {
  .voice .cards__item {
    width: 80%;
    margin: 0 auto 30px;
  }
  .txt-limit {
    -webkit-line-clamp: 12; /* 任意の行数を指定 */
  }
}

@media screen and (max-width:699px) {
  .txt-limit {
    -webkit-line-clamp: 10; /* 任意の行数を指定 */
  }
}

@media screen and (max-width:499px) {
  .txt-limit {
    -webkit-line-clamp: 7; /* 任意の行数を指定 */
  }
}

@media screen and (max-width:399px) {
  .txt-limit {
    -webkit-line-clamp: 5; /* 任意の行数を指定 */
  }
}

/* モーダル
-------------------- */
.layer {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .75);
  transition: all .5s linear;
}

.layer.is-active {
  visibility: visible;
  opacity: 1;
  z-index: 999;
}

.modal {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40%;
  min-width: 340px;
  transition: all .3s linear;
}

.layer.is-active .modal {
  visibility: visible;
  opacity: 1;
  z-index: 1000;
}

.modal__body {
  display: block;
  position: relative;
  height: auto;
  max-height: 80vh;
  max-width: 90vw;
  overflow: scroll;
  margin: 0 auto;
  padding: 21px 30px;
  border-radius: 5px;
  box-shadow: 3px 4px 4px rgba(0, 0, 0, .9);
}

.modal__body_bg-img {
  background-image: url(../img/japanese-paper_00474.jpeg);
  background-size: cover;
}

.modal__profile {
  margin-bottom: 1em;
  font-weight: bold;
  font-size: 1.25rem;
}

.modal__txt {
  text-align: justify;
}

.modal__btn-wrapper {
  display: inline-flex;
  position: absolute;
  z-index: 10001;
  top: -20px;
  right: -15px;
}

.close-btn {
  position: relative;
  width: 39px;
  height: 39px;
  padding: 0;
  border: transparent;
  border-radius: 50%;
  background-color: #b4cf9e;
  cursor: pointer;
}

.close-btn span::before,
.close-btn span::after {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: calc(50% - 13px);
  width: 25px;
  height: 2px;
  border-radius: 20px;
  background: #fff;
  content: "";
}

.close-btn span::before {
  transform: rotate(45deg) translate(-1px, -1px);
}

.close-btn span::after {
  transform: rotate(-45deg) translate(1px, -1px);
}


/* ---------------
タブレット画面 */
@media screen and (max-width:1024px) {
  .modal {
    width: 70%;
  }
}

/* ---------------
スマートフォン画面 */
@media screen and (max-width:599px) {
  .modal {
    width: 90%;
  }
}


/* --------------------
お問い合わせ
-------------------- */
.cta-area {
  width: 100%;
  padding: 30px;
  text-align: center;
}

.cta-area__link-wrapper {
  display: flex;
  justify-content: center;
}

.cta-area__link {
  width: 40%;
  min-width: 350px;
  padding: 10px 30px;
}

.cta-area__link_left {
  border-right: 1px dashed #000;
}

.cta-area__ttl {
  margin-bottom: 30px;
}

.cta-area__lead {
  padding-bottom: 30px;
  border-bottom: 1px dashed #333;
  margin-bottom: 30px;
}

.cta-area__txt {
  white-space: nowrap;
  margin-bottom: 15px;
}

.cta-area__link > .before-icon-btn {
  width: 250px;
}

/* ---------------
タブレット画面 */
@media screen and (max-width:699px) {
  .cta-area__link-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .cta-area__link {
    width: 100%;
  }

  .cta-area__link_left {
    border-right: none;
  }
}

/* ---------------
スマートフォン画面 */
@media screen and (max-width:599px) {
  .cta-area__link {
    padding: 10px 0px;
    min-width: 0px;
    width: 100%;
  }
  .cta-area__txt {
    white-space: inherit;
    margin-bottom: 15px;
  }

  .cta-area__link > .before-icon-btn {
    width: 90%;
  }
}


/* --------------------
フッター
-------------------- */
.footer {
  padding: 20px 0 20px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1260px;
  padding: 0 30px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo__img {
  width: 100px;
  padding: 25px;
}

.footer-ttl {
  font-family: "ar-weibeigbstd", sans-serif;
  line-height: 1;
}

.footer-ttl__sub {
  margin-left: 0.3em;
  margin-bottom: 0.3em;
}

.footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
}

.footer-link:focus,
.footer-link:hover {
  opacity: .65;
}

.footer__copyright {
  text-align: center;
}

/* ---------------
スマートフォン画面 */
@media screen and (max-width:599px) {
  .footer__inner {
    flex-direction: column;
  }

  .footer-link {
    padding: 0px;
    margin-bottom: 30px;
  }
}