﻿/* all page */
/*fonts*/

/* color ---------------------------------------------------------------------------------------------*/
.linkStyle{color: #160a0a;text-decoration: underline;transition: opacity .3s;}
.linkStyle:hover{opacity: 0.7}
.txt_color1, .hvr_txt_color1:hover{color: #00519A;} /* メインカラー */
.txt_color2, .hvr_txt_color2:hover{color: #e6e6e6} /* サブカラー */
.txt_color3, .hvr_txt_color3:hover{color: #a67c52} /* アクセントカラー1 */
.txt_color4, .hvr_txt_color4:hover{color: #c9baa9} /* アクセントカラー2 */

/* background-color */
.bg_color1, .hvr_bg_color1:hover{background-color: #00519A;} /* メインカラー */
.bg_color2, .hvr_bg_color2:hover{background-color: #e6e6e6} /* サブカラー */
.bg_color3, .hvr_bg_color3:hover{background-color: #a67c52} /* アクセントカラー1 */
.bg_color4, .hvr_bg_color4:hover{background-color: #c9baa9} /* アクセントカラー2 */

/* border-color ※!important */
.border_color1, .hvr_border_color1:hover{border-color: #00519A;}
.border_color2, .hvr_border_color2:hover{border-color: #e6e6e6}
.border_color3, .hvr_border_color3:hover{border-color: #a67c52}
.border_color4, .hvr_border_color4:hover{border-color: #c9baa9}

.button:hover::after {box-shadow: inset 0 0 0 15em #00519a;}

/* top ----------------*/

/* header */


/* main img */
#main_img .catch{
    top: 8%;
    left: 3%;
    z-index: 2;
}
#main_img .catch img{
    max-height: none;
    min-height: 0;
    max-width: 600px;
}

/* main */

/* intro */
.contents1_wrap{position: relative;}
.contents1_wrap::before{
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 650px 400px;
    border-color: transparent transparent #00519a transparent;
    position: absolute;
    bottom: 0;
    right: 0;
}
#contents1 .txt2_1{font-size: 18px;border-radius: 5px;}

/* contents */
#contents2 h2 {
    border-bottom: none;
    margin-bottom: 20px;
    position: relative;
}
#contents2 h2::before{
    content: "";
    background-color: #fff;
    width: 100px;
    height: 1px;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* topcms */


/* footer */



/* under page */
#page_title .title_img {
    background-position: top 90% center;
    height: 350px;
}

/* cms1 */

/* cms2 */

/* cms3 */

/* cms4 */

/* cms5 */

/* page7 */

/* page8 */

/* page9 */

/* page10 */


/* ---------- タブレット ---------- */
@media screen and (max-width: 768px){
.pc_box #logo {max-width: 250px;}
#main_img .catch {
    top: auto;
    bottom: 5%;
}
#main_img .catch img {max-width: 460px;}
.contents1_wrap::before {border-width: 0 0 470px 270px;}
#contents1 .con1_img{
    position: absolute;
    bottom: -30px;
    right: -30px;
}
#page_title .title_img {
    height: 158px;
}

}
/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
.pc_box #logo {max-width: 200px;}
#main_img .catch img {max-width: 250px;}
.contents1_wrap::before {border-width: 0 0 380px 300px;}
#contents1 .con1_item{margin-bottom: 200px;}
#contents1 .txt2_1 {font-size: 16px;}
#page_title .title_img {
    height: 120px;
}

}



