:root {
    --mincho-font: 'Yu Mincho', 'Hiragino Mincho Pro', serif;
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    /*font-family: 'Yu Gothic', 'Hiragino Kaku Gothic ProN', sans-serif;*/
    font-family: 'Yu Mincho', 'Hiragino Mincho Pro', serif;
    color: #202020;
    text-size-adjust: none;
    font-size: 1rem;
    background: #EBE8E1;
}

/* 共通ヘッダ */
header {
    display: flex;
    align-items: center;
    background: black;
    color: white;
    padding: 0 4px;
}
header > div{
    width: 0;
    white-space: nowrap;
    overflow-x: visible;
}
header > h1{
    margin: 2px auto;
    font-weight: normal;
    font-size: 1.6rem;
}
.header-image{
    display: block;
    width: 100%;
    height: 55vw;
    max-height: 500px;
    object-fit: cover;
    background:black;
}
@media screen and (max-width: 600px) {
    header > div{
        display: none;
    }
}

/* 共通メニュー */
nav{
    display: grid;
    background: #FFFFFF;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
nav > a{
    padding: 0.5rem 0;
    text-align: center;
    border-bottom: 3px solid #CDC6B5;
    transition: ease 0.2s background-color;
}
nav > a:hover{
    background: #e6e3e1;
}
nav > a.select{
    font-weight: bold;
    background: #e6e3e1;
    border-color: #6e6c68;
}

/* 共通フッタ */
footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.90rem;
    margin-top: 18px;
}
.footer-links{
    display: flex;
    flex-wrap: wrap;
}
.footer-links a{
    margin: 0 0.25rem;
    text-decoration: underline;
}
.footer-image{
    width: 100%;
    max-height: 100px;
    margin: 0.25rem 0;
    background: black;
    object-fit: cover;
}
.footer-address{
    display: flex;
    align-items: center;
    margin: 0.50rem 0;
    column-gap: 6px;
}
small{
    font-size: 14px;
}

/* コンテンツ部 */
#content-root,
.content-root{
    max-width: 1262px;
    padding: 1rem 6px;
    margin: auto;
}
section{
    margin-top: 22px;
    padding: 14px;
    background: #FFFFFF;
}
h2{
    font-weight: normal;
    font-size: 1.4rem;
    margin: 0;
    padding: 0 14px;
    border-bottom: 1px solid #b1a898;
}
h3 {
    font-weight: bold;
    font-size: 1.25rem;
    margin: 1.8rem 0 0.25rem 0;
}
h4{
    font-weight: bold;
    font-size: 1rem;
    margin: 0.5rem 0 0 0;
}
h3:first-child,
h4:first-child {
    margin-top: 0;
}
section p + p{
    margin-top: 0.5rem;
}

/* 部品 */
a{
    font: inherit;
    color: inherit;
    text-decoration: none;
}
a[href^="mailto:"],
a[href^="tel:"],
a[href^="http"],
a.standard {
    color: #065FD4;
    text-decoration: underline;
}
a[href^="mailto:"]:visited,
a[href^="tel:"]:visited,
a[href^="http"]:visited,
a.standard:visited{
    color: #681da8;
}

input:not([type]),
input[type=text],
input[type=password],
input[type=email] {
    outline: none;
    border: 1px solid darkgray;
    border-radius: 3px;
    background: white;
    appearance: none;
    font-size: inherit;
    padding: 2px;
}
input:focus {
    border-color: skyblue;
}
input::placeholder{
    color: darkgray;
}

button{
    outline: none;
    border: 1px solid gray;
    border-radius: 2px;
    font-size: inherit;
    appearance: none;
}
button:not(:disabled){    
    cursor: pointer;
}

button:active {
    color: skyblue;
    border-color: skyblue;
}

button:disabled{
    color: gray;
    border-color: gray;
    background: lightgray;
}