@charset "UTF-8";

@font-face {
  font-family: 'DIN Condensed';
  src: url('../fonts/DIN_Condensed_Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Impact';
  src: url('../fonts/Impact.ttf') format('truetype');
}

/* 全体の設定
–––––––––––––––––––––––––––––––––––––––––––––––––– */
html {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    font-size: 62.5%;
}

body {
    color: #000;
    font-family: 'Noto Sans JP',   sans-serif;
    background:#fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin:0;
	padding:0;
}

/* グリッド
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
    margin: 0 auto;
    max-width: 1500px;
    padding-top: 100px;
    position: relative;
    background-image: url(../img/backgraund.png);
    background-position: top left;
    background-size: cover;
    background-repeat: no-repeat;
}

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: inherit;
    text-decoration-line: none;
}
a:hover { 
    color: inherit;
}
.pc-item{
    display: block; 
  }
.sp-item{
    display: none; 
  }
/*ヘッダー
-------------------------------------*/
.header {
    border: #fff 12px solid;
    display: flex;
    flex-direction: row;
    padding: 0;
    justify-content: center;
    align-items: center;
    width: 87%;
    margin: 0 auto 30px;
    box-sizing: border-box;
    color: #00355f;
}
.header h1{
    margin: 0;
    font-size: 72px;
    text-shadow:0 0 5px #fff,0 0 5px #fff,0 0 5px #fff,0 0 5px #fff,0 0 6px #fff,0 0 6px #fff,0 0 6px #fff,0 0 6px #fff,0 0 7px #fff,0 0 7px #fff,0 0 7px #fff,0 0 7px #fff,0 0 8px #fff,0 0 8px #fff,0 0 8px #fff,0 0 8px #fff;
}

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

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 4rem;
}
section {
	margin: 4rem 0;
	padding: 2rem 0;
}
.gray-back {
	background-color: #f4f4f4;
}

/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: left;
    font-weight: bold;
    padding: 0 30px 30px;
}
.catch h2 {
    padding-bottom: 1rem;
}
.under {
    border-bottom: 0.4rem solid #000;
    padding:0 1rem 1rem 1rem;
}
.center {
	text-align: center;
	margin-bottom: 4rem;
}

/*フッター
-------------------------------------*/
footer {
    background-color: #000;
    padding: 5rem 0;
}


/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #000;
    
}
.copyright p {
    color: #fff;
    text-decoration: none;
	display: inline;
}
.cover {
    width: 87%;
    margin: 0 auto;
    background-color: #fff;
}
/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: #000;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: #666;
}
/* flex box */
.flex-box {
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    padding: 0;
    width: 100%;
    flex-wrap: wrap;
    font-size: 14px;
    font-weight: bold;
}
.cel-5-2{
    flex: 0 0 20%;
    max-width: 20%;
}
.cel-2-1{
    flex: 0 0 40%;
    max-width: 40%;
}
.cel-5-1{
    flex: 0 0 20%;
    max-width: 20%;
}
.col-th {
    border: 1px solid #daaf00;
    height: 80px;
    background-color: #f4e7b2;
    display: flex;
    justify-content: center;
    align-items: center;
}
.col-td {
    text-align: center;
    border: 1px solid #daaf00;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}
.red-title{
  font-size: 20px;
    font-weight: normal;
    color: #fff;
    padding: 20px;
    line-height: 2;
    text-align: center;
    background:linear-gradient(to right,#bf1d23, #e62124);
    display: inline-block;
}
.red-box {
    font-size: 19px;
    font-weight: bold;
    margin: 20px auto;
    border: 5px red solid;
    padding: 20px;
}
/* 見出し　h2*/
.numBer {
    background-color: black;
    margin: 0;
    margin-right: 80px;
    padding-left: 40px;
    font-size: 50px;
    line-height: 130px;
    display: inline-block;
    width: 150px;
    height: auto;
    color: #fff;/*文字色*/
    border-radius: 10px 0 0 10px;
}
.bigboss {
    position: absolute;
    top: 5px;
    left: 280px;
}
.url {
    font-size: 22px;
    font-family: 'DIN Condensed', 'Noto Sans JP',   sans-serif;
    position: absolute;
    top: 50px;

}
.ribbon {
    width: 92%;
  display: inline-block;
  position: relative;
  height: 130px;/*リボンの高さ*/
  line-height: 100px;/*リボンの高さ*/
  padding: 0;/*横の大きさ*/
  font-size: 60px;/*文字の大きさ*/
  font-weight: normal;
  font-family: 'Impact';
  background: #daaf00;/*塗りつぶし色*/
  color: #000;/*文字色*/
  box-sizing: border-box;
  border-radius: 10px 0 0 10px;
  -webkit-filter:drop-shadow(1px 3px 5px rgba(0, 0, 0, 0.5));
  -moz-filter:drop-shadow(1px 3px 5px rgba(0, 0, 0, 0.5));
  -ms-filter:drop-shadow(1px 3px 5px rgba(0, 0, 0, 0.5));
  filter:drop-shadow(1px 3px 5px rgba(0, 0, 0, 0.5));
}

.ribbon:before, .numBer:before {
  position: absolute;
  content: '';
  width: 0px;
  height: 0px;
  z-index: 1;
}

.ribbon:before {
  top: 0;
  right: -55px;
  border-width: 65px 0px 65px 55px;
  border-color: transparent transparent transparent #daaf00;
  border-style: solid;
}
.numBer:before {
  top: 0;
  left: 190px;
  border-width: 65px 0px 65px 55px;
  border-color: transparent transparent transparent #000;
  border-style: solid;
}
/* リボン見出し h3 */
.yellow-back {  
  display: block;
  position: relative;
  margin: 0 auto;
  padding: 10px 0;
  background: #f8efcc;
}
.ribbon11 {
  display: inline-block;
  position: relative;
  box-sizing: border-box;
  padding: 5px;
  margin: 40px 0 0 -30px;
  width: 100%;
  font-size: 34px;
  color: #d9ae00;
  background:linear-gradient(to right,#003560, #005aa8);
}
/* 幅850px以上の表示
-------------------------------------*/
@media ( min-width : 850px ) {
.ribbon11:before {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 15px transparent;
  border-right: solid 30px #003560;
}
}
.ribbon11 span {
    background: black;
    padding: 3px;
    margin: 0 30px 0 60px;
    width: 50px;
    line-height: 50px;
    display: inline-block;
    text-align: center;
    font-size: 38px;/*文字の大きさ*/
    font-weight: normal;
  font-family: 'Impact';
}
.yellow-back p{
    margin: 10px 50px;
}

/*************************************************************************/
/*     モバイル時　850px以下の時                                            */
/*************************************************************************/

@media screen and (max-width: 850px){
	
/*ヘッダー
-------------------------------------*/
body {
    font-size: 12px;
    }
.pc-item{
    display: none; 
  }
.sp-item{
    display: block; 
  }
.header-box {
	display: none;
}
.header h1 {
    font-size: 34px;
    }
.header{
        border: #fff 6px solid;
        margin: 0 auto 40px;
    }
    
.container {
    background-size: 100%;
    background-position: top -30px left;
    padding-top: 50px;
}
.cover {
    width: 100%;
}
    main{
        margin: 1rem 0;
    }
    .catch {
    font-size: 13px;
    padding: 0 15px 30px;
}
    
section {
    margin: 1rem 0;
    padding: 1rem 0;
}
    
.yellow-back p {
    margin: 10px 20px;
}
.ribbon11 {
    margin: 40px auto 0;
    width: 90%;
    font-size: 24px;
    display: block;
}
.ribbon11 span {
    margin: 0 20px 0 30px;
    width: 30px;
    line-height: 30px;
    font-size: 28px;
}
.ribbon {
    width: calc(100% - 55px);
    height: 70px;
    line-height: 70px;
    font-size: 30px;
    margin: 20px 15px;
    display: block;
}
.ribbon:before {
    top: 0;
    right: -25px;
    border-width: 35px 0px 35px 25px;
}
.numBer {
    margin-right: 40px;
    padding-left: 20px;
    font-size: 30px;
    line-height: 70px;
    width: 70px;
}
.numBer:before {
    top: 0;
    left: 90px;
    border-width: 35px 0px 35px 25px;
}
.bigboss {
    top: -5px;
    left: 135px;
}
.url {
    font-size: 12px;
    top: 20px;
}
.red-box {
    font-size: 12px;
    width: 80%;
    padding: 10px;
    border: 2px red solid;
}
.red-title {
    font-size: 12px;
    padding: 5px 10px;
    margin: 10px;
    }
/*flex-box
-------------------------------------*/
.flex-box {
    margin: 30px auto 0;
    width: 90%;
    font-size: 12px;
}
.col-th {
    height: 60px;
}
.col-td {
    height: 60px;
    margin-bottom: 0;
}
.cel-5-2{
    flex: 0 0 50%;
    max-width: 50%;
}
.cel-2-1{
    flex: 0 0 100%;
    max-width: 100%;
}
.cel-5-1{
    flex: 0 0 100%;
    max-width: 100%;
}
.end-coment {
    font-size: 12px;
    width: 90%;
    margin: 0 auto;
}
}
/*************************************************************************/
/*     モバイル時　400px以下の時                                            */
/*************************************************************************/

@media screen and (max-width: 400px){
    .ribbon11 {
    font-size: 20px;
}
    .ribbon11 span {
    margin: 0 15px 0 15px;
    width: 26px;
    line-height: 26px;
    font-size: 24px;
}
    .ribbon {
    font-size: 20px;
}
    .numBer {
    width: 60px;
}
    .numBer:before {
    left: 80px;
}
    .bigboss {
    left: 125px;
}
    .url {
    font-size: 10px;
}
}