@charset "UTF-8";

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
}



body {
   font-family:'Times New Roman','Arial',YuGothic,'Yu Gothic','Hiragino Sans','ヒラギノ角ゴシック','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
   margin: 0 auto;
   font-size: 16px;
   font-size: 1rem;
}

body {
    background-color: #ffffff;
}

ul {
    list-style: none;
}

a {
    color: #192295;
    text-decoration: none;
}
img {
    max-width: 100%;
}
.wrapper {
    margin: 0 auto;
    text-align: center;
}

main {
    background-color: #ffffff;
}



/* title main-title */
.main-title {
    font-size: 4rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    color: #192295;
}
/* h2 title1 */
.section-title {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    color: #192295;
    padding: 10% 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title::after,.section-title::before {
    border-top: solid 2px #192295;
    content: "";
    width: 100px;
}

.section-title::after {
    margin-left: 1em;
}

.section-title::before {
    margin-right: 1em;
}

/* h3 */

/* header */
#header {
    background-color: #ffffff;
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2%;
   
}
/* header menu */
.top-menu {
    width: 100%;
    height: auto;
    background-color: #ffffff;
} 
.menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10%;

}

.menu-list ul{
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-top: 5%;
    font-size: 1.3rem;
    gap: 100px;

}
.menu-list li:hover{
    color: #c30909;

}
.bird-img {
    width: 15%;
}

/* mainvisual */
#mainvisual {
    background-image: url(../img/blueback.jpg
    );
    background-repeat: no-repeat;
    background-position:center;
    background-size: cover;
    min-height: 100vh;
    position: relative;
    top: 0;
    left: 0;
}
.main-title {
    position: absolute;
    top: 45%;
    left: 25%;
}


/* works */
.work-lists {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
}
.work-list {
    width: 45%;
}
.work-image {
    margin-bottom: 30px;
    border-radius: 10px;
}
.work-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 50px;
}

.work-text {
    text-align: left;
    line-height: 2;
    font-size: 1.2rem;
}

/* about */
#about {
    margin-bottom: 10%;
    text-align: center;
}
.aimg-atext {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 70px;
    margin-bottom: 20px;
}
.about-image {
    width: 20%;
    border-radius: 50%;
}
.about-text {
    text-align: left;
    width: 40%;
    line-height: 2;
    font-size: 1.2rem;
}
.mypage {
    text-align: center;
    width: 100%;
    color: #383333;
    border-radius: 25px;
    padding: 1%;
    font-size: 1.3rem;

}

/* single_blog */
.single-blog {
    margin: 0 auto;
}


/* contact */
#contact {
    padding: 4% 0;
    background-color: #dadfe8;
}
.contact-btn {
    text-align: center;
}

.contact-m {
    display: inline-block;
    background-color: #07a1f4;
    text-align: center;
    font-size: 1.5rem;
    color: #fff;
    padding: 1% 3%;
    border-radius: 20px;
    border-bottom: solid 4px #627295;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;  
    gap: 30px;
    width: 45%;
    margin: 0 auto;
}

.contact-m:hover {
    transform: translateY(4px);
    border-bottom: none;

}


.pagetop {
    text-align: center;

}
footer {
    background-color: #333;
    text-align: center;
    padding: 5% 0;
}


.f-menu-list ul{
    display: flex;
    flex-direction: row;
    justify-content: center;
    font-size: 1rem;
    gap: 100px;

}
.f-menu-list li{
    color: #fff;

}
.f-menu-list li:hover{
    color: #c30909;

}
.footer_copyright {
    padding-top: 2%;
    color: #fff;
}

/* contact css */
.contact-title {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    color: #192295;
    padding-top: 13%;
    padding-bottom: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;

}

.contact-title::after,.contact-title::before {
    border-top: solid 2px #192295;
    content: "";
    width: 100px;
}

.contact-title::after {
    margin-left: 1em;
}

.contact-title::before {
    margin-right: 1em;
}
#cf-tbl{
    width: 1200px;
        margin:0 auto;
        margin-bottom:50px;
}
#cf-tbl{
    width: 100%;
    }
    
#cf-tbl table{
    width: 100%;
    border-collapse: collapse;
    border-width: 1px;
    color: #444;
    margin-bottom:80px;
}
#cf-tbl table tr th,
#cf-tbl table tr td{
    padding: 0.5em;
    text-align: left;
    vertical-align: top;
    border-width: 1px;
    vertical-align: middle;
}
#cf-tbl table tr th{
    width: 35%;
    background: #fff0;
}

.required{
        font-size:1em;
        padding: 8px 10px;
        background: #fa7f34;
        color: #fff;
        border-radius: 15px;
        margin-right: 15px;
}
        
/*「任意」文字デザイン*/
.optional{
        font-size:1em;
        padding: 8px 10px;
        background: #627295;
        color: #fff;
        border-radius: 15px;
        margin-right: 15px;
}
        
/* 入力項目を見やすく */
input.wpcf7-form-control.wpcf7-text,
textarea.wpcf7-form-control.wpcf7-textarea {
        width: 100%;
        padding: 8px 15px;
        margin-right: 10px;
        margin-top: 10px;
        border: 1px solid #d0d5d8;
        border-radius: 3px;
        background-color: #fff;
        font-size: 1.5rem;
}
textarea.wpcf7-form-control.wpcf7-textarea {
        height: 100px;
}
        
/* 「送信する」ボタン */
    input.wpcf7-submit {
        display: block;
        padding: 15px;
        width: 300px;
        background: #fa7f34;
        color: #fff;
        font-size: 18px;
        font-weight: 700;
        border-radius: 30px;
        border:1px solid #fa7f34;
        margin:0px auto;
}
input.wpcf7-submit:hover {
	box-shadow: 0 15px 30px -5px rgba(0,0,0,.15), 0 0 5px rgba(0,0,0,.1);
	transform: translateY(-4px);
	opacity:0.7;
}
/* 戻るボタン */
input.wpcf7-previous {
    margin-bottom: 10px;
    display: block;
    padding: 15px;
    width: 300px;
    background: #d1cece;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    border-radius: 30px;
    border:1px solid #d1cece;
    margin:0px auto;

}

/* エラーメッセージを見やすく */
span.wpcf7-not-valid-tip,
.wpcf7-response-output.wpcf7-validation-errors {
	color: #E91E63;
	font-weight: 600;
    text-align: left;
}

#cf-tbl table  p{
    font-size: 1.3rem;
}
/* blog1 */
.blog {
    width: 100%;

}
.blog_pic {
    text-align: center;
}
.blog_title {
    text-align: center;
}
.blog_desc {
    text-align: left;
    font-size: 1.2rem;
    margin: 3% 12%;
}
.blog-content {
    text-align: center;
    
}
.content {
    text-align: center;
    font-size: 1.2rem;
    margin: 0% 10%;
}

.content p {
    text-align: left;
    margin: 3% 15%;
}
/* blog2 */
.grid-set {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: baseline;

}
.grid-left {
    width: 80%;
}
.grid-right {
    width: 20%;
    display: flex;
    flex-direction: column;
    padding-top: 10%;

}

.grid-a {
    margin-bottom: 30px;
}

/* archive */
.achive_title {
    font-size: 2rem;
    font-weight: bold;


}
.archive_list {
    font-size: 1.2rem;
}


input.wpcf7-submit {
    width: 250px;
    }
    #cf-tbl{
        width: 100%;
        }
        
        #cf-tbl table,
        #cf-tbl table tbody,
        #cf-tbl table tr,
        #cf-tbl table tr th,
        #cf-tbl table tr td{
        display: block;
        }
        
        #cf-tbl table{
        width: 100%;
        border-width: 0 0 1px 0;
        
        
        }
        
        #cf-tbl table tr th,
        #cf-tbl table tr td{
        width: 100%;
        padding: 3% 5%;
        
        }
        
        #cf-tbl table tr td{
        border-width: 0px 1px 0px 1px;
        }

/* wp-pagenavi */

.wp-pagenavi {
    text-align: center;
    clear: both;
    margin: 6% 0;
}
.wp-pagenavi a, .wp-pagenavi span {
	color: #999;
	background-color: #FFF;
	border: solid 1px #e0e0d2;
	padding: 8px 15px;
	margin: 0 2px;
	white-space: nowrap;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	-webkit-transition: 0.2s ease-in-out;
	-moz-transition: 0.2s ease-in-out;
	-o-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
	text-align: center;
	text-decoration:none;
}
.wp-pagenavi a:hover{
    color:#FFF; 
    background-color:#999; 
    border-color:#999;
    }
.wp-pagenavi span.current{
	color: #FFF;
	background-color: #66cccc;
	border-color: #66cccc;
	font-weight: bold;
    }

@media screen and (max-width:768px){
    input.wpcf7-submit {
    width: 250px;
    }
    #cf-tbl{
        width: 100%;
        }
        
        #cf-tbl table,
        #cf-tbl table tbody,
        #cf-tbl table tr,
        #cf-tbl table tr th,
        #cf-tbl table tr td{
        display: block;
        }
        
        #cf-tbl table{
        width: 100%;
        border-width: 0 0 1px 0;
        
        
        }
        
        #cf-tbl table tr th,
        #cf-tbl table tr td{
        width: 100%;
        padding: 3% 5%;
        
        }
        
        #cf-tbl table tr td{
        border-width: 0px 1px 0px 1px;
        }

        /* blog grid */
        .grid-set {
        flex-direction: column;
        }
        .grid-left {
        width: 100%;
        }
        .grid-right {
        width: 100%;
        }
    }











@media screen and (max-width:600px){
  /* header */
  #header {
    padding: 0%;
  }
  .menu a{
    display: flex;
    justify-content: center;
  }

  .menu-list ul {
    font-size: 1.2rem;
    gap: 20px;
  }

  .bird-img {
    width: 20%;
}

.top-menu {
    width: 100%;
    height: auto;
    background-color: #ffffff;
    position: fixed;
    z-index: 99;
} 
.menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10%;

}
  /* mainvisual */
  #mainvisual {
    height: 50vh;
  }
 .main-title {
        font-size: 2rem;
    }

    /* work */
 .work-lists {
    flex-direction: column;
 } 

 .work-list {
    width: 80%;
    margin: 0 auto;
    margin-bottom: 3%;
 } 
 .work-text {
    line-height: 1.5;
    font-size: 1rem;
 }
 

/* about */
.aimg-atext {
    flex-direction: column;
    gap: 0px;
} 
.about-image {
    width: 40%;
    margin-bottom: 10%;
} 
.about-text {
    width: 80%;
    line-height: 1.5;
    font-size: 1rem;
}

/* contact */
.contact-m {
    width: 70%;
}
.contact-title {
    font-size: 1.5rem;
}

.f-menu-list ul {
    gap: 50px;
}

/* blog grid */
.grid-set {
    flex-direction: column;
}
.grid-left {
    width: 100%;
}
.grid-right {
    width: 100%;
    margin-left: 3%;
}
.blog_desc {
    font-size: 1.0rem;
    margin: 3% 5%;
}
.wp-block-image img {
    max-width: 90%;
}


}






