@charset "UTF-8";
/* CSS Document */

.body {
  font-family: "貂明朝";
}

#wrapper {
  max-width: 1280px;
  width: 100%;
  background-color: #ffffff;
  margin: 0 auto;
  text-align: center;
}

h1 {
  margin-top: 30px;
  font-size: 24px;
  color: #93278f;
  font-family: "游明朝体";
  letter-spacing: 0.25em;
  font-weight: 500;
}

h2 {
  font-size: 25px;
  margin-top: 60px;
  font-family: "游明朝体";
  font-weight: 100;
}

/* メインビジュアル */
.top {
  width: 100%;
  max-width: 1280px;
  height: 280px;
  position: relative;
  overflow: hidden;
}

.top-img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1280px;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

.logo-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  height: auto;
  z-index: 10;
  pointer-events: none;
}

.nav {
  text-align: center;
  margin: 0; /* ← 不要な余白を除去 */
  padding: 0;
}

.nav ul li {
  font-family: "FOT-UD明朝 Pr6N";
}

.menu {
  margin-top: 0;
  padding-bottom: 50px;
}

.main-menu a {
  color: #ffffff;
  text-decoration: none;
}

.main-menu li {
  display: inline-block;
  font-size: 18px;
  color: #ffffff;
  letter-spacing: 0.2em;
  font-family: "游明朝体";
}

.main-menu {
  position: relative; /* 最初は通常配置 */
  width: 100%;
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  background-color: rgba(147, 39, 143, 0.4);
  transition: all 0.3s ease;
  z-index: 10;
}

/* スクロール後の固定スタイル */
.main-menu.fixed {
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(147, 39, 143, 0.9);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.main-menu li::after {
  content: "/";
  margin-left: 10px;
  margin-right: 10px;
  color: #ffffff;
}

.main-menu li:last-child::after {
  content: none;
}

.menu-toggle {
  display: none;
}

/* ハンバーガーアイコン */
.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 999;
}

/* セミナー */
.slideshow {
	white-space: nowrap;
	overflow: hidden;
	width: 800px;
	height: 450px;
	margin: 0 auto;
}

.contents {
	display: flex;
	width: calc(800px * 8);  
    animation: slideshow-8 35s infinite;
	margin-top: 30px;
}

.slideshow img {
  width: 800px;
  height: 450px;
  object-fit: cover;
}

@keyframes slideshow-8 {
  0%   { transform: translateX(0); }
  14.2857% { transform: translateX(-800px); }
  28.5714% { transform: translateX(-1600px); }
  42.8571% { transform: translateX(-2400px); }
  57.1428% { transform: translateX(-3200px); }
  71.4285% { transform: translateX(-4000px); }
  85.7142% { transform: translateX(-4800px); }
  100%     { transform: translateX(-5600px); }
}


.seminar-info {
  margin-top: 0 auto;
  font-family: "游明朝体";
}

.film {
  font-size: 30px;
  margin-bottom: 10px;
  color: #93278f;
}

.seminar p {
  font-size: 18px;
  font-family: "游明朝体";
}

.title img {
  display: block;
  margin: 0 auto;
  width: 110px;
  padding: 0;
  margin-bottom: 20px;
}

.title p {
	margin-top: 0;
	font-size: 18px;
}

.price-area {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 30px;
}

.price-box {
  font-family: "FOT-UD角ゴ_ラージ Pr6N";
}

.price-area li {
  list-style: none;
  text-align: left;
}

.teach {
  text-align: right;
}

.price-header {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.6;
  background-color: #e3cce0;
  padding: 4px 45px;
  width: 150px;
  white-space: nowrap;
}

.price-header span {
  font-weight: normal;
  font-size: 14px;
}

.price-main {
  margin-top: 5px;
  line-height: 1.6;
  text-align: left;
  font-size: 12px;
}

.price-main p {
  margin: 0;
  padding: 0;
}

.course_fee {
  font-size: 17px;
}

.yen {
  font-size: 25px;
}

.attention {
  font-size: 9px;
}

.info {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 1000px;
  margin-left: 280px;
  margin-right: auto;
}

.venue {
  margin-bottom: 10px;
  text-align: left;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 14px;
}

.sp-br {
  display: none;
}

.info p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.map {
  font-size: 12px;
  font-family: "FOT-UD角ゴ_ラージ Pr6N";
  margin-left: auto; /* PCでは右寄せ */
}

.info a {
  color: #555;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
}

.contact-text {
  font-size: 25px;
  margin-bottom: 15px;
}

.seminar-logo {
  color: #d6007e;
  font-size: 26px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 10px;
}

.tel {
  white-space: nowrap;
  font-size: 26px;
  margin-bottom: 10px;
  margin-left: 50px;
  font-family: "FOT-UD角ゴ_ラージ Pr6N";
}

.hours {
  font-size: 13px;
  color: #444;
}

.contact {
  margin-top: 113px;
}

.contact-detail {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.tel p {
  margin: 0;
  padding: 0;
  line-height: 1.4;
  font-size: 40px;
}

.tel .time {
  font-size: 16px;
  color: #555;
}

/* フッター */
.company {
  margin-top: 60px;
  margin-bottom: 30px;
}

.kishis {
  padding-left: 0;
}

.kishis li {
  font-size: 12px;
  font-family: "游明朝体";
  list-style: none;
}

.copyrlight {
  font-family: "小塚ゴシック Pr6N";
}

/* トップボタン */
html {
  scroll-behavior: smooth;
}

.topbutton {
  position: fixed;
  right: 20px;
  bottom: 20px;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.topbutton.show {
  opacity: 1;
  visibility: visible;
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: 20px;
  }

  h2 {
    font-size: 18px;
    margin-top: 20px;
  }
	
  .title p {
	font-size: 13px;	
  }

  .logo-img {
    max-width: 90%; /* 幅いっぱいにならないよう制限 */
    height: auto; /* アスペクト比を維持 */
    display: block;
    margin: 0 auto;
  }

  .menu {
    margin-bottom: 0; /* 余白をなくす */
    padding-bottom: 0;
  }

  .main-menu {
  display: none;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.8);
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  padding: 20px;
  margin: 0;
  box-sizing: border-box;
  z-index: 998;
}
	
	/* スクロール後の固定スタイル */
   .main-menu.fixed {
  position: fixed;
  top: 0;
  left: 0; 
  right: 0;
  width: 100%;
  padding: 20px;
  margin: 0;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

  .menu-toggle:checked + .hamburger + nav .main-menu {
    display: flex;
  }

  .menu-toggle {
    position: absolute;
    top: 10px;
    /* ← ここを調整。数値を小さくすると上に寄る */
    right: 20px;
    z-index: 999;
    cursor: pointer;
  }

  .hamburger {
    display: block;
    color: #fff;
  }

  .main-menu li {
    margin-bottom: 15px;
    line-height: 1.2;
  }

  .main-menu li a {
    font-size: 15px;
	color: #000000;
  }

  .main-menu li::after {
    content: "" !important;
    /* ← 重要！強制的に上書き */
    margin: 0 !important;
    display: none !important;
  }

  .logo {
    max-width: 90%; /* 幅いっぱいにならないよう制限 */
    height: auto; /* アスペクト比を維持 */
    display: block;
    margin: 0 auto;
  }

  .film {
    font-size: 18px;
  }

  .title {
    margin-top: 10px;
  }

  .seminar p {
    font-size: 13px;
  }

  .price-area {
    flex-direction: column;
    align-items: center;
  }

  .price-area li {
    font-size: 13px;
  }

  .info {
    margin-left: 0;
  }

  .info-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sp-br {
    display: inline;
  }

  .info p {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .venue {
    font-size: 18px;
    line-height: normal;
  }

  .map {
    margin-left: 0;
    font-size: 13px;
  }

  .info a {
    margin-top: 5px;
  }

  .contact-text {
    font-size: 20px;
  }

  .contact-detail {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .seminar-logo {
    margin-bottom: 10px;
  }
	
  .tel {
    margin-left: 0;
    text-align: center;
  }

  .tel p {
    font-size: 28px;
    align-items: center;
  }

  .tel .time {
    font-size: 14px;
  }
}

@media screen and (max-width: 1024px) and (min-width: 768px) { 
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
    margin-top: 20px;
  }
	
  .title p {
	font-size: 13px;	
  }

  .logo-img {
    max-width: 90%; /* 幅いっぱいにならないよう制限 */
    height: auto; /* アスペクト比を維持 */
    display: block;
    margin: 0 auto;
  }

  .menu {
    margin-bottom: 0; /* 余白をなくす */
    padding-bottom: 0;
  }

  .main-menu {
  display: none;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.8);
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  padding: 20px;
  margin: 0;
  box-sizing: border-box;
  z-index: 998;
}
	
	/* スクロール後の固定スタイル */
   .main-menu.fixed {
  position: fixed;
  top: 0;
  left: 0; 
  right: 0;
  width: 100%;
  padding: 20px;
  margin: 0;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

  .menu-toggle:checked + .hamburger + nav .main-menu {
    display: flex;
  }

  .menu-toggle {
    position: absolute;
    top: 10px; /* ← ここを調整。数値を小さくすると上に寄る */
    right: 20px;
    z-index: 999;
    cursor: pointer;
  }

  .hamburger {
    display: block;
    color: #fff;
  }

  .main-menu li {
    margin-bottom: 15px;
    line-height: 1.2;
  }

  .main-menu li a {
    font-size: 15px;
	color: #000000;
  }

  .main-menu li::after {
    content: "" !important; /* ← 重要！強制的に上書き */
    margin: 0 !important;
    display: none !important;
  }

  .logo {
    max-width: 90%; /* 幅いっぱいにならないよう制限 */
    height: auto; /* アスペクト比を維持 */
    display: block;
    margin: 0 auto;
  }

  .film {
    font-size: 20px;
  }

  .title {
    margin-top: 10px;
  }

  .seminar p {
    font-size: 15px;
  }

  .price-area {
    flex-direction: column;
    align-items: center;
  }

  .price-area li {
    font-size: 15px;
  }

  .info {
    margin-left: 0;
  }

  .info-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sp-br {
    display: inline;
  }

  .info p {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .venue {
    font-size: 18px;
    line-height: normal;
  }

  .map {
    margin-left: 0;
    font-size: 13px;
  }

  .info a {
    margin-top: 5px;
  }

  .contact-text {
    font-size: 20px;
  }

  .contact-detail {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .seminar-logo {
    margin-bottom: 10px;
  }
	
  .tel {
    margin-left: 0;
    text-align: center;
  }

  .tel p {
    font-size: 28px;
    align-items: center;
  }

  .tel .time {
    font-size: 14px;
  }

}