@charset "UTF-8";

/* 共通部分
---------------------------------------------*/
html {
               font-size: 100%;
}
body {
              font-family: "Times New Roman","Yu Gothic Medium", "游Gothic Medium", "YuGothic","游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
        line-height: 1.7;
              color: #432;
}
a ｛
　　　　text-decoration: none;
}
img {
   max-width: 100%;
 }

/*ヘッダー
---------------------------------------------*/
.logo {
                 width: 80px;
                 margin-top: 10px;
}

/*ナビを装飾
---------------------------------------------*/

.main-nav {
               display: flex;
               font-size: 1.25rem;
               text-transform: uppercase;
               margin-top: 34px;
               list-style: none;
}
.main-nav li {
              margin-left: 36px;
}
.main-nav a {
             color: #432;
}
.main-nav a:hover {
             color: #obd;
}

/*ロゴとナビメニューを横並びに
------------------------------------------*/
.page-header {
         display: flex;
         justify-content:space-between;
}



/*cccpに貼り付け*/
/* Global Menu */
 
header{
    margin-top:7rem;
    margin-bottom: 13em;
    position: relative;
    width: 100%;
    background-color: #f67690;
}
ul>li{
    display: inline-block;
}
ul>li> a{
    padding: 15px 30px;
    display: block;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: .2em;
}
ul>li>span{
    margin-left: 1.2em;
}
ul>li:hover>a{
    background-color:#ffbf1f;
    color: #444;
}
 
/* サブメニュー　 */
 
ul li ul{
    position: absolute;
    top: 50px;
    opacity:1 ; /*真下に展開*/
}
ul li ul li{
    display: block;
}
ul li ul li a{
    background-color: black;
    color: white;
}
ul li ul li a:hover{
    background-color: red;
}

.page-wrapper ul li ul li{
    height: 0;
    overflow: hidden;
}
.page-wrapper ul li:hover ul li{
    height: auto; /*サブメニューの高さ*/
    overflow: visible;
}

.page-wrapper{  /*ロゴとメニューを横並びに*/
    display: flex;
    justify-content:space-between;
   max-width: 100%;
   margin: 0 auto;
  padding: 0 4%;
}






/*ここまでcccpに貼り付け*/



/*ロゴとナビメニューの離れすぎを防ぐ
---------------------------------------------*/
.wrapper {
           max-width: 1100px; /*記事の横幅はこれにおさまる。もとは1100ｐｘ*/
           margin: 0 auto;
           padding: 0 4%;
}

/*ホーム画面の文章配置調整
--------------------------------------------*/
.home-content {
         text-align: center;
        margin-top: 10%;
}
.home-content p {
       font-size : 1.125rem;
       margin: 10px 0 42px;
}

/*見出し
--------------------------------------------ok*/
.page-title {
        font-size: 3rem;
        font-family: 'Times New Roman', serif;
       text-transform: uppercase;
       font-weight: bold;
       color:red;
}
 
/*ボタン
-------------------------------------------ok*/
.button {
      font-size: 1.375rem;
      background: #ffbf1f;
      color: #fff;
      border-radius: 4px;
     padding: 10px 20px;
}
 
.button:hover {
      background: #f67690;
}

/*ここまでボタン*/



/*大きな背景写真
-----------------------------------*/
.big-bg {
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

/*音楽のトップページ背景*　ニュースと色を反対にすれば？/
#news {
background-image: url(../images/music.bg.png);
min-height:100vh;
}

.menu-content {
 max-width:560px;
margin-top:10%;
}
.menu-content .page title{
text-align:center;
}
.menu-content p{
font-size: 1.125rem;
margin:10px 0 0;
}

/*メニューここまで*/


/*ここからはニュース、音楽の中身背景。トップページではない
------------------------------------------------*/

#news {
     background: #ffbf1f;/*イラストにすれば？*/
     height: 270px;
     margin-bottom:40px;
}
#news .page-title {
   text-align: center;
}
 
#music {
     background: #ffbf1f;
     height: 270px;
     margin-bottom:40px;
}
#music .page-title {
   text-align: center;
}
  

#outline {
     background: #ffbf1f;
     height: 270px;
     margin-bottom:40px;
}
#outline .page-title {
   text-align: center;
}
  




  

/*フッター
------------------------------------------------*/

footer {
     background: #432;
     text-align: center;/*左右について中央寄せ*/
     padding: 18px 0;
    bottom: 0 ; /*下に固定*/
    width: 100%; /*フッターの幅*/ 
}
footer p {
     color: #fff;
     font-size: 0.875rem;
}


/*記事部分
------------------------------------------------*/
article {
       width: 74%;
}
article  {
        background: #ffbf1f; /*記事部分の背景色だけ変える*/
}

/*サイドバー
------------------------------------------------*/

aside {
       width: 22%;
}
aside  {
        background: #dbedf0; /*記事部分の背景色だけ変える*/
}

/*ニュースのページflexboxでサイドバーを横並びに. 消さないで
------------------------------------------------------------------------*/
.news-contents {
      display:flex;
      justify-content: space-between;
      margin-bottom: 50px;
}
/*音楽のページ　flexboxでサイドバーを横並びに
-------------------------------------------------------------------------*/
.music-contents {
      display:flex;
      justify-content: space-between;
      margin-bottom: 20px;
}


/*更新日の日付など*/

.post-info {
        position: relative;
        padding-top: 4px;
       margin-bottom: 40px;
}  

/*日付部分の装飾　boder-radiusで円形に*/
.post-date {
       background: #f00a5dd;
       border-radius: 50%;
       color: #000;
       width: 100px;
       height:100px;
       font-size: 1.625rem;
       text-align: center;
       position: absolute;
       top: 0;
       padding-top:10px;
}

/*月日と年の間に薄く水平線を入れる*/
.post-date span {
       font-size: 1rem;
       border-top 1px rgba（255,255,255,.5）solid;
       padding-top: 6px;
       display: block;
       width: 60%;
       margin: 0 auto;
}

/*タイトルとカテゴリーを装飾*/
.post-title {
   font-family: "Yu Mincho", "Yumincho", serif;
   font-size: 2rem;
   font-weight: normal;
}
.post-title,
.post-cat {
   margin-left: 120px;
}


/*画像と本文に余白を足す*/
article img {
   width: 157px;
   height: 157px;
   object-fit: cover;
   margin-bottom:　50px;
}
article p {
      margin-bottom: 1rem;
     text-align: left;
}


/*サイドバー*/
.sub-title {
     font-size: 1rem;
     padding: 0 8px 8px;
     border-bottom:2px #f67690 solid;
     font-weight: normal;
}

aside p {
    padding: 12px 10px;
}

/*サイドバーの丸い点をなくす。どうでもいいかも*/
.sub-menu {
   margin-bottom: 60px;
   list-style: none;
}
.sub-menu li {
            border-bottom: 1px #ddd solid;
}
.sub-menu a {
          color: #432;
          padding:  10px;
         display: block;
}
.sub-menu a:hover {
         color: #0bd;
}

/*デバイスに合わせてスタイル・サイズを変更する
--------------------------------------------------------------------*/
/*この場合、0～600pxの画面サイズでみるとｈ1が青い文字色になる*/
@media (max-width: 600px) {
            h1{
                   color: #0bd;
                 }
}

/*モバイル版
--------------------------------------------------------------------*/
@media (max-width: 600px) {
         .page-title{
                         font-size: 2.5rem;
                }
        .page-header{     /*スマホではロゴとナビゲーションメニューを縦に並べてみる*/
                  flex-direction:column;
                  align-items: conter;
                }

        #news .page-title {
                  margin-top: 30px;
               }
        aside    {
                 margin-top:60px;
               }
         .post-info{
                 margin-bottom: 30px;
              }
          .post-date {
                 width: 70px;
　　　　　　 height: 70px;
                 font-size: 1rem;
              }
           .post-date span {
                  font-size: 0.875rem;
                  padding-top: 2px;
              }
            .post-title {
                    font-size: 1.375rem;
              }
            .post-cat {
                      font-size: 0.875rem;
                      margin-top: 10px;
              }
            .post-title,
            .post-cat {
                      margin-left: 80px;
             }

         .news-contents {
                  flex-direction: column;
                }
           article,
           aside {
                      width: 100%;
                 }


/*コンタクトのモバイル版
-----------------------------------------------*/
#contact .page-title{
margin-top:40px;
}
input[type="text"],
input[type="email"],
textarea{
max-width:100%;
}
}



/*タイル式menuモバイル版----------------*/
            .menu-content {
           margin-top: 20%
             }
     }


.big-box {
    grid-column: auto;
    grid-row: auto;
}
.big-box img {
   height: 100%;
}





/*ヘッダー---------------------------*/

          .main-nav {|
                         font-size: 1rem;
                         margin-top: 10px;
     }
          .main-nav li {
                          margin: 0 20px;
     }

/*ホーム-------------------*/
           .home-content {
                             margin-top: 20%;
     }
}

/*ニュースページも縦に調整する
-------------------------------------------------------------------------------*/

/*コンタクト画面背景 なんじゃ？
-----------------------------------------------------------------------------*/
#contact {
        background-image:url(../images/nature2.jpeg);
        min-height:100vh;
}
.oops {
     background: #432;
     text-align: center;/*左右について中央寄せ*/
     bottom: 0 ; /*下に固定*/
    width: 100%; /*フッターの幅*/ 
    padding: 26px 0;
}

.oops p {
     color: #fff;
     font-size: 0.875rem;
}
/*ここまで. これがないと音楽のトップページの背景画像が消えてしまう。。。*/




/*タイル式menuの装飾 日本語ページ
-----------------------------------------------------*/





/*音楽ページのトップ*/
#musictop {
   background-image:url(../images/music.png);
   min-height:100vh;
}
.menu-content {
    max-width:560px;
    margin-top: 10%;
}
.menu-content .page-title{
    text-align: center;
}
.menu-content p {
    font--size: 1.25rem;
    margin:10px 0 0;
}

/*日本語ページのトップ*/
#languagetop {
   background-image:url(../images/japan.png);
   min-height:100vh;
}
.menu-content {
    max-width:560px;
    margin-top: 10%;
}
.menu-content .page-title{
    text-align: center;
}
.menu-content p {
    font--size: 1.25rem;
    margin:10px 0 0;
}

/*トリビアページのトップ*/
#triviatop {
   background-image:url(../images/dark.png);
   min-height:100vh;/*大きな背景の、上からの高さ*/
}
.menu-content {
    max-width:560px;
    margin-top: 10%;
}
.menu-content .page-title{
    text-align: center;
}
.menu-content p {
    font--size: 1.25rem;
　   margin:10px 0 0;
}

/*ニュースページのトップ*/
#newstop {
   background-image:url(../images/news.png);
   min-height:100vh;/*大きな背景の、上からの高さ*/
}
.menu-content {
    max-width:560px;
    margin-top: 10%;
}
.menu-content .page-title{
    text-align: center;
}
.menu-content p {
    font--size: 1.25rem;
　   margin:10px 0 0;
}

/*コンタクトページのトップ*/
#contact {
   background-color: white;
   min-height:100vh;
}
.menu-content {
    max-width:560px;
    margin-top: 10%;
}
.menu-content .page-title{
    text-align: center;
}
.menu-content p {
    font--size: 1.25rem;
　   margin:10px 0 0;
}

*コンタクトのフォーム装飾
--------------------------------------------------*/
form div {
    margin-bottom: 14px;
}
label {
    font-size: 1.125rem;
    margin-bottom: 10px;
    display: block;
}
input [type="text"],
input [type="email"],
textarea {
         background: pink；
　　　 border: 1px #ffbf1f solid;
         boder-radius: 5px;
         padding: 10px;
         font-size: 1rem;
}
input[type="text"],
input[type="email"] {
        width:100%;
        max-width: 240px;
}
textarea {
        width: 100%;
        max-width: 480px;
        height: 6rem;
}
input[type="submit"] {
        border: none;
        cursor: pointer;
        line-height: 1;
}


/*タイル式cssグリッド*/
.grid {
     display: grid;
     gap: 26px;
     grid-template-columns: repeat(3, 1fr); /*①3つずつ一列に並ぶのが繰り返される*/
     margin-top: 6%;
     margin-bottom: 50px;
}
/*この3つのうちのどれかひとつ

.grid {
      display: grid;
      gap: 26px;
      grid-template-columns: repeat(3, minmax(230px, 1fr)); /*②写真が230ｐｘよりは小さくならず、画面の幅に合わせて伸縮する*/
      margin-top:6%;
      margin-bottom: 50px;
}

.grid {
      display: grid;
      gap: 26px;
      grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); /*③見切れないように折り返して表示する*/
      margin-top:6%;
      margin-bottom: 50px;
}
*/
　
.big-box {
     grid-column: 1/3;
     grid-row: 1/3;
}


/*画像の高さを揃える*/
big-box img {
    height: 94%;
    width: 100%;
    object-fit:cover;
}


/*赤文字にする*/
.red {
 color: red;
}

/*コンタクトgoogleform*/

.iframe-wrap {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 120%;
  margin-left: auto;
  margin-right: auto;
}
.iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
















/*スマートフォン*/
.iframe-wrap {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 300%;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width:769px) {
.iframe-wrap {
  padding-top: 150%;
}
}
/*PC*/
@media (min-width:980px) {
.iframe-wrap {
  padding-top: 120%;
}
}


/**//**//**/

