/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html
{
line-height: 1.15;
font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif; 
    /* 1 */

    -webkit-text-size-adjust: 100%;
    /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body
{
margin: 0;
font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif; 

}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

a:hover{
    cursor: pointer;
    color:yellow;
}

h1
{
font-size: 2em;

    margin: .67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr
{
/* 1 */
    overflow: visible;

    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre
{
font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a
{
background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title]
{
/* 1 */
            text-decoration: underline;
            text-decoration: underline dotted;

    border-bottom: none;
    /* 2 */

    -webkit-text-decoration: underline dotted;
    /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong
{
font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp
{
font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small
{
font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup
{
font-size: 75%;
    line-height: 0;

    position: relative;

    vertical-align: baseline;
}

sub
{
bottom: -.25em;
}

sup
{
top: -.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img
{
border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea
{
font-family: inherit;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */

    margin: 0;
    /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input
{
/* 1 */
    overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select
{
/* 1 */
    text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type='button'],
[type='reset'],
[type='submit']
{
-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner
{
padding: 0; 

    border-style: none;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type='button']:-moz-focusring,
[type='reset']:-moz-focusring,
[type='submit']:-moz-focusring
{
outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset
{
padding: .35em .75em .625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend
{
/* 2 */
    display: table;

    box-sizing: border-box;
    /* 1 */
    max-width: 100%;
    /* 1 */
    padding: 0;
    /* 3 */

    white-space: normal;
    /* 1 */

    color: inherit;
    /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress
{
vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea
{
overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type='checkbox'],
[type='radio']
{
box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button
{
height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type='search']
{
/* 1 */
    outline-offset: -2px;

    -webkit-appearance: textfield;
    /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type='search']::-webkit-search-decoration
{
-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button
{
/* 1 */
    font: inherit;

    -webkit-appearance: button;
    /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details
{
display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary
{
display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template
{
display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden]
{
display: none;
}

*
{
box-sizing: border-box;
}

html,
body
{
font-size: 62.5%;
}

body
{
margin: 0;
    padding: 0;

    background-image: url(../images/bg.jpg);
    background-repeat: repeat;
    background-position: center top; 
    background-size: 100% auto, 100% auto;
}

ul,
ol
{
margin: 0;
    padding: 0;

    list-style: none;
}

header,
article,
footer,
nav,
aside,
section
{
display: block;
}

figure
{
margin: 0;
    padding: 0;
}
figure img
{
max-width: 100%;
}

h1
{
font-size: 2.4rem;

    margin-top: 0;
}

h2
{
font-size: 2.2rem;
color:#316745;
border-bottom:dashed 1px;
padding-bottom:5px;
}

h3
{
font-size: 1.82rem;
}

h4
{
font-size: 1.82rem;
margin-left:5px;
padding-left:5px;
margin-top:35px;
margin-bottom:15px;
}

h4::before{
    content: "●";
    color:#316745
}

h5
{
font-size: 3rem;
padding:25px;
margin-top:35px;
margin-bottom:15px;
color:#fff;
}

.bg_purple{
    background:linear-gradient(90deg, rgba(131,55,127,.8), rgba(255,255,255,0) 80%);
}

.bg_red{
    background:linear-gradient(90deg, rgba(201,88,86,.8), rgba(255,255,255,0) 80%);
}


.komidashi
{
font-size: 1.6rem;
margin:5px;
    padding:10px 20px;
    border:thin solid #316745;
    border-radius: 25px;
    font-weight: bolder;
    letter-spacing: 0.5rem;
}


li,
dt,
dl,
th,
td,
caption,
option,
label,
figcaption
{
font-size: 1.8rem;
}

p
{
font-size:1.8rem;
letter-spacing: 2px;
}

.small{font-size: 1.6rem}

p,
li
{
line-height: 1.8;
}

img
{
max-width: 100%; 

    vertical-align: middle;
}

table
{
border-collapse: collapse;
}

label
{
    margin-bottom: 1.5em;
}


textarea
{
display: block;
    width:100%;
    min-width:450px;
    padding: .2em; 
    border: 1px solid #ccc;
    border-radius: 4px;
}

select{
display: block;
    width:180px;
    padding: .2em; 
    border: 1px solid #ccc;
    border-radius: 4px;
}

input{
    font-size: 2rem; 
    padding: .2em; 
    border: 1px solid #ccc;
    border-radius: 4px;
}

dt{float: left;line-height: 1.8;font-weight: bold}
dd{margin-left:100px;line-height: 1.8}

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

select,
textarea
{
font-size: 2rem; 

        width: 100%;
    min-width:inherit;
        padding: .5rem;
    }
    
dt{float:inherit;margin-top:10px;}
dd{margin-left:0px;}

}

a
{
text-decoration: none;
}

button
{
border: none; 
    background: none;
}

.flex
{
display: flex;
}
.flex .expand
{
flex: 1;
}

.fill
{
flex: 1;
}
.fill + figure
{
margin-left: 2em;
}
figure + .fill
{
margin-right: 2em;
}

.container
{
position: relative; 

    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.center
{
text-align: center;
}

.allCenter
{
display: flex;

    justify-content: center;
    align-items: center;
}

.boxCenter
{
margin-right: auto; 
    margin-left: auto;
}

.btn
{
font-size: 2.5rem;

    display: block;

    margin-top: 5rem;
    margin-right: auto;
    margin-left: auto;
    padding: 3rem;

    text-align: center;

    border-radius: 1rem;
    box-shadow: 0 0 1rem rgba(0, 0, 0, .1), 0 0 5rem rgba(0, 0, 0, .1) inset;
}
.btn.inquiry
{
color: #fff; 
    background: rgba(3, 114, 113, .8);
}
form .btn.inquiry
{
margin-top: 3rem;
    padding: 2rem;
}

.btn_small a{
    width:50%;
    font-size: 2rem;
    color:#fff;
    display: block;
    margin-top: 2rem;
    
    padding: 1rem;

    text-align: center;

    border-radius: 0.7rem;
    box-shadow: 0 0 1rem rgba(0, 0, 0, .1), 0 0 5rem rgba(0, 0, 0, .1) inset;
    background: rgba(3, 114, 113, .8);
}

.btn_small a:hover{opacity:.8}
.btn:hover
{
opacity: .8;
}
@media screen and (max-width: 768px)
{
.btn
{
width: 100%;
    }
    
.btn_small a{
    width:40%;
    font-size: 1.8rem;
    letter-spacing: 0;
}
}

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

.btn_small a{
    width:100%;
    font-size: 1.8rem;
    letter-spacing: 0;
}
}

nav ul
{
display: flex;

    background-color: transparent;
}

nav li
{
background-color: transparent;
}
nav li .rotation
{
display: inline-block;

    -webkit-transform: rotate(-90deg);
            transform: rotate(-90deg);
}

nav a
{
display: block;

    width: 100%;
    padding: 1rem 1rem;
}

nav a:hover{cursor: pointer}

/*
nav a img

{
-webkit-filter: drop-shadow(0 0 5px #bfffff) drop-shadow(0 0 5px #bfffff) drop-shadow(0 0 5px #bfffff);
        filter: drop-shadow(0 0 5px #bfffff) drop-shadow(0 0 5px #bfffff) drop-shadow(0 0 5px #bfffff);
}


nav a img:hover{
-webkit-filter: drop-shadow(0 0 10px #549632) drop-shadow(0 0 10px #549632) drop-shadow(0 0 10px #549632);
        filter: drop-shadow(0 0 10px #549632) drop-shadow(0 0 10px #549632) drop-shadow(0 0 10px #549632);
}
*/

nav a img:hover

{
-webkit-filter: drop-shadow(0 0 5px #bfffff) drop-shadow(0 0 5px #bfffff) drop-shadow(0 0 5px #bfffff);
        filter: drop-shadow(0 0 5px #bfffff) drop-shadow(0 0 5px #bfffff) drop-shadow(0 0 5px #bfffff);
}

 nav .left,
 nav .right
{
z-index: 1; 

    display: flex;

    flex-basis: 45%;
}

#index nav .left
{
z-index: 1; 

    display: flex;

    flex-basis: 40%;
}



nav .left{flex-direction: row-reverse;justify-content: flex-start}

nav .right
{
flex-direction: row-reverse;
}

nav .parent
{
position: relative;
}
nav .parent li
{
display: block;
}
nav .parent .sub
{
display: none; 

    background-color: rgba(255, 255, 255, .5);
}
nav .parent .sub li
{
display: block;

    width: 3rem;
}
nav .parent:hover .sub
{
position: absolute;
    z-index: 1; 

    display: inline-block;
}

.sec_menu_img img{
    width:85%;
    
}

@media screen and (max-width: 768px)
{
nav
{
position: fixed;
        z-index: 9;
        top: 0;
        left: 0;
        left: -100vw;

        overflow: auto;

        width: 60vw;
        height: 100vh;
        padding-top: 5rem;

        transition: .7s 0s ease-in-out; 

        background-color: rgba(255, 255, 255, .8);
    }
    nav.active
{
left: 0;
    }
    nav li
{
width: 100%;
    }
    nav li a
{
padding: 1.5rem;
    }
    nav .left,
nav .right
{
flex-direction: column;

        align-items: flex-start;
    }
    
.sec_menu_img img{
    width:auto;
    
}

}


@media screen and (min-width: 769px)
{
#index nav
{
padding-top: 150px;
    }
    nav .inner
{
display: flex;
        flex-direction: row-reverse;

        justify-content: space-between;
        flex-wrap: wrap;
    }
    
nav .right
{
justify-content: flex-start;
    }

 nav .left{justify-content: flex-end;}
}

#spNav
{
position: fixed;
    z-index: 9999; 
    top: 1.5rem;
    right: 1.5rem;

    padding: 1rem;
}
#spNav span
{
display: block;

    width: 3rem;
    height: 3px;

    background-color: #fff;
    box-shadow: 0 0 5px #017296;
}
#spNav span:nth-child(2)
{
margin-top: 8px;
    margin-bottom: 8px;
}
@media screen and (min-width: 769px)
{
#spNav
{
display: none;
    }
    .sec #spNav
{
padding-top: 65px;
    }
}

#index header
{
height: 100vh;

    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}

body:not([id='index']) header
{
background-repeat: no-repeat;
}

header h1,
header p.siteName
{
display: flex;
    flex-direction: column;

    margin: 0 auto; 

    align-items: center;
}

/*
header h1 img,
header p.siteName img
{
-webkit-filter: drop-shadow(0 0 10px #bfffff) drop-shadow(0 0 10px #bfffff) drop-shadow(0 0 10px #bfffff);
        filter: drop-shadow(0 0 10px #bfffff) drop-shadow(0 0 10px #bfffff) drop-shadow(0 0 10px #bfffff);
}
*/

header h1::before
{
display: block; 

    
}

header p.siteName::before
{
display: block; 

    content: url(../images/sec_icon.png);
}

@media screen and (max-width: 768px)
{
    
#index header
{
height: 85vh;

    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
}    
    
header
{
background-position: right top; 
        background-size: cover;
    }
    header h1,
header p.siteName
{
padding-left: 1rem;
    }
    #index header
{
padding: 0; 

        background-image: url(../images/bg_header_sp.jpg);
    }
    #index header h1
{
display: flex;

        width: auto;
        height: 80vh;
        margin: 0;
        padding: 0 1rem;
        padding-top:50px;
        justify-content: center;
        align-items: center;
    }
    body:not([id='index']) header
{
background-image: url(../images/bg_hd01_sp.jpg), linear-gradient(rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, .5) 100%);
        background-position: right top, left top;
        background-size: auto 100%, calc(100% - 10px) 90%;
    }
    
    /*
    body:not([id='index']) header::after
{
display: block;

        width: 100%;
        height: calc(100vw * calc(606 / 1920));
        margin: 0 auto; 

        content: '';

        background: url(../images/bg_hd02_sp.jpg) no-repeat center top;
        background-size: cover;
    }
    */
    header p.siteName
{
flex-direction: row; 

        padding: 1rem .5rem;
    }
    header p.siteName img
{
position: relative;
        z-index: 99999;

        -webkit-filter: drop-shadow(0 0 10px #bfffff) drop-shadow(0 0 10px #bfffff) drop-shadow(0 0 10px #bfffff);
                filter: drop-shadow(0 0 10px #bfffff) drop-shadow(0 0 10px #bfffff) drop-shadow(0 0 10px #bfffff);
    }
}

@media screen and (min-width: 769px)
{
#index header
{
padding-top: 38px;

        background-image: url(../images/bg_header.jpg);
    }
    header h1,
header p.siteName
{
position: absolute; 
        z-index: 0;

        justify-content: center;
    }
    header h1
{
top: 50px;
    }
    #index header h1
{
right: 0;
        left: 0;

        margin-right: auto; 
        margin-left: auto;
    }
    body:not([id='index']) header
{
margin-bottom: 54px;
        padding-top: 24px;

        background-image: url(../images/bg_hd01.jpg), linear-gradient(rgba(255, 255, 255, .5) 0, rgba(255, 255, 255, .5) 100%);
        background-position: right top, left top;
        background-size: 100% auto, calc(100% - 10px) 90%;
    }
    
  /*
    body:not([id='index']) header::after
{
margin: 0 auto; 

        content: url(../images/bg_hd02.jpg);
    }
    */
    
    
    body:not([id='index']) header p.siteName
{
left: 48%;
    }
}

article
{
position: relative; 

    background-repeat: no-repeat;
    background-position: center top;
}
article .inner
{
max-width: 100%;
}
article .inner h1
{
display: block;
}
.sec article
{
padding-bottom: 10px;
}
article .container
{
margin: 0 auto;
    padding: 25px 30px;
}
article .container .box
{
position: relative;
    z-index: 1;

    margin: 0 auto; 
    padding: 0;
}
article .container .box.flex
{
justify-content: space-between;
}
article .container .box figure
{
display: flex;
}
article .container .box figure:first-child
{
align-items: flex-end;
}
article .container .box figure:last-child
{
align-items: flex-start;
}
#shingonshu article .container .box
{
justify-content: space-around;
}
#shingonshu article .container .box figure
{
text-align: center; 

    flex: 1;
}
article .container + .box
{
position: relative;
    right: 0;
    left: 0;

    width: 1280px;
    margin-right: auto;
    margin-left: auto;

    justify-content: space-between;
}
article .container + .box figure
{
display: flex;
}
article .container + .box figure:first-child
{
align-items: flex-end;
}
article .container + .box figure:last-child
{
align-items: flex-start;
}
article > .container
{
background-image: url(../images/bg_sec-inner.jpg); 
    background-position: top center;
    background-size: 1100px auto;
}
#shingonshu article section figure
{
display: inline-block;
}
@media screen and (max-width: 768px)
{
article .container
{
padding: 1rem;
    }
    article .container > .inner.flex
{
flex-direction: column;
    }
    article .container .box
{
width: 100%;
    }
    article .container + .box
{
width: 100vw;
    }
    article .container + .box figure:first-child
{
flex-basis: 58%;
    }
    article .container + .box figure:last-child
{
flex-basis: 38%;
    }
    article > .container
{
padding: 1rem 1rem 7rem;
    }
    article .inner p
{
font-size: 1.6rem;
    }
    article .inner .lead
{
line-height: 1.6;
    }
    article .fill + figure
{
margin-right: auto; 
        margin-left: auto;
    }
}
@media screen and (min-width: 769px)
{
.sec article
{
padding-bottom: 54px;
    }
    article .container
{
padding-bottom: 50px;
    }
    article .inner h1
{
flex-basis: 100px;
    }
    article section figure
{
width: 30%;
    }
    article .lead
{
font-size: 2rem;
        line-height: 1.6;
    }
}

@media screen and (max-width: 768px)
{
#about article .container + .box
{
height: 50vw;
        margin-top: -8rem;
    }
}

@media screen and (min-width: 769px)
{
#about article .container + .box
{
height: 550px;
        margin-top: -140px;
    }
}

#access .map-big
{
width: 100%;
    height: 450px;
}

#reien table,
#pets table
{
table-layout: fixed;
}

#reien thead,
#reien caption,
#pets thead,
#pets caption
{
color: #fff; 
    background-color: #17363f;
}

#reien tbody tr,
#pets tbody tr
{
border: 1px solid #17363f;
}

#reien .tableHeader,
#pets .tableHeader
{
border-right: 1px solid #17363f;
}

#reien caption,
#reien th,
#reien td,
#pets caption,
#pets th,
#pets td
{
padding: .5rem .7rem;
}

#reien .price,
#pets .price
{
text-align: right; 

    color: #f00;
    border-left: none;
}

#reien section
{
margin-bottom: 5rem;
}

#reien table
{
width: 100%;
    margin-bottom: 2rem;
}
#reien table + table
{
margin-top: -1.5rem;
    margin-bottom: 2rem;
}
.sougi_plan_covoer{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top:20px;
    margin-bottom: 20px;
}
.sougi_plan{
    display: block;
    background: rgba(0,163,129,0.5);
    border-radius:10px;
    font-size: 1.6rem;
    padding:30px;
    margin:5px;
}

.sougi_plan_sub{
    background: rgba(0,163,200,0.35);
    border-radius:10px;
    font-size: 1.6rem;
    padding:30px;
    margin:5px;
}

.houyou_flex{
    display: flex;
    justify-content: center;
    width:100%;
    margin-top:10px;
    align-items: stretch;
    flex-wrap: wrap;
}
.houyou{
    display: block;
    background: rgba(0,163,129,0.5);
    border-radius:10px;
    font-size: 1.6rem;
    padding:30px;
    margin:5px;
    text-align: center;
    width: 23%;
    letter-spacing: 0.5rem;
    vertical-align: middle;
}

.sp-only{
        display: none;
    }
.pc-only{
    display: block;
}

@media screen and (max-width: 414px){
    .sougi_plan{
    background: rgba(0,163,129,0.5);
    border-radius:10px;
    font-size: 1.4rem;
    padding:20px;
    margin:2px;
    max-width:inherit;
}
    .houyou{
 padding:20px 10px;
    width: 45%;
    letter-spacing: 0.2rem;

}
    .sp-only{
        display: block;
    }
    .pc-only{
        display: none;
    }

}

@media screen and (max-width: 768px)
{
#reien section .inner.flex
{
flex-direction: column;
    }
    #reien section .inner.flex figure
{
margin-top: 1.6rem;
        margin-bottom: 1.6rem;
    }
}

@media screen and (min-width: 769px)
{
#reien .vertical
{
flex-basis: 300px;
    }
    #reien .horizontal
{
flex-basis: 450px;
    }
}

#inquiry form
{
display: block;

    margin: 1.6em auto;
}

#inquiry textarea
{
height: 200px;
}

@media screen and (min-width: 769px)
{
#inquiry form
{
width: 80%;
    }
   
#inquiry textarea
{
width: 80%;
    }
}

@media screen and (max-width: 768px)
{
#batoh .box.flex
{
flex-direction: column;
    }
}

@media screen and (min-width: 769px)
{
#batoh article .container + .box
{
margin-top: -460px;
    }
}

aside
{
position: absolute;
    top: 0;
    left: 0; 

    display: block;

    width: 100%;
    height: 38px;

    background-color: #566310;
}
aside .container
{
height: 100%;
}
footer aside ul
{
display: flex;

    height: 100%; 

    justify-content: flex-end;
    align-items: center;
}
footer aside li
{
height: 100%;

    border: none;
}
footer aside li:not(:last-child)
{
border: none;
}
aside a
{
display: flex;

    width: 100%;
    height: 100%; 

    justify-content: center;
    align-items: center;
}
aside a:first-child
{
margin-right: 30px;
}
@media screen and (max-width: 768px)
{
aside
{
display: none;
    }
}

footer
{
z-index: 999999; 

    background: #017296;
}
footer a,.add
{
color: #fff;
}
footer ul
{
position: relative; 

    display: flex;

    justify-content: center;
    flex-wrap: wrap;
}

footer li{
        line-height:2;
    padding:2px;
}

footer .sub
{
display: none;
}
.parent:hover footer .sub
{
display: block;
}

.footer_add_map{
    padding:20px;
    display: flex;
    align-content: space-around;
    margin:0 auto;
    width:80%;
}

.add{
    width:500px;
}

.add .name{
    font-size: 2.8rem;
    letter-spacing: 8px;
}

.map{
    width:450px;
}

.btn_2 a{
    font-size: 1.5rem;
    padding:10px;
    background:#205080;
    border-radius: 5px;
}

.btn_2 a:hover{
    background:#84b9cb;
}

@media screen and (max-width: 768px)
{
footer .container
{
padding: 1rem 0;
    }
    footer a
{
display: block;

        width: 100%;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    footer ul
{
flex-wrap: wrap;
        justify-content: flex-start;
    }
    footer li
{
text-align: center; 

        flex-basis: 50%;

    }
    
.footer_add_map{
    width:90%;
    border-top:#fff thin solid;
}
    
.add{
    width:50%;
}

.map{
    width:50%;
}
.btn_2 a{
    width:80%;
    text-align: center;
    margin:10px;
}

@media screen and (max-width: 450px)
{
  .footer_add_map{
    width:100%;
      display: inherit;
    border-top:#fff thin solid;
}  
    .add{
    width:100%;
}
    .map{
        width:100%;
    }

    .btn_2 a{
    width:80%;
        margin:5px auto;

}
    }
    
}
@media screen and (min-width: 769px)
{
footer .container
{
padding: 1rem;
    }
    
    footer .inner{
        border-bottom:#fff thin solid;
        padding-bottom:20px;
}
    footer .inner + .inner
{
margin-top: 1em;
    }
    footer li
{
padding-right: 0.5em; 
        padding-left: 0.5em;
    }
    footer li:not(:last-child)
{
border-right: 1px solid #015f7d;
    }
}

#toTop
{
position: fixed;
    z-index: 99;
    right: 1.5rem;
    bottom: 1.5rem;

    display: none; 

    width: 5rem;
    height: 5rem;

    border-radius: 100%;
    background-color: rgba(255, 255, 255, .7);
    box-shadow: 0 0 5px #017296;
}

.flex_area{
    display:flex;
    justify-content: space-between;
}
.flex_area img{
    margin:5px;
}


.flex_image{
    display:flex;
    justify-content: center;
    flex-wrap: wrap;}

.flex_image .ginnan_img{
    background-size: contain;
    width:100%;
    height:400px;

}

.ginnan{
    width:45%;
    max-width:450px;
        margin:5px;
}

.ginnan p{
    margin-top:5px;
}

.ginnan_img_wide{
    background-size: contain;
    width:100%;
    height:400px;
    margin:5px auto;

}


.kaiki{
    display:flex;
    justify-content:flex-start;
    align-items: stretch;
    flex-wrap: wrap;
    margin-top:15px;
    margin-left:15px;
}

.kaiki li{
    padding:15px;
    margin:2px;
    background: rgba(255,255,255,0.8);
    border:darkgreen thin solid;
    min-width:150px;
    text-align: center;
}

.keidai_map{
    width:100%;
    max-width:880px;
}

.keidai-map area:hover{
    filter: hue-rotate(90deg);
}

.sougi-kakomi{
    border:thin solid darkgreen;
    padding:15px;
    text-align: center;
}

.sougi-plan{
    display:flex;
    justify-content:flex-start;
    flex-wrap: wrap;
    padding:15px;
}

.sougi-plan li{
    margin-left:10px;
}

.sougi-plan-cover{
    border:#83377F solid thin;
    border-radius: 25px;
    background: rgba(255,255,255,1);
    max-width:768px;
    margin:0 auto;
}

.sougi-nagare{
    display:flex;
    justify-content:center;
    align-items: stretch;
}

.nagare1{
    background: rgba(255,255,255,0.5);
    border:thin darkgreen solid;
    padding:15px;
    margin-bottom:10px;
    width:30%;
    min-width:300px;
}

.sougi-nagare li{
    margin:10px;

}

.kakomi-gray{
    background: rgba(120,120,120,0.5);
    color:#000;
    padding:5px;
    text-align: center;
}

.kakomi-green{
    background: rgba(80,150,80,0.5);
    color:#000;
    padding:5px;
    text-align: center;
}

.kakomi-blue{
    background: rgba(40,40,100,0.5);
    color:#000;
    padding:5px;
    text-align: center;
}

.kakomi-pink{
    background: rgba(180,80,80,0.5);
    color:#000;
    padding:5px;
    text-align: center;
}


 .sp-br{
        display:none;
    }

@media screen and (max-width: 768px)
{
  .flex_area{
    display:block;
    margin:0 auto;
}  
    
    .sougi-plan{
    padding:5px;   
}
.sougi-plan li{
    margin-left:5px;
}
    
    .nagare1{
    background: rgba(255,255,255,0.5);
    border:thin darkgreen solid;
    padding:15px;
    margin-bottom:10px;
    width:33%;
    min-width:inherit;
}

.sougi-nagare li{
    margin:2px;
    min-width:inherit
}

    
}

@media screen and (max-width: 414px)
{
.flex_image{
    display:inherit;
    
    }


.ginnan{
    background-size: contain;
    width:95%;
    height:350;
    margin:5px;

}

.flex_image .ginnan_img{
    background-size: contain;
    width:100%;
    height:350;
    margin:5px;

}

.sougi-nagare{
    display:inherit;
    text-align: center;
}
        .nagare1{
    background: rgba(255,255,255,0.5);
    border:thin darkgreen solid;
    padding:15px;
    margin-bottom:10px;
    width:100%;
    min-width:inherit;
}

.sougi-nagare li{
    min-width:inherit
}

    
    .sp-br{
        display: block;
    }
}


.link-mokuji {
    width:100%;
    height: 40px;
    background:;
    padding-bottom:10px;
    z-index:100000;
    position: relative;
}

.link-mokuji a{
    color:#fff;
    font-size:24px;
}
.link-mokuji a:hover{
    color:yellow;
}


.toi{
    width:900px;
    margin-bottom:40px;
}
.toi dl{
    margin:10px;
}
.toi dt{
    font-weight: 100;
    float: left;
    line-height: 1.8;
}
.toi dd{
    line-height: 1.8;
    margin-left: 0px;
    padding-left: 220px;
    border-bottom: thin dotted #222;
    margin-bottom:5px;
    padding-bottom:5px;
}

.chk{
        width:30px;
    }
    .nyuryoku{
        margin:5px;
        padding:10px;
        background:rgba(160,216,239,1);
        min-width:250px;
        border:#13a4af thin solid;
    }

.info_area{
    position: relative;
    width:100%;
    height:auto;
    padding:10px 20px;
    background: url(../images/bg_content.jpg);
}

.info_area a:hover img{
    filter: brightness(1.2);
    opacity: .8;
}

.info-contents{
    width:100%;
    max-width:950px;
    margin:0 auto;
}

.info-contents h3{
    font-size: 2rem;
    margin:0;
    padding-bottom:20px;
}

        .toi-flex{display: flex;justify-content: flex-start;align-items: center; font-size: 1.8rem;margin:10px 0;line-height: 1.8}
        .toi-flex-label{width:220px;margin-left:10px;}
        .toi-flex-input{font-size: 1.8rem}

        @media screen and (max-width: 414px){
            .toi-flex{display:inherit}
            .toi-flex-input{padding:10px;padding-left:20px;}
        }


@media screen and (max-width: 768px)
{
    .toi{
    width: inherit;
    margin-left:15px;
    margin-bottom:40px;
}
.toi dl{
    margin:10px;
}
.toi dt{
    font-weight: 100;
    float: left;
    line-height: 1.8;
}
.toi dd{
    line-height: 1.8;
    margin-left: 0px;
    padding-left: 220px;
    border-bottom: thin dotted #222;
    margin-bottom:5px;
    padding-bottom:5px;
}
    

}


@media screen and (max-width: 414px)
{
    .toi{
    width: inherit;
    margin-left:15px;
    margin-bottom:40px;
}
.toi dl{
    margin:10px;
}
.toi dt{
    font-weight: 100;
    float:inherit;
    line-height: 1.8;
}
.toi dd{
    margin-left: 0px;
    padding-left: 10px;
}

    input,textarea{
        width:100%;
    }

    .chk{
        width:30px;
    }
    .nyuryoku{
        margin:5px;
        background:rgba(160,216,239,0.5);
        width:95%;
    }

}

/*お盆のお知らせ*/
.info-flex{
              width:100%;max-width:650px;margin:0 auto;display: flex;margin-bottom:20px;
          }
          .info-flex p{margin:0;}
          .info-naiyou{
              margin-left:20px;
          }
          .info-flex-sub{
              display: flex;justify-content:space-between
          }
          @media screen and (max-width: 414px){
              .info-flex{
              display: inherit;
          }
          }

/*新盆のお知らせ*/
.midashi{
    font-size: 2rem;
    font-weight: bold;
    color:navy;
    border-bottom:thin navy solid;
    padding-bottom:0.5rem;
    width:100%;
    max-width:650px;
    margin:0 auto 0.5rem;
}
ul.shinbon-list{
    margin-left:20px;
}
ul.shinbon-list li{
    list-style: disc;
}
.info-contents h4{
    text-align: center;
    padding-bottom:2rem;

}
.info-contents h4:before{
    content:"";
}
p.time{
    width:24rem;
}