* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "YuGothic", "Yu Gothic", "游ゴシック", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro", "Verdana", "Arial", "Helvetica", "ＭＳ Ｐ明朝", "MS PMincho", "sans-serif";
}

/* aリンク */
a:link {
    color: #40220f;
    text-decoration: none;
    transition:color 0.25s ease-in-out;
}
a:visited {
    color: #776464;
}
a:hover {
    color: #036eb8;
}
a img {
    transition:all 0.25s ease-in-out;
}
a img:hover {
    transform: scale(1.2);
}

/* 小文字 */
.min7 {
    font-size: 0.7em;
}
.min8 {
    font-size: 0.8em;
}

/* タイトル */
h2 {
    height: 3em;
    padding: 0.8em;
    color: #fff;
    background-color: #036eb8;
}
h3 {
    height: 2em;
    padding: 0.3em;
    color: #036eb8;
}

/* テーブル */
table {
    width: 100%;
    border: 1px solid #333;
    border-collapse: collapse;
    box-shadow: 0.4em 0.4em 0.6em -0.2em #999;
}
table th {
    padding: 1em;
    background-color: #036eb8;
    color: #fff;
    border: 1px solid #ccc;
}
table td {
    padding: 1em;
    border: 1px solid #ccc;
}

/* 垂直方向の揺らし */
.vertical_swing {
    animation-name: vertical_swing;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: ease;
}
@keyframes vertical_swing {
    0% {transform:translate(0, 0);}
    50% {transform:translate(0, -10px);}
    100% {transform:translate(0, 0);}
}

/* Body */
body {
    width: 100%;
    background-image: url('../img/first_view.jpg');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-attachment: fixed;
}

/* メインページ */
div#base {
    width: 100%;
}

/* ロゴ */
h1 {
    position: fixed;
    top: 0.5em;
    left: 0.7em;
    width: 7em;
    z-index: 50;
}
h1 a img {
    width: 100%;
}
h1 a img:hover {
    opacity: 0.8;
    transform: none;
}
h1 span {
    display: none;
}

/* スクロールダウンボタン */
article#first_view img.scroll_content {
    display: block;
    position: absolute;
    top: 80%;
    right: 5%;
    width: 5em;
    max-width: 20%;
    opacity: 0.9;
    cursor: pointer;
}
article#first_view img.scroll_content:hover {
    opacity: 0.7;
}

/* フッター */
footer {
    position: relative;
    width: 100%;
    background-color: #036eb8;
    background-image: url('../img/wave.png');
    background-position: right bottom;
    background-repeat: no-repeat;
    color: #fff;
}
footer address {
    
}
footer address img {
    display: block;
    float: left;
}
footer address div {
    float: left;
    padding-top: 1em;
    line-height: 1.5em;
}
footer img.scroll_content {
    display: block;
    position: absolute;
    top: 10%;
    right: 5%;
    width: 5em;
    max-width: 20%;
    opacity: 0.9;
    cursor: pointer;
}
footer img.scroll_content:hover {
    opacity: 0.7;
}
footer div#copyright {
    position: absolute;
    border-top: 1px solid #fff;
}

/* TOPのでっかい画像 */
article#first_view {
    width: 100%;
}

/* 内容 */
article#content {
    position: relative;
    background-image: url('../img/washi.jpg');
    background-repeat: repeat;
    z-index: 1;
}

/* 内部リンク */
section#inner_link a {
    position: relative;
    display: inline-block;
    color: #fff;
    text-shadow: 1px 1px 4px #333,-1px -1px 4px #333;
    transition: all 0.25s ease-in-out;
}
section#inner_link a:hover {
    transform: scale(1.04);
    z-index: 9999;
}
section#inner_link a img {
    display: block;
    width: 100%;
    border: 1px solid #aaa;
}
section#inner_link a img:hover {
    transform: none;
}
section#inner_link p.link_title {
    position: absolute;
    right: 1em;
    bottom: 5em;
    width: 42%;
    font-size: 1.2em;
}
section#inner_link p.link_content {
    position: absolute;
    right: 1em;
    bottom: 2em;
    width: 60%;
    text-align: center;
}

/* お知らせ */
section#news {
    margin-bottom: 2em;
    box-shadow: 0.4em 0.4em 0.6em -0.2em #999;
}
section#news ul {
    padding: 0 1em 1em 0;
    background-image: url('../img/wave.png');
    background-color: rgba(255,255,255,0.3);
    background-position: right bottom;
    background-repeat: no-repeat;
    list-style: none;
}
section#news ul li {
    display: inline-block;
    margin: 1em 0 0 1em;
}
section#news ul li img {
    display: block;
    float: left;
    width: 15%;
}
section#news ul li div {
    float: left;
    width: 85%
}
section#news ul li p.date {
    font-size: 0.8em;
    padding-left: 0.8em;
}
section#news ul li p.detail {
    padding-left: 0.5em;
}
section#news ul li a {
    display: block;
}

/* 会社概要 */
section#about {
    margin-bottom: 2em;
}
section#about h2 {
    margin-bottom: 1em;
}

/* アクセス */
section#access {
    margin-bottom: 2em;
}
section#access p {
    margin-bottom: 0.5em;
    padding-left: 0.5em;
}
section#access iframe {
    width: 98%;
    height: 20em;
    margin-bottom: 1em;
    border: 1px solid #ccc;
}

/* お問い合わせ */
section#contact {
    margin-bottom: 2em;
}
section#contact div {
    margin: 2em 1em;
}
section#contact h3 {
    margin-top: 1em;
}
section#contact p {
    margin-bottom: 2em;
    font-size: 1.5em;
    font-weight: bold;
}

/* 事業内容 */
section#business {
    margin-bottom: 2em;
}
section#business a#line {
    color: #01c303;
    font-weight: bold;
}
section#business a#line:hover {
    color: #08a308;
}

