@charset "utf-8";
@viewport { zoom: 1.0; width: extend-to-zoom; }
* { margin:0; padding:0; position: relative;
	-webkit-margin-before:0; -webkit-margin-after:0; -webkit-margin-start:0; -webkit-margin-end:0;
	-webkit-padding-before:0; -webkit-padding-after:0; -webkit-padding-start:0; -webkit-padding-end:0;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
	-moz-box-sizing: border-box; -webkit-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box;
}
button { border: none; -webkit-appearance: none; background: none; }
/* div::after { content: ""; clear: both; display: table; } */
img { max-width: 100%; }
ul, li { list-style-type: none; }

html {
	height: 100%;
	-webkit-text-size-adjust: 100%; /* iOSフォントサイズ対策 */
}
html, body { margin: 0; padding: 0; width: 100%; max-width: 100%; overflow-x: hidden; }
body {
	min-height: 100%;
	font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
	font-size: 15px;
	line-height: 1.8;
	color: #3B2B24;
	background: #fff;
}

/* 見出し */
h1 {
	font-size: 2em;
	font-weight: bold;
    font-family: "dotgothic16", sans-serif;
    font-weight: 400;
    font-style: normal;
}
h2 {
	font-size: 1.8em;
	font-weight: bold;
    font-family: "dotgothic16", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 10px 0;
}
h3 {
	font-size: 1.4em;
	font-weight: bold;
    font-family: "dotgothic16", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 10px 0;
}
h4 {
	font-size: 1.2em;
	font-weight: bold;
}
h5 {
	font-size: 1em;
	font-weight: bold;
}



/* 文字 */
.small { font-size: 60%; }


/* リンク */
a {
	color: #3B2B24;
	text-decoration: none;
	transition: all 0.2s ease;
    cursor: pointer;
}
a img {
	zoom: 1;
	opacity: 1; filter: alpha(opacity=100);
	transition: opacity .2s ease-in-out;
	transform: translateX(0); -webkit-transform: translateX(0);
	filter: blur(0); -webkit-filter: blur(0);
	-webkit-backface-visibility: hidden;/* ホバーで画像が動かない用に */
}

/* ボタン */
.btn {
    max-width: 370px;
    width: 100%;
    display: inline-block;
    background-color: #FFDF58;
    border: 2px solid #3B2B24;
    border-radius: 5px;
    padding: 10px 20px;
    margin: 30px 0;
    border-radius: 30px;
    box-shadow: 0px 4px 0px 0px rgba(59, 43, 36, 1);
    font-weight: bold;
    letter-spacing: 0.8px;
}
.btn:hover {
        transform: translateY(4px);
        box-shadow: none;
}

/* レイアウト */
#wrapper { /* 巨大画面用 */
	margin: 0 auto;
}
.container {
	width: 1000px;
    max-width: 95%;
    padding: 20px 0;
    margin: 0 auto;
    z-index: 50;
}
.section {
	/* margin: 0 0 2em; */
}
.br-sp {
    display: none;
}
.br-pc {
    display: block;
}
.white-cloud,.green-cloud,.yellow-cloud,.fourth-quarter {
    position: relative;
    padding-top: 1px;
}
.white-cloud { background-color: #fff; }
.green-cloud { background-color: #B3E8C8; }
.yellow-cloud { background-color: #FFFAB2; }


.white-cloud::before,.green-cloud::before,.yellow-cloud::before,.fourth-quarter::before {
    content: "";
    display: block;
    height: 150px;
    margin: -110px 0 -220px 0px;
    position: relative;
}
.white-cloud::before {
    background: url(../../../img/promotion/byebyeforestpage/cloud_bg_01.png) repeat-x;
    background-size: 100%;
}
.green-cloud::before {
    background: url(../../../img/promotion/byebyeforestpage/cloud_bg_02.png) repeat-x;
    background-size: 100%;
}
.yellow-cloud::before  {
    background: url(../../../img/promotion/byebyeforestpage/cloud_bg_03.png) repeat-x;
    background-size: 100%;
}
.fourth-quarter::before  {
    background: url(../../../img/promotion/byebyeforestpage/cloud_bg_01.png) repeat-x;
    background-size: 100%;
}

/* ヘッダー */
#main-header {
	text-align: center;
    background: url(../../../img/promotion/byebyeforestpage/bg_01.svg),#A8E1FF;
    height: 150px;
}
#look-back, #thankyou {
    text-align: center;
    background: url(../../../img/promotion/byebyeforestpage/bg_01.svg),linear-gradient(180deg, #A7E1FF, #D9A5FC);
}
main#main-content {
    padding-top: 3vw;
}
.logo_flex {
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo_flex img {
    margin: 0 10px;
    vertical-align: middle;
}
.bbs {
    align-items: center;
    color: #A8E1FF;
    display: flex;
    height: 40px;
    line-height: 40px;
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
    z-index: 1;
    font-weight: bold;
    font-family: "dotgothic16", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.bbs ul {
    animation: slideInFromLeft 95s infinite linear 0.5s both;
    font-size: 20px;
    transform:translateX(100%);
    margin: 0;
    padding: 0;
}
.bbs.slide-right ul {
    animation: slideInFromRight 95s infinite linear 0.5s both;
    font-size: 20px;
    transform:translateX(100%);
    margin: 0;
    padding: 0;
}
.bbs ul li{
    display: inline-block;
    padding-right: 10px;
}
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0%);
    }
}
@keyframes slideInFromRight {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/*about*/
#about { text-align: center;}
#about .btn { margin-top: 0; }
/*look-back*/
#look-back { text-align: center; padding-bottom: 150px;}
#look-back .container {
    padding: 80px 0;
}
#look-back p { font-size: 20px; margin-bottom: 20px; line-height: 40px; }
#search-box { margin: 100px 0 50px; position: relative;}
#search-box span { color:#65bce8;}
.form-area { margin-top: 20px; padding: 20px ;}
select {
    font-size: 1.1rem;
    padding: 5px 20px;
    margin: 10px;
}
#search-box .header {
    position: absolute;
    width: calc(100% + 6px);
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    background:  url(../../../img/promotion/byebyeforestpage/myhistory_tab.png) no-repeat;
    background-size: 100%;
    height: 100px;
}
@media screen and (max-width: 700px) {
    #search-box .header {
        top: -30px;
    }
}
@media screen and (max-width: 480px) {
    #search-box .header {
        background:  url(../../../img/promotion/byebyeforestpage/myhistory_tab_sp.png) no-repeat;
        background-size: 100%;
        top: -52px;
    }
}
    
/*search-results*/
.contents-box { margin: 170px 0;}
.contents-box,#search-box {
    border-radius: 10px;
    border: solid 3px #3B2B24;
    box-shadow: 6px 6px 0px 0px rgba(59, 43, 36, 1);
    max-width: 100%;
    background-color: #FDFCF7;
}
.contents-box:nth-child(odd){
    margin-left: 40px;
}
.contents-box:nth-child(even){
    margin-right: 40px;
} 
.btn.clap { 
    position: absolute;
    transition: .1s;
    cursor: pointer;
}
.btn.clap, .btn.more {
    margin: 0;
    border-radius: 5px;
    padding: 5px 10px;
    width: 100%;
    text-align: center;
}
.year {
    height: 90px;
    position: absolute;
    z-index: 150;
    left: 50%;
    top: -65px;
    transform: translateX(-50%);
}

@media screen and (min-width: 481px) {
	.contents-box .btn.clap { margin-top: 20px; bottom: 0px;}
}
.contents-box .btn.clap span {
    position: absolute;
    top:-30px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}
.clap-btn_container {
    position: relative;
    display: contents;
}
.clap-balloon{
    position: absolute;
    width: 100%;
    height: auto;
    padding: 10px;
    color: #fff;
    background: #3B2B24;
    text-align: center;
    border-radius: 8px;
    bottom: calc(100% / 2.5);
  }
  .clap-balloon a { color: #FFDF58; }
  .clap-balloon::before {
    content: "";
    display: block;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    border-style: solid;
    border-width: 20px 20px 0 20px;
    border-color: #3B2B24 transparent transparent transparent;
  }
  .yellow { color: #FFDF58; font-weight: bold; padding: 0 2px;}
  .clap-balloon p { margin-bottom: 0!important;}
  .clap:hover { transform: none; box-shadow: 0px 4px 0px 0px rgba(59, 43, 36, 1);}
  .clap:active {
    transform: translateY(4px);
    box-shadow: none;
}

@media screen and (max-width: 480px) {
    .clap-btn_container {
        display: block;
        text-align: center;
    }
    .clap-balloon { 
        bottom: calc(100%* 2.2);
    }
}


.contents-box .btn.more {
    max-width: 185px;
    padding:5px 0;
    left: 50%;
    transform: translateX(-50%);
}
.btn.share:before {
    content: '';
    display: inline-block;
    width: 50px;
    height: 50px;
    background-image: url(../../../img/promotion/byebyeforestpage/chara.png);
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
    position: absolute;
    right: -25px;
}
.contents-box .btn.more:hover {
    transform: translateX(-50%);
    box-shadow: none;
}
.contents-box .header{
    display: flex;
    justify-content: space-between ;
    border-radius: 6px 6px 0 0;
    border-bottom: solid 2px #3B2B24;
    padding: 5px;;
}
.contents-box .header a {margin: 0 5px;}

.green-head{
    background-color:#70DF8A;
}
.blue-head{
    background-color:#65bce8;
}

.notting div { text-align: center; padding: 20px;}
.contents-box.notting .header {
    background-color:#A789E5;
}
.flexbox {
    display: flex;
    flex-direction: row-reverse;
    padding: 20px;
}
.item { position: relative;}
.flexbox .item:first-child {
    margin-left: 40px;
}
.flexbox .item:first-child {flex: 2}
.flexbox .item:last-child {flex: 1;}
.flexbox .item:last-child p { margin-bottom: 65px;}
.flexbox .item:last-child:after {
	position: absolute;
	top: 0;
	left: 100%;
	margin: 0 1rem;
	content: "";
	width: 2px; 
	height: 100%;
	background-color: #3B2B24; 
}
.balloon2 {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
    padding: 7px 10px;
    min-width: 120px;
    max-width: 100%;
    color: #fff;
    font-size: 16px;
    background: #3B2B24;
    border-radius: 10px;
    box-sizing: border-box;
}
.balloon2:before {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 20%;
    margin-left: -15px;
    border: 12px solid transparent;
    border-top: 12px solid #3B2B24;
    z-index: 2;
}
.balloon2:after {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 50%;
    margin-left: -17px;
    border: 14px solid transparent;
    z-index: 1;
}
.balloon2 p {
    margin: 0;
    padding: 0;
}
.key-word {
    background-color: #FFBCBC;
    border-radius: 10px;
    border: solid 2px #3B2B24;
    padding: 10px;
    margin-left: 0;
    margin-top: 10px;
}
.key-word .btn {
    background-color: #fff;
    color: #3B2B24;
    padding: 0 5px;
    box-shadow: 0px 0px 0px 0px rgba(59, 43, 36, 1);
}
.key-word .btn:hover {
    transform: translateY(0px);
    background-color: #FFDF58;
}
.key-word h5 span { color: #fff; font-size: 70%;}

.skima-link {
    background-color: #fff;
    border-radius: 15px;
    align-items: center;
}
#thankyou { border-radius: 20vw 20vw 0 0;}
#thankyou .container { padding-top: 80px;}
.btn.skima {
    min-width: 240px;
    background-color: #59BDF0;
    box-shadow: 0px 4px 0px 0px rgba(255, 104, 49, 1);
}
a.btn.skima { color: #fff;}
/* モーダル */
.modal {
	display: none; position: fixed; z-index: 200;
	bottom: 0; right: 0; left: 0; top:80px;
	margin: auto;
	width: 350px; max-width: 95vw;
	min-height: 95vh; max-height: 90vh;
	overflow-y: auto; overflow-x: hidden;
	padding: 10px;
	background-image: url(../../../img/promotion/byebyeforestpage/modal_bg2002.png) ;
    background-size: cover;
    overflow: hidden;
    
}
.modal_bg2003 { background-image: url(../../../img/promotion/byebyeforestpage/modal_bg2003.png) ;}
.modal_bg2004 { background-image: url(../../../img/promotion/byebyeforestpage/modal_bg2004.png) ;}
.modal_bg2005 { background-image: url(../../../img/promotion/byebyeforestpage/modal_bg2005.png) ;}
.modal_bg2006 { background-image: url(../../../img/promotion/byebyeforestpage/modal_bg2006.png) ;}
.modal_bg2007 { background-image: url(../../../img/promotion/byebyeforestpage/modal_bg2007.png) ;}
.modal_bg2008 { background-image: url(../../../img/promotion/byebyeforestpage/modal_bg2008.png) ;}
.modal_bg2009 { background-image: url(../../../img/promotion/byebyeforestpage/modal_bg2009.png) ;}
.modal_bg2010 { background-image: url(../../../img/promotion/byebyeforestpage/modal_bg2010.png) ;}
.modal_bg2011 { background-image: url(../../../img/promotion/byebyeforestpage/modal_bg2011.png) ;}
.modal_bg2012 { background-image: url(../../../img/promotion/byebyeforestpage/modal_bg2012.png) ;}
.modal_bg2013 { background-image: url(../../../img/promotion/byebyeforestpage/modal_bg2013.png) ;}
.modal_bg2014 { background-image: url(../../../img/promotion/byebyeforestpage/modal_bg2014.png) ;}
.modal_bg2015 { background-image: url(../../../img/promotion/byebyeforestpage/modal_bg2015.png) ;}
.modal_bg2016 { background-image: url(../../../img/promotion/byebyeforestpage/modal_bg2016.png) ;}
.modal_bg2017 { background-image: url(../../../img/promotion/byebyeforestpage/modal_bg2017.png) ;}
.modal_bg2018 { background-image: url(../../../img/promotion/byebyeforestpage/modal_bg2018.png) ;}
.modal_bg2019 { background-image: url(../../../img/promotion/byebyeforestpage/modal_bg2019.png) ;}
.modal_bg2020 { background-image: url(../../../img/promotion/byebyeforestpage/modal_bg2020.png) ;}
.modal_bg2021 { background-image: url(../../../img/promotion/byebyeforestpage/modal_bg2021.png) ;}
.modal_bg2022 { background-image: url(../../../img/promotion/byebyeforestpage/modal_bg2022.png) ;}
.modal_bg2023 { background-image: url(../../../img/promotion/byebyeforestpage/modal_bg2023.png) ;}

.modal p { word-break: break-all; }
.close-btn {
    position: absolute;
    right: 5%;
    top: 1%;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
}
.modal_body { position: relative; top: 140px; width: 83%; margin: auto;}
.modal_body .btn { width: 100%; text-align: center; border-radius: 5px;}
.genre {
    overflow: scroll;
    margin: 0;
    max-height: 365px;
    height: 41vh;
    word-break:break-all
}
.modal_bg {
	display: none;
	position: fixed;
	z-index: 180;
	top: 0; right: 0; bottom: 0; left: 0;
	margin: auto;
	background: rgba(0,0,0,0.5);
	cursor: pointer;
}
i.fas.fa-times { font-size: 1.5em;}
.genre tr {
    vertical-align: top;
    display: inline-block;
}
.genre th { width: 2em;}
.genre td { padding-left: 10px;}

/*検索欄へ*/
.page-top {
    position: fixed;
    bottom: 60px;
    right: -10px;
    transition: 0.5s;
    z-index: 60;
}
.page-top_link {
    position: absolute;
    bottom: 10px;
    right: -10px;
    transition: 0.5s;
    z-index: 60;
}

.page-top_link.forest , .page-top_link.mochiri {
    position: absolute;
    display: block;
    width: 100px;
    height: 100px;
}
.page-top_link.mochiri {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* フッター */
#main-footer {
	text-align: center;
	margin: 2em 0 0;
}
.helvetica { font-family: helvetica }

/* 補足クラス */
.pc-only { display: inline-block;}
.sp-only { display: none;}
.font80 { font-size: 80%; }
.font100 { font-size: 100%; }
.font110 { font-size: 110%; }
.font120 { font-size: 120%; }
.font130 { font-size: 130%; }
.font140 { font-size: 140%; }
.ellipsis {
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.mt60 { margin-top: 60px;}

/* 文字選択スタイル */
::-moz-selection { color: #fff; background: #FFBCBC;; }
::selection { color: #fff; background: #FFBCBC;; }

/* スクロールバー（一部ブラウザーのみ） */
::-webkit-scrollbar { width:  12px; height: 100%; }
::-webkit-scrollbar-thumb { background: #FFBCBC; border-radius: 5px; }
::-webkit-scrollbar-track { background: #fff; border: solid 1px #A7A7A7; border-radius: 5px;}
 
@media screen and (max-width: 480px) {
    #about , #thankyou { text-align: center;}
    #about p, #thankyou p { text-align: left;}
    #about p { padding-top: 20px;}
    #about h3 { font-size: 16px;}
    .logo_flex { flex-flow: column; }
    .logo_flex img { margin: 15px; }
    .logo_flex img:first-child { height: 80px;}
    .logo_flex img:nth-child(2) { height:20px; transform: rotate(90deg);}
    .logo_flex img:last-child { height: 40px;}
    .br-sp {display: block;}
    .br-pc {display: none;}
    h2, h3 { font-size: 18px ; text-align: center;}
    #main-header { height: 340px; }
    .form-area { text-align: left;} .form-area .btn { text-align: center;}
    .btn { width: 100%; text-align: center;}
    .white-cloud,.green-cloud,.yellow-cloud,.fourth-quarter {
        padding-top: 65px;
    }
    #search-box { margin-right: 0px; }
    .contents-box { margin: 110px 0;}
    .contents-box:nth-child(odd){margin-left: 0px;}
    .contents-box:nth-child(even){margin-right: 0px;}
    .contents-box:last-child { margin-bottom: 110px;}
    .flexbox .item:last-child:after { width: 0px; }
    .flexbox { display: block;}
    .flexbox .item:first-child {
        margin-left: 0; margin-bottom: 30px;}
    .flexbox .item:first-child:after {
        display: none;
    }
    .contents-box .btn.clap { position: inherit;}
    .year { height: 80px; }
    #thankyou { border-radius: 45px 45px 0 0; }
    .pc-only { display: none;}
    .sp-only { display: inline-block;}
    .white-cloud::before,.green-cloud::before,.yellow-cloud::before,.fourth-quarter::before {
        margin: -130px 0 -220px 0px;
    }
    .white-cloud,.green-cloud,.yellow-cloud,.fourth-quarter {
        padding-top: 50px;
    }
    .white-cloud::before {
        background-size: cover;
    }
    .green-cloud::before {
        background-size: cover;
    }
    .yellow-cloud::before  {
        background-size: cover;
    }
    .fourth-quarter::before  {
        background-size: cover;
    }
    .genre {
        height: 45vh;
    }
    .page-top_link.forest , .page-top_link.mochiri {
        width: 80px;
        height: 80px;
    }
}