/* 全てのページに適用される設定 */
html {
    font-size: 16px;
    font-family: sans-serif;
}
body {
    margin: 0 0 0 0;
}
*{
    box-sizing: border-box;
}
p,li, td {
    line-height: 1.7;
}
a:link {
    color: #F07D34;
    text-decoration: none;
}
a:visited {
    color: #F07D34;
    text-decoration: none;    
}
a:hover {
    color: #F07D34;
    text-decoration: underline;   
}
a:active {
    color: #F07D34;
    text-decoration: underline;  
}
img{
    max-width: 100%;
}
img {
    -webkit-touch-callout:none;
      -webkit-user-select:none;
      -moz-touch-callout:none;
      -moz-user-select:none;
    
      user-select:none;
    }





video{
    max-width: 100%;
}

/* 全てのページに適用 -ヘッダー */
.header{
    padding-top: 40px;
    background-image: url(../images/stripe.png);
    background-repeat: repeat-x ;
}
.logo {
    text-align:center;
    font-size: 3rem;
}
.nav ul{
    margin: 30px 0 0 0;
    padding: 20;
    list-style-type: none;
    display: flex;
    justify-content:center;
    gap: 40px;
}
.nav a:link {
 color: #253958;
}
.nav a:visited {
    color: #253958;
}
.nav a:hover {
    text-decoration: none;
}
.nav a:active{
    text-decoration: none;
}

#page_top{
    width: 50px;
    height: 50px;
    position: fixed;
    right: 0;
    bottom: 0;
    background: #253958;
    opacity: 0.6;
  }
#page_top a{
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    text-decoration: none;
  }
#page_top a::before{
    
    text-align: center;
  }








/* 全てのページに適用 -ヒーロー */
.hero {
    padding: 137px 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% auto;
    color:#FFFFFF;
    text-align: center;
}
.hero.index{
    padding: 287px 0;
    background-image:  url(../images/suiden48.jpg);
}
.hero.menu1 {
    padding: 287px 0;
    background-image: url(../images/kabotya46.jpg);
}

.hero.menu2 {
    padding: 287px 0;
    background-image:  url(../images/suiden48.jpg);
}
.hero.menu3 {
    padding: 287px 0;
    background-image:  url(../images/shitake31.jpg);
}


.hero.menu4 {
    padding: 287px 0;
    background-image:  url(../images/shiba2.jpg);


}

.hero.menu5 {
    padding: 287px 0;
    background-image:  url(../images/cim6.jpg);


}





/* 全てのページに適用 -メイン */
main {
    margin: 90px auto 90px auto;
    max-width: 1000px;
}
main h2 {
    margin: 60px 0 20px 0;
    border-bottom: 2px solid #253958;
    padding:  0 0 5px 0;
    color: #3717e9;
    font-size: 1.3rem;
}

/* 全てのページに適用 -フッター */
.gotop {
    text-align: center;   
}
.copyright {
    margin-top: 20px;
    margin-bottom: 0;
    padding-top: 75px;
    padding-bottom: 75px;
    background-color: #253958;
    color: #FFFFFF;
    text-align: center;    
}

/* 個別のスタイル */
/* index.html */
.logo-whale {
    text-align: center; 
}

/* menu.html */
.items {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap:20px;
}

p.new_article {
    position: relative;
  }

  p.new_article::after {
    content: "New!"; /* ラベルの中のテキスト */
    font-size: 10px; /* テキストの大きさ */
    color: #fff; /* テキストの文字色 */
    background-color: #880000; /* ラベルの背景色 */
    padding: 2px 5px;
    border-radius: 5px;
    position: absolute;
    top: -8px; /* 要素の上から縦軸の位置 */
    left: -17px; /* 要素の左から横軸の位置 */
    animation: blinkEffect 1s ease-in-out infinite alternate;
  }
 
  @keyframes blinkEffect {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 0.7;
    }
  }
.cp_hr10 {
	height: 5px;
	border-width: 0;
	background-image: -webkit-linear-gradient(right,
	#c2185b 0px,#c2185b 5px,#1976d2 5px,#1976d2 10px,
	#388e3c 10px,#388e3c 15px,#fbc02d 15px,#fbc02d 20px,
	#e64a19 20px,#e64a19 25px);
	background-image:         linear-gradient(-90deg,
	#c2185b 0px,#c2185b 5px,#1976d2 5px,#1976d2 10px,
	#388e3c 10px,#388e3c 15px,#fbc02d 15px,#fbc02d 20px,
	#e64a19 20px,#e64a19 25px);
	background-size: 25px 25px;
}

 
/* モバイル対応 */
@media screen and (max-width: 767px) {
    .nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }
    main {
        padding: 0 4%;
     }

/* index.html */
.hero.index {
    padding: 28vh 0;
    font-size: 14px; }

/* menu1.html */
.hero.menu1 {
        padding: 28vh 0;
        font-size: 14px; }

/* menu2.html */
.hero.menu2 {
    padding: 28vh 0;
    font-size: 14px; }

/* menu3.html */
.hero.menu3 {
    padding: 28vh 0;
    font-size: 14px; }

/* menu4.html */
.hero.menu4 {
    padding: 28vh 0;
    font-size: 14px; }

/* menu5.html */
.hero.menu5 {
    padding: 28vh 0;
    font-size: 14px; 
    color: #FFD400
 
}
/* menu.html */
.items {
    grid-template-columns:  1fr 1fr;
}
}
