@charset "UTF-8";
@import "../base/init.css";
@import "../base/style.css";
@import "../piece/style.css";

/* subHeader
----------------------------------------------- */
#subHeader {
  margin: 16px auto;
  padding: 0 10px;
}

#subHeader .pieceBody a {
  display: block;
  margin-bottom: 20px;
  padding: 20px 0 20px 40px;
  border: 1px solid #999;
  background: url(./images/company-header.jpg) right center / auto 100% no-repeat, linear-gradient(to bottom, #fff, #f2f2f2);
  color: inherit;
  text-decoration: none;
}

#subHeader .pieceBody a:hover {
  opacity: 0.5;
  transition: all 0.2s;
}

#subHeader .pieceBody h2 {
  font-size: 2rem;
  text-shadow:1px 1px 0 #fff,-1px 1px 0 #fff,1px -1px 0 #fff,-1px -1px 0 #fff;
}

/* subVisual
----------------------------------------------- */
#subVisual {
  margin-bottom: 30px;
  padding: 0 10px;
}

#subVisual img {
  max-width: 100%;
}

/* subAbout
----------------------------------------------- */
#subAbout {
  margin-bottom: 40px;
  text-align: center;
}

#subAbout h2 {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #003A8B;
  font-size: 2rem;
}

#subAbout p {
  margin-bottom: 15px;
  font-size: 1.125rem;
}

/* sub-docs
----------------------------------------------- */
.sub-docs {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.sub-docs .piece {
  flex: 1 1 calc((100% - 40px) / 2);
  padding: 20px;
  border-radius: 5px;
  box-sizing: border-box;
  box-shadow: 0px 0px 6px rgba(0,0,0,0.2);
}

.sub-docs h2 {
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 1.75rem;
  text-align: center;
}

.sub-docs li {
  display: flex;
  gap: 10px 15px;
  margin-bottom: 15px;
  padding-left: 10px;
  background: url(../piece/images/ic-list.gif) left 0.55em no-repeat;
  font-size: 1.125rem;
}

.sub-docs li .publish_date {
  flex-shrink: 0;
}

.sub-docs .more {
  display: flex;
  justify-content: center;
  margin-top: 25px;
}

.sub-docs .more a {
  display: block;
  min-width: 200px;
  padding: 6px 20px;
  border: 1px solid #003A8B;
  border-radius: 10px;
  background: url(../piece/images/ic-yajirushi.gif) right 10px center no-repeat #f3f3f3;
  color: inherit;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  text-align: center;
}

.sub-docs .more a:hover {
  opacity: 0.5;
  transition: all 0.2s;
}

/* subTopMenu
----------------------------------------------- */
#subTopMenu h2 {
  margin-bottom: 20px;
  padding: 12px;
  border: 1px solid #003A8B;
  background: #003A8B;
  color: #fff;
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.2;
}

#subTopMenu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

#subTopMenu ul li {
  flex-basis: calc((100% - 60px) / 4);
}

#subTopMenu ul li a:hover {
  opacity: 0.5;
  transition: all 0.2s;
}

#subTopMenu ul li img {
  vertical-align: bottom;
}

/* subMenu (content)
----------------------------------------------- */
#content #subMenu h2 {
  margin-bottom: 20px;
  padding: 12px;
  border: 1px solid #003A8B;
  background: #003A8B;
  color: #fff;
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1.2;
}

#content #subMenu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

#content #subMenu ul li {
  flex-basis: calc((100% - 60px) / 4);
}

#content #subMenu ul li a {
  display: block;
  padding: 12px 20px 12px 15px;
  border: 1px solid #b6e3f3;
  border-radius: 10px;
  background: url(../piece/images/ic-yajirushi.gif) right 10px center no-repeat #b6e3f3;
  color: inherit;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
}

#content #subMenu ul li a:hover {
  opacity: 0.5;
  transition: all 0.2s;
}

/* subMenu (menu)
----------------------------------------------- */
#menu #subMenu {
  margin-bottom: 0;
}

/* contentGpArticleDocs
----------------------------------------------- */
#contentBody:has(.contentGpArticleDocs) #pageTitle {
  margin-bottom: 20px;
}

/* contentGpArticleDoc
----------------------------------------------- */
#contentBody:has(.contentGpArticleDoc)  #pageTitle .pieceContainer,
#contentBody:has(.contentGpArticleDoc)  #pageTitle .pieceBody {
  border: none;
  background: none;
}

#contentBody:has(.contentGpArticleDoc)  #pageTitle .pieceBody h1 {
  padding: 10px;
  border-top: 1px solid #b0cfca;
  border-bottom: 1px solid #b0cfca;
  background-color: #e8f7fa;
  font-size: 150%;
  font-weight: bold;
  text-align: center;
  line-height: auto;
}
