@import url('/css/legacy/parts.css');
:root {
  --theme-color: #b9f2f0;
}

a:hover img {opacity: 0.8;}

/*common*/

.sp-page {
background-color:#fff;
/*font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;*/
font-size: 1.0rem;
line-height: 1.5;
font-feature-settings : "palt";
}

ol.breadcrumbsV2 {max-width: 100%;}

b, strong, em, h2, h3, 
#requirements dt {
/*font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;*/
font-weight: 700;
}

#wrapper {
    width: 100%;
}
#wrapper img {
width: auto;
vertical-align: bottom;
}

h1 {
background: url("img/bg.webp") no-repeat 50% 50%;
background-size: cover;
text-align: center;
}

h1 img {
margin: 0 20px;
max-width: 1082px;
}

p {font-size: 17px;}

.contents {
background-color:#fff;
line-height: 1.4rem;
padding: 20px 50px;
max-width: 1234px;
margin: auto;
font-size: 17px;
}


.contents h2 {
    background: url("img/bg2.webp") no-repeat 50% 15%;
    font-size: 1.6rem;
    font-weight: bold;
    padding: 25px;
    border-width: 1px 0 1px 0;
    margin-bottom: 20px;
    margin-top: 40px;
    /* background-size: cover; */
}

.contents h2:nth-of-type(2) {
    background-position: 50% 80%;
}

.contents h2:nth-of-type(3) {
    background-position: 50% 30%;
}

.results #inko h2 {
border:1px solid #55adff;
background: #ddefff;
border-width: 1px 0 1px 0;
}

.results #neko h2 {
border: 1px solid #ffa99e;
background: #fff6f4;
border-width: 1px 0 1px 0;
}

.results #issho h2 {
border: 1px solid #f6d95d;
background: #fdf7de;
border-width: 1px 0 1px 0;
}

.results #shiba h2 {
border: 1px solid #66eea7;
background: #e0fbed;
border-width: 1px 0 1px 0;
}

h3{
font-size: 1rem;
font-weight: bold;
margin-bottom: 1rem;
}

.contents p,
.mb1,
.sns {margin-bottom: 1rem;}

.mb10px {margin-bottom: 10px !important;}

.mb0 {margin-bottom: 0 !important;}

.center {
text-align: center !important;
}


p.caption {
font-size: 0.85rem;
line-height: 1.2rem;
text-align: left;
}

.notice,
p.notes,
ul.notes li{
	font-size:0.9rem;
	text-indent:-1rem;
	padding-left:1rem;
	line-height: 1.2rem;
	margin-bottom: 0.4rem;
}

p.notes::before,
ul.notes li::before {
	content: '※';
	margin-right: 0.1rem;
}

.ext-link::after {
display: inline-block;
font: normal normal normal 14px/1 FontAwesome;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transform: translate(0, 0);
content: "";
margin-left: 0.2rem;
}

/* === .zoom === */
/*.zoom{
display:inline-block;
position:relative;
vertical-align:top;
}*/
.zoom:after{
content:"";
width:22px;
height:22px;
background:url(img/zoom.png) no-repeat 0 0;
position:absolute; bottom:5px; right:5px;
}
.zoom:hover:after{ background-position:-22px 0; }
span.zoom:after{ display:none; }


.help-link::before {
display: inline-block;
font: normal normal normal 14px/1 FontAwesome;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transform: translate(0, 0);
content: "";
margin-right: 0.2rem;
}


/* ////////// requirements ////////////////////////////// */

#requirements dl {
margin: 1rem;
}

#requirements dt{
margin:1.5em 0 0.3em 0;
padding:3px 0 3px 6px;
border-left:6px solid var(--theme-color);
}
#requirements dd{
padding-left:12px;
}
#requirements li{
list-style-type:disc;
margin:0.3em 0 0.5em 1.5em;
line-height: 1.7;
}
#requirements li small{ display:block; margin:0.5em 0; }
#requirements li small img{ margin-top:0.3em; }
#requirements small{ font-size:90%; }

#requirements dl dd ul li p {
width: 613px;
text-align: center;
font-weight: bold;
margin: 10px 0 5px;
font-size: 0.9rem;
}


/* ////////// rule ////////////////////////////// */

#rule {margin: 1rem 1rem 2rem;}

#rule li{
list-style-type:disc;
margin:0.4rem 0 0.5rem 1.5rem;
line-height: 1.5;
}
#rule li b{
font-weight:normal;
color:#c00;
}

#rule p {
margin: 0.4rem 0 0.8rem 1.5rem;
line-height: 1.7;
}

#rule h3 {
margin: 1.5rem 0 0.4rem;
}



/* ////////// method ////////////////////////////// */

#method .flow {
/*margin: 1rem;*/
counter-reset:number;
margin: 0 1rem;
}

#method .flow li b {
background-color:#eee;
display: block;
line-height: 1.7rem;
border-radius: 3px;
padding: 5px;
}

#method .flow li b::before {
counter-increment: number;
content: counter(number);
background: #fff;
display: inline-block;
width: 20px;
height: 20px;
text-align: center;
border-radius: 50%;
color: #3bb9e9;
margin-right: 5px; 
line-height: 20px;
font-size: 14px;
vertical-align: middle;
margin-bottom: 2px;
}


#method ul p,
#method .flow p {
margin:0.5em 0 0 0;
line-height: 1.4rem;
font-size: 1rem;;
}

#method .flow li {
border: 1px solid #aaa;
border-radius: 8px;
padding: 10px;
position:relative;
text-align:center;
list-style-type:none !important;
margin:0 0 20px 0;
}

#method .flow li em {
font-weight: bold;
font-style: normal;
}

#method .flow li .keyword {
display: inline-block;
padding: 8px 5px 5px;
border: 1px dashed #bbb;
border-radius: 6px;
}

#method .flow li .keyword em {
color: #55adff;
font-size: 1rem;
}

#method .flow li .keyword:last-of-type em {
	color: #f9636a;
}

#method ul {margin: 1rem;}

#method li.edit {
border-top:1px dashed #ccc;
text-align:left;
margin:0 0 10px 0;
/*border-radius: 8px;*/
padding-top: 10px;
}

#method li .image-box {
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: flex;
justify-content: space-around;
margin-top: 1rem;
flex-wrap: wrap;
}

#method li .image-box img {
margin-bottom: 1rem;
}

/* lead ***************************************************************/

.results #lead {
border: 1px solid var(--theme-color);
padding: 10px;
}

#lead>h3 {
border-radius: 6px;
display: block;
text-align: center;
padding: 15px;
background-color:var(--theme-color);
font-size: 18px;
margin-bottom: 20px;
}

#lead h3 em {
display: inline-block;
background: #fff;
border-radius: 4px;
padding: 5px 15px;
font-size: 1rem;
margin-right: 10px;
font-style:normal;
font-weight:bold;
}

#lead p {
margin: 1rem;
}
/* prize ***************************************************************/

#prize {
background: #fff073 url(img/bg.gif) no-repeat 0 0;
padding: 10px;
border-radius: 8px;
text-align: center;
font-size: 1.1em;
/*text-shadow: 1px 1px 1px #CCC;*/
margin: 0 1rem;
}

#prize .note {
font-size: 0.8em;
}

#prize b {
display: block;
margin: 0 10px 10px;
border-radius: 8px;
background: #fff;
padding: 5px;
font-size: 1.3rem;
}

#prize i {
font-size: 0.9rem;
font-style: normal;
}

/*upload*******************************************************************/

#upload {
border-top: 4px double var(--theme-color);
padding-top: 2rem;
margin-bottom: 2rem;
}

#upload h3 {
text-align: center;
font-size: 1.2rem;
}

#upload ul {
display: flex;
justify-content: center;
margin-top: 1rem;
}
#upload ul li:first-of-type {
margin: 0 30px 0 0;
}

.upload-btn {
text-align: center;
display: block;
padding: 1rem 2rem;
background-color: #FDE823;
border-radius: 6px;
font-weight: bold;
color: #000;
font-size:1rem;
text-decoration: none !important;
margin-bottom: 1rem;
}
.upload-btn:visited {
color: #000;
}
.upload-btn:hover {
background-color: #ffef5b;
color: #000;
}

.upload-end {
display: block;
font-weight:bold;
text-decoration:none;
padding: 0.5rem 1rem;
border:1px solid #ccc;
border-radius:6px;
background:#eee;
text-align:center;
}

/*yamakei*******************************************************************/


#yamakei {
background: #eee;
padding: 20px;
margin-bottom: 1.5rem;
}

#yamakei h3 {
padding-left: 6px;
margin-bottom: 6px;
border-left: 4px solid #999;
}

#yamakei p:last-of-type {
margin-bottom: 0;
}


/* ////////// prize-contents ////////////////////////////// */

#prize-contents {
margin-top: 1rem;
}

#prize-contents h2 a:hover {
background: #00a19a;
color: #fff;
}

#prize-contents h2 a::before {
display: inline-block;
font: normal normal normal 14px/1 FontAwesome;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transform: translate(0, 0);
content: "";
margin-right: 0.2rem;
}

#prize-contents h3{
font-size:1.3rem;
font-weight:bold;
color:#000;
border:1px solid #fff;
border-width:1px 0;
background:url(img/bg_bl.png) no-repeat 0 0;
margin-bottom: 20px;
background-size: 100%;
}


#prize-contents #neko h3{
background:url(img/bg_pi.png) no-repeat 0 0;
}


#prize-contents .prize-2nd,
#prize-contents .prize-3rd,
#prize-contents .prize-opi{
padding-top:20px
}

#prize-contents .prize-3rd{
padding-top:20px
}

#prize-contents h3 div {
height:66px;
display:table-cell;
vertical-align:middle;
line-height:1.2;
padding-left:76px;
background-repeat:no-repeat;
background-position:5px 3px;
background-size:65px 60px;
padding-right:10px;
}

#prize-contents .prize-1st h3 div {background-image:url(img/prize_1st_s.png);}
#prize-contents .prize-2nd h3 div {background-image:url(img/prize_2nd_s.png);}
#prize-contents .prize-3rd h3 div {background-image:url(img/prize_3rd_s.png);}
#prize-contents .prize-opi h3 div {background-image:url(img/prize_opi_s.png);}


#prize-contents h3 div span {
color: #666;
font-weight: normal;
font-size: 0.9rem;
}

#prize-contents .prize-list{
text-align:center;
letter-spacing:-0.4em;
margin:1.5em 0 1em;
}
#prize-contents .prize-list:first-child{ margin-top:0; }

#prize-contents .prize-list li{
display:inline-block;
letter-spacing:normal;
color:#ccc;
padding:2px 0.8em;
border-left:1px solid #ccc;
}
#prize-contents .prize-list li:first-child{ border:0; }

#prize-contents .work-wrapper {
display: flex;
justify-content: space-between;
}

#prize-contents .work-wrapper .work{ 
display: block;
width: 48%;
margin-bottom:1.5rem; 
overflow: hidden;
letter-spacing: normal;
}

#prize-contents .work-wrapper .work:nth-of-type(even){ margin-left: 50px;}

#prize-contents .work-item{
margin:0;
background:#eee;
display: block;
position:relative;
text-align: center;
}


#prize-contents .work-item{
width: 100%;
padding-top: 100%;
margin-bottom: 20px;
position: relative
}

#prize-contents .work-item.mb1{
margin-bottom: 1rem;
}


#prize-contents .prize-1st .work-item{
width: 100%;
padding-top: 100%;
}

#prize-contents .work-item img{
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    max-width: 96%;
    max-height: 96%;
    object-fit: contain;

border:4px solid #fff;
-webkit-box-shadow: 0 0 3px 0 #cccccc;
box-shadow: 0 0 3px 0 #cccccc;
}



#prize-contents .work-data{ position:relative; }


.sp-page #prize-contents .work .data{ 
font-size:0.8rem;
line-height:1.2rem;
background:#eee;
padding:5px;
border-top:1px dotted #ccc;
}

#prize-contents .work h4{
font-size:1.2rem;
font-weight:bold;
margin:0 5px 0.2rem 0;
display: inline-block;
}

#prize-contents .work-data dl{ clear:both;}

#prize-contents .work-data dt{
margin-bottom:0.2rem;
border-left:4px solid #666;
padding-left: 6px;
margin-top: 1rem;
font-size:0.9rem;
font-weight: bold;
line-height: 1.1rem;
}

#prize-contents .work-data dt:first-child{
margin-top:0;
}

#prize-contents .work-data dd{
display:inline;
font-size:90%;
line-height:1.4;
}

#prize-contents .work-data .detail{
position:absolute; top:3px; right:0;
margin:0;
}

#prize-contents .work-data .detail a{
font-size:85%;
font-weight:bold;
text-decoration:none;
color:#fff;
padding:2px 6px;
background:#1FB1D5;
border:1px solid #1FB1D5;
border-radius:5px;
}

#prize-contents .work-data .detail a:hover{
color:#0036ff;
background:#fff;
border-color:#0036ff;
}
#prize-contents .work {
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: flex;
align-items: center;
}

#prize-contents .prize-1st,
#prize-contents .prize-2nd,
#prize-contents .prize-3rd,
#prize-contents .prize-opi{ overflow:hidden; }

#prize-contents .prize-1st h3 span:before{ background-position:0 0; }
#prize-contents .prize-2nd h3 span:before{ background-position:-100px 0; }
#prize-contents .prize-3rd h3 span:before{ background-position:-200px 0; }
#prize-contents .prize-opi h3 span:before{ background-position:-200px 0; }


#prize-contents .prize-1st .work-item-wrapper{ 
width: 48%;
        margin-right: 20px;
        flex-shrink: 0;
}


#prize-contents .prize-opi .work-item-wrapper{ 
margin-right: 20px; 
        flex-shrink: 0;
        width: 48%;
}

.results #title { margin-bottom: 0;}

.results h1+h2 { 
padding: 10px 135px;
color: #000;
background:var(--theme-color);
text-align: center;
font-size: 2rem;
/*text-shadow: 0px 0px 3px #000;*/
border:none;
margin: 0 0 1rem;
/*font-weight: bold;*/
}

.results h1+h2:before{
content:"";
display:inline-block;
width:56px;
height:50px;
vertical-align:middle;
margin:0 10px;
background:url(img/crc_red.png) no-repeat 0 0;
}

.results h1+h2:after{
content:"";
display:inline-block;
width:56px;
height:50px;
vertical-align:middle;
background:url(img/crc_green.png) no-repeat 0 0;
margin:0 10px;
}

.results #lead {overflow: hidden;}

.results #lead p img {
float: right;
margin: 0 0 10px 10px;
width: 200px;
}


.results #prize-contents h2	{
font-size: 1.2rem;
margin-top: 2rem;
line-height: 1.5rem;
}

.results #prize-contents h2:before {
display: inline-block;
background: #0ba29a;
border-radius: 50%;
margin-right: 5px;
color: #fff;
line-height: 1.5rem;
width: 1.5rem;
text-align: center;
font-size: 1rem;
vertical-align: middle;
}

.results #prize h2 {top: -14px;}

.results .thumbListx4,
.results .thumbListx4 p{margin: 0;}

.results .thumbListx4 li{
margin: 0 20px 20px 0;
width: calc((100% - 60px)/ 4);
}

.results .thumbListx4 li:nth-of-type(4n){margin-right: 0;}

.results .thumbListx4 li .thumb-wrapper {
display: block;
position: relative;
text-align: center;
width: 100%;
padding-top: 100%;
box-sizing: border-box;
border: 1px solid #ccc;
background-color: #fff;
margin-bottom: 10px;
}

.results .thumbListx4 li .thumb-wrapper img {
display: block;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
max-width: 96%;
max-height: 96%;
object-fit: contain;
}

.results .thumbListx4 li p span {
font-size: 0.8rem;
display:inline-block;
margin-top:5px;
}

.results #lead h3 {
font-weight: bold;
text-align: center;
margin-top: 0;
border-bottom: 1px dotted #666;
padding-bottom: 5px;
margin-bottom: 10px;
background: none;
padding-top: 0;
}

.results #lead p {
margin-bottom: 0;
}

#prize-contents #theme .divAnchor {
margin-bottom: 1.5rem;
text-align: center;
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: flex;
justify-content: center;
}

#prize-contents #theme .divAnchor li {
	display: inline-block;
	width: 40%;
	margin: 0 10px;
}

#prize-contents #theme .divAnchor li a {
display: block;
font-size: 1.6rem;
padding: 10px;
font-weight: bold;
border-radius: 6px;
text-align: center;
text-decoration: none;
}

#prize-contents #theme .divAnchor li a::before {
display: inline-block;
font: normal normal normal 14px/1 FontAwesome;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
transform: translate(0, 0);
content: "";
margin-right: 0.2rem;
}


#prize-contents #theme .divAnchor li a.neko {
border: 2px solid #f8685d;
color: #f8685d;
}

#prize-contents #theme .divAnchor li a.inko {
border: 2px solid #55adff;
color: #55adff;
}

#prize-contents #theme .divAnchor li a.issho {
border: 2px solid #ffb207;
color: #ffb207;
}

#prize-contents #theme .divAnchor li a.shiba {
border: 2px solid #2ed16d;
color: #2ed16d;
}

.prize-opi .work .work-data .about {
font-size: 0.9rem;
border: 2px dotted #f90;
padding: 5px;
margin-top: 1rem;
font-weight: bold;
color: #666;
}

.results #calendar {
border: 2px dotted var(--theme-color);
padding: 10px;
margin-top: 1rem;
border-radius: 8px;
overflow: hidden;
}

.results #calendar h3 {
margin-top: 0;
border-bottom: 1px dotted #666;
padding-bottom: 5px;
margin-bottom: 10px;
text-align: center;
color: #000;
font-size: 1.2rem;
}

.results #calendar img {
	float: left;
	margin: 0 20px 0 0;
	width: 300px;
}

.contents #subtitle {
border: 2px dotted #ccc;
border-radius: 6px;
font-weight: bold;
text-align: center;
font-size: 1.2rem;
padding: 10px;
}


/* === .photos === */
#lead .photos {
text-align: center;
border-top: 2px dotted var(--theme-color); 
margin-top: 1rem; 
padding-top: 1rem;
}

#lead .photos ul{
margin: 1rem 0 10px;
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}

#lead .photos ul li {
flex-basis: 24%;
margin-bottom: 10px;
}

#lead .photos ul li a{
position: relative;
display: block;
border:1px solid #ccc;
width: 100%;
background: #fff;
box-sizing: border-box;
}

#lead .photos ul li a:hover {
border-color:#03f;
}
#lead .photos ul li a::before{
content:"";
display: block;
padding-top: 100%; /* 高さを幅の100%に固定 */
}

#lead .photos ul li a img {
display: block;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
max-width: 96%;
max-height: 96%;
box-sizing: border-box;
margin: auto;
}

.contents hr {
border-width: 1px 0 0 0;
border-style: solid;
border-color: #ccc;
margin: 2rem 0;
}

/**/


.sp-form {
border: 2px dotted var(--theme-color);
padding: 10px;
margin: 1rem 1rem 2rem;
font-size: 1rem;
border-radius: 8px;
text-align: center;
}

.sp-form p {
	margin: 0.3rem 0 0 0;
}

.entry-btn{
text-align:center;
margin-bottom:1rem;
}

.entry-btn {
display: block;
padding: 1rem;
background-color: #FDE823;
border-radius: 6px;
font-weight: bold;
color: #000;
font-size:1.1rem;
margin: 5px 10px;
text-decoration: none !important;
}
.entry-btn:visited {
color: #000;
}
.entry-btn:hover {
background-color: #ffef5b;
color: #000;
}
