/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.8;
  font-feature-settings: "palt";
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio, canvas, iframe, img, svg, video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden, [hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active, .sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before, .clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 1.25dppx), (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *, *::before, *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a, a:visited {
    text-decoration: underline;
  }
  a[href]::after {
    content: " (" attr(href) ")";
  }
  abbr[title]::after {
    content: " (" attr(title) ")";
  }
  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after, a[href^="javascript:"]::after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre, blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }
  tr, img {
    page-break-inside: avoid;
  }
  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }
  h2, h3 {
    page-break-after: avoid;
  }
}

/* Custom-Basics */

html {
  letter-spacing: 0.05em;
  scroll-behavior: smooth;
  background-color: #fff;
}

h1, h2, h3, h4 {
  padding: 0;
  margin: 0;
  line-height: 1.1;
}

h2 {
  color: #920344;
  font-size: 2.25em;
  margin: 40px 0 10px 0;
}

h3 {
  font-size: 1.8em;
  margin: 40px 0 10px 0;
}

img {
  width: 100%;
  height: auto;
}

header, footer {
  display: block;
}

a {
  color: #920344;
  text-decoration: underline;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.list-line li {
  margin: 10px 0;
}

/* Custom-Header */

.index-page {
  background-image: url(/img/header-bg.png);
  background-repeat: no-repeat;
  background-position: top center;
}

header h1 {
  height: auto;
}

.header-wrap {
  margin-bottom: 5%;
  display: flex;
  justify-content: space-between;
}

.header-lang {
  text-align: right;
}

.header-left {
  margin: 10px 0 0 10px;
  width: 75%;
}

.header-right {
  color: #fff;
  padding: 15px;
  display: none;
}

.header-right a {
  color: #fff;
}

.header-lang {
  color: #b6d7ff;
  margin-bottom: 5px;
  margin-right: 15px;
}

.gnav ul {
  margin: 2% 0 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  list-style: none;
}

.gnav ul li a {
  display: block;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  padding: 5px 10px;
  font-size: 1.125em;
}

.gnav ul li a:hover {
  text-decoration: underline;
  background-color: rgba(255, 255, 255, 0.2);
}

.gnav ul li:last-child a {
  display: block;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.4);
  border: solid 1px #fff;
  border-radius: 20px;
  padding: 3px 15px;
}

/* Custom-SPmenu */

.menu-btn {
  position: fixed;
  top: 10px;
  right: 10px;
  display: flex;
  height: 60px;
  width: 60px;
  justify-content: center;
  align-items: center;
  z-index: 90;
  background-color: #920344;
  transition: all 0.5s;
}

.menu-btn span, .menu-btn span:before, .menu-btn span:after {
  content: "";
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background-color: #ffffff;
  position: absolute;
}

.menu-btn span:before {
  bottom: 8px;
}

.menu-btn span:after {
  top: 8px;
}

#menu-btn-check:checked~.menu-btn span {
  background-color: rgba(255, 255, 255, 0);
}

#menu-btn-check:checked~.menu-btn span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#menu-btn-check:checked~.menu-btn span::after {
  top: 0;
  transform: rotate(-45deg);
}

#menu-btn-check {
  display: none;
}

.menu-content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  background-color: #920344;
}

.menu-content ul {
  padding: 30px 10px 0;
}

.menu-content ul li {
  border-bottom: solid 1px #ffffff;
  list-style: none;
}

.menu-content ul li a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
  padding: 9px 15px 10px 0;
  position: relative;
}

.menu-content ul li a::before {
  content: "";
  width: 7px;
  height: 7px;
  border-top: solid 2px #ffffff;
  border-right: solid 2px #ffffff;
  transform: rotate(45deg);
  position: absolute;
  right: 11px;
  top: 16px;
}

.menu-content {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%;
  z-index: 80;
  background-color: #920344;
  transition: all 0.5s;
}

#menu-btn-check:checked~.menu-content {
  left: 0;
}

.menu-content .header-lang {
  display: inline-block;
  background-color: #ad2d67;
  color: #fff;
  margin: 30px 0 0 10px;
  padding: 0;
  text-align: center;
}

.menu-content .header-lang a {
  color: #fff;
  display: inline-block;
  padding: 20px;
}

.menu-content .header-lang span {
  color: #fff;
  background-color: #690130;
  display: inline-block;
  padding: 20px;
}

/* Custom-Footer */

footer {
  background-color: #fff;
  background-image: url(/img/ft-bg.png);
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: top center;
  padding-top: 20%;
  font-size: 0.9em;
}

.footer-logo ul {
  margin: 0;
  padding: 0 0 10px 0;
  list-style: none;
  display: flex;
  justify-content: space-around;
  border-bottom: solid 1px #ddd;
}

.footer-logo ul li {
  text-align: center;
  padding: 10px;
}

.footer-nav {
  display: flex;
  justify-content: center;
}

.footer-nav ul {
  margin: 0;
  padding: 40px 0;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.footer-nav ul li {
  color: #222;
  text-decoration: none;
  padding: 0 0.5em;
  border-right: solid 1px #ddd;
}

.footer-nav ul li:last-child {
  border-right: solid 0px #ddd;
}

.footer-copy {
  text-align: center;
  margin-bottom: 60px;
}

/* Custom-Index */

.mainimage {
  background-image: url(/img/mainimage.png);
  background-size: 100% auto;
  background-position: bottom center;
  background-repeat: no-repeat;
  padding-bottom: 30%;
}

.mainimage-ttl {
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
  color: #fff;
}

.mainimage-ttl img {
  max-width: 167px;
  height: auto;
  margin-right: 20px;
}

.index-news {
  padding: 20px;
  margin-top: -5%;
  border-radius: 15px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0px 0px 32px 0px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.index-news h2 {
  margin: 0;
}

.index-news a.btn-red {
  font-size: 0.8em;
}

.index-news ul {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

.index-news ul li a {
  display: block;
  padding: 10px 10px 10px 40px;
  margin-top: 10px;
  background: #f5f5f5;
  border-radius: 50px;
  text-decoration: none;
  color: #222;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.index-news ul li a:before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent #920344;
  position: absolute;
  top: 50%;
  left: 20px;
  margin-top: -6px;
}

.index-news ul li a:hover {
  background: #dbdbdb;
  color: #920344;
  text-decoration: underline;
}

.cat-icon {
  min-width: 60px;
  margin-right: 10px;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  background-color: #999;
  color: #FFF !important;
  padding: 2px 10px;
  border-radius: 50px;
  vertical-align: middle;
}

.cat-publications {
  background-color: #928903;
}

.cat-news {
  background-color: #034692;
}

.cat-events {
  background-color: #03924b;
}

.btn-red {
  padding: 5px 1.5em;
  background-color: #920344;
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5em;
}

.content-index-text a {
  text-align: center;
  display: inline-block;
  margin: 0 auto;
}

.content-index-wrap {
  padding: 30% 0;
}

.content-index-image {
  margin: 15% auto 0 auto;
}

.image-shadow {
  box-shadow: 10px 10px 0px 0px rgba(231, 222, 255, 0.6);
  margin-bottom: 20px;
}

.section-hero {
  display: block;
  height: 350px;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.indeximage01 {
  background-image: url(/img/hero-indeximage01.jpg);
}

.indeximage02 {
  background-image: url(/img/hero-indeximage02.jpg);
}

.indeximage03 {
  background-image: url(/img/hero-indeximage03.jpg);
}

.indeximage04 {
  background-image: url(/img/hero-indeximage04.jpg);
}

.index-partners-logos ul {
  margin: 10% 0 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.index-partners-logos ul li {
  width: 49%;
  margin-top: 10px;
}

/* Custom-SecondPage */

.secondpage {
  background: #fff;
  padding-bottom: 20px;
}

.pan {
  font-size: 0.8em;
  padding: 10px;
  background: #fff7f7;
}

.secondpage-title {
  margin: 0 0 5% 0;
  padding: 5% 0;
  text-align: center;
  color: #fff;
  background: #920344;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url(/img/ttl-bg.jpg);
}

.highlights {
  margin: 0 0 10px 0;
  padding: 0;
  list-style: none;
}

.highlights li {
  display: flex;
  justify-content: space-between;
  border-bottom: dotted 1px #222;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.highlights-image {
  width: 25%;
}

.highlights-txt {
  width: 70%;
}

#page_top {
  width: 40px;
  height: 40px;
  position: fixed;
  right: 0;
  bottom: 10px;
  background: #961818;
  opacity: 0.6;
}

#page_top a {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  text-decoration: none;
}

#page_top a::after {
  content: "▲";
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  position: absolute;
  top: 10px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

.policy {
  margin: 0;
  padding: 0;
  list-style: none;
}

.policy li {
  margin: 20px 0;
}

.policy span {
  display: block;
  font-size: 1.6em;
  font-weight: bold;
  border-bottom: dotted 1px #999;
}

.pager {
  display: flex;
  justify-content: center;
}

.nth-box a, .nth-box span {
  display: inline-block;
  border: dotted 1px #999;
  padding: 0 5px;
  margin: 0 5px;
}

.listdata {
  font-size: 80%;
}

.listdata-box {
  list-style: none;
}

.listdata-box li {
  list-style: none;
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: dotted 1px #999;
}

/* タブレット */

@media screen and (min-width: 600px) {
  .hamburger-menu {
    display: none;
  }
  .header-left {
    margin: 20px 0 0 20px;
    width: auto;
  }
  .header-right {
    display: block;
  }
  .content-index-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 15% 0;
  }
  .index-partners-logos ul li {
    width: 24%;
    margin-top: 0;
  }
  /* Custom-SecondPage */
  .secondpage-title {
    font-size: 3em;
  }
}

/* PC */

@media screen and (min-width: 1025px) {
  /* Custom-Index */
  .mainimage-ttl {
    font-size: 2.5em;
    line-height: 1.2em;
    text-align: left;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
  }
  .mainimage-ttl img {
    width: 167px;
    height: auto;
    margin-right: 20px;
  }
  .content-index-wrap-l {
    order: 1;
  }
  .content-index-wrap-r {
    order: 2;
  }
  .content-index-text {
    width: 60%;
  }
  .content-index-image {
    width: 35%;
    margin-top: 0;
    padding-top: 40px;
  }
  .index-partners-logos {
    flex: auto;
    width: 100%;
    order: 3;
  }
  /* Custom-SecondPage */
  .column {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .column>div {
    margin: 20px 0;
  }
  .column-100 {
    margin-left: 20px;
    width: calc(100% - 20px);
  }
  .column-80 {
    margin-left: 20px;
    width: calc(80% - 20px);
  }
  .column-70 {
    margin-left: 20px;
    width: calc(70% - 20px);
  }
  .column-50 {
    width: calc(50% - 20px);
  }
  .column-30 {
    margin-left: 20px;
    width: calc(30% - 20px);
  }
  .column-20 {
    margin-left: 20px;
    width: calc(20% - 20px);
  }
  .column-three {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .column-three>div {
    width: calc(100% / 3 - 20px);
  }
  .highlights {
    display: flex;
    justify-content: flex-start;
  }
  .highlights li {
    display: block;
    border-bottom: dotted 0px #222;
    width: 17%;
    margin-bottom: 0;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 8px 16px -2px rgba(10, 10, 10, 0.1), 0px 0px 0px 1px rgba(10, 10, 10, 0.02);
  }
  .highlights-image {
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
  }
  .highlights-txt {
    width: 100%;
  }
}

@media screen and (min-width: 1600px) {
  /* Custom-Index */
  .mainimage {
    padding-bottom: 23%;
  }
}

/* contactform */

.contact-bg {
  background: #e4eeef;
  padding: 0;
  margin: 0;
}

.contact-message {
  text-align: center;
  line-height: 2;
  margin-bottom: 50px;
}

.message-notice {
  color: #c10811;
}

.essential {
  background: #c10811;
  color: #fafafa;
  font-size: 12px;
  padding: 0 10px;
  font-weight: normal;
  margin-left: 10px;
}

.contact-area {
  background: #fafafa;
  padding: 15px;
  margin: 50px auto;
  width: 100%;
  box-sizing: border-box;
}

.contact-table {
  width: 100%;
}

.table-list {
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.05em;
  width: 100%;
  margin-bottom: 40px;
}

.table-list th {
  font-weight: bold;
  width: 250px;
  text-align: left;
}

.table-list-address {
  flex-wrap: wrap;
}

.table-list-address .input-area {
  margin-bottom: 10px;
}

.input-area {
  letter-spacing: 0.05em;
  padding: 0 10px;
  border: none;
  width: 550px;
  height: 40px;
  box-sizing: border-box;
  border: 1px solid #c4c4c4;
}

.table-list td {
  width: calc(100% - 250px);
}

input::placeholder {
  color: #bfbfbf;
  font-size: 12px;
  font-weight: bold;
}

textarea {
  border: none;
  width: 100%;
  height: 200px;
  padding: 0;
  border: 1px solid #c4c4c4;
}

textarea::placeholder {
  color: #bfbfbf;
  font-size: 12px;
}

input[type="text"], input[type="email"] {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #c4c4c4;
  width: 100%;
}

.contact-area .text {
  text-align: center;
  margin-bottom: 10px;
}

.contact-area .text a {
  color: #000;
  border-bottom: 1px solid #000;
  transition: all 0.3s;
}

.contact-area .text a:hover {
  border-bottom: 1px solid #777;
  padding-bottom: 5px;
  color: #777;
}

.submit-button {
  box-sizing: border-box;
  position: relative;
  display: block;
  margin: 30px auto 0;
  background-color: #e4eeef;
  cursor: pointer;
  border: 1px solid #e4eeef;
  color: #000;
  text-align: center;
  text-decoration: none;
  line-height: 1.5;
  outline: none;
  -webkit-transition: all 0.3s;
  transition: all 0.5s;
  padding: 20px 100px;
}

.submit-button:hover {
  background: #cae1e3;
  color: #000;
  border: 1px solid #cae1e3;
}

@media (max-width: 1200px) {
  .contact-area {
    width: 100%;
    padding: 15px;
  }
}

@media (max-width: 1024px) {
  .contact-area {
    padding: 15px;
  }
  .table-list th {
    width: 180px;
  }
  .table-list td {
    width: 100%;
  }
  .input-area {
    width: 500px;
    height: 40px;
  }
  textarea {
    width: 500px;
    height: 200px;
  }
  .contact-message {
    margin-bottom: 30px;
  }
  .contact-area .text {
    margin-bottom: 30px;
  }
}

@media (max-width: 834px) {
  .contact-bg {
    margin: 0;
    padding: 0;
  }
  .contact-area {
    margin: 0;
    padding: 15px;
  }
  .check-box label {
    width: 100%;
  }
  .input-area {
    width: 100%;
    height: 30px;
  }
  textarea {
    width: 100%;
    height: 200px;
  }
  .table-list {
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  .table-list th {
    font-size: 12px;
    width: 200px;
    margin-bottom: 10px;
  }
  .table-list td {}
  .table-list td {
    width: 100%;
  }
  .contact-message {}
  .contact-area .text {}
}

@media (max-width: 640px) {
  .contact-message {
    text-align: left;
  }
  .contact-area .text {
    text-align: left;
  }
}

@media (max-width: 320px) {
  .input-area {
    width: 100%;
  }
  textarea {
    width: 100%;
  }
}

.list-line img {
  width: auto;
  max-width: 100%;
}