
a{
    color:#d3d3d3;
    font-style:normal;
    text-decoration:none;
    display: block;
}
a:link {
    color:#d3d3d3;
    text-decoration: underline  
    font-style:normal;
}
a:visited {
    color:d3d3d3;
}
a:hover {
    color:#d3d3d3;
    font-style:normal;
}
a:active {
    color:#d3d3d3;
    text-decoration:none;
}
p.hasen {
   border-bottom: 1px dashed #887f7a;
}

p {
    padding-left:2em;
} 
html {
  min-height: 100%;
  position: relative;
}

body {
    font-family: 'Lato', sans-serif;
    background-image: url("img/back.jpg");
    font-color:#000b00;
    margin:0;
    margin-bottom: 4em;

}

.fixed{
    position: fixed;
    z-index: 1000;
}
.window {
  width: 100%;
  margin: 0px auto;

}
.window:after {
    content: "";
    clear: both;
    display: block;
}
/* header */
#top-head {
    position: fixed;
    width: 100%;
    margin: 0 auto;
    padding: 0 25px;
    line-height: 1;
    opacity: 0.6;
    background-image: url("img/back_t.jpg");
}
#top-head:after {
    content: "";
    display: block;
    height: 1px;
    background: #fff;
    width: 980px;
    margin: 30px auto 0;

}
#top-head a,
#top-head {
    color: #fff;
    text-decoration: none;
}
#top-head .window {
    position: relative;
}
#top-head .logo {
    float: left;
    font-size: 32px;

}
#global-nav ul {
    list-style: none;
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 16px;
}
#global-nav ul li {
    float: left;
}
#global-nav ul li a {
    padding: 0 30px;
}
 
/* Fixed */
#top-head.fixed {
    margin-top: 0;
    top: 0;
    position: fixed;
    padding-top: 10px;
    height: 55px;
    background: #fff;
    background: rgba(0,0,0,.7);
    transition: top 0.65s ease-in;
    -webkit-transition: top 0.65s ease-in;
    -moz-transition: top 0.65s ease-in;
}
#top-head.fixed .logo {
    font-size: 24px;
    color: #333;
}
#top-head.fixed #global-nav ul li a {
    color: #fff;
    padding: 0 20px;
}
 
/* Toggle Button */
#nav-toggle {
    display: none;
    position: absolute;
    right: 12px;
    top: 14px;
    width: 34px;
    height: 36px;
    cursor: pointer;
    z-index: 1000;
}
#nav-toggle div {
    position: relative;
}
#nav-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #666;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
    top: 0;
}
#nav-toggle span:nth-child(2) {
    top: 11px;
}
#nav-toggle span:nth-child(3) {
    top: 22px;
}

@media screen and (max-width: 640px) {
    #top-head,
    .window {
        width: 100%;
        padding: 0;
    }
    #top-head {
        top: 0;
        position: fixed;
        margin-top: 0;
    }
    /* Fixed reset */
    #top-head.fixed {
        padding-top: 0;
        background: transparent;
    }
    #mobile-head {
        background: #000;
        width: 100%;
        height: 56px;
        z-index: 1000;
        position: absolute;
    }
    #top-head.fixed .logo,
    #top-head .logo {
        position: absolute;
        left: 13px;
        top: 13px;
        color: #333;
        font-size: 26px;
    }
    #global-nav {
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: -500px;
        background: #333;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
    }
    #global-nav ul li a:hover {
        background: #000;    }
    #global-nav ul {
        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
        font-size: 14px;
    }
    #global-nav ul li {
        float: none;
        position: static;
    }
    #top-head #global-nav ul li a,
    #top-head.fixed #global-nav ul li a {
        width: 100%;
        display: block;
        color: #fff;
        padding: 18px 0;
    }
    #nav-toggle {
        display: block;
    }
    /* #nav-toggle 切り替えアニメーション */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(315deg);
        -moz-transform: rotate(315deg);
        transform: rotate(315deg);
    }
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-315deg);
        transform: rotate(-315deg);
    }
    /* #global-nav スライドアニメーション */
    .open #global-nav {
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateY(556px);
        -webkit-transform: translateY(556px);
        transform: translateY(556px);
    }
}

.circle{
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: black;
	margin:0 auto;
	text-align:center;
	line-height:100px;}
	
#underline{
    position:absolute;
    margin: 0px;
}
#main {
    width: 100%;
    text-align: left;
    margin: 0 auto;
}

.base{
     background-color: #fff;
     padding: 0;
     margin: 8px auto;
     width: 98%;
     border-radius: 3px 3px 3px 3px;
}
.case{
    display: flex;
    justify-content: center;
    text-align: center;  
    margin: 12px auto;
    background-image: url("img/back_t.gif");
    width: 90%;
    }

.box {
    width: 90%;
    padding: 24px 0;
    margin: 12px;
    background-color: #fff;
    box-shadow: 10px 10px 10px rgba(0,0,0,0.4); 
    border-radius: 3px 3px 3px 3px;

}
.box img {
    max-width: 100%;
    height: auto;
}@media screen and (max-width: 690px) {
  .case {
    flex-direction: column;
        margin: 0 auto;

  }
}@media screen and (max-width: 690px) {
  .box {
    margin: 20px auto;
  }
}
/* clearfix */
.case:before,
.case:after {
    content: "";
    display: table;
    clear: both;
}
 /* For IE 6/7 (trigger hasLayout) */
.case {
    zoom: 1;
}.maincontent {
    width: 80%;
    padding: 20px;
    margin: 20px auto;
    background-color: #fff;
    text-align: left;
    box-shadow: 10px 10px 10px rgba(0,0,0,0.4); 
    border-radius: 3px 3px 3px 3px;
 }@media screen and (max-width: 690px) {
  .maincontent {
    flex-direction: column;
    margin: 20px auto;
  }
}#footer {
    height: 4em;
    width: 100%;
    margin: 0 auto;
    font-size: 14px;
    text-align:right;
    color: #fff;
    background-color:#28353c;
    position: absolute;
    bottom: 0;
}
