/*
Theme Name: ritram-drone
Theme URI: https://example.com/
Author: 自分の名前
Author URI: https://example.com/
Description: オリジナルテーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mytheme
*/

/* Add your custom css below
-------------------------------------------------------------- */

/* フォーム全体のスタイル */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
.vsp {
  display: block;
}
.vpc {
  display: none;
}
/* PC（1024px以上）ではvsp非表示、vpc表示 */
@media (min-width: 1024px) {
  .vsp {
    display: none;
  }
  .vpc {
    display: block;
  }
}
a {
  all: unset; /* すべてのブラウザデフォルトを一括解除（※IE非対応） */
  cursor: pointer; /* リンクらしいカーソルを維持 */
  text-decoration: none; /* 下線を削除（all: unsetでも消えるが念のため） */
  color: inherit; /* 親の文字色を引き継ぐ */
}
.wpcf7 {
background-color: #f0f0f0; /* ライトグレー */
padding: 20px;
border-radius: 10px;
max-width: 1200px;
margin: auto;
}
.site-body-container{
    max-width:100%;
    padding:0;
}
.wp-block-heading{
    max-width:80%;
    margin: 0 auto;
}
.wp-block-columns{
    max-width:80%;
    margin: 0 auto;
}
.eigo-heading{
    max-width:100%;
    padding:0;
    border:0;
    font-family: "Zen Kurenaido", serif;
    font-size:40px;
    font-weight: 100;
    font-style: normal;
    opacity:0.6;
}
.eigo-heading:after{
    display:none;
}
.drone-hero-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding-bottom:30px;
}

.background-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://ritarm.or.jp/drone-school/wp-content/uploads/2025/01/20231020_101113-1024x577.jpg') no-repeat center center/cover;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 0;
}

.hero {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.hero {
    position: relative;
    z-index: 1;
    text-align: center;
    top: calc(20px);
}
.video-background{
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  height:140%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  z-index: -1;
  opacity: 0.8;0
}
.hero h1 {
    font-family: "Zen Kurenaido", serif;
    font-weight: 100;
    font-style: normal;
    margin-bottom: 10px;
}
.hero .top-message {
    font-size: 18px;
    color: #fff;
    font-family: noto sans;
    font-weight: 600;
    margin-bottom:18px;
}
.hero .hero-middle-container{
    background-color: rgba(255, 255, 255, 0.7);
    padding: 12px 24px;
}
.hero-middle-container h1{
    font-size:28px;
    font-weight:700;
    color:#000;
    font-family: "DNP Shuei Kaku Gothic Kin Std", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}
.hero-middle-container p{
    font-size:15px;
    color:#333;
}
.hero .wp-drone-animated-text-container img{
    width:220px;
}
.outlined-text {
    font-family: "DNP Shuei Kaku Gothic Kin Std", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
    font-size: 30px;
    color: #f0f0f0; /* 文字色 白 */
    text-shadow:
      -2px -2px 0 #888,
      2px -2px 0 #888,
      -2px  2px 0 #888,
      2px  2px 0 #888,
      -2px  0px 0 #888,
      2px  0px 0 #888,
      0px -2px 0 #888,
      0px  2px 0 #888;
    padding:4px;
}
.drone-associate-kounin-img{
    width:53%;
    opacity:0.98;
}
.wp-drone-business-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    margin: 40px 0;
}

.wp-drone-business-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://ritarm.or.jp/drone-school/wp-content/uploads/2025/01/21x9_______青空_飛___________右側____位置_描写-1024x439.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
        opacity:0.5;
}

.wp-drone-business-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.wp-drone-business-text-box {
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    position: relative;
    margin-left: 20px;
}

.wp-drone-business-title {
    color: #3498db;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.6;
    display:none;
    border:0;
}

.wp-drone-business-description {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .wp-drone-business-text-box {
        margin: 20px;
        padding: 30px;
    }
    
    .wp-drone-business-title {
        font-size: 20px;
    }
    
    .wp-drone-business-description {
        font-size: 14px;
    }
}
@media (max-width: 480px) {
        .hero .top-message{
            font-size:16px
        }
        .eigo-heading{
            font-size:32px;
        }
        .strengs-spacer{
            display:none;
        }
        .wp-drone-thought-content h2{
            margin-left: 30px;
        }
        .wp-drone-thought-content .wp-drone-thought-subtitle{
            margin-left: 30px;
            text-align:left;
        }
        .wp-drone-thought-content p{
            text-align:center;
        }
}
/* TOPページのスタイル */

.title-image-container {
  width: 320px;           
  height: 110px; 
  margin: 0 auto;        
  overflow: hidden; 
  margin-top:30px;     
}

.title-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;       
  object-position: center;
  display: block;
  border-bottom: solid 0px;
}
.kounin-image-container {
  width: 160px;
  height: 150px;
  margin: 0 auto;        
  overflow: hidden;      
}

.kounin-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;       
  object-position: center;
  display: block;
}
.top-banner-inner{
  display: flex;
  padding:8px;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  min-width: 1320px;
  gap: 6px;
}
.top-banner-innner{
  display:flex;
  margin: 0 auto;
}
.top-banner-inner a img{
  width: auto;
  height: 120px;
  min-width: 200px;
  max-width: 330px;
}
@media (max-width: 720px) {
  .top-banner-inner{
    display:none;
  }
  .top-blog-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }
}
.top-banner-slider {
      position: relative;
      width: 100%;
      height: 140px;
      overflow: hidden;
    }
.top-banner-slider img {
  position: absolute;
  width: 100vw;
  height: 100px;
  padding: 0 12px;
  margin: 12px 0;
  opacity: 0;
  animation: fadeSlide 16s ease-in-out infinite;
}

.top-banner-slider a img:nth-child(1){
  animation-delay: 0s;
}

.top-banner-slider a img:nth-child(2){
  animation-delay: 4s;
}

.top-banner-slider a img:nth-child(3){
  animation-delay: 8s;
}
.top-banner-slider a img:nth-child(4){
  animation-delay: 12s;
}

@keyframes fadeSlide {
  0% { opacity: 0; }
  5% { opacity: 1; }
  30% { opacity: 1; }
  35% { opacity: 0; }
  100% { opacity: 0; }
}
.taiken-banner{
  text-align: center;
}
.taiken-banner img{
  max-width: 100%;
  margin: 0 auto;
}
.footer-address {
  font-style: normal;
  color: #333;
  line-height: 1.8;
  text-align: left;
  padding: 24px 12px;
}

.access-wrapper {
  max-width: 400px;
  margin: 0 auto;
  font-family: sans-serif;
  color: #000;
  padding: 16px;
}

.access-title {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 20px;
}

.access-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.access-row {
  display: flex;
  align-items: flex-start;
}

.access-label {
  background-color: #0C6980;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 9999px;
  min-width: 50px;
  text-align: center;
  margin-right: 8px;
}

.access-text {
  font-size: 14px;
  line-height: 1.5;
}

.access-map iframe {
  width: 100%;
  height: 200px;
  border: none;
  border-radius: 16px;
  margin-bottom: 12px;
}

.access-map-button {
  display: block;
  text-align: center;
  background-color: #1f2937;
  color: white;
  padding: 12px;
  text-decoration: none;
  border-radius: 9999px;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 24px;
  transition: background-color 0.3s;
}

.access-map-button:hover {
  background-color: #374151;
}

.access-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.access-cards-vpc{
  display: none;
}

.access-card {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 16px 8px;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  width: calc(50% - 40px);
}

.access-time {
  display: block;
  font-size: 18px;
  color: #374151;
  margin: 18px 0 0 0;
}
.access-time strong{
  font-size: 26px;
  color: #0C6980;
  padding: 0 8px;
  font-weight: 400;
}
.footer {
  text-align: center;
  padding: 40px 20px;
  font-family: sans-serif;
}

.footer-logo img {
  width:80px;
  height: 80px;
  margin-bottom: 8px;
}

.school-name {
  font-size: 12px;
  color: #777;
  margin-top: 4px;
}
.footer-nav{
    margin-bottom:24px;
}
.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  gap: 12px 40px;
  list-style: none;
  padding: 0;
  margin-top: 24px;
  margin-right: 12px;
  text-align: left;
}

.footer-nav a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

.footer-nav a:hover {
  text-decoration: underline;
}

html{
    margin:0 !important;
}

body {
  margin: 0;
  font-family: sans-serif;
  overflow-x: hidden;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #fff;
  border-bottom: 1px solid #ddd;
  position: relative;
  z-index: 1001;
}

.header-left a{
  display: flex;
  align-items: center;
}

.logo {
  width:72px;
}

.site-title {
  font-size: 1.2rem;
  color: #333;
  margin-left:16px;
}

.hamburger {
  width: 30px;
  height: 22px;
  position: fixed;
  cursor: pointer;
  z-index: 1002;
  right:20px;
}

.hamburger span {
  position: absolute;
  height: 3px;
  width: 100%;
  background: #000;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

/* ===== 上からスライドダウンする全画面メニュー ===== */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 1000;
}

.menu.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.menu ul {
  margin-top: 60px;
  list-style: none;
  padding: 0;
  text-align: center;
}

.menu ul li {
  padding: 1rem 0;
}

.menu ul li a {
  text-decoration: none;
  color: #333;
  font-size: 1.2rem;
  font-weight: bold;
}
.menu_atc {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    gap: 20px;
    margin:12px 0 0 0;
}

.menu_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px 14px 28px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
    gap: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.consultation-button {
    background: linear-gradient(to bottom, #2d8c8c, #7ddcdc);
    color: white;
}

.consultation-button:hover {
    background: linear-gradient(to bottom, #4dacac, #8decec);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 140, 140, 0.3);
}

.contact-button {
    background: linear-gradient(to bottom, #f38105, #F3A111);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* 影の設定 */
}

.contact-button:hover {
    background: linear-gradient(to bottom, #ffa11a, #FfB121);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 93, 184, 0.3);
}

.arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.button:hover .arrow {
    transform: translateX(3px);
}

.envelope {
    font-size: 18px;
}
.top-atc-container{
  text-align: center;
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 300;
}
.top-banner img{
    width:100%;
    margin: 12px auto;
}
.news-section {
  padding: 0 16px;
  margin: 40px auto;
  max-width: 600px;
}

.section-title {
  font-size: 36px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 0px;
}

.section-subtitle {
  font-size: 12px;
  color: #666;
  text-align: center;
}

.news-list {
  list-style: none;
  padding: 0;
  margin:45px 0;
}

.news-item {
  margin-bottom: 28px;
}

.news-date {
  font-size: 15px;
  display: inline-block;
  margin-right: 8px;
}

.news-label {
  text-align: center;
  font-size: 11px;
  padding: 4px 2px;
  width: 60px;
  color: #fff;
  border-radius: 5px;
  display: inline-block;
  margin-top: 4px;
}

.news-label.column { background-color: #245ac4; }  /* スラッグ column */
.news-label.notice { background-color: #ec8d84; }  /* スラッグ notice */
.news-label.default { background-color: #aaa; }     /* それ以外 */

.news-title-text {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.6;
}

.news-title-text a {
  color: #000;
  text-decoration: none;
  font-size: 16px;
}

.news-button-wrapper,.feature-button-wrapper {
  margin: 30px;
  text-align: center;
}
.feature-button-wrapper a{
  padding: 8px 30px 8px 36px;
}
.news-button {
  background: #56B7B5;
  color: #fff;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 999px;
  display: inline-block;
  text-decoration: none;
}
.aboutus-section {
  position:relative;
  height: auto;
  padding: 0 0 120px 0;
  overflow: visible; 
  margin: 0;
  background-size: cover;
  background-position: 50% 40%;
  background-repeat: no-repeat;
}

.aboutus-title-container{
  padding: 60px 0 30px 0;
  color:#fff;
}
.aboutus-section .aboutus-subtitle{
  color:#fff;
}
#stars-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}
.shooting-star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
  transform: rotate(-45deg);
  opacity: 0;
  pointer-events: none;
}

.shooting-star::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100px;
  width: 120px;
  height: 2px;
  background: linear-gradient(to right, rgba(255,255,255,0.6), rgba(255,255,255,0));
  border-radius: 1px;
}

@keyframes shoot {
  0% {
    opacity: 1;
    transform: translate(0, 0) rotate(-45deg);
  }
  100% {
    opacity: 0;
    transform: translate(-300px, 300px) rotate(-45deg);
  }
}

.animate {
  animation: shoot 1.5s ease-out forwards;
}

#stars-container {
  pointer-events: none;
}

.shooting-star {
  pointer-events: none;
}
.aboutus-text-container{
  color: #fff;
  padding: 0 30px;
}
.aboutus-text-container p{
  margin: 30px 0;
}
.border-button-container{
    display:block;
    margin:0 auto;
    text-align: center;
}
.border-button {
    position: relative;
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    overflow: hidden;
}

/* 上下の線 */
.border-button::before,
.border-button::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: transform 0.3s ease;
}

.border-button::before {
    top: 0;
    transform: scaleX(1);
}

.border-button::after {
    bottom: 0;
    transform: scaleX(1);
}

/* ホバーでアニメーション */
.border-button:hover::before {
    transform: scaleX(0);
    transform-origin: left;
}

.border-button:hover::after {
    transform: scaleX(0);
    transform-origin: right;
}

/* テキストのアニメーション */
.border-button span {
    position: relative;
    z-index: 1;
}
.feature-section{
    padding:60px 0;
}
.feature-container {
    max-width: 400px;
    width: 100%;
    background: #ffffff;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.feature-header {
    background: #ffffff;
    padding: 20px 25px 15px 25px;
    position: relative;
}

.feature-label {
    font-size: 12px;
    font-weight: 500;
    color: #4a90a4;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 5px;
    position: relative;
}

.feature-label::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 80px;
    height: 1px;
    background: #4a90a4;
}

.feature-number {
    font-size: 84px;
    font-weight: 100;
    color: #4a90a4;
    line-height: 0.8;
    margin-top: 10px;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.feature-description {
    font-size: 13px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.feature-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.feature-landscape-image {
    width: 100%;
    height: 100%;
}

.feature-teal-accent {
    position: absolute;
    right: 0;
    top: 0;
    width: 42px;
    height: 100%;
    background: linear-gradient(180deg, #4a90a4 0%, #5fa3b8 100%);
    clip-path: polygon(80% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.feature-bottom-teal-section {
    background: linear-gradient(135deg, #4a90a4 0%, #5fa3b8 100%);
    height: 42px;
    width: 100%;
    position: relative;
}

.feature-bottom-teal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0,10 Q25,0 50,10 T100,10 L100,20 L0,20 Z" fill="rgba(255,255,255,0.1)"/></svg>') repeat-x;
    background-size: 100px 20px;
}

@media (max-width: 768px) {
    .feature-container {
        margin: 30px auto;
        max-width: 350px;
    }

    .feature-header {
        padding: 15px 20px 10px 20px;
    }

    .feature-number {
        font-size: 72px;
    }

    .feature-title {
        font-size: 16px;
    }

    .feature-description {
        font-size: 12px;
    }

    .feature-image-container {
        height: 180px;
    }
}

/* シンプルなアニメーション効果 */
.feature-container {
    animation: featureFadeIn 0.8s ease-out;
}

@keyframes featureFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.arrow-right-white{
  width: 20px;
}
.top-atc-container .arrow-right-white{
  margin-top:2px;
}
.mail-white{
  width: 20px;
  margin-bottom:2px;
}
.course-section {
    line-height: 1.6;
    color: #333;
    padding: 20px 20px 60px 20px;
}
.course-section .title-container{
    margin-bottom:60px;
}
.course-section .course-card {
    max-width: 400px;
    width:352px;
    margin: 0 auto 30px auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.course-section .course-card-header {
    padding: 18px 15px 4px;
    text-align: center;
    color: #333;
}
.course-section .course-card-header1{
    background: linear-gradient(135deg, #7dd3fc, #60a5fa);
}
.course-section .course-card-header2{
    background: linear-gradient(135deg, #d1fae5, #bbf7d0);
}
.course-section .course-card-header3{
    background: linear-gradient(135deg, #ffedd5, #fed7aa);
}
.course-section .course-card-header4{
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
}
.course-section .course-card-title {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
}

.course-section .course-card-subtitle {
    font-size: 28px;
    font-weight: 400;
    margin:0;
}
.course-card-price-list{
  display:flex; flex-direction:column; gap:12px;
}
.course-card-price-row{
  display:flex; align-items:baseline; justify-content:space-between;
  gap:0px; padding:12px 0 4px 0; border-bottom:1px solid; border-color:#ddd;
}
.course-card-label{
  font-weight:600; font-size:15px; max-width:90px;
}
.course-card-price{
  font-feature-settings:"palt"; letter-spacing:.02em;
  font-weight:800; font-size:22px;
}
.course-card-unit{
  font-size:12px; color:var(--muted); margin-left:6px; font-weight:600;
}
.course-section .course-card-info {
    font-size: 14px;
    color: #444;
    margin-top: 0px;
}

.course-section .course-card-content {
    padding: 30px 20px;
}

.course-section .course-card-price-section {
    text-align: center;
}

.course-section .course-card-price-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.course-section .course-card-price {
    font-size: 30px;
    font-weight: 500;
    color: #333;
}
.course-section .course-card-price span{
    font-size:15px;
}
.course-section .course-card-price-sub{
    margin-bottom: 12px;
}

.course-section .course-card-cta-button {
    background: linear-gradient(135deg, #0891b2, #0e7490);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.course-section .course-card-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.3);
}

.course-section .course-card-cta-button:after {
    content: '→';
    margin-left: 10px;
    font-size: 18px;
}

.course-section .course-card-description {
    margin:0;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

.course-section .course-card-features {
    margin-top: 25px;
}

.course-section .course-card-features-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    border-left: solid 10px #7dd3fc;
}
.course-section .course-card-features-title2 {
    border-left: solid 10px #6ee7b7;
}
.course-section .course-card-features-title3 {
    border-left: solid 10px #fdba74;
}
.course-section .course-card-features-title4 {
    border-left: solid 10px #a5b4fc;
}

.course-section .course-card-feature-list {
    list-style: none;
    padding-left: 0;
}

.course-section .course-card-feature-item {
    font-size: 14px;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    color: #555;
}

.course-section .course-card-feature-item:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0891b2;
    font-weight: bold;
}
.course-card-readmore{
  text-align: right;
}
.course-section .menu_button{
    padding: 16px 24px;
}
    /*
     * 浮遊するコンテンツに関する
     * 
    */
    
    
    /* フェードインアニメーション */
    @keyframes fadeIn {
      from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }
    /* 浮遊アニメーション全体 */
    .wp-drone-floating-background{
          opacity: 0; /* 初めは透明 */
      animation: fadeIn 2s ease-in-out forwards;
      animation-delay: 2s; /* 2秒後に開始 */
    
    }
    /* 浮遊する要素 */
    .wp-drone-floating-section {
        position: relative;
        width: 100%;
        min-height: 100vh;
        overflow: hidden;
        
    }
    
    .wp-drone-floating-image {
        position: absolute;
        pointer-events: none;
        opacity: 0.9;
        filter: brightness(1.2);
    }
    
    
    /* 各画像の配置とアニメーション */
    .wp-drone-float-img-1 {
        width: 130px;
        top: 25%;
        right: 20%;
        animation: floatImage1 6s ease-in-out infinite;
    }
    .wp-drone-float-img-2 {
        width: 280px;
        top: 20%;
        left: 10%;
          opacity: 0.1;
            animation: floatImage2 30s ease-in-out infinite;
    }
    .wp-drone-float-img-3 {
        width: 240px;
        top: 60%;
        left: 10%;
          opacity: 0.1;
            animation: floatImage3 60s ease-in-out infinite;
    }
    /* ふわふわ浮遊するアニメーション */
    @keyframes floatImage1 {
        0%, 100% {
            transform: translate(0, 0) rotate(0deg);
        }
        
           50% {
            transform: translate(60px, -30px) rotate(-5deg);
        }
    }
    @keyframes floatImage2 {
        0%, 100% {
            transform: translate(0, 0) rotate(0deg);
        }
        
           50% {
            transform: translate(300px, 90px) rotate(25deg);
        }
    }
    @keyframes floatImage3 {
        0%, 100% {
            transform: translate(0, 0) rotate(0deg);
        }
        
           50% {
            transform: translate(600px, -900px) rotate(360deg);
        }
    }
@media (min-width: 1024px) {
  .video-background{
    height:250%;
  }
  .pcnav ul{
    display: flex;
    justify-content: center;
    gap: 18px;
    font-size: 16px;
    margin-top: 8px;
    padding: 12px 0;
  }
  .pcnav ul li{
    list-style: none;
  }
  .pcnav a {
  color: #000;
  text-decoration: none;
  padding: 10px 15px;
  transition: color 0.3s, background-color 0.3s;
  display: inline-block;
  }

  .pcnav a:hover {
    color: #fff;
    background-color: #56B7B5;
    border-radius: 4px;
   }
  .pcmenu_atc-container .menu_atc{
    flex-direction: row;
  }
  header{
    border-bottom:0;
    padding: 2rem 4rem 0px 4rem;
  }
  .top-message{
    font-size:23px;
  }
  .hero-middle-container{
    width:720px;
  }
  .hero-middle-container h1 {
    font-size: 36px;
  }
  .hero-middle-container p {
    font-size:20px;
  }
  .outlined-text{
    font-size:42px;
  }
  .drone-associate-kounin-img {
    width:300px;
  }
  .wp-drone-floating-image {
    width:180px;
  }
  .drone-hero-wrapper {
    margin-bottom:60px;
    padding-bottom:45px;
  }
  .wp-drone-float-img-1 {
    top: 50%;
    right: 25%;
  }
  .menu_button {
    font-size:18px
  }
  .top-banner img {
    margin: 45px auto;
  }
  .section-title {
    font-size:48px;
  }
  .section-subtitle {
    font-size: 14px;
  }
  .news-section {
    margin: 90px auto;
  }
  .aboutus-section .section-title {
    text-align: left;
    margin-left: 120px;
  }
  .aboutus-section .aboutus-subtitle {
    text-align: left;
    margin-left: 120px;
  }
  .aboutus-text-container {
    padding: 0 240px;
  }
  .aboutus-text-container p{
    margin:45px 0;
  }
  .border-button-container {
    text-align: center;
  }
  .border-button {
    padding: 12px 52px;
    font-size: 18px;
  }
  .feature-container {
    max-width: 1320px;
    display: flex;
    flex-direction: row;
    height: 400px;
  }
  .feature-header {
    flex: 1;
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .feature-label {
    font-size: 14px;
    margin-bottom: 8px;
  }

    .feature-number {
        font-size: 94px;
        margin-bottom: 25px;
    }

    .feature-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .feature-description {
        font-size: 15px;
        line-height: 1.8;
        margin-bottom: 0;
    }

    .feature-image-container {
        flex: 1;
        height: 100%;
        position: relative;
    }

    .feature-teal-accent {
        width: 80px;
        clip-path: polygon(40% 0%, 100% 0%, 100% 100%, 0% 100%);
    }

    .feature-bottom-teal-section {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 45%;
        height: 60px;
        clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
    .feature-section {
        padding: 120px 60px;
    }
    .feature-section .title-container{
        margin-bottom:90px;
    }
    .feature-container {
        margin: 0 auto 60px auto;
    }
    .reverse{
        flex-direction:row-reverse;
    }
    .course-card-container{
        display: flex;
        justify-content: center;
        gap: 16px;
        max-width:1200px;
        margin:0 auto;
    }
    .course-section .course-card {
        min-width:280px;
    }
    .course-section .course-card-price {
    font-size: 32px;
    }
    .course-section .course-card-price-sub {
        height:24px;
    }
    .access-cards-vpc{
       display: flex;
    }
    .access-cards-vsp{
       display: none;
    }
    .access-detail-container{
      display:flex;
      margin-bottom:30px;
    }
    .access-section{
      margin-bottom:90px;
    }
    .access-wrapper {
       max-width: 820px;
    }
    .access-detail{
      width:50%;
    }
    .access-cards{
      width:50%;
    }
    .access-card{
      font-size:15px;
    }
    .access-title {
    font-size: 20px;
    }
    .access-label {
      font-size:14px;
      min-width:70px;
    }
    .access-text{
      font-size:16px;
    }
    .access-map iframe {
      height:300px;
    }
    .footer{
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 60px;
      border-top: 1px solid #555;
    }
}


    
    /*
     * 起動時のオーバーレイ表示に関する
     * 
    */
    .wp-drone-fullscreen-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        animation: wp-drone-fadeOut 0.5s ease-out 2.3s forwards;
    }
    
    .wp-drone-fullscreen-overlay img {
        width: 180px;
        height: auto;
        opacity: 0;
        animation: wp-drone-fadeIn 0.2s ease-out forwards;;
    }
    
    .wp-drone-main-content {
        opacity: 0;
        animation: wp-drone-fadeIn 1.0s ease-out 2.3s forwards;
    }
    
    @keyframes wp-drone-fadeOut {
        from { opacity: 1; }
        to { opacity: 0; visibility: hidden; }
    }
    
    @keyframes wp-drone-fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    .wp-drone-main-content {
        height:60vh;
        background-size: cover;
        background-position: center;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        text-align: center;
    }
    
    .wp-drone-title {
        font-size: 48px;
        margin-bottom: 20px;
    }
    
    .wp-drone-subtitle {
        font-size: 24px;
    }
    
    /*
     * 起動時の順番に一文字ずつ文字表示
     * 
    */
    
    .wp-drone-animated-text-container {
        overflow: hidden;
        padding: 20px;
    }
    
    .wp-drone-animated-text {
        opacity: 0;
        transform: translateY(50px);
        display: inline-block;
    }
    
    .wp-drone-title .wp-drone-animated-text {
        font-size: 64px;
          color:#fff;
        margin-bottom: 20px;
        animation: wp-drone-text-rise 0.5s ease-out forwards;
    }
    
    .wp-drone-subtitle .wp-drone-animated-text {
        font-size: 36px;
          color:#fff;
        animation: wp-drone-text-rise 0.5s ease-out forwards;
    }
    
    @keyframes wp-drone-text-rise {
        from {
            opacity: 0;
            transform: translateY(50px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @media (max-width: 480px) {
        .wp-drone-title .wp-drone-animated-text{
            font-size:33px;
        }
        .wp-drone-subtitle .wp-drone-animated-text{
            font-size: 22px;
        }
    }
    
    .wp-drone-title .wp-drone-animated-text:nth-child(1) { animation-delay: 2.2s; }
    .wp-drone-title .wp-drone-animated-text:nth-child(2) { animation-delay: 2.3s; }
    .wp-drone-title .wp-drone-animated-text:nth-child(3) { animation-delay: 2.4s; }
    .wp-drone-title .wp-drone-animated-text:nth-child(4) { animation-delay: 2.5s; }
    .wp-drone-title .wp-drone-animated-text:nth-child(5) { animation-delay: 2.6s; }
    .wp-drone-title .wp-drone-animated-text:nth-child(6) { animation-delay: 2.7s; }
    .wp-drone-title .wp-drone-animated-text:nth-child(7) { animation-delay: 2.8s; }
    .wp-drone-title .wp-drone-animated-text:nth-child(8) { animation-delay: 2.9s; }
    .wp-drone-title .wp-drone-animated-text:nth-child(9) { animation-delay: 3.0s; }
    .wp-drone-title .wp-drone-animated-text:nth-child(10) { animation-delay: 3.1s; }
    .wp-drone-title .wp-drone-animated-text:nth-child(11) { animation-delay: 3.2s; }
    .wp-drone-title .wp-drone-animated-text:nth-child(12) { animation-delay: 3.3s; }
    
    .wp-drone-subtitle .wp-drone-animated-text:nth-child(1) { animation-delay: 3.4s; }
    .wp-drone-subtitle .wp-drone-animated-text:nth-child(2) { animation-delay: 3.5s; }
    .wp-drone-subtitle .wp-drone-animated-text:nth-child(3) { animation-delay: 3.6s; }
    .wp-drone-subtitle .wp-drone-animated-text:nth-child(4) { animation-delay: 3.7s; }
    .wp-drone-subtitle .wp-drone-animated-text:nth-child(5) { animation-delay: 3.8s; }
    .wp-drone-subtitle .wp-drone-animated-text:nth-child(6) { animation-delay: 3.9s; }
    .wp-drone-subtitle .wp-drone-animated-text:nth-child(7) { animation-delay: 4.0s; }
    .wp-drone-subtitle .wp-drone-animated-text:nth-child(8) { animation-delay: 4.1s; }
    .wp-drone-subtitle .wp-drone-animated-text:nth-child(9) { animation-delay: 4.2s; }
    .wp-drone-subtitle .wp-drone-animated-text:nth-child(10) { animation-delay: 4.3s; }
    .wp-drone-subtitle .wp-drone-animated-text:nth-child(11) { animation-delay: 4.4s; }
    .wp-drone-subtitle .wp-drone-animated-text:nth-child(12) { animation-delay: 4.5s; }

    .wp-drone-main-content {
        background-color:#000;
        background-size: cover;
        background-position: center;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #fff;
        text-align: center;
    }
    



    
    .wp-drone-content {
        position: relative;
        z-index: 1;
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px 20px;
        text-align: center;
    }
    
    .wp-drone-title {
        font-size: 48px;
        color: #333;
        margin-bottom: 10px;
    }
    
    .wp-drone-subtitle {
        font-size: 24px;
        color: #666;
    }
    
    @media (prefers-reduced-motion: no-preference) {
        .wp-drone-floating-image {
            will-change: transform;
        }
    }

/* ==============================
   Instagramセクション（モバイルファースト）
   ============================== */
.instagram-section {
  background: #f8fafc;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* タイトル */
.instagram-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
}

/* サブタイトル（任意） */
.instagram-section .section-sub {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 2rem;
}

/* ==============================
   Instagramフィード本体
   ============================== */
.instagram-section #sb_instagram {
  max-width: 90%;
  margin: 0 auto;
}

/* 画像の丸み・影・ホバー効果 */
.instagram-section #sb_instagram .sbi_photo {
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-section #sb_instagram .sbi_photo:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.15);
}

/* ==============================
   ボタン（もっと見る・フォローする）
   ============================== */
#sb_instagram .sbi_follow_btn a
   {
    padding: 12px 16px;
    font-size:16px;
   }
/* ==============================
   スマホでは投稿6件だけ表示
   ============================== */
@media (max-width: 767px) {
  #sb_instagram .sbi_item:nth-child(n+7) {
    display: none;
  }
}

/* ==============================
   タブレット以上
   ============================== */
@media (min-width: 768px) {
  .instagram-section {
    padding: 80px 0;
  }
  .instagram-section h2 {
    font-size: 1.9rem;
    margin-bottom: 1.8rem;
  }
  .instagram-section #sb_instagram {
    max-width: 800px;
  }
}

/* ==============================
   デスクトップ
   ============================== */
@media (min-width: 1024px) {
  .instagram-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
  }
  .instagram-section h2 {
    font-size: 2.2rem;
  }
  .instagram-section #sb_instagram {
    max-width: 1000px;
  }
}
/* スマホ時に 7件目以降を隠す：Smash BalloonのどのDOMにも効くよう冗長指定 */
@media (max-width: 767px) {
  /* 代表的なラッパーID/クラスを全部カバー */
  .instagram-section #sb_instagram .sbi_item:nth-child(n+7),
  .instagram-section [id^="sb_instagram"] .sbi_item:nth-child(n+7),
  .instagram-section #sbi_images .sbi_item:nth-child(n+7),
  .instagram-section [id^="sbi_images"] .sbi_item:nth-child(n+7),
  .instagram-section .sbi_items .sbi_item:nth-child(n+7) {
    display: none !important;
  }
}

/*
/
/    代表挨拶
/
/
*/
/* ===========================
   代表挨拶（greeting）RITARM向け
   =========================== */
:root{
  --rit-ink:#0f172a;
  --rit-muted:#64748b;
  --rit-blue:#2563eb;
  --rit-bg:#f8fafc;
  --rit-card:#ffffff;
  --rit-ring:#e5e7eb;
  --rit-shadow:0 10px 28px rgba(2,6,23,.08);
}

.greeting{
  background: linear-gradient(to bottom, var(--rit-bg), #fff 60%);
  padding: 56px 18px;
  position: relative;
  overflow: hidden;
}

/* うっすら装飾（円とドット） */
.greeting::before,
.greeting::after{
  content:"";
  position:absolute; pointer-events:none; opacity:.08;
  border:2px solid var(--rit-blue); border-radius:999px;
}
.greeting::before{ width:140px; height:140px; top:-60px; left:6%; }
.greeting::after{ width:90px; height:90px; top:16px; left:calc(6% + 90px); }

.greeting__inner{
  max-width:1100px; margin:0 auto;
  display:grid; gap:28px;
  grid-template-columns: 1fr; /* モバイル：縦積み */
  align-items:start;
}

/* 写真 */
.greeting__media{
  display:flex; justify-content:center;
}
.greeting__media img{
  width:min(88vw, 320px); aspect-ratio:1/1; object-fit:cover;
  border-radius:999px;
  box-shadow: var(--rit-shadow);
  border:6px solid var(--rit-card);
}

/* テキスト */
.greeting__content{ color:var(--rit-ink); }
.greeting__kicker{
  display:inline-block; font-size:.9rem; font-weight:700; letter-spacing:.08em;
  color:var(--rit-blue); background:#eef2ff; padding:.35em .7em; border-radius:999px;
  margin-bottom:.6rem;
}
.greeting__title{
  font-size: clamp(28px, 6.5vw, 44px);
  line-height:1.15; margin:.1rem 0 1rem; font-weight:400;
}
.greeting__body{
  font-size:1rem; line-height:1.95; color:var(--rit-ink);
}
.greeting__body p{ margin:.85rem 0; }

/* 署名 */
.greeting__signature{
  display:flex; gap:.75rem; align-items:baseline; margin-top:1.25rem;
}
.greeting__role{
  color:var(--rit-muted); font-size:.95rem;
}
.greeting__name{
  font-weight:400; font-size:1.15rem;
}

/* 任意：CTA */
.greeting__cta{
  display:inline-block; margin-top:1.25rem;
  background:var(--rit-blue); color:#fff; text-decoration:none;
  padding:.75rem 1.2rem; border-radius:999px; font-weight:700;
  box-shadow:0 6px 16px rgba(37,99,235,.25); transition:.2s ease;
}
.greeting__cta:hover{ transform:translateY(-1px); background:#1d4ed8; }

/* ===========================
   タブレット〜
   =========================== */
@media (min-width: 768px){
  .greeting{ padding:72px 24px; }
  .greeting__inner{
    grid-template-columns: 420px 1fr; /* 写真左・文右 */
    gap:40px;
  }
  .greeting__media img{ width:420px; }
  .greeting__body{ font-size:1.05rem; }
}

/* ===========================
   デスクトップ
   =========================== */
@media (min-width: 1024px){
  .greeting{ padding:90px 28px; }
  .greeting__inner{ gap:56px; }
  .greeting__media img{ width:460px; border-width:8px; }
  .greeting__title{ font-size:48px; }
}

    
/*
/
/    お知らせ一覧ページのCSS
/
*/

.news-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 2em 1em;
  background: #fff;
  border-radius: 8px;
}

.news-list h1 {
  font-size: 2em;
  text-align: center;
  margin-bottom: 1em;
  border-bottom: 2px solid #56B7B5;
  padding-bottom: 0.5em;
}

.news-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list li {
  border-bottom: 1px solid #eee;
}

.news-list li:last-child {
  border-bottom: none;
}

.news-list a {
  text-decoration: none;
  color: #333;
  display: block;
  transition: color 0.2s;
}

.news-list a:hover {
  color: #56B7B5;
}

.news-list .date {
  font-size: 0.85em;
  color: #888;
  display: block;
  margin-bottom: 0.3em;
}

.news-list .title {
  font-size: 1.1em;
  font-weight: bold;
}

.pagination {
  text-align: center;
  margin-top: 2em;
}

.pagination .page-numbers {
  display: inline-block;
  margin: 0 5px;
  padding: 0.5em 0.8em;
  color: #333;
  text-decoration: none;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: all 0.2s;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background-color: #56B7B5;
  color: #fff;
  border-color: #56B7B5;
}

/*
/
/  施設・講師紹介ページ
/
*/
/* セクション共通 */
.facility-section,
.instructor-section {
  padding: 60px 20px;
  background: var(--rit-bg);
}

/* タイトル */
.facility-section .section-title,.instructor-section .section-title{
  font-size: 1.8rem;
  text-align: center;
  font-weight: 700;
  color: var(--rit-ink);
  margin-bottom: 18px;
  position: relative;
}
.facility-section .section-title::after,.instructor-section .section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--rit-blue);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* タイトル下の説明文（両セクション共通で使用） */
.facility-section .section-lead,.instructor-section .section-lead {
  text-align: center;
  font-size: 0.95rem;
  color: var(--rit-muted);
  line-height: 1.85;
  max-width: 720px;
  margin: 0 auto 36px;
  padding: 0 12px;
}

/* =========================
   施設紹介
   ========================= */
.facility-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;   /* モバイル1列 */
  max-width: 1100px;
  margin: 0 auto;
}

.facility-card {
  background: var(--rit-card);
  border-radius: var(--rit-radius);
  box-shadow: var(--rit-shadow);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}
.facility-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.facility-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--rit-ink);
  margin: 16px 0 8px;
}
.facility-card p {
  font-size: 0.95rem;
  color: var(--rit-muted);
  padding: 0 20px 20px;
  line-height: 1.7;
}

/* =========================
   講師紹介
   ========================= */
.instructor-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;   /* モバイル1列 */
  max-width: 1000px;
  margin: 0 auto;
}
.instructor-card {
  background: var(--rit-card);
  border-radius: var(--rit-radius);
  box-shadow: var(--rit-shadow);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.instructor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}
.instructor-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.instructor-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rit-ink);
  margin-top: 14px;
}
.instructor-card p {
  font-size: 0.9rem;
  color: var(--rit-muted);
  margin: 8px 16px 0;
  line-height: 1.6;
}

/* =========================
   レスポンシブ
   ========================= */
@media (min-width: 768px) {
  .facility-section,
  .instructor-section {
    padding: 80px 28px;
  }
  .facility-section .section-title,.instructor-section .section-title { font-size: 2rem; }
  .facility-section .section-lead,.instructor-section .section-lead {
    font-size: 1rem;
    margin-bottom: 42px;
  }

  .facility-grid { grid-template-columns: repeat(3, 1fr); }
  .instructor-grid { grid-template-columns: repeat(3, 1fr); }

  .facility-card img,
  .instructor-card img { height: 240px; }
}

@media (min-width: 1024px) {
  .facility-section,
  .instructor-section {
    padding: 96px 40px;
    background: linear-gradient(to bottom, var(--rit-bg) 0%, #ffffff 100%);
  }
  .facility-card img,
  .instructor-card img { height: 260px; }
}


/*
/
/ お知らせ詳細ページ用スタイル 
/
*/
.news-detail {
  max-width: 800px;
  margin: 0 auto;
  padding: 2em 1em;
  background: #fff;
  border-radius: 8px;
}

.news-title {
  font-size: 2em;
  margin-bottom: 0.5em;
  border-bottom: 2px solid #56B7B5;
  padding-bottom: 0.5em;
}

.news-date {
  color: #888;
  font-size: 0.9em;
  margin-bottom: 1.5em;
}

.news-content {
  line-height: 1.8;
  font-size: 1em;
  color: #333;
}

.news-content img {
  max-width: 100%;
  height: auto;
  margin: 1em 0;
}

.news-back {
  margin-top: 2em;
  text-align: right;
}

.news-back a {
  color: #56B7B5;
  text-decoration: none;
  border-bottom: 1px dotted #56B7B5;
  transition: all 0.2s;
}

.news-back a:hover {
  color: #333;
  border-color: #333;
}

/*
/
/  会社概要
/
*/

.company-body {      
  --main-color: #56B7B5;
  --text-color: #333;
  --section-bg: #ffffff;
  font-family: "Helvetica Neue", sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.8;
  font-size: 16px;
}

.page-header {
  background: linear-gradient(135deg, #56B7B5, #89D6D4);
  color: #fff;
  text-align: center;
  padding: 2.4rem 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index:-1;
}


.page-header h1 {
  font-size: 2.25rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  z-index: 1;
}

.page-header p {
  font-size: 1rem;
  opacity: 0.9;
  margin-top: 0.5rem;
  z-index: 1;
  letter-spacing: 0.1em;
}

.company-section {
  margin: 3rem 0;
  background-color: var(--section-bg);
  padding: 1rem 1.2rem;
  border-radius: 8px;
}

.company-section-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

.company-section-title h2 {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #222;
}

.company-section-title p {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
  display: inline-block;
  position: relative;
}

.company-section-title p::before,
.company-section-title p::after {
  content: "―";
  margin: 0 0.5em;
  color: #aaa;
}

.company-card {
  background-color: var(--section-bg);
  border-radius: 8px;
}
.company-card iframe{
  width:100%;
}

.company-card table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.company-card th,
.company-card td {
  text-align: left;
  padding: 0.75rem 0;
  border-bottom: 1px solid #ddd;
  font-size: 0.95rem;
}

.company-card th {
  width: 40%;
  color: #555;
  font-weight: 600;
}

.company-map {
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
}


@media screen and (min-width: 768px) {
  .company-body {
    font-size: 17px;
    padding: 0;
  }

  .page-header {
    padding: 2.1rem 1rem;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .company-section-title h2 {
    font-size: 2.5rem;
  }

  .company-section {
    max-width: 960px;
    margin: 4rem auto;
    padding: 2.5rem;
  }

  .company-card table th,
  .company-card table td {
    font-size: 1rem;
  }

  .company-map iframe {
    height: 350px;
  }
}
/*
/
/  わたしたちについて
/
/*
/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ベース */
body {
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Hero */
.aboutus-hero {
  position: relative;
  height: 60vh;
  overflow: hidden;
}

.aboutus-hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.aboutus-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.aboutus-hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}

/* ３つの特徴 */
.aboutus-features {
  background: #f9fafb;
  padding: 60px 20px;
}

.aboutus-features h2 {
  text-align: center;
  color: #0054b8;
  margin-bottom: 30px;
}

.aboutus-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.aboutus-features-item {
  flex: 1 1 280px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
}

.aboutus-features-item h3 {
  color: #0054b8;
  margin-bottom: 10px;
}

.aboutus-features-item p {
  color: #555;
}

/* コース紹介 */
.aboutus-courses {
  padding: 60px 20px;
}

/* 講師紹介 */
.aboutus-team {
  padding: 60px 20px;
}

/* 施設紹介 */
.aboutus-facilities {
  padding: 60px 20px;
  background: #fff;
}

.aboutus-facilities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.aboutus-facility-item {
  display: flex;
  align-items: flex-start;
  flex: 1 1 300px;
  gap: 12px;
}

.aboutus-facility-item img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}

.aboutus-facility-item div h4 {
  color: #0054b8;
  margin-bottom: 6px;
}

.aboutus-facility-item div p {
  color: #555;
  font-size: 0.95rem;
}

/* 受講者の声 */
.aboutus-testimonials {
  padding: 60px 20px;
  background: #f0f4ff;
}

.aboutus-testimonials-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.aboutus-testimonial-item blockquote {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 6px;
}

.aboutus-testimonial-item cite {
  display: block;
  text-align: right;
  font-size: 0.9rem;
  color: #555;
}

/* FAQ */
.aboutus-faq {
  padding: 60px 20px;
}

/* CTA */
.aboutus-cta {
  text-align: center;
  padding: 40px 20px;
}

.aboutus-cta a {
  background: #0054b8;
  color: #fff;
  padding: 15px 40px;
  border-radius: 30px;
}
/*
/
/  よくある質問
/
/
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');
.faq-section {
  padding: 3rem 1.5rem;
}
.faq-section .l-container {
  max-width: 1000px;
  margin: 0 auto;
}
.c-heading2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  font-family: 'Noto Sans JP', sans-serif;
  color: #003366;
}
.faq-section details {
  border-bottom: 1px solid #dcdcdc;
  padding: 1rem 0;
}
.faq-section summary {
  position: relative;
  padding-left: 2rem;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  color: #005baa;
}
.faq-section summary::marker {
  display: none;
}
.faq-section summary::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.2s ease;
  color: #005baa;
}
.faq-section details[open] summary::before {
  content: '−';
}
.faq-section p {
  margin-top: 0.75rem;
  margin-left: 2rem;
  line-height: 1.6;
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
}
/*
/
/  問い合わせ
/
*/
.contact-form-wrapper {
  max-width: 95%;
  margin: 0 auto;
  padding: 1.5em;
  background-color: #fefefe;
  border-radius: 8px;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 0.95em;
}

.contact-form-wrapper h2 {
  font-size: 1.4em;
  margin-bottom: 0.5em;
  color: #005bbb;
  text-align: center;
}

.contact-form-wrapper p {
  text-align: center;
  margin-bottom: 1.5em;
  color: #333;
}
.wpcf7{
  padding:0;
  background-color: #fff;;
}
.wpcf7-form {
  max-width: 95%;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 8px;
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 1em;
  line-height: 1.5;
}
.wpcf7-list-item {
    display: inline-block;
    margin: 1rem 0.2rem;
}

/* Labels */
.wpcf7-form label {
  display: block;
  margin-bottom: 0.75em;
  color: #333;
  font-weight: 500;
}

/* Required indicator */
.wpcf7-form label .required {
  color: #e53935;
  margin-left: 0.25em;
  font-size: 0.9em;
}

/* Text inputs, email, tel, textarea */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: 0.6em 0.8em;
  margin-top: 0.3em;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  background-color: #f9f9f9;
  font-size: 1em;
}

/* Textarea */
.wpcf7-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Checkbox container */
.wpcf7-form .wpcf7-checkbox,
.wpcf7-form .wpcf7-list-item {
  margin-bottom: 1em;
}

/* Checkbox labels */
.wpcf7-form input[type="checkbox"] {
  margin-right: 0.5em;
}

.wpcf7-form .wpcf7-checkbox label {
  display: flex;
  align-items: center;
  margin-bottom: 0.5em;
  font-weight: normal;
  color: #333;
}

/* Submit button */
.wpcf7-form input[type="submit"] {
  display: block;
  width: 100%;
  padding: 0.75em;
  background-color: #005bbb;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 1em;
}

.wpcf7-form input[type="submit"]:hover {
  background-color: #004299;
}

/* Response messages */
.wpcf7-response-output {
  margin-top: 1em;
  padding: 1em;
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
}

.wpcf7-form.sent .wpcf7-response-output {
  border: 1px solid #3c763d;
  background-color: #dff0d8;
  color: #3c763d;
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output {
  border: 1px solid #d9534f;
  background-color: #f2dede;
  color: #d9534f;
}

/* Desktop adjustments */
@media (min-width: 768px) {
  .wpcf7-form {
    max-width: 600px;
    padding: 2em;
  }
  .wpcf7-form input[type="submit"] {
    width: auto;
    margin: 1.5em auto 0;
    padding: 0.75em 2em;
  }
  .contact-form-wrapper {
    padding:4rem;
  }
}
/* ✅ 成功メッセージ（非遷移） */
.wpcf7 form.sent .wpcf7-response-output {
  border: 1px solid #3c763d;
  background-color: #dff0d8;
  color: #3c763d;
  padding: 1em;
  margin-top: 1em;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
}

/* ❌ エラー系メッセージ */
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
  border: 1px solid #d9534f;
  background-color: #f2dede;
  color: #d9534f;
  padding: 1em;
  margin-top: 1em;
  border-radius: 5px;
  font-weight: bold;
  text-align: center;
}

/*
/
/ プライバシーポリシー
/
*/
/* プライバシーポリシー用スタイル */
.privacy-policy {
  max-width: 960px;
  margin: 0 auto;
  padding: 60px 20px;
  font-family: "Yu Gothic", "游ゴシック体", sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.8;
}

.privacy-policy h1 {
  font-size: 2.2em;
  border-left: 5px solid #0077cc;
  padding-left: 15px;
  margin-bottom: 40px;
  color: #222;
}

.privacy-policy h2 {
  font-size: 1.5em;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 6px;
  color: #444;
}

.privacy-policy p {
  margin: 15px 0;
  font-size: 1.05em;
}

.privacy-policy ul {
  padding-left: 20px;
  margin: 15px 0;
}

.privacy-policy ul li {
  list-style-type: disc;
  margin: 8px 0;
}

@media screen and (max-width: 768px) {
  .privacy-policy {
    padding: 40px 15px;
  }

  .privacy-policy h1 {
    font-size: 1.6em;
  }

  .privacy-policy h2 {
    font-size: 1.2em;
  }
}
