* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html{
    scroll-behavior: smooth;
  }
  
  body {
    font-family: Arial, sans-serif;
    box-sizing: border-box;
  }

  a{
    text-decoration: none;
  }

  ul {
    list-style: none;
    padding: 0;
  }

  .pri-content ul{
    list-style-type: disc;
    list-style-position: inside; 
  }

  input,
  textarea {
    width: 100%;
    padding: 16px 20px;
    line-height: 1.8;
    border: 1px solid #d5dee8;
    background-color: #FCFCFD;
    border-radius: 4px;
    outline: none;
    font-size: 16px;
    color: #2B546A;
  }

  input:focus,
  textarea:focus {
    border-color: #b6c4d2;
  }
  
  input:hover,
  textarea:hover {
    border-color: #b6c4d2;
    box-shadow: 0px 0px 12px 1px rgba(160, 195, 247, 0.2);
  }

  input[type="submit"] {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    background-color: #4CCFC9;
    height: 54px;
    padding: 0 90px;
    border-radius: 27px;
    width: 60%;
    display: block;
    margin: 80px auto 0;
  }

  input[type="submit"]:hover {
    background-color: #2DC2BC;
    cursor: pointer;
  }

/*ヘッダー*/ 
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*background-color: #f4f4f4;*/
    background-color: rgb(226, 223, 223,1);
    padding: 5px 20px;/*ヘッダーの高さ*/
    border-bottom: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width:100%;/*追加分*/
    /*opacity: 0.8;ヘッダーの透明化*/
    position:fixed;
    top:0;
    z-index:10;
  }

  .header-left {
    display: flex;
    align-items: center;
    margin-right: 0; /* タイトルとタブの間隔を調整 */
  }
  
  .header-left h1 {
    font-size: 24px;
    margin-right: 20px;
  }

  .header-nav {
    margin-left: 0; /* タイトルとタブの間隔を調整 */
  }
  
  .header-nav ul {
    display: flex;
    list-style-type: none;
  }
  
  .header-nav ul li {
    margin:0 2px;
    border-right: 1px solid #ccc; /* タブ間の区切り線 */
    border-left:1px solid #ccc;
  }
  
  .header-nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .header-nav ul li a i {
    font-size: 20px; /* アイコンのサイズ */
    margin-bottom: 5px; /* アイコンとテキストの間に余白 */
  }
  
  .header-nav ul li a:hover {
    background-color: #7d8996;
    color: white;
    border-radius: 5px;
  }

  .mobile-list{
    display:none;
  }

/*アイコンと文字の間隔*/
  .top-head{
    padding-top: 1px;
  }

  .list-head{
    padding-top: 1.5px;
  }

  .new-head{
    padding-top: 1.5px;
  }

  .question-head{
    padding-top: 3px;
  }

  .form-head{
    padding-top: 1px;
  }
/*↑ここまで*/

  .header-right {
    display: flex;
    align-items: center;
  }
  
  .register-btn,.login-btn {
    /*margin-left: 15px;*/
    margin-right: 30px;
    padding: 10px 15px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .register-btn{
    background-color: #0056b3;
  }
  
  .register-btn:hover, .login-btn:hover {
    opacity: 0.7;
  }


/*メイン*/
.top-container{
  width:1170px;
  padding:0 15px;
  margin:0 auto;
  /*background-color: rgba(247, 231, 231, 0.717);*/
}

.top-wrapper{
  padding:280px 0 100px 0;
  background-image: url(../images/toumei07.png),linear-gradient(90deg, rgba(141, 139, 226, 1), rgba(253, 187, 203, 1));
  background-size:cover;
  color:black;
  text-align: center;
}

.top-wrapper h1{
  font-size:45px;
  letter-spacing:5px;
  padding-bottom: 30px;
}

.top-wrapper h2{
  font-size: 35px;
  letter-spacing: 5px;
  padding-bottom: 50px;
}

.top-wrapper p{
  font-size: 15px;
  padding-bottom: 10px;
}

.select-container{
background-image: linear-gradient(90deg, rgba(168, 202, 240, 1), rgba(233, 240, 250, 1));
}

.block-heading{
padding:50px 0 20px 0;
color:#5f5d60;
text-align: center;
}

.block-heading h2{
font-weight: normal;
font-size: 32px;
}

.block-section {
display: flex;
justify-content: space-around;
padding: 40px;
}

.block {
background-color: #f0f0f0;
border-radius: 10px;
text-align: center;
width: 30%;
padding: 20px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.block img {
max-width: 100%;
height: 220px;
border-radius: 10px;
}

.block h4 {
font-size: 1.5em;
margin: 20px 0 10px;
}

.block p {
font-size: 1em;
color: #555;
margin-bottom: 20px;
}

.block-btn {
padding: 10px 20px;
background-color: #007bff;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}

.block-btn:hover {
background-color: #0056b3;
}


/*一覧*/
.page-grid {
  margin: 20px;
  padding-top:100px;
}

.page-grid h1{
  font-size: 35px;
}

.page-items {
  display: flex; 
  flex-wrap: wrap; 
  justify-content: space-between; 
}

.page-items-data{
  display:block;
}

.page-items-data h2{
  color: #000;  
}

.page-item {
  flex: 1 1 calc(33.333% - 20px); 
  flex-grow: 0; 
  margin: 10px; 
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #ccc; 
  border-radius: 8px; 
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
  background-color: #f9f9f9; 
  transition: transform 0.2s; 
}

.page-item:hover {
  transform: scale(1.05); 
}

.page-item h2 {
  font-size: 1.2em;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: center;
  font-weight: 600;
}

.page-item a {
  text-decoration: none;
  color: #333;
}

.page-item a:hover {
  text-decoration: underline;
}

.page-item p{
  font-size: 0.9em;
  text-align: center;
}

.page-thumbnail img {
  width: 100%; 
  height: auto;
  border-radius: 8px; 
}

.page-excerpt {
  margin-top: 10px;
  font-size: 0.9em;
  color: #666;
}

.tabs {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 35px;
  display: flex;
  border-bottom: 2px solid #ddd;
}

.tabs li {
  padding: 10px 20px;
  cursor: pointer;
  border: 1px solid #ddd;
  border-bottom: none;
  margin-right: 5px;
  background-color: #f9f9f9;
}

.tabs li.current {
  background-color: #fff;
  border-bottom: 2px solid #fff;
  font-weight: bold;
}

.tab-content {
  display: none;
  padding: 20px;
  border: 1px solid #ddd;
  margin-top: -1px;
  background-color: #fff;
}

.tab-content.current {
  display: block;
}

/*一覧のメモ欄*/
#clearButton {
  display: block;
  margin: 20px auto;
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

#clearButton:hover {
  background-color: #0056b3;
}

/*新メモリスト*/
#tab-memo ul li{
  background: #f4f4f4;
  margin: 10px 0;
  padding: 10px 15px;
  border-left: 4px solid #4CAF50;
  border-radius: 4px;
  font-size: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 削除ボタン */
.deleteButton {
  background-color: #e53935;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.deleteButton:hover {
  background-color: #d32f2f;
}

/*保存ボタン*/
.saveButton {
  background-color: #2196F3;
  color: white;
  border: none;
  padding: 5px 10px;
  margin-right: 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.saveButton:hover {
  background-color: #1976D2;
}

.buttonContainer {
  display: flex;
  justify-content: flex-end;
  gap: 10px; 
}

/* 保存日時 */
.timestamp {
  font-size: 0.9rem;
  padding-top:1rem;
  color: #555;
  margin-right: 10px;
}


/*問い合わせ*/
.form-main{
  background-color: #f9f9f9f3;
}

.form-title{
  padding-top: 100px;
  padding-bottom: 20px;
  text-align: center;
}

.form-title h1{
  font-size: 32px;
  font-weight: 700;
  padding: 2rem;
}

.form-title p{
  font-size: 16px;
}

.form-container{
  margin: 0px 100px;
  padding: 30px;
  background-color: #F6FAFF;
}


/*問い合わせ*/
.form-main{
  background-color: #f9f9f9f3;
}

.form-title{
  padding-top: 100px;
  padding-bottom: 20px;
  text-align: center;
}

.form-title h1{
  padding: 1rem;
}

.form-container{
  margin: 0px 100px;
  padding: 30px;
  background-color: #e6f1fe;
}

.blankline{
  height: 20px;
}


/*プライバシーポリシー*/
 .pri-container {
  padding: 100px;
  background-color: #f9f9f9;
 }

 .pri-container h1{
  font-size: 34px;
  font-weight: 700; 
  padding-bottom: 10px;
 }

 .pri-container h2{
  padding-top: 25px;
 }

 .pri-container p{
  padding:10px 20px 10px;
 }

 .pri-container li{
  padding:5px 40px 10px;
 }

 .pri-title{
  border-bottom: 1px solid #555;
 }

 .pri-content a{
  color: #007bff;  
 }

 .pri-content a:hover{
  text-decoration: underline;
 }

 
 /*フッター*/
footer {
  background-color: #333;  
  color: #fff;              
  padding: 10px 0;  
  font-size: small;       
}

.footer-content {
  margin: 0 auto; 
  text-align: center;
}


footer ul {
  padding: 0;
}

footer ul li {
  display: inline;   
  margin: 0 10px;           
}

footer ul li a {
  color: #fff;
}

footer ul li a:hover {
  text-decoration: underline; 
}

/*初めての方へ*/
.intro-main{
  display: flex;
  margin-top: 50px;
  height: auto;
  background-color: #e4edf5;
 }

 .intro-main p{
  margin-bottom: 25px;
 }

 .intro-main [id]{
  scroll-margin-top: 70px; 
 }

 .intro-content{
  padding:70px;
 }

 .intro-title h2{
  padding: 10px 10px 20px;
 }

 .intro-detail{
  font-size:16px;
  padding: 30px 40px 10px;
  margin-bottom: 70px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
 }

 .intro-detail-img{
  display: block; 
  margin: auto;
  margin-bottom: 25px;
 }

 .intro-detail-img img{
  border: 1px solid #4e4d4d; 
 }

 .intro-img-mobile{
  display:none;
 }

 .intro-detail-icon{
  font-size: 26px;
  text-align: center;
 }



/* サイドバー */
.sidebar {
  width: 280px;
  padding: 50px 20px;
  margin-top: 30px;
  background-color: #f4f4f4;
  border-left: 1px solid #ddd;
  position: sticky;
  top: 70px; 
  height: 100vh;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

.sidebar h3 {
  font-size: 18px;
  margin-top: 0;
}

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

.sidebar ul li {
  margin: 10px 0;
}

.sidebar ul li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  transition: color 0.3s;
}

.sidebar ul li a:hover {
  color: #0073e6; /* ホバー時の色 */
}

/*モバイル端末の設定*/

.mobile-mokuji{
  display: none;
  width:100%;
  background-color: #f4f4f4;
  text-align: center;
  margin-bottom: 2rem;
}

.mobile-mokuji h3 {
  font-size: 18px;
  margin-top: 0;
}

.mobile-mokuji ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.mobile-mokuji ul li {
  margin: 10px 0;
}

.mobile-mokuji ul li a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  transition: color 0.3s;
}

.mobile-mokuji ul li a:hover {
  color: #0073e6; /* ホバー時の色 */
}


/*Q&A*/
.qa-main{
  display: flex;
  margin-top: 50px;
  height: auto;
  background-color: #e4edf5;
 }

 .qa-main p{
  margin-bottom: 25px;
 }

 .qa-content{
  padding:70px;
 }

 .qa-title h2{
  padding: 10px 10px 20px;
 }

 .qa-detail{
  font-size:16px;
  padding: 30px 40px 10px;
  margin-bottom: 70px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
 }

 .qa-detail-img{
  display: block; 
  margin: auto;
  margin-bottom: 25px;
 }

 .qa-detail-img img{
  border: 1px solid #4e4d4d; 
 }

 .qa-detail-icon{
  font-size: 26px;
  text-align: center;
 }

 /*ログインページ*/
 .sign {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 30px;
  margin: 80px 0;
  width: 100%;
  height: 100%;
}

.sign-form {
  background-color: #F6FAFF;
  padding: 40px 80px 40px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
  width:550px;
}

.sign-form h2 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}

.sign-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #555;
}

.sign-form input[type="text"],
.sign-form input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px;
}

.sign-form button.my_submit_btn {
  width: 100%;
  padding: 10px 0;
  margin-top: 20px;
  background-color: #0073aa;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.sign-form button.my_submit_btn:hover {
  background-color: #005f8b; 
}


/* スライド全体のレイアウト */
.slide-container {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 20px; /* スライドとボタンの間隔 */
  padding: 1rem;
  padding-top: 80px;
  box-sizing: border-box;
  background-color: #d3cecee8;
}

.slide-container h2 {
  border-bottom: 2px solid #333;
  padding-top: 1rem;
  padding-bottom: 3px;
  margin-bottom: 1rem;
}

.left-blank-content{
  flex: 1;
  margin-bottom: 17rem;
}

.slide-manual h3,
.manual-blank{
   padding-bottom: 1rem;
}

/* スライドエリア */
.slide-content {
  flex: 4; /* 全体の3/4を占める */
  max-width: 850px;
}

/*Swiperスタイル調整 */
.swiper {
  width: 853px;
  height: 480px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.swiper-wrapper {
  width: 100%;
  height: 500px;
}

  .swiper-slide {
  color: #ffffff;
  width: 100%;
  height: 100%;
  text-align: center;
  line-height: 500px;
}

/* Swiperボタン */
.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Swiperページネーション */
.swiper-pagination-bullet {
  background: #007bff;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #0056b3;
}

/* ボタンエリア */
.next-page-container {
  flex: 1; /* 全体の1/4を占める */
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
}

.back-list-button,
#next-page-btn {
  display: none; /* 初期状態では非表示 */
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.back-list-button{
  display: block;
  margin-right: 0.5rem;
  margin: 0.5rem;
  background-color: #0056b3;
}

.back-list-button:hover{
  background-color:rgb(0, 179, 255);
  transform: scale(1.05);
}

#next-page-btn:hover {
  background-color:rgb(179, 0, 152);
  transform: scale(1.05);
}

.back-list-button:active,
#next-page-btn:active {
  transform: scale(0.95);
}


/*新動画ページ*/
/* 全体レイアウトのスタイル */
.video-main {
  padding: 1rem 3rem;
  padding-top: 100px;
  background-color: #cfdded;
}

.video-title {
  border-bottom: 2px solid #333;
  padding-bottom: 3px;
  margin-bottom: 1rem;
}

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  /*gap: 20px;*/
}

.memo-container{
  display: flex;
}

.video-content {
  /*flex: 9;*/
  text-align: center;
  margin: auto;
}

.video-memo {
  /*flex: 1;*/
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.memo-title{
  display: none;
}

#toggleButton {
  padding: 10px 15px;
  font-size: 16px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#toggleButton:hover {
  background-color: #0056b3;
}

#memo {
  width: 110%;
  height: 23rem;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: block; /* 初期状態で非表示 */
}

#saveMemo {
  padding: 10px 15px;
  margin: 8px;
  font-size: 14px;
  font-weight: 800;
  background-color: #28A745;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: block; /* 初期状態で非表示 */
}

#saveMemo:hover {
  background-color: #1e7e34;
}


.video-memo-mobile{
  display: none;
}















