html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
 
body {
    line-height:1;
    font-family: serif;
}
 
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}
 
nav ul {
    list-style:none;
}
 
blockquote, q {
    quotes:none;
}
 
blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}
 
a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}
 
/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}
 
/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000; 
    font-style:italic;
    font-weight:bold;
}
 
del {
    text-decoration: line-through;
}
 
abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}
 
table {
    border-collapse:collapse;
    border-spacing:0;
}
 
/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}
 
input, select {
    vertical-align:middle;
}
a {
    /* text-decoration: none; */
    color: black;
}
/* リセットCSSここまで */
/*==============================
    ヘッダー
==============================-*/
header {
    width: 100%;
    text-align: center;
    padding-top: 2rem;
}
header h1 {
    font-size: 3rem;
    font-weight: bold;
    padding-bottom: 2rem;
}
header nav,footer nav {
    width: 100%;
    background-color: #e5f2e0 !important;
    padding: 1rem 0;
}
.navbar-nav,footer ul {
    width: 60%;
    margin: auto;
    display: flex;
	justify-content: space-around;
    padding: 1rem 0;
}
a {
    color: black !important;
}
/*==============================
    メインイメージ＆テキスト
==============================-*/
.main-image {
    width: 100%;
    position: relative;
}
.main-text {
    width: 80%;
    position: absolute;
    bottom: 10%;
    left: 10%;
}
.main-text h2 {
    font-size: 2rem;
    line-height: 2.5rem;
}
/*==============================
    業務内容
==============================-*/
.title {
    width: 20%;
    background-color: #e5f2e0;
    text-align: center;
    font-size: 2rem;
    padding: 1rem 0;
    font-weight: bold;
    margin: 4rem auto;
}
.gyoumu {
    width: 90%;
    margin: auto;
}
.gyoumu h3 {
    font-size: 1.5rem;
    padding: 0.5rem 0 0.5rem 1rem;
    background-color: #efefef;
    margin-top: 1rem;
}
.gyoumu p {
    width: 98%;
    margin: auto;
    margin-top: 0.5rem;
    line-height: 1.5rem;
}
.gyoumu h3 {
    font-size: 1.6rem;
}
.gyoumu p {
    font-size: 1rem;
}
/*==============================
    事業所案内
==============================-*/
.access {
    display: flex;
}
.access2 {
    display: none;
}
/*==============================
    お問い合わせ
==============================-*/
#page3 {
    margin: 5rem 0;
}
#page3 h4 {
    text-align: center;
    margin-bottom: 3rem;
}
#page3 h3 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
}
#page3 h3 a {
    font-weight: bold;
}
/*==============================
    フッター
==============================-*/
footer a {
    text-decoration: none;
}
.tel {
    background-color: #e5f2e0;
    text-align: center;
    padding: 3rem 0;
}
.tel h5 {
    font-size: 2rem;
    letter-spacing: 0.5rem;
    margin-bottom: 1rem;
}
.tel h6 {
    margin-top: 2rem;
}
.copy {
    text-align: center;
    padding: 0.5rem 0;
}
.wrapper {
    margin: 7rem 0;
}
@media (max-width:999px) {
    /*==============================
    ヘッダー
==============================-*/
header {
    width: 100%;
    text-align: center;
    padding-top: 1rem;
}
header h1 {
    font-size: 2rem;
    font-weight: bold;
    padding-bottom: 1rem;
}
header nav,footer nav {
    width: 100%;
    background-color: #e5f2e0 !important;
    padding: 1rem 0;
}
/*==============================
    メインイメージ＆テキスト
==============================-*/
.main-text {
    width: 90%;
    position: absolute;
    bottom: 5%;
    left: 5%;
}
.main-text h2 {
    font-size: 1.5rem;
    line-height: 2rem;
}
/*==============================
    業務内容
==============================-*/
.title {
    width: 40%;
}
.gyoumu {
    width: 90%;
    margin: auto;
}
/*==============================
    事業所案内
==============================-*/
.access {
    display: flex;
}
.access2 {
    display: none;
}
/*==============================
    お問い合わせ
==============================-*/
.contact {
    width: 90%;
    margin: auto;
}
/*==============================
    フッター
==============================-*/
footer ul {
    width: 60%;
    margin: auto;
    display: initial;
    padding: 1rem 0;
    text-align: center;
}
footer li {
    padding: 1rem 0;
}
}
@media (max-width:599px) {
/*==============================
    メインイメージ＆テキスト
==============================-*/
.main-text {
    width: 90%;
    position: absolute;
    bottom: -15%;
    left: 5%;
}
.main-text h2 {
    font-size: 1rem;
    line-height: 1rem;
    /* margin-bottom: 5rem; */
}
/*==============================
    業務内容
==============================-*/
.title {
    width: 50%;
    font-size: 1.5rem;
    margin-top: 5rem;
}
.gyoumu {
    width: 90%;
    margin: auto;
}
/*==============================
    事業所案内
==============================-*/
.access {
    display: none;
}
.access2 {
    display: initial;
}
/*==============================
    お問い合わせ
==============================-*/
#page3 {
    margin: 5rem 0;
}
#page3 h4 {
    text-align: center;
    margin-bottom: 3rem;
}
#page3 h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
/*==============================
    フッター
==============================-*/
footer ul {
    width: 60%;
    margin: auto;
    display: initial;
    padding: 1rem 0;
    text-align: center;
}
footer li {
    padding: 1rem 0;
}
.copy p {
    font-size: 0.5rem;
}
.tel h5 {
    font-size: 1rem;
    letter-spacing: 0.5rem;
    margin-bottom: 1rem;
}
.gyoumu h3 {
    font-size: 1.2rem;
}
.gyoumu p {
    font-size: 0.8rem;
}
}