* {
    box-sizing: border-box;
    appearance: none;
    -webkit-text-size-adjust: 100%;
}

body {
    width: 100%;
    margin: 0;
}

body:lang(ja) {
    font-family: "SF Pro JP","SF Pro Text","SF Pro Icons","Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3","メイリオ","Meiryo","Helvetica Neue","Helvetica","Arial",sans-serif;
}

/* CLASS */

.shrink {   
    width: 100%;
    max-width: 1280px;
    min-width: 960px;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
}

.shrinker {
    max-width: 1024px;
}

.shrink > * {
    margin: 0 20px;
}

.section {
    padding: 20px 0 10px;
    background-color: #fefefe;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.section.panel {
    margin: 20px 0;
}

.section.panel > .shrink {
    padding-left: 20px;
    padding-right: 20px;
}

.section:not(.panel) {
    padding: 40px 0 0;
}

.section:not(.panel)::before {
    content:'';
    display: block;
    padding-top: 90px;
    margin-top: -90px;
}

.subhead {
    display: inline-block;
    font-weight: 700;
    color: #444;
    border-bottom: 3px solid #36a39a;
}

.subhead_left {
    display: flex;
    text-align: left;
    border: none;
}

.subhead_left div {
    border-bottom: 3px solid #36a39a;
}

.col2 {
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 20px;
}

.div3 {
    width: 33.333%;
    box-sizing: border-box;
    text-align: center;
    padding: 5px;
    margin: 0;
    overflow: hidden;
}

.div4 {
    width: 25%;
    box-sizing: border-box;
    text-align: center;
    padding: 5px;
    margin: 0;
    overflow: hidden;
}

.aspect2 {
    aspect-ratio: 2;
}

.aspect5 {
    aspect-ratio: 5;
}

.thumbnail > a {
    display: block;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: brightness(1.0);
}

.thumbnail > a:not(:has(img)) {
    background-color: #eee;
    border: 1px solid #36a39a;
    border-left: 4px solid #36a39a;
    border-radius: 3px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.thumbnail > a:hover {
    filter: brightness(1.1);
}

.thumbnail > a > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.thumbnail > a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    border-radius: 3px;
    background: linear-gradient(0deg, #fff 10%, transparent 50%);
}

.thumbnail > a > p {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 5px 10px;
    padding: 0;
    color: #444;
    text-align: left;
    font-weight: 700;
    font-size: 0.7rem;
}

.googlemap {
    position: relative;
    margin: 20px 0;
    width: 100%;
    height: 0;
    padding-top: 75%;
    overflow: hidden;
}

.googlemap iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

img.PDF {
    margin: 0 4px;
    transform: translateY(2px);
}

img.XLS {
    margin: 0 4px;
    transform: translateY(2px);
}

img.DOC {
    margin: 0 4px;
    transform: translateY(2px);
}

img.YouTube {
    margin: 0 4px;
    transform: translateY(1px);
}

img.NewTab {
    margin: 0 4px;
    transform: translateY(1px);
    filter: sepia(100%) saturate(270%) hue-rotate(125deg) brightness(140%)
}

p > a, .content li > a, td > a {
    color: #337ab7;
    text-decoration: none;
}

p > a:hover, .content li > a:hover, td > a:hover {
    filter: brightness(1.2);
    text-decoration: underline;
}

/**** Header ****/

header {
    position: sticky;
    height: 0px;
    top: -60px;
    width: 100%;
    padding: 0;
    z-index: 999;
}

/* ID */

#header_content_container {
    height: 60px;
    background-color: #fefefe;
}

#header_title {
    position: absolute;
    width: 350px;
    height: auto;
    top: 10px;
}

#header_title > img {
    width: 100%;
    height: auto;
}

#header_buttons {
    display: flex;
    justify-content: flex-end;
}

#header_buttons > a:nth-child(1) {
    background-color: #36a39a;
    width: 60px;
    height: 30px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    margin-right: 10px;
}

#header_buttons > a:nth-child(1) span {
    display: inline-block;
    color: #eee;
    font-size: 0.7rem;
    width: 100%;
    margin-top: 8px;
    text-align: center;
    vertical-align: middle;
}

#header_buttons > form:nth-child(2) {
    background-color: #ddd;
    width: 200px;
    height: 30px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    margin-right: 10px;
}

#header_buttons > form:nth-child(2) input {
    position: relative;
    font-size: 0.7rem;
    line-height: 1.8;
    border-radius: 2px;
}

#header_buttons > form:nth-child(2) input:nth-child(1) {
    top: -1px;
    left: 10px;
    width: 155px;
    border: none;
    outline: none;
}

#header_buttons > form:nth-child(2) input:nth-child(2) {
    top: 6px;
    left: 10px;
}

#header_buttons > a:nth-child(3) img {
    border-bottom-left-radius: 8px;
}

#header_buttons > a:nth-child(4) img {
    border-bottom-right-radius: 8px;
}

#header_menu_container {
    height: 30px;
    background-color: rgba(239, 239, 239, 0.95);
    color: #444;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    border: none;
}

#header_menu {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    margin: 0 20px;
    padding: 0;
    height: 100%;
    font-weight: 600;
    font-size: 0.7rem;
}

#header_menu > li:nth-child(1) {
    width: 25%;
}

#header_menu > li {
    position: relative;
    margin: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    list-style-type: none;
	-webkit-transition: all 0.5s;
	        transition: all 0.5s;
}

#header_menu > li > a {
    display: block;
    color: #444;
    width: 100%;
    height: 100%;
    padding-top: 7px;
    text-decoration: none;
}

#header_menu > li:hover > a {
    color: #888;
}

#header_menu > li:hover > a > img {
    filter: invert(50%);
}

#header_menu > li > div {
    background-color: rgba(239, 239, 239, 0.95);
    margin: 0;
    position: absolute;
    width: 100%;
    opacity: 0;
    visibility: hidden;
	-webkit-transiton: opacity 0.5s;
	       transition: opacity 0.5s;
}

#header_menu > li:hover > div {
    opacity: 1;
    visibility: visible;
}

#header_menu > li > .header_menu_caret {
    background-color: #36a39a;
    height: 3px;
    bottom: -1px;
}

/* Class */

.header_menu_sub_container {
    top: 31px;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.header_menu_sub {
    margin: 5px 0;
    padding: 0;
}

.header_menu_sub > li:not(.header_menu_sub_section) {
    text-align: left;
    list-style-type: none;
    font-weight: 400;
    font-size: 0.56rem;
    width: 100%;
    height: 25px;
    line-height: 25px;
}

.header_menu_sub > li:not(.header_menu_sub_section):hover {
    background-color: #36a39a;
}

.header_menu_sub > li > a {
    width: 100%;
    height: 100%;
    padding: 0 8px;
    color: #444;
    text-decoration: none;
}

.header_menu_sub > li:hover > a {
    color: #fff;
}

li.header_menu_sub_section {
    border-bottom: 1px solid #36a39a;
    text-align: left;
    list-style-type: none;
    font-weight: normal;
    font-size: 0.5rem;
    width: 100%;
    height: 25px;
    line-height: 25px;
}

li.header_menu_sub_section > p {
    position: relative;
    bottom: -4px;
    margin: 0;
    padding: 0 8px;
    color: #888;
    text-decoration: none;
}

/**** Contents ****/

main {
    margin: 0;
    padding: 90px 0 40px;
    background-color: #f7f7f7;
}

/**** Key Visual ****/

#key {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

#key_image {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#key_image > div {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: cross-fade 15s linear infinite;
}

#key_image > div:nth-child(1) {
    background-image: url(../images/01girl.jpg);
    animation-delay: -1s;
}

#key_image > div:nth-child(2) {
    background-image: url(../images/02lake.jpg);
    animation-delay: 4s;
}

#key_image > div:nth-child(3) {
    background-image: url(../images/03grass.jpg);
    animation-delay: 9s;
}

@keyframes cross-fade {
    0%    { opacity: 0; }
    6.66%    { opacity: 1; }
   33.33% { opacity: 1; }
   40% { opacity: 0; }
  100%    { opacity: 0; }
}

#key_text {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items:flex-end;
    color: #eee;
}

#key_text > p:nth-child(1) {
    font-size: xx-large;
    font-weight: bolder;
    text-shadow: 0 2px 5px black;
}

#key_text > p:nth-child(2) {
    font-size: larger;
    font-weight: 500;
    text-shadow: 0 2px 5px black;
}

#key_text > p:nth-child(3) {
    margin-top: 10px;
    width: 100px;
    padding: 5px;
    text-align: center;
    background-color: #444;
    font-size: smaller;
    font-weight: normal;
    border-radius: 4px;
    box-shadow: 0 5px 5px black;
}

/**** Pick Up ****/

.slideshow_container {
    display: flex;
    align-items: center;
    height: 190px;
    overflow: hidden;
}

.slideshow {
    padding: 0;
    display: flex;
    height: 100%;
    animation: loop-slide 60s infinite linear 1s both;
}

@keyframes loop-slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
}

.slidecontent {
    margin: 10px 0;
    list-style: none;
}

.slidecontent > a {
    display: block;
    position: relative;
    margin: 5px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-decoration: none;
    filter: brightness(1.0);
  }

.slidecontent > a:hover {
    filter: brightness(1.1);
}

.slidecontent > a > img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.slidecontent > a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 20px;
    left: 0;
    border-radius: 3px;
    background: linear-gradient(0deg, #fff 10%, transparent 50%);
}

.slidecontent > a > p {
    position: absolute;
    bottom: 15px;
    left: 0;
    margin: 10px 15px;
    padding: 0;
    color: #444;
    text-align: left;
    font-weight: 700;
    font-size: 0.7rem;
}

/**** What's New ****/

#recent {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 5px auto;
    list-style: none;    
    height: 200px;
}

.listitem {
    width: 50%;
    box-sizing: border-box;
    text-align: left;
    padding: 10px 20px;
    margin: 0;
}

.listitem_content {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
}

.listitem_content img {
    position: absolute;
    top: 0;
    left: 10px;
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 4px;
}

.listitem_desc {
    position: absolute;
    top: 0;
    left: 120px;
}

.listitem_desc time {
    font-size: 0.75em;
    color: #888;
}

.listitem_desc p {
    margin: 5px 0;
    line-height: 17px;
    font-size: 0.75em;
    font-weight: 500;
    color: #444;
}

#recent > .listitem:hover {
    filter: brightness(1.1);
}

#whatsnew_more {
    display: block;
    text-align: right;
    border: none;
  }

.more {
    color: inherit;
    text-decoration: none;
}

.more:hover {
    color: #888;
}

#other_contents {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 10px auto;
    list-style: none;    
    height: auto;
}

.contentitem1 {
    width: 25%;
    box-sizing: border-box;
    text-align: center;
    padding: 10px;
    margin: 0;
}

.contentitem1 img {
    width: 60%;
    height: auto;
    border-radius: 50%;
}

.contentitem1 h5 {
    margin: 10px;
    font-size: 0.7em;
    color: #444;
}

.contentitem1 p {
    margin: 5px;
    font-size: 0.6em;
    color: #888;
}

.contentitem2 {
    width: 20%;
    box-sizing: border-box;
    text-align: center;
    padding: 10px;
    margin: 0;
}

.contentitem2 img {
    width: 60%;
    height: auto;
    border-radius: 50%;
}

.contentitem2 h5 {
    margin: 10px;
    font-size: 0.7em;
    color: #444;
}

.contentitem2 p {
    margin: 5px;
    font-size: 0.6em;
    color: #888;
}

.contentitem1_content, .contentitem2_content {
    display: block;
    text-decoration: none;
}

.contentitem1_content:hover, .contentitem2_content:hover {
    filter: brightness(1.1);
}

.contentitem1_content:hover img, .contentitem2_content:hover img {
    transform: scale(1.02);
}

/**** Footer ****/

footer {
    background-color: #36a39a;
    margin: 0;
    padding: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

#footer_map {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0 auto;
    height: auto;
    color: #eee;
}

.footer_map_column {
    width: 25%;
    box-sizing: border-box;
    text-align: left;
    padding: 20px;
    margin: 0;
}

.footer_submap_headline {
    font-weight: normal;
    font-size: 0.7em;
    margin: 0;
}

.footer_submap {
    margin: 10px 0;
    border-top: 1px solid #eee;
}

.footer_submap ul {
    margin: 5px 0;
    padding: 0;
}

.footer_submap_item {
    list-style: none;
    font-size: 0.6em;
    line-height: 2em;
}

#copylight small {
    border-top: 1px solid #eee;
}

#copylight small {
    display: block;
    color: #eee;
    font-size: 0.6em;
    margin: 0 auto;
    padding: 5px 0;
    text-align: center;
}