@charset "utf-8";

/*BODY*/
html {
    font-size: 62.5%;
    /* 1rem = 10px */
}

body {
    background: #ffffff;
    box-sizing: border-box;
    font-family: "Times New Roman", "Hiragino Mincho ProN", "YuMincho", "Yu Mincho", "MS PMincho", "Noto Serif JP", serif;
	font-display: swap;	/*ウェブフォントの読み込み完了まで代替フォントを表示させる*/
    font-size: 1.8rem;
    text-align: left;
    line-height: 1.5;
    letter-spacing: 0.1rem;
	-webkit-text-size-adjust: 100%; /*iPhoneで横画面にするとフォントが大きくなってしまう現象対応コード*/
}

*,
*::before,
*::after {
    box-sizing: inherit;
    -webkit-font-smoothing: antialiased;
    word-break: break-word;
    word-wrap: break-word;
}

h1 {
    font-size: 36px;
    /* IE8以下とAndroid4.3以下用フォールバック */
    font-size: calc(2.4rem + ((1vw - 0.64rem) * 2.1429));
    /* 24px~36pxで可変*/
    line-height: 1.3;
    font-weight: bold;
    letter-spacing: 0.5rem;
}

h2 {
    font-size: 24px;
    /* IE8以下とAndroid4.3以下用フォールバック */
    font-size: calc(2rem + ((1vw - 0.64rem) * 0.7143));
    /* 20px~24pxで可変*/
    line-height: 1.3;
    font-weight: bold;
    letter-spacing: 0.4rem;
    
}

h3 {
    font-size: 19px;
    line-height: 1.3;
    font-weight: bold;
    letter-spacing: 0.3rem;
}

h4 {
    padding-top: 10px;
    font-weight: bold;
}
a {
    color: #000;
    text-decoration: underline;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
header a,
footer a{
	text-decoration: none;
}
a:active {
    color: #d6ce01;
}

a:hover {
    color: #d6ce01;
}

b {
    font-weight: bold;
}

section p {
    line-height: 1.8;
}

em{
	font-style: italic;
}

s{
	text-decoration: line-through;
}
select{
	appearance: auto;
}

.font-bold {
    color: crimson;
}

.font-gold {
    color: #beb501;
}

.font-large {
    font-size: 3.2rem;
}
.font-small {
    font-size: 1.4rem;
}
/*テーブルタグレイアウト*/
table {
    width: 70% !important;
    margin: auto;
    text-align: left;
    border-collapse: collapse;
}

th, td {
    padding: 20px;
}


th {
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    width: 20%;
    background-color: #fcfbe4;
}
td{
}
input[type="submit"],
input[type="button"]{
	cursor: pointer;
}

@media screen and (max-width: 850px) {

    /* 576px以下*/
    body {
        line-height: 1.5;
    }

    h1 {
        font-size: 2.4rem;
        /* 24px*/
    }

    h2 {
        font-size: 2rem;
        /* 20px*/
    }
    table{
        width: 100% !important;
    }
}


/*右寄せリンクテキスト用*/
.gotopage {
	font-size: 1.6rem;
    text-align: right;
    font-weight: bold;
    padding: 10px 0;
}
.gotopage a,
.breadcrumbs a{
	text-decoration: none;
}
/*NEWマーク*/
.newpost{
	font-weight: bold;
	font-size: 1.2rem;
	color: #b1a421;
}




/* --------------------------------------------------------- */
/*	トップに戻るボタン（右下固定） **********************************/
/* --------------------------------------------------------- */
.backtotop-hide{
	display: none;
}
#backtotop{
    bottom: 0px;
    position: fixed;
	z-index: 90;
    right: 15px;
}
#backtotop a {
    display: inline-block;
    background-color: #e9da26;
    color: #000;
    width: 50px;
    height: 50px;
    background-image: url(../images/backtotop.png);
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center center;
}

/* 850px以下に適用されるCSS（タブレット・スマホ用） */
@media screen and (max-width: 850px) {
    #backtotop {
        right: 0px;
    }
}

/* --------------------------------------------------------- */
/*	フッター  *************************************/
/* --------------------------------------------------------- */
footer {
    position: relative;
    background-color: #000;
    color: #fff;
    font-size: 1.5rem;
    text-align: center;
    padding: 120px 15px 30px 15px;
    width: 100%;
}

footer p {
    color: #c6c6c6
}

footer ul {
    margin-top: 20px;
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    justify-content: center;
    list-style-type: none;
}

footer li {
    display: block;
    padding: 25px;

}

footer a {
    color: #fff;
}

footer li img {
    height: 2rem;
}

.tel-link {
    pointer-events: none!important;
}

.footerflex {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
}

.footerflexchild ul {
    margin-top: 0;
}

.footerflexchild li {
    padding: 5px 10px;
}

.footerflex img {
    height: 28px;
}

#address {
    flex-direction: row-reverse;
}

#footerlogo {
    filter: invert(100%);
    height: 72px;
}

#copyright {
    margin: 20px 0;
    font-size: 1rem;
}

/* 850px以下に適用されるCSS（タブレット・スマホ用） */
@media screen and (max-width: 850px) {
    footer {
        padding: 50px 15px 20px 15px;
    }

    footer ul,
    #footerflex {
        display: block;
    }

    footer li {
        padding: 5px;
    }

    .tel-link {
        pointer-events: all!important;
    }
}

/* --------------------------------------------------------- */
/*	検索窓  ******************************************/
/* --------------------------------------------------------- */

#header-search input,
#header-search-sp input{
    border: solid 2px #666;
    font-size: 1.55rem;
    padding: 2px;
    background-color: #fff;
    text-align: left;
    pointer-events: all;
}
::placeholder{
    color: #999;
}
#header-search input.searchsubmit,
#header-search-sp input.searchsubmit{
    background-color: #666;
    color: #fff;
}
#header-search input.s{
	max-width:185px;
}

/* --------------------------------------------------------- */
/*	サムネ画像にマウスhover  ******************************************/
/* --------------------------------------------------------- */

.post-thumbnail,
.list-thumbnail{
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.post-thumbnail:hover,
.list-thumbnail:hover{
	opacity: 0.6;
}
