@charset "utf-8";

:root {
    --light-grey: #ccc;
    --beige: #f3efe3;
    --orange: #f56e00;
    --navy: #111d8a;
    --green: #32c100;
    --white: #fff;
    --oswald-font: 'Noto Sans JP', sans-serif;
}

body{
    overflow-x: hidden;
    background:var(--white);
    font-family: var(--oswald-font);
	color: #333;
	font-size:1rem;
	line-height:1.85;
    letter-spacing: 0.2em;
}

body.appear{
    background:var(--white);
}


ul{
	margin:0;
	padding: 0;
	list-style: none;
}

a{
    color: #333;
	text-decoration: none;
    outline: none;
}

img{
    width:100%;
    height: auto;
}

*{
    box-sizing: border-box
}

/* font-family */

.header-utility li:last-child a,
.footer-info li dl,
.header-area dl,
#news article time,
#page-top span,
h2 span{
    font-family: var(--oswald-font);
}

/* area */

.inner{
    width:100%;
    margin:0 auto;
    padding:50px 5%;
}

/* gnavi */
#g-nav{
    display: flex;
    background: var(--beige);
    height: 81px;
    width: 100%;
    justify-content: space-around;
    position: fixed;
    border-top: solid 10px var(--orange);
    z-index: 10;
}
.logo{
    width: 180px;
    z-index: 11;
    font-size:0.5em;
    font-weight: 300;
    letter-spacing: 0.1em;
}
.logo img{
    width: 160px;
    height: auto;
}

.menu_wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 50%;
    align-items: flex-end;
}

#g-nav li{
    padding: 15px 20px;
	text-align: center; 
	list-style: none;
}

#g-nav li a{
	color: #333;
	text-decoration: none;
	display: block;
	letter-spacing: 0.1em;
	font-weight: bold;
}

/* header */

#header{
    position: relative;
    padding-top: 100px;
}


#header h1{
    font-size: 1.5em;
    color:#666;
    line-height: 1.5;
    letter-spacing: 0.1em;
}


.header-area{
    position: relative;
    z-index:2;
    animation-delay: .5s;
}

.badge{
    z-index: 2;
    position: absolute;
    background:url(img/badge.svg) no-repeat center;
    background-size: cover;
    width:180px;
    height: 180px;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-duration: 3s;
}

.badge-inner{
    z-index: 3;
    position: absolute;
    width:180px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: bold;
}

.lead{
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    right: 13%;
    bottom: 10%;
    position: absolute;
}

.border-yellow {
    color:var(--green);
    background: url("img/Vector4.png") no-repeat center bottom;
    background-size: 100%;
}

.header-area dt,
.header-area dd{
    display: inline-block;
    font-size: 1.1vw;
}

.slider{
    width:90%;
    margin: auto;
}


/* title_line */
.border-orange,
.border-green,.page-title{
    margin: auto;
    text-align: center;
    width: 40vh;
    margin-bottom: 26px;
}
.border-orange span,
.page-title span
{
    background:url("img/Vector4.png") no-repeat center bottom;
    background-size: 100%;
}
.border-green span{
    color: var(--orange);
    background:url("img/Vector3.png") no-repeat center bottom;
    background-size: 100%;
}


/* card */
#card{
    position:relative;
    margin-bottom: 100px;
    overflow: hidden;
}

#card:after {
    position: absolute;
    z-index: -1;
    content: '';
    top: 280px;
    width: 150%;
    height: 400px;
    left: -70px;
    background: var(--beige);
    transform: rotate(5deg);
}

.card-list{
	display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.card-list section{
    width:25%;
    background: #fff;
	position: relative;
	box-shadow: 5px 5px 0 rgba(0,0,0,0.1);
	margin:0px 9px 27px 9px;
    padding:10px 10px 0px 10px;
    border-radius: 10px;
}


.card-list section .card-img{
	border-radius: 3%;
    aspect-ratio: 4 / 3;
    width: 100%;
    height: auto;
    object-fit: cover;
}


.card-list section h3{
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-align: center;
    margin: 10px 0 0 0;
    padding: 0 0 20px 0;
}



/* playt */

#playt{
    position:relative;
    margin-bottom: 100px;
    overflow: hidden;
}
#playt:before {
    position: absolute;
    z-index: -1;
    content: '';
    width: 150%;
    height: 380px;
    left: -70px;
    background: var(--beige);
    transform: rotate(-5deg);
}
#playt .playt-area,
.download-list,
.categories-list,
.experi-list
{
    display: flex;
    justify-content:center;
    flex-wrap: wrap;
}

#playt .playt-area section{
    width:39%;
	margin:0px 9px 27px 9px;
    padding: 0px 20px;
    border-radius: 10px;
}
.playt-area section .card-img{
    border-radius: 5%; 
}

#playt h3{
    font-size: 25px;
}
/* categories */
.categories{
    display: flex;
    flex-wrap: wrap;
}
.categories p{
    font-size: .75rem;
    border: solid 1px;
    border-radius: 30px;
    padding: 0px 10px;
    margin: 5px 5px 0 0;
}

.categories-list section,
.experi-list section{
    width:25%;
	position: relative;
	margin:0px 9px 27px 9px;
    padding:10px 10px 0px 10px;
}
.categories-list section .categories-img
{
    aspect-ratio: 4 / 3;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5%; 
}
/* contact */

.contact{
    background:var(--orange);
    background-size: cover;
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 42px 5%;
    margin-bottom: 100px;
}

.contact h2{
    font-size: 2rem;  
    line-height: 1.5;
    position: relative;
    margin: 40px 0 30px 0;
    text-align: center;
}


.contact p{
    text-align: center;
    margin: 0 0 50px 0;
    font-size: 1rem;
    border: none;
    padding: 0;
    border-radius: 0;
}

.contact ul{
   text-align: center;
}

.contact ul li{
     padding: 0 20px 20px 0;   
}
/* experi */
 .experi-img{
    border-radius: 10px;
    aspect-ratio: 4 / 3;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* download*/
#download{
	position: relative;
    margin-bottom: 100px;
    margin-top: 0;
    overflow: hidden;
}

#download:after{
	position: absolute;
	z-index: -1;
	content:'';
	top:80px;
	left:-30%;
	width:150%;
	height: 380px;
	background: var(--beige);
	transform: rotate(-5deg);
}

.download-list section{
    width:15%;
	position: relative;
	margin:0px 9px 0px 9px;
}
.download-list section .card-img{
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 150px;
    border: solid 5px var(--orange);
}

.download-list section h3{
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    text-align: center;
    margin: 10px 0 0 0;
    padding: 0 0 20px 0;
}

/* gallery */

.img-gallery{
    background:url("img/border.png") repeat-x top left,url("img/border.png") repeat-x bottom left;
    background-size: 70px 16px;
    padding:50px 0;
    margin: 0 0 100px 0;
}

.img-gallery img{
    border-radius: 10px;
}

/* footer */

#footer{
    background: #7E7E7E;
    color: #fff;
}

#footer a{
    color: #fff;
}

.footer-info{
    width:100%;
    margin: auto;
    text-align: center;
}
.footer-info dd ul,
.footer-info dd ul li dl{
   justify-content: center;
}
.footer-info dd ul li{
   margin-right: 20px;
 }

.footer-info span{
    display: block;
    font-size:2rem;
    font-weight: bold;
    line-height: 1.5;
}

.footer-info dt.footer-title,
.footer-info dd{
    margin: 0px 0 10px 0;
}

.footer-info li dt{
    margin:0 10px 0 0;
}

  .footer-info li dt,
  .footer-info li dd{
    display: inline-block;
    font-weight: bold;
    font-size: 1.25rem;
    margin: 0 5px;
  }
small{
    display: block;
    text-align: center;
}

/*アンカー位置*/
.anchor{
    display: block;
    padding-top: 100px;
    margin-top: -100px;
}

/*ボタンデザイン*/
.navy-btn{
    text-align:center;
    padding: 30px 0 0 0;
}

/*各ページデザイン*/
.main-contents{
    padding: 170px 14%;
}
.wp-post-image {
    border-radius:10px;
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.wp-block-image img{
    border-radius:10px;
}
.post-content figcaption {
    font-size: .75rem;
    text-align: center;
}
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6,
.post-content p,
.post-content ul,
.post-content ol,
.post-content figure,
.post-content blockquote{
    margin-bottom: 1rem;
}
.post-header {
    padding: 1rem;
    position: relative;
}
.post-title {
    font-size: 1.5rem;
    line-height: 1.5;
    word-break: break-word;
}
.post-item {
    position: relative;
}
.post-content ul,
.post-content ol {
    padding-left: 2rem;
}
.post-content ul {
    list-style: square;
}
.post-content ol {
    list-style: decimal;
}
.post-content li {
    line-height: 1.5;
}
.post-content li::marker {
    color: var(--orange);
}
.post-categories {
    position: absolute;
    top: 0;
    left: -1rem;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.post-categories li {
    background: var(--navy);
    font-size: .75rem;
    border-radius: 6px;
    padding: .5rem;
}
.post-categories li a{
    color: var(--white);
}
.post-date {
    color: var(--light-grey);
    font-size: .75rem;
}
.post-content {
    padding-bottom: 1rem;
}
.post-content h2 {
    font-size: 1.5rem;
    background: url(img/leafleft.svg) left top/10px 45px no-repeat;
    border-bottom: 4px double var(--light-grey);
    padding: 0 .5rem .75rem 1.5rem;
    margin: 3rem 0 .5rem;
}
.post-footer {
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem 1rem;
}

.tags-links li {
    display: inline-block;
    font-size: .75rem;
    border: 1px solid var(--light-grey);
    border-radius: 6px;
    padding: .4rem .5rem .5rem;
    margin-right: .25rem;
    margin-bottom: .25rem;
}
.tags-links a {
    color: var(--light-grey);
}
.tags-links a:before {
    content: '#';
    color: var(--light-grey);
    margin-right: .25rem;
}
.tags-links a:hover {
    color: var(--orange);
}

.inner_a{
    padding: 200px 5%;
}

@media(max-width: 950px){
    #card{
        padding: 100px 5%;
    }
    .logo img{
        width: 110px;
    }
    #header{
        padding: 150px 0 100px;
    }
    #header h1{
        font-size: 1em;
      }
    .badge-inner {
        width: 130px;
        height: 130px;
    }
    .badge {
        width: 130px;
        height: 130px;
    }
    .header-area {
        left: 10%;
    }
    .slider {
        width:80%;
        margin-top: 5%;
    }
    .lead {
        font-size: 1.5em;
    }
    #g-nav {
        height:130px;
        flex-direction: column;
      }
    .logo{
        width: 20%;
        margin: 0 auto;
        text-align: center;
        font-size: 0.4em;
      }
    #g-nav ul {
        width: 100%;
    }
    #g-nav li {
        padding: 12px 11px;
        font-size: 13px;
    }
    .area {
        display: block;
        margin-left: 5px;
    }
    .footer-info li dt,
    .footer-info li dd{
        font-size: 1rem;
        }
    }

@media(max-width: 550px){
    
    #g-nav {
        height:130px;
        flex-direction: column;
      }
    .logo{
        width: 35%;
        margin: 0 auto;
        text-align: center;
        font-size: 0.4em;
      }
    #g-nav ul {
        width: 100%;
    }
    #g-nav li {
        padding: 0 12px;
        font-size: 13px;
    }
    .area {
        display: block;
        margin-left: 5px;
    }

    .badge-inner {
        width: 100px;
        height: 100px;
        top: 1vh;
        left: 2.5vh;
    }
    .header-area {
        left: 0;
      }
    #header{
        padding: 170px 0 100px;
    }
    #header h1 {
        font-size: 0.8em;
    }
    .slider {
        width:100%;
        margin-top: 10%;

    }
    .badge {
        width: 100px;
        height: 100px;
        top: 1vh;
        left: 2.5vh;
    }
    .lead{
        font-size: 1.2em;
        right: 4%;
        bottom: 6%;
    }
    .contact h2 {
        font-size: 1.2rem;
      }
    #contact h2 {
        font-size: 1rem;
    }
    #contact p,
    .categories-list section p,
    .footer-info dt.footer-title{
        font-size: 0.8rem;
    }
    .card-list section {
        width: 40%;
    }
    .-list section h3,
    #playt h3,
    .categories-list section h3,
    .download-list section h3,
    .footer-info span{
        font-size: 1rem;
    }
    .categories p {
        padding: 0px 10px;
        margin: 10px 4px 0 0;
        font-size: 12px;
    }
    #playt .playt-area section,
    .categories-list section,
    .experi-list section{
        width: 44%;
        padding: 0px;
    }
    .download-list section {
        width: 42%;
      }
    .topspace{
        margin-top: 15px;
    }
}
