﻿@charset "utf-8";

/* 0. setting
---------------------------------------------------------*/
body {
  background-color: #ffffff;
  color: #333333;
  text-align: center;
}

/* 1. wrap
---------------------------------------------------------*/
#wrap {
  border-top: 3px solid #000000;
}

#headerInner,
#container,
#anchorTop,
#footer {
  /* width: 970px; */
  width: 100%;
  max-width: 970px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#content,
#side,
#footerAddress {
  text-align: left;
}

/* 2. header
---------------------------------------------------------*/
#header {
  background: url(../images/header_bg.gif) left bottom repeat-x;
}

#headerId {
  float: left;
  width: 310px;
  padding: 16px 0;
}

#headerMain {
  float: right;
  width: 500px;
}
#headerMain ul {
  margin: 0;
}
#headerMain li {
  float: left;
  text-indent: -9999px;
  text-align: left;
}
#headerMain li a {
  display: block;
  outline: none;
  background-repeat: no-repeat;
  background-image: url(../images/header.gif);
}

#headerControl,
#headerInfo {
  float: right;
  text-align: right;
}
#headerControl {
  width: 311px;
}
#headerInfo {
  display: block;
}

#headerSize,
#headerLang,
#headerNavi,
#headerSearch {
  float: left;
  vertical-align: top;
}
#headerSize {
  width: 141px;
  margin-top: 3px;
}
#headerLang {
  width: 170px;
}
#headerNavi {
  width: 211px;
}
#headerSeach {
  width: 370px;
}

#headerSize {
}
#headerSize ul {
  height: 20px;
  _height: 10px;
  padding-left: 72px;
  background: url(../images/header.gif) left top no-repeat;
}
#headerSize li {
  display: block;
  float: left;
  width: 20px;
  height: 20px;
  line-height: 1;
}
#headerSize li a {
  display: block;
  height: 20px;
}

#sizeS a {
  background-position: -72px 0;
}
#sizeM a {
  background-position: -93px 0;
}
#sizeL a {
  background-position: -114px 0;
}

#sizeS a:hover {
  background-position: -72px -20px;
}
#sizeM a:hover {
  background-position: -93px -20px;
}
#sizeL a:hover {
  background-position: -114px -20px;
}

#headerLang {
  height: 10px;
}
#headerLang ul {
  width: 128px;
  height: 22px;
  padding: 0 20px;
  background: url(../images/header.gif) -140px 0 no-repeat;
}
#headerLang ul li {
  width: 64px;
  line-height: 1;
}
#headerLang ul li a {
  height: 20px;
}

#langJa a {
  background-position: -165px 0;
}
#langEn a {
  background-position: -225px 0;
}

#langJa a:hover {
  background-position: -165px -22px;
}
#langEn a:hover {
  background-position: -225px -22px;
}

#headerInfo {
  margin-top: 10px;
  text-align: right;
}

#headerNavi {
  display: inline-block;
  padding-right: 10px;
}
#headerNavi ul {
  margin-top: 3px;
  height: 20px;
  background-position: 0 -52px;
}
#headerNavi li {
  height: 20px;
}
#headerNavi li a {
  height: 20px;
}

#naviAccess a {
  width: 55px;
  background-position: 0 -52px;
}
#naviContact a {
  width: 78px;
  background-position: -61px -52px;
}
#naviSitemap a {
  width: 78px;
  background-position: -143px -52px;
}

#naviAccess a:hover {
  width: 55px;
  background-position: 0 -72px;
}
#naviContact a:hover {
  width: 78px;
  background-position: -61px -72px;
}
#naviSitemap a:hover {
  width: 78px;
  background-position: -143px -72px;
}

#headerSearch {
  display: inline-block;
}

#headerSearch form {
  display: inline;
}
#headerSearch input {
  vertical-align: middle;
}
#headerSearch input#search {
  width: 160px;
  margin-right: 5px;
}

/* 4. topicpath
---------------------------------------------------------*/
#content #topicpath {
  padding: 0.5em;
  background-color: #dcddd5;
}
#content #topicpath ol {
  margin: 0;
  padding: 0;
}
#content #topicpath li {
  display: inline;
  font-size: 92%;
  white-space: nowrap;
}

#content #topicpath ol li a {
  padding-right: 20px;
  background: url(../images/topicpath.gif) right center no-repeat;
  font-weight: normal;
}

/* container
---------------------------------------------------------*/
#container {
  margin-top: 1em;
  background: url(../images/container_bg.gif) left top repeat-y;
}

/* content
---------------------------------------------------------*/
#content {
  float: right;
  width: 734px;
  padding-bottom: 16px;
}

#content h1 {
  padding: 20px 16px;
  padding-right: 0;
  background: url(../images/h1_bg.gif) left bottom no-repeat;
}

#contentInner {
  padding: 0 18px;
}

/*movie-------------------------*/
#contentMovie {
  position: relative;
  width: 100%;
  padding-top: 48.4%;
  max-width: 600px;
  margin: 20px auto 0;
  clear: both;
}
#contentMovie iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}

/* side
---------------------------------------------------------*/
#side {
  width: 230px;
  float: left;
}
#side h2 {
  margin: 0 !important;
  padding: 0 !important;
  border: none;
}

#sideNavi {
  margin-left: 3px;
  background-color: #ffffff;
}
#sideNavi ul {
  margin-top: 3px;
}
#sideNavi ul ul {
  margin-left: 10px;
}
#sideNavi li {
  border-bottom: 1px dotted #dcddd5;
}
#sideNavi li li {
  border-top: 1px dotted #dcddd5;
  border-bottom: 0;
}
#sideNavi li.end {
  border-bottom: none;
}
#sideNavi a,
#sideNavi span {
  display: block;
  padding: 0.3em 0.7em;
  padding-right: 18px;
  background: url(../images/side_navi_icon.gif) 215px center no-repeat;
  text-decoration: none;
  line-height: 1.4;
}
#sideNavi li li a {
  background-position: 205px center;
}
#sideNavi span {
  background: none;
}
#sideNavi a:hover {
  background-color: #dcddd5;
}
#sideNavi a span {
  padding: 0;
  padding-right: 16px;
  background: url(../images/icon_blank.gif) right center no-repeat;
  display: inline-block;
}

/* anchorTop
---------------------------------------------------------*/
#anchorTop {
  width: 958px;
  padding: 6px;
  background-color: #efefed;
  text-align: right;
}
#anchorTop a {
  padding-right: 15px;
  background: url(../images/anchor_top.gif) right center no-repeat;
}

/* footer
---------------------------------------------------------*/
#footer {
  margin: 1em auto;
  font-size: 92%;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
}

#footerAddress {
  /* float: left; */
  /* left: 300px; */
  width: calc(414 / 930 * 100%);
}
#footerAddress img {
  max-width: 168px;
}

#footerCopyright {
  /* float: right; */
  /* width: 470px; */
  width: calc(474 / 930 * 100%);
  text-align: right;
}

#footer p {
  margin: 0.2em 0;
  line-height: 1.25;
  font-size: 92%;
}
#footer ul {
  background: url(../images/footer_line.gif) left top repeat-y;
}
#footer li {
  float: left;
  padding: 0 11px;
  background: url(../images/footer_line.gif) right top repeat-y;
}

/* option
---------------------------------------------------------*/
#content .naviAnchor {
  margin-top: 0.5em;
  padding: 0.5em;
  background-color: #efefed;
}
#content .naviAnchor ul {
  margin: 0;
  list-style: none;
}
#content .naviAnchor li {
  display: inline;
  padding: 0.3em;
  background: none;
  white-space: nowrap;
  _white-space: normal;
}
*:first-child + html #content .naviAnchor li {
  white-space: normal;
}
#content .naviAnchor li a {
  padding-left: 15px;
  background: url(../images/icon_arrow_down.gif) left center no-repeat;
}

/* 20211115 */
@media screen and (max-width: 768px) {
  .link-col4 ul {
    flex-wrap: wrap;
  }
  .link-col4 li {
    width: 49%;
  }
  .link-col4 li:nth-of-type(n + 3) {
    margin-top: 5px;
  }
  #footer {
    font-size: 10px;
  }
}
