/*** LP用CSS ***/

/* .main-container{
    max-width: 100%;
} */

img{
    padding: 0px;
    margin: 0px;
    max-width: 100%;
}

/* navbar */
nav{
    display: flex;
    /* width: 95%; */
    height: 10vh;
    padding: 1vh 2%;
    align-items: center;
}


.logo_menu{
    max-width: 100%;
    flex: 1; /* 左寄せの要素を1つのカラムとして伸縮させます */
    /* text-align: left; */
}
.logo_pic{
    max-height: 9vh;
}

.form_menu{
    max-width: 50%;
    flex: 1;
    /* text-align: right; */
    display: flex;
    justify-content: flex-end;
}
.form-link-item{
    margin-left: 10px;
}
/* .menu{

    display: flex;
    justify-content: space-between;
    align-items: center;
} */
.btns{
    display: flex;
    justify-content: right;
}
.content-header {
    font-size: 1.2em;
    background-color: red;
    color: white;
    padding: 10px;
    text-align: center;
    letter-spacing: 20px; 
    background: radial-gradient(white 1px, orange 0.1%, red 99.9%);
}


/* メイン画像 */
.headimage{
    padding-top: 5vh;
    width: 100%;
}

/* コンテンツエリア */
.content-wrapper{
    background-image: url(/assets/img/bkgrd_img.png);
    background-repeat: repeat;
}
.content{
    width: 95%;
    margin: 0 auto;
}

/* キャッチ文言 */
.explain{
    /* width: 90%; */
    margin-bottom: 2vh;
}
.explain_image{
    width: 100%;
}
/* 募集要項 */
.info-block {
    border: 1px solid #ccc;
    padding: 10px;
    margin: 10px;
    width: 100%;
}
.guide {
    padding: 0 15px;
    border-spacing : 10px 50px;
    border-collapse: separate;
    border-spacing: 0 30px;
}
.guide th{
    font-weight: normal;
    width: 30%;
    text-align: center;
    vertical-align: top;
}
.guide td{
    width: 70%;
    vertical-align: top;
}

.h-yoko1{
    display: flex;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.1em;
    color: white;
    text-align: center;
    margin-right: 15px;
    padding: 3px 3px;
    background-color: red;
    justify-content: center;
}
.h-yoko2{
    display: flex;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.1em;
    color: red;
    text-align: center;
    margin-right: 15px;
    padding: 3px 10px;
    border: 1px solid red;
    background-color: white;
    justify-content: center;
}
.d-yoko1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    font-weight: bolder;
}
.d-yoko2 {
    font-size: 1em;
}
.largefont {
    font-size: 1.5em;
    margin: 0 1px;
}
.example-txt-decoration{
    padding: 0.5rem 1rem;
    margin: 1rem 0;
    font-weight: bold;
    border: solid 2px #000000;
}
.example-txt{
    font-size: 1.5rem;
    color: red;
    text-align: center;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}
.example-image{
    font-size: 1.2rem;
    margin: 0;
}
.example-pics{
    margin: 0 0 3rem;
}
.example-pic{
    text-align: center;
    padding: 5px 1px;
}
.example-image-txt{
    margin: 0;
}


/* 参加方法 */
.sanka-guide{
    display: flex;
    margin-bottom: 50px;

}
.sanka-box{
    text-align: center;
    margin: 0 0px;
    padding: 0;
}


.explain-frame {
    width: 90%;
    height: auto;
    margin: 0 auto;
    border: 2px solid red;
    border-radius: 20px 20px 20px 20px;
    padding: 25px;
    display: inline-block;
    text-align: left;
    background-color: white;
}
.explain-title{
    font-size: 1.5em;
    letter-spacing: 3px; 
    margin-bottom: 30px;
    text-align: center;
    color: red;
    word-wrap: break-word;
}
.explain-content{
    font-size: 1em;
}
.step{
    font-family: Arial, Helvetica, sans-serif;
    font-size: .8em;
    color: white;
    text-align: center;
    margin-right: 15px;
    padding: 3px 30px;
    background-color: red;
    border-radius: 25px 25px 25px 25px;
    line-height: 2;
}
.title{
    white-space: nowrap;
}

.uketsukechu{
    animation: flash 1s linear infinite;
    font-size: 1rem;
    position: relative;
    display: inline-block;
    padding: .1rem 1rem .1rem 1rem;
    color: #fff;
    background: navy;
}
@keyframes flash {
	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0;
	}
}

.form-link-btn{
    text-align: center;
}
.toolsform{
    text-align: center;
    transition: transform 0.2s;
}
.toolsform:hover {
    transform: scale(1.1);
}
.popdl{
    text-align: center;
    transition: transform 0.2s;
}
.popdl:hover {
    transform: scale(1.05);
}
.contestform{
    text-align: center;
    transition: transform 0.2s;
}
.contestform:hover {
    transform: scale(1.05);
}

/* ダウンロード */
.download{
    width: 70%;
    margin:0 auto;
    text-align: center;
    margin-bottom: 50px;
    transition: transform 0.2s;
}
.download:hover {
    transform: scale(1.05);
}
.download-txt{
    text-align: center;
    font-size: 1.2em;
    color: red;
}


/* 結果発表 */
.kekka{
    position: relative;
    width: 90%;
    margin: 5vh auto;
    padding: 20px;
    border: 2px solid red;
    border-radius: 20px 20px 20px 20px;
    background-color: #fff;
    text-align: center;
}
.title-kekka{
    position: absolute;
    left: 50%;
    transform: translate(-50%, -70%);
    -webkit-transform: translate(-50%, -70%);
    -ms-transform: translate(-50%, -70%);
    width: 50%;
}
.gold-medal{
    position: relative;
    margin-top: 15%;
    margin-bottom: 10px;
}
.kekka-gold-tit{
    z-index: 10;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -70%);
    -webkit-transform: translate(-50%, -70%);
    -ms-transform: translate(-50%, -70%);
}

.silver-medal{
    position: relative;
    margin-top: 10%;
    margin-bottom: 10px;
}
.kekka-silver-tit{
    z-index: 10;
    width: 100%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -70%);
    -webkit-transform: translate(-50%, -70%);
    -ms-transform: translate(-50%, -70%);
}

.kekka-pic{
    position: relative;
    margin-bottom: 2vh;
    margin: 0 auto;
    transition: transform 0.2s;
    display: inline-block;
    border: #fff 10px solid;
    box-shadow: 10px 10px 5px #bbbbbb;
}
.kekka-pic:hover {
    transform: scale(1.1);
}


/* レシピ */
.recipe{
    text-align: center;
    margin-bottom: 1vh;
    transition: transform 0.2s;
}
.recipe:hover {
    transform: scale(1.05);
}

/* 事務局 */
.jimukyoku{
    width: 40%;
    text-align: center;
    margin: 5vh auto;
    transition: transform 0.3s;
}
.jimukyoku:hover {
    transform: scale(1.05);
}
.kumiai{
    width: 100%;
    text-align: center;
    margin: 1vh auto;
}
footer {
    width: 100%;
}

@media screen and (max-width: 768px){
    /* 事務局 */
    .jimukyoku{
    width: 80%;
    text-align: center;
    margin: 50px auto;
    }

    /* 結果発表 */
    .gold-medal{
        position: relative;
        margin-top: 15%;
        margin-bottom: 25%;
    }
    .silver-medal{
        position: relative;
        margin-top: 15px;
        margin-bottom: 15%;
    }
    .kekka-silver-tit{
        width: 80%;
    }
  }