@charset "UTF-8";

/* 共通項目 */
html{
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    font-family: 'Kiwi Maru', serif;
    line-height: 2.5rem;
}
article{
    margin-bottom: 3rem; 
}
a{
    text-decoration: none;
    color: darkblue;
}
li{list-style-type: none;}
h1 {
    margin:1.5rem;
    color: rgb(80, 80, 80);
}
h2{padding:1.5rem;}
.hensyu{
    line-height: 1.5rem;
    background-color:whitesmoke;
    color: #6e6e6e;
    border-radius: 20px;
    text-align: left;
    margin-top: 1rem;
    padding:1rem 1rem 2rem 2rem;
}
.text_to_left{text-align: left;}


/* ヘッダー */
header {
    background-image: url(../images/bg_top.png);
    object-fit: contain;
    padding-top: 1rem;
}
.top-nav {
    display: flex;
    justify-content: space-around;
}
.nav_li {padding: 2rem;}
.top-nav li a {font-size: 1.2rem;}
.top-nav img {width: 450px;}
.nav_li img {width: 80px;}

/* 流れる文字用 */
.scroll-text {
    color: #6e6e6e;
    font-size: 1.5rem;
    white-space: nowrap;
    overflow: hidden;
    animation: scrolling 30s linear infinite;
}
.scroll-text img {padding-right: 1rem;}
@keyframes scrolling {
    0% {transform: translateX(100%);}
    100% {transform: translateX(-100%);}
}


/* ----------------------------
    index.html    
-------------------------------*/
#top article {display: flex;}
#top article img {width: 333px;}
#top article div {
    padding: 3rem;
    text-align: left;
}
#top .sctn_wp, #top .sctn_wp2{display: flex;}
#top .sctn_wp div {
    width: 450px;
    padding: 3rem;
}
#top .sctn_wp p {text-align: left;}
#top .sctn_wp img {
    width: 300px;
}

.sctn_wp2{
    display: flex;
    margin:2rem;
}
.sctn_wp2 a{padding-left: 2rem;}
.sctn_wp2 img{margin:1.5rem 3rem 1.5rem 2rem;}
.sctn1{
    background-color: rgba(130, 173, 252,0.3); 
    border-radius: 50px;
}
.sctn2{
    background-color: rgba(16, 104, 20, 0.3); 
    border-radius: 50px;
}
.sctn3{
    background-color: rgba(32, 42, 182, 0.3); 
    border-radius: 50px;
}
.sctn4{
    background-color: rgba(221, 114, 224, 0.3); 
    border-radius: 50px;
}

/* ----------------------------
    event.html    
-------------------------------*/
#event article {
    display: flex;
}
#event article img {width: 333px;}
#event article div {
    padding: 3rem;
    text-align: left;
}
#event section{
    margin-top: 3rem;
/*     margin-bottom: 5rem; */
    background-color: rgba(243, 165, 64, 0.5);
}
.edct_vst{
    padding:4rem;
    display: flex;
    justify-content: space-around;
    border-bottom: 5px dotted white;
    text-align: left;
}
.edct_vst img{
    border-radius: 30% 10% ;
}
.edct_vst div{text-align: left;}
.edct_vst p{text-align: left;}
.edct_vst ol{padding: 1rem;}
.to_parents p{line-height: 1rem;}
.memo{
    padding-top: 2rem;
    font-size: 1.2rem;
}

/* ----------------------------
    project.html　自由研究    
-------------------------------*/
#project section{
    background-color: #82adfc;
}
.my_prj{
    display: flex;
    justify-content: space-around;
    border-bottom: 5px dotted blue;
    padding:2rem;
}
.my_prj div,.my_prj p{
    text-align: left;
    padding: 1rem;
}
.my_prj img{
    width: 350px;
    border-radius: 10% 30%;
}

/* ----------------------------
    zenkoku.html  全国のひみつきち   
-------------------------------*/
#zenkoku {
    display: flex;
    justify-content: space-around;
    background-color: #c9fcd5;
    border-bottom: 5px dotted green;
    padding:2rem;
}
#zenkoku .memo{
    text-align: left;
    line-height: 3rem;
    font-size: 1.6rem; 
}
#zenkoku img{border-radius: 50px;}

/* ----------------------------
    contact.html   コンタクト 
-------------------------------*/
#otayori {
    width: 80%;
    padding-top: 2rem;
    padding-bottom: 2rem;
    text-align: left;
    margin:auto;
}
#otayori tr {line-height: 3rem;}
#otayori th {border-bottom: 5px dotted #6e6e6e;}
#otayori td {border-bottom: 5px dotted #6e6e6e;}
input[type="text"],[type="email"],[type="tel"],[type="submit"],textarea {
    border: 1.5px solid #6e6e6e;
    border-radius: 6px;
    line-height: 2rem;
}
input[type="text"],[type="email"],textarea {width: 500px;}
#contact .sctn_wp {
    display: flex;
    justify-content: space-around;
    margin-right: auto;
    margin-left: auto;
    padding: 5rem 3rem 1rem 3rem;
    color: #036618;
}
#contact .sctn_wp img {width: 70%;}
#contact article input[type="image"]{
    height:100px;
    width: auto;
}
.btn_cntct{
    display: flex;
    justify-content: space-around;
    margin:2rem;
}
#peter {padding-right: 3rem;}
#peter h1 {text-align: left;}
#peter th,#peter td {
    border-bottom: 2px dotted #036618;
    line-height: 3rem;
    text-align: left;
    vertical-align: top;
    padding-right: 0.5rem;
}
#works {
    width: 80%;
    padding-top: 2rem;
    padding-bottom: 5rem;
    margin: auto;
}
#works th,#works td {
    padding-top: 1rem;
    border-bottom: 5px dotted rgba(253, 67, 43, 0.5);
}
#works .line_0 {border: none;}
#works th {
    vertical-align: top;
    text-align: left;
    width: 500px;
}
#works img {
    width: 100px;
    height: auto;
    margin: 1rem;
}
#works .yoko img {
    width: 200px;
    height: auto;
}


/* フッター */
footer{
    background-image: url(../images/bg_btm.png), url(../images/bg_btm2.png);
    background-position: center bottom, center bottom;
    object-fit: contain, contain;
    margin-top:3rem;
}
.ft_wrp {
    display: flex;
    justify-content: space-around;
    line-height: 2rem;
    vertical-align: middle;
    text-align: left;
    margin-bottom: 2rem;
}
.cmpny{
    font-size: 1.1rem;
    padding-bottom: 2rem;
}
.sigtmap img {
    width: 30px;
}