@charset "UTF-8";
/* CSS Document */
/*ブレイクポイント　1000px, 600px, 500px, 320px*/

/*ーーーーーーーーーーーーーーーーーーーーーーーースマホ縦　599以下ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
@media(max-width:599px) {

body{
    width: 100%;
    margin: 0vw;
    position: relative;
    overflow-x: hidden;
    background-color:rgba(123,120,133,1.00);
}

    /*header ロゴアコーディオン用CSS　ここから*/
header{
    width: 100%;
    margin: 0vw;
    z-index: 99;
    display: block;
    /*background-color: brown; */
}
    
.logo-menu{
    display: none;
}
    
.logo-menu2{
    display: block;
    widows: 100%;
    margin: 0vw;
    position: relative;
}

.acd-check{
  display: none;
    position: absolute;
    right: 20vw;
}


.acd-content li{
  list-style: none;
  margin: 1.2rem 0; 
  text-align: center;
  
  font-family: "Plantagenet Cherokee", "Book Antiqua", Palatino, "serif";
  font-size: 1.3rem; 
}
    
    
main{
    width: 100%;
    margin: 20vw 0vw 0vw 0vw;
    position: relative;
    left: 0vw;
    
    /*background-color: wheat;*/

}

main h1{
    color: aliceblue;
    position: relative;
    right: 0vw;
    box-sizing: border-box;
    margin:  0vw auto 8vw auto;
    
    font-family: "Plantagenet Cherokee", "Book Antiqua", Palatino, "serif";
    font-weight: 100;
    font-size: 8vw;
    
    /*background-color: slategray;*/
}


/*ーーーーー　タブメニューCSS　ここから　ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
/*タブ切り替え全体のスタイル*/
.tabs {  
  width: 95%; /* 画面幅いっぱいに広げすぎず、少し余白を持たせる */
  margin: 0 auto;
  padding: 0rem 0 1rem 0;
  position: relative; 
  text-align: center;
}    
    
.tabs2{
  display: flex;
  flex-direction: column; 
    
  width: 60%;
  margin-left: auto; 
  margin-right: auto;   
  margin-bottom: 1rem; 
  gap: 0.5rem;     
  padding: 0;
}    
    
/*タブのスタイル*/
.tab_item {
  border: 1px solid rgba(255,255,255,0.00);
  border-radius: 5rem;
  padding: 0.5rem 0.5rem; /* タップ領域 */

  margin: 0 0 0.5rem 0; /* 下の余白のみ remで指定 */
  display: block;
  text-align: center;     
  
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: bold;
  font-size: 0.8rem; 
  color: rgba(255,255,255,1.00);
    
  background-color: rgba(84,82,90,1.00);         
   
  transition: all 0.2s ease;
  cursor: pointer;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
  display: none;
  padding: 0;
  clear: both;
  overflow: hidden;
  width: 100%;
  margin: 0 auto 2rem auto; /* remに変更 */
  position: relative;
}

.tab_content_description{
    /* background-color: rgba(81,0,25,1.00); */
}
    
#care1:checked ~ .tabs2 .tab_item[for="care1"],
#care2:checked ~ .tabs2 .tab_item[for="care2"],
#care3:checked ~ .tabs2 .tab_item[for="care3"],
#care4:checked ~ .tabs2 .tab_item[for="care4"] {
  display: block;    
  color: #fff;
  border: 0.1vw solid rgba(255,255,255,1.00);
  border-radius: 5rem;
  background-color:rgba(160,148,160,1.00);  
}    
    
/*選択されているタブのコンテンツのみを表示 (セレクタはそのまま機能します) */
#top-news:checked ~ #top-news_content,
#year2021:checked ~ #year2021_content,
#year2022:checked ~ #year2022_content,
#year2023:checked ~ #year2023_content {
  display: block;
}


/*ーーーーー　タブメニューCSS　ここまで　ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/


/*ーーー　「chapter-1」中身　ここからーーー*/
.chapter{
    width: 90%; /* 80%から少し広げて見やすく */
    /* 中央寄せには margin-left/right: auto; display: block; が確実 */
    margin: 0 auto 1rem auto; /* rem単位に変更 */
    display: block; /* inline-blockではなくblockで中央寄せを安定させる */
    text-align: center;
    color: aliceblue;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
    
    /* background-color: rgba(0,139,148,1.00); */
}
    
.chapter h2{
    padding: 0.6rem 2rem; /* vwからremに変更 */
    margin-top: 1.5rem; /* vwからremに変更 */
    font-size: 0.9rem; /* vwからremに変更 */
    border-radius: 5rem; /* vwからremに変更 */
    border: 0.1vw solid rgba(255,255,255,1.00);
}

.chapter h3{
    padding: 0.5rem; /* vwからremに変更 */
    margin-top: 1.5rem; /* vwからremに変更 */
    font-size: 0.8rem; /* vwからremに変更 */
    border-radius: 0.3rem; /* vwからremに変更 */
    /* background-color: blue; */
}
    
    
.chapter p{
    display: inline-block; 
    font-weight: 100;
    font-size: 0.7rem; 
    width: auto; 
    
    margin: 1rem 0; 
    padding: 0;
    
    text-align: left; 
}
    
.list{
    /* vw から rem/px に変更 */
    border-radius: 1rem; 
    /* 背景色はそのまま */
    background-color:rgba(160,148,160,1.00);
    /* .video-containerやp.anotherが内側に来るように、親要素として機能させる */
    padding: 1rem; /* 内側の余白を追加 */
    
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%; 
}    
    
.video-container {
 position: relative;
  /* 幅を90%に設定 */
  width: 90%; 
  
  /* 中央に配置するために左右マージンをautoに設定 */
  margin: 1rem auto 2rem auto; 

  /* 90%幅の時の16:9のアスペクト比を維持するためのpadding-top */
  padding-top: 50.625%; 
  
  height: 0;
  overflow: hidden;
}


/*ーーー　「chapter-1」中身　ここまでーーー*/


p.another{
    width: 80%;
    margin: 0rem auto 0rem auto;

    color: aliceblue;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
    font-size: 2.8vw;
    
    border: 0.1vw solid rgba(255,255,255,0.50);
    padding: 0.5rem;
    
    display: inline-block;
}


.br-599{
    display: block;    
}
    
.br-1024{
    display: none;
}    


footer{
    padding: 0vw 0vw; /*これによってフッターの幅や位置をを最終決定している */
    margin-top: 5vw;
    position: relative;
    top: 0%;
    width: 100%;
    height: 147vw;
    background-color: rgba(84,82,90,1.00);
    z-index: 30;
   
}

.contact-icon{
    width: 100%;
    margin: 0vw;    
    position: relative;
    top: 10vw;
    left: 0vw;
    text-align: center;
    
    /*background-color: violet;*/
}

.contact-icon a{
    /*background-color: aqua;    メンテ用*/
    padding: 1vw 0vw 0vw 0vw;
    margin: 0vw 1vw;
    
    /*background-color: darkviolet;*/
    
}

.contact-icon img{
    width: 8%;
    margin: 0vw 5vw;
}

.footer-menu-list{
    width: 100%;
    margin: 0vw;    
    position: relative;
    top: 18vw;
    left: 0vw;
    text-align: center;
    
    /*background-color: lime;*/
}

.footer-menu-list li{
    width: 100%;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
    color: aliceblue;
    font-size: 3.5vw;
    list-style: none;
    float: none;
    margin: 3vw 0vw;
    text-align: center;
    
    /*background-color: rgba(255,244,0,1.00);    メンテ用*/
}

.footer-menu-list a{
    text-decoration: none; /*リンク下のバーを消す*/
    color: aliceblue; /*リンク文字の色変更用*/

    /*background-color: brown;    メンテ用*/

}

.copyright{
    margin: 0vw 0vw 7vw 0vw;
    position: relative;
    top: 25vw;
    
    /*background-color: rgba(125,68,28,0.50);*/
}

.copyright p{
    width: 100%;
    font-size: 3vw;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
    
    /*background-color: rgba(140,180,60,0.50);*/
}    
    
.footer-logo{
    width: 100%;
    margin: 0vw;
    position: relative;
    top: 25vw;
    left: 0vw;
    text-align: center;
    
    /*background-color: black;*/
}

.footer-logo img{
    width: 17%;
    position: relative;
    left: 0vw;
}

.c-mark{
    width: 100%;
    margin: 0vw;
    position: relative;
    top: 26vw;
    left: 0vw;
    font-size: 2vw;
    color: rgba(255,255,255,1.00);
    
    /*background-color: lightsalmon;*/
}
    
}
/*ーーーーーーーーーーーーーーーーーーーーーーーースマホ縦　500以下ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/



/*ーーーーーーーーーーーーーーーーーーーーーーーー小型スマホ縦　320以下ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
@media(max-width:320px) {
  
}
/*ーーーーーーーーーーーーーーーーーーーーーーーー小型スマホ縦　320以下ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
