@charset "utf-8";
/*=======================
     共通
=======================*/
body {
  background-color: #fffcee;
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  color: #3f3a3b;
}
.js-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 0.8s ease;
  will-change: opacity, transform;
}
.js-fade.is-show {
  opacity: 1;
  transform: translateY(0);
}
h3 {
  font-size: clamp(24px, calc(24px + (38 - 24) * ((100vw - 375px) / (1024 - 375))), 38px);
  font-weight: 700;
  line-height: 1.8;
  color: #a5576a;
  margin-bottom: 20px;
}
h4 {
  font-size: clamp(20px, calc(20px + (24 - 20) * ((100vw - 375px) / (1024 - 375))), 24px);
  font-weight: 600;
  margin-bottom: 20px;
}
p {
  font-size: clamp(16px, calc(16px + (18 - 16) * ((100vw - 375px) / (1024 - 375))), 18px);
  line-height: 1.8;
  margin-bottom: 40px;
}
.nobr {
  display: inline-block;
  white-space: nowrap;
}
.br-pc {
  display: none;
}
.container {
  width: 100%;
  padding: 0 32px;
  box-sizing: border-box;
}
.fv-container, .swiper, .course, .gallery-container, .news, .tab-switch, .teaParty, .contact {
  margin-bottom: 100px;
}
a, button {
  transition: opacity 0.3s ease;
}
a:active, button:active {
  opacity: 0.8;
}
/*=======================
   　　　　ヘッダー
=======================*/
header {
  display: flex;
  justify-content: space-between;
  height: 80px;
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #fffcee;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
h1 {
  align-self: center;
  padding-left: 16px;
}
h1 img {
  height: 50px;
  width: auto;
  display: block;
}
.reserve-btn {
  position: fixed;
  top: 0;
  right: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 70px;
  width: 68px;
  background-color: #a5576a;
  color: #fff;
  font-size: 14px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  gap: 5px;
}
.reserve-btn img {
  width: auto;
  height: 30px;
}
.menu-btn {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  height: 70px;
  width: 68px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #536b5a;
  color: #fff;
  border-bottom-left-radius: 10px;
  cursor: pointer;
  z-index: 90;
  gap: 5px;
}
.menu-icon {
  position: relative;
  width: 25px;
  height: 30px;
}
.menu-icon span, .menu-icon span:before, .menu-icon span:after {
  content: '';
  display: block;
  height: 2px;
  width: 25px;
  background-color: #fff;
  position: absolute;
  transition: all 0.3s;
}
.menu-icon span {
  top: 15px;
}
.menu-icon span:before {
  top: -8px;
}
.menu-icon span:after {
  top: 8px;
}
.menu-text {
  font-size: 14px;
  letter-spacing: 1px;
}
#menu-btn-check:checked ~ .menu-btn .menu-icon span {
  background-color: transparent;
}
#menu-btn-check:checked ~ .menu-btn .menu-icon span::before {
  top: 0;
  transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn .menu-icon span::after {
  top: 0;
  transform: rotate(-45deg);
}
#menu-btn-check:checked ~ .menu-btn .menu-text {
  opacity: 0;
  visibility: hidden;
}
#menu-btn-check:checked ~ .menu-btn {
  background-color: #d0d7d2;
  color: #536b5a;
}
#menu-btn-check:checked ~ .menu-btn .menu-icon span::before, #menu-btn-check:checked ~ .menu-btn .menu-icon span::after {
  background-color: #536b5a;
}
#menu-btn-check {
  display: none;
}
.menu-contents {
  width: 300px;
  height: 400px;
  position: fixed;
  top: 0;
  right: -300px;
  z-index: 80;
  background-color: #d0d7d2;
  transition: all 0.3s;
  border-bottom-left-radius: 10px;
  display: flex;
  align-items: center;
}
.menu-contents ul {
  width: 100%;
  padding: 0 30px;
  box-sizing: border-box;
}
.menu-contents ul li {
  border-bottom: solid 1px #536b5a;
}
.menu-contents ul li a {
  display: block;
  width: 100%;
  font-size: 16px;
  box-sizing: border-box;
  color: #536b5a;
  padding: 20px;
  position: relative;
}
.menu-contents ul li a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: solid 2px #536b5a;
  border-right: solid 2px #536b5a;
  transform: rotate(45deg);
  position: absolute;
  right: 20px;
  top: 25px;
}
#menu-btn-check:checked ~ .menu-contents {
  right: 0;
}
.nav-icon {
  display: none;
}
/*=======================
   スクロール・ページトップ
=======================*/
.scroll-btn {
  text-align: center;
  position: relative;
  width: fit-content;
  margin: 0 auto;
}
.scroll-btn span {
  display: block;
  font-size: 14px;
  color: #3f3a3b;
  letter-spacing: 0.1em;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 20px rgba(255, 255, 255, 0.9), 0 0 40px rgba(255, 255, 255, 0.9);
}
.scroll-btn::after {
  content: "";
  display: block;
  width: 1px;
  height: 35px;
  position: relative;
  overflow: hidden;
}
.scroll-btn::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 35px;
  background-color: #3f3a3b;
  z-index: 11;
}
.fv-scroll {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translate(-50%);
}
.fv-scroll.is-show {
  transform: translateX(-50%) translateY(0);
}
.fv-scroll span {
  margin-bottom: 8px;
}
.fv-scroll::before {
  bottom: 0;
  animation: scroll-line 2.2s ease-in-out infinite;
}
.to-top {
  display: flex;
  flex-direction: column-reverse;
  cursor: pointer;
  margin: 0 auto;
  margin-bottom: 100px;
}
.to-top span {
  margin-top: 8px;
}
.to-top::after {
  margin-bottom: 30px;
}
.to-top::before {
  top: 0;
  animation: scroll-line-up 2.2s ease-in-out infinite;
}
/*=======================
        フッター
=======================*/
footer {
  width: 100%;
  text-align: center;
}
.footer-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  gap: 30px;
}
.footer-icon img {
  height: clamp(35px, calc(35px + (70 - 35) * ((100vw - 375px) / (1430 - 375))), 70px);
  width: auto;
  display: block;
}
.footer-sns {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer-sns img {
  object-fit: contain;
  display: block;
}
.footer-address {
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: normal;
}
.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  margin: 0 auto;
  margin-bottom: 20px;
}
.footer-nav li:not(:last-child)::after {
  content: "｜";
  margin-left: 12px;
  color: #8c8888;
}
.copyright {
  display: block;
  width: 100%;
  background-color: #a5576a;
  color: #fff;
  text-align: center;
  padding: 12px 0;
  font-size: 12px;
}
/*=======================
     トップページ
=======================*/
/*ファーストビュー*/
.fv-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.fv-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fv-movie 16s infinite ease-in-out;
}
.fv-bg1 {
  background-image: url('../img/FV.jpg');
  animation-delay: 0s;
}
.fv-bg2 {
  background-image: url('../img/FV2.jpg');
  animation-delay: 4s;
}
.fv-bg3 {
  background-image: url('../img/FV3.jpg');
  animation-delay: 8s;
}
.fv-bg4 {
  background-image: url('../img/FV4.jpg');
  animation-delay: 12s;
}
.fv-contents {
  position: absolute;
  top: 40px;
  right: 20px;
  z-index: 10;
  writing-mode: vertical-rl;
}
.fv-contents h2 {
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 800;
  color: #536b5a;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 1em 0.5em;
  clip-path: polygon(0 15px, 100% 0, 100% calc(100% - 15px), 0 100%);
  height: fit-content;
}
.fv-contents h2:first-child {
  margin-left: 15px;
}
.fv-contents h2:last-child {
  margin-top: 28px;
}
/*about*/
.swiper {
  width: 100%;
  overflow: hidden;
}
.swiper-wrapper {
  transition-timing-function: linear !important;
}
.swiper-slide {
  height: 180px;
  width: auto;
  flex-shrink: 0;
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-illust {
  display: none;
}
/*course*/
.course-card {
  background-color: #fff;
  border: 10px solid #a5576a;
  border-radius: 10px;
  padding: 25px 20px;
  box-sizing: border-box;
  margin-bottom: 30px;
}
.course-img {
  width: 100%;
  margin-bottom: 25px;
}
.course-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.course-contents h4 {
  display: flex;
  align-items: center;
}
.course-contents h4::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #d9a0ae;
  border-radius: 50%;
  margin-right: 8px;
  flex-shrink: 0;
}
.course-contents p {
  font-size: 16px;
  margin-bottom: 20px;
}
.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  width: 95%;
  height: 50px;
  margin: 0 auto;
  background-color: #a5576a;
  color: #fff;
  font-size: clamp(18px, calc(18px + (20 - 18) * ((100vw - 375px) / (1024 - 375))), 20px);
  font-weight: 600;
  border-radius: 25px;
  box-shadow: 2px 4px 0 #d9a0ae;
  box-sizing: border-box;
  transition: opacity 0.3s;
}
.btn .arrow {
  font-size: clamp(18px, calc(18px + (20 - 18) * ((100vw - 375px) / (1024 - 375))), 20px);
  display: inline-block;
  animation: arrow-slide 1.8s infinite ease-in-out;
}
.gallery-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw 16px;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}
.item-1 {
  grid-column: 1 / -1;
  width: 88%;
  margin-right: auto;
  position: relative;
  z-index: 2;
}
.item-2 {
  align-self: center;
  width: 60%;
  margin: 0 auto;
}
.item-3 {
  margin-left: auto;
  margin-top: -30%;
  position: relative;
  z-index: 1;
}
.item-4 {
  grid-column: 1 / -1;
  width: 70%;
  margin-left: 15%;
}
.item-5 {
  align-self: flex-start;
}
.item-6 {
  width: 30%;
  margin-left: auto;
  margin-top: -10%;
}
.item-7 {
  display: none;
}
.news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.news-header h3 {
  margin-bottom: 0;
}
.news-btn {
  width: fit-content;
  min-width: 180px;
  padding: 0 25px;
  box-sizing: border-box;
  margin-right: 0;
}
.news-list {
  width: 100%;
}
.news-item {
  border-bottom: 2px solid #a5576a;
}
.news-item a {
  display: flex;
  align-items: center;
  padding: 25px 15px;
  gap: 30px;
}
.news-item time {
  width: 90px;
  flex-shrink: 0;
}
.news-item span {
  line-height: 1.8;
}
.news_illust {
  display: none;
}
.contact {
  margin-bottom: 50px;
}
.contact-box {
  background-color: #a5576a;
  border-radius: 20px;
  padding: 40px 20px;
  text-align: center;
  color: #fff;
  max-width: 767px;
  margin: 0 auto;
}
.contact-tel {
  display: block;
  color: #fff;
}
.tel-number {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
  font-size: clamp(28px, calc(28px + (38 - 28) * ((100vw - 375px) / (1024 - 375))), 38px);
  font-weight: 700;
  margin-bottom: 5px;
}
.tel-time {
  font-size: 14px;
  margin-bottom: 0;
  color: #fff;
}
.contact-divider {
  border-bottom: 1px solid #fff;
  margin: 25px auto;
  width: 100%;
}
.contact-btn {
  width: 85%;
  gap: 10px;
  margin: 0 auto;
  background-color: #fff;
  color: #a5576a;
  box-shadow: none;
}
.contact-illust {
  display: none;
}
/*=======================
     講座ページ
=======================*/
.fv-bg.fv_lower {
  animation: none;
  opacity: 1;
}
.fv_course {
  background-image: url('../img/FV_course.jpg');
}
.course-title img {
  display: none;
}
.tab-switch {
  --cstm-tab-color: #a5576a;
  display: flex;
  flex-wrap: wrap;
  margin-inline: auto;
  gap: 10px;
}
.tab-switch label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 10px;
  background: #fff;
  color: #a5576a;
  cursor: pointer;
  order: -1;
  text-align: center;
  border: 2px solid #a5576a;
  border-radius: 30px;
  font-weight: 700;
  font-size: clamp(16px, calc(16px + (20 - 16) * ((100vw - 375px) / (1024 - 375))), 20px);
  line-height: 1.3;
  box-sizing: border-box;
  transition: all 0.3s ease;
  flex: 0 0 calc(50% - 5px);
}
.tab-switch input {
  display: none !important;
}
.tab-switch label:has(:checked) {
  background: var(--cstm-tab-color);
  color: #fff;
}
.tab-switch label:has(:checked) + .tab-content {
  display: block;
}
.tab-content {
  display: none;
  width: 100%;
  padding-top: 50px;
}
.course-intro > img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  margin-bottom: 30px;
}
.course-info {
  width: 100%;
  max-width: 800px;
  border-collapse: collapse;
  margin: 0 auto 60px;
}
.course-info th, .course-info td {
  padding: 18px 24px;
  border-bottom: 1px solid #e0e0e0;
  line-height: 1.8;
}
.course-info th {
  width: 35%;
  background-color: #FFF3BC;
  color: #536b5a;
  font-weight: 600;
  text-align: center;
}
.course-notes h4, .teacher h4 {
  color: #a5576a;
  padding-bottom: 12px;
  border-bottom: 1px solid #d9a0ae;
}
.course-notes {
  margin-bottom: 60px;
}
.course-notes li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 16px;
  line-height: 1.8;
}
.course-notes li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #3f3a3b;
}
.teacher-profile {
  padding: 30px;
  background-color: #f7f1e8;
  border-radius: 10px;
}
.teacher-about > img {
  width: 100%;
  margin-bottom: 20px;
}
.teacher-name p {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 0;
}
.teacher-name small {
  font-size: 14px;
  line-height: 1.8;
  display: block;
  margin-bottom: 20px;
}
.teacher-commnet {
  margin-bottom: 0;
}
.teaParty-contents > img {
  display: block;
  width: 100%;
  max-width: 350px;
  height: 100%;
  margin: 0 auto;
}
/*=======================
     お知らせページ
=======================*/
.fv_news {
  background-image: url('../img/FV_news.jpg');
}
.news-date {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}
.news-category {
  background-color: #fbebed;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 10px;
}
.news-body img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}
.sidenews li {
  margin-bottom: 30px;
}
.sidenews-item {
  display: block;
  width: 100%;
  cursor: pointer;
  border-left: 4px solid #d9a0ae;
  padding: 15px 20px;
  transition: all 0.3s ease;
}
.sidenews-item.is-active {
  color: #d9a0ae;
  cursor: default;
  pointer-events: none;
}
.sidenews-date, .sidenews-title {
  display: block;
}
.sidenews-date {
  margin-bottom: 10px;
}
/*=======================
   予約・お問い合わせページ
=======================*/
.fv_contact {
  background-image: url('../img/FV_contact.jpg');
}
#contactform {
  margin: 0 auto 100px;
  padding: 50px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1);
}
.form-item {
  margin-bottom: 40px;
}
.form-item label {
  display: block;
  margin-bottom: 20px;
  font-weight: 700;
}
.form-item span {
  display: inline-block;
  margin-left: 10px;
  padding: 5px 10px;
  border-radius: 10px;
  background-color: #a5576a;
  color: #fff;
  font-size: 14px;
}
.form-item input, .form-item select, .form-item textarea {
  width: 100%;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid #d9a0ae;
  background-color: #fff;
}
#contactform input:focus, #contactform select:focus, #contactform textarea:focus {
  outline: none;
  border-color: #a5576a;
  box-shadow: 0 0 0 3px rgba(217, 160, 174, 0.2);
}
/*=======================
       アニメーション
========================*/
@keyframes scroll-line {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  70% {
    transform: translate(-50%, 100%);
    opacity: 0;
  }
  71% {
    transform: translate(-50%, 0);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}
@keyframes scroll-line-up {
  0% {
    transform: translate(-50%, 100%);
    opacity: 1;
  }
  70% {
    transform: translate(-50%, 0);
    opacity: 0;
  }
  71% {
    transform: translate(-50%, 100%);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, 100%);
    opacity: 1;
  }
}
@keyframes fv-movie {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  5% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  30% {
    opacity: 0;
    transform: scale(1.05);
  }
  100% {
    opacity: 0;
  }
}
@keyframes arrow-slide {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
}
/*=======================
  768px以上 (タブレット)
========================*/
@media screen and (min-width: 768px) {
  .fv-bg1 {
    background-image: url('../img/FV_pc.jpg');
  }
  .fv-bg2 {
    background-image: url('../img/FV2_pc.jpg');
  }
  .fv-bg3 {
    background-image: url('../img/FV3_pc.jpg');
  }
  .fv-bg4 {
    background-image: url('../img/FV4_pc.jpg');
  }
  .fv-contents {
    top: 60px;
    right: 40px;
  }
  .container {
    padding: 0 68px;
  }
  .course-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
  }
  .course-card {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
  }
  .course-contents {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }
  .course-contents .btn {
    margin-top: auto;
  }
  .news-contents {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 100px;
  }
  .news-illust-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    flex-shrink: 0;
  }
  .news-left {
    flex: 1;
  }
  .news_illust {
    display: block;
    height: auto;
  }
  .illust-knitting {
    width: 90px;
    margin-left: -30px;
    transform: rotate(-12deg);
  }
  .illust-flower {
    width: 70px;
    transform: rotate(12deg);
  }
  .tel-flex {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 5px;
  }
  .fv_course {
    background-image: url('../img/FV_course_pc.jpg');
  }
  .teacher-name {
    display: flex;
    align-items: baseline;
    gap: 10px;
  }
  .fv_news {
    background-image: url('../img/FV_news_pc.jpg');
  }
  .news-list ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .fv_contact {
    background-image: url('../img/FV_contact_pc.jpg');
  }
}
/*=======================
  1024px以上 (PC)
========================*/
@media screen and (min-width: 1024px) {
  .br-pc {
    display: block;
  }
  a:hover, button:hover {
    transform: translateY(-3px) scale(1.05);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    padding-top: 60px;
  }
  h1 {
    padding-left: 0;
  }
  h1 img {
    width: 220px;
    height: auto;
  }
  .menu-contents {
    position: static;
    width: 100%;
    min-height: auto;
    background-color: transparent;
    transition: none;
  }
  .menu-contents ul {
    padding: 0 40px;
    margin-bottom: 60px;
  }
  .menu-contents ul li {
    margin-bottom: 50px;
    border-bottom: none;
  }
  .menu-contents ul li a {
    color: #3f3a3b;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    font-weight: 600;
    position: relative;
    border-radius: 50px;
  }
  .menu-contents ul li a::before {
    display: none;
  }
  .menu-contents ul li a:hover {
    transform: translateY(-3px) scale(1.05);
    opacity: 0.85;
  }
  .menu-contents ul li a[aria-current="page"]:hover {
    transform: none;
    opacity: 1;
  }
  .menu-contents ul li a:active {
    background-color: #fbebed;
    color: #a5576a;
  }
  .menu-contents ul li a[aria-current="page"] {
    background-color: #fbebed;
    color: #a5576a;
    transform: translateY(-3px) scale(1.05);
    pointer-events: none;
    cursor: default;
  }
  .nav-icon {
    display: inline-block;
    width: 50px;
    height: auto;
    margin-right: 15px;
  }
  .menu-contents span {
    line-height: 1.5;
  }
  .reserve-btn, .menu-btn, .nav-home {
    display: none;
  }
  .fv-scroll {
    bottom: -20px;
    left: calc(50% + 140px);
    transform: translateX(-50%);
  }
  main, footer {
    margin-left: 280px;
    width: calc(100% - 280px);
  }
  .container {
    padding: 0 100px;
  }
  .gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 120px;
  }
  .item-1 {
    grid-column: 1 / 3;
    width: 80%;
    margin-bottom: 30px;
  }
  .item-2 {
    grid-column: 3 / 4;
    width: 60%;
    margin-bottom: 50px;
  }
  .item-3 {
    grid-column: 2 / 3;
    width: 90%;
    margin-top: -70px;
    margin-left: -30px;
    margin-bottom: 50px;
  }
  .item-4 {
    grid-column: 3 / 4;
    width: 100%;
    margin-left: auto;
  }
  .item-5 {
    grid-column: 1 / 2;
    width: 100%;
    margin-left: 110px;
    margin-bottom: 20px;
  }
  .item-6 {
    grid-column: 1 / 2;
    width: 30%;
    margin-left: 20px;
    margin-top: -200%;
    transform: scaleX(-1) translateY(30px);
    ;
  }
  .item-6.is-show {
    transform: scaleX(-1) translateY(0);
  }
  .item-7 {
    display: block;
    grid-column: 3 / 4;
    width: 120%;
    margin-top: -70%;
    margin-left: -30%;
  }
  .news-item a:hover {
    transform: none;
    transition: none;
  }
  #contactform {
    max-width: 1024px;
  }
}
/*=======================
  1430px以上
========================*/
@media screen and (min-width: 1450px) {
  .about-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    width: 100%;
    padding: 0 100px;
    box-sizing: border-box;
    position: relative;
    margin-bottom: 80px;
  }
  .about-wrapper .about {
    width: 45%;
    padding: 0;
    flex-shrink: 0;
  }
  .about-wrapper .about p {
    margin-bottom: 0;
  }
  .about-wrapper .swiper {
    width: 50%;
    margin: 0;
    overflow: hidden;
  }
  .about-wrapper .swiper-slide {
    height: 300px;
    width: auto;
  }
  .about-wrapper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .about-illust, .contact-illust {
    display: block;
    position: absolute;
    bottom: -20px;
    right: calc(50% - 70px);
    width: 140px;
    height: auto;
    z-index: 10;
    pointer-events: none;
  }
  .course-header {
    display: flex;
    align-items: baseline;
    gap: 30px;
  }
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
  }
  .contact-box {
    width: 95%;
    max-width: none;
    position: relative;
    right: 60px;
  }
  .contact-illust {
    right: -80px;
  }
  .tel-flex {
    display: block;
  }
  .footer-icon {
    gap: 35px;
  }
  .footer-contents {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
  }
  .footer-address {
    margin-bottom: 5px;
  }
  .tab-switch label {
    flex: 1;
  }
  .course-title, .teaParty-contents {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
  }
  .course-title img {
    display: block;
    height: 130px;
    width: auto;
    margin-right: 50px;
  }
  .course-intro > img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin-bottom: 30px;
  }
  .teacher-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  .teacher-about > img {
    margin-bottom: 0;
  }
  .news-layout {
    display: grid;
    grid-template-columns: 1fr max-content;
    gap: 60px;
  }
  .news-list ul {
    display: block;
  }
}