@charset "UTF-8";
@import url("grid.css");

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #000;
    --link-color: #666;
    --linkhover-color: #999; ;
    --back-color: #000000;
    --border-color: #ccc;
    --white-color: #fff;
}

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}


body {
    font-size: 15px;
  font-family: 'メイリオ', Meiryo,'ヒラギノ角ゴシック','Hiragino Sans',sans-serif;
}


	/* ナビゲーションメニューのフォント指定 */

nav ul li {
font-family: "M PLUS 1p" ;
}



/* ↓リンクテキストのアニメーションに関わること */


.text {
   font-size: 20px;
   color: #fff;
    padding: 10px;
    transition: color 0.5s, background-color 0.5s;
}


.text:hover {
    color: #ff00ff;
    background-color: #333333;
}




a {
    display:block;
    color: var(--base-color);
   }

a:hover { 
    color: var(--linkhover-color);
 text-decoration: none;
}

.blueback {
	background-color: var(--back-color);
	color: var(--white-color);
	padding: 1rem;
}
.underline {
	border-bottom: 3px solid var(--back-color);
	padding-bottom: 0.5rem;
}
.center {
	text-align: center;
}




/*ヘッダー
-------------------------------------*/
.head {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
}

.menu {
	background-color: var(--back-color);
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin-bottom: 0;
}
nav li {
    flex: 1 0 auto;
	margin-bottom: 0;
}
nav li a {
    text-decoration: none;
    text-align: center;
	color: var(--white-color);
}
nav a:hover {
    background-color: var(--linkhover-color);   
	color: var(--white-color);
}
nav a {
    padding: 2rem 1rem;
	display: block;
}

@media screen and (min-width: 769px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.head {
	flex-direction: column;
    text-align: left;
    margin-bottom: 20px;
}



.head #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
    }
nav ul {
	flex-direction: column;
}

nav li {
	padding-top: 0;
	border-bottom: 1px solid var(--border-color);
	margin-bottom: 0;
}
/* スマホ時はMENUボタンを表示 */
#open {
    display: block;
    background: url(../img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
#close  {
    display: block;
    background: url(../img/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
}

/*メイン画像
-------------------------------------*/
.mainimg img {
	width: 100vw;
}

 .content {
   display: block;
 }

/*メインコンテンツに関わる部分
-------------------------------------*/

main {
    margin: 1rem 0 5rem 1rem;
}

section {
  margin: 40px auto;
  max-width: 600px;
}

.pict a{
display:inline;
}

img.new {
border-radius: 30px;
width: 100px;
height: 100px;
border: 1px solid red;
}

img.smn {
border-radius: 30px;
width: 100px;
height: 100px;
}

img.wb {
width: 150px;
height: 50px;
}

a img {
    margin-bottom: 1rem;
}
a img:hover {
	opacity: 0.3;
}



/*見出しの装飾
-------------------------------------*/


h2 {
font-size: 130%;
  border-bottom: 3px solid #f5f5f5;
  position: relative;
  margin-bottom: 1.5em;
font-family: "M PLUS 1p" ;

}

h2:after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  background: #ff3399;
  position: relative;
  top: 3px;
font-family: "M PLUS 1p" ;
}


h3 {
font-size: 110%;
font-weight: normal;
font-family: "M PLUS 1p" ;

}

h4 {
  border-left: 3px solid #00cccc;
  padding: 0px 15px;
  margin: 2em 0 1em;
}



strong.marker {
  background-size: auto auto;
  background-color: #ffffff;
  /* ※マーカー付き強調のシマシマのベースカラー */
  background-image: repeating-linear-gradient(45deg, transparent, transparent 3px, #ffff00 2px, #ffff00 5px);
  /* ※マーカー付き強調のシマシマカラー */
}


iframe { border-style: none; }





/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: var(--back-color);
    color: var(--white-color);
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: var(--back-color);
}