@charset "UTF-8";
.container {
  max-width: none;
  padding: 0;
}

.content {
  max-width: none;
}

.sub_header_nav ~ .container {
  margin-top: 0;
}

.mainvisual {
  display: flex;
}
html[lang=en] .mainvisual {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 20px;
}

.side-copy {
  align-items: center;
  background-color: #e98fb0;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  width: 80px;
}
.side-copy p {
  color: #fff;
  font-size: 1.75rem;
  font-weight: bold;
  letter-spacing: 0.15em;
  white-space: nowrap;
  writing-mode: vertical-rl;
}

.main-content {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding-left: clamp(20px, 3vw, 40px);
}
html[lang=en] .main-content {
  padding-left: 0;
}

.content-inner {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
}
.content-inner h1 {
  margin: 0;
  margin-bottom: 30px;
  width: 85%;
  max-width: 400px;
}
.content-inner h1 img {
  display: block;
  max-height: 300px;
  width: auto;
}
.content-inner figure {
  align-items: flex-end;
  display: flex;
  flex-grow: 1;
  justify-content: flex-start;
}
.content-inner figure img {
  display: block;
  height: auto;
  margin: 0;
  width: 90%;
}

#news {
  margin: 0 auto;
  max-width: 1140px;
  padding: 64px 20px;
}
#news h2 {
  color: #000;
  padding-top: 30px;
}
#news h2::before {
  left: 0;
  width: 68px;
}
#news .topics_list {
  display: grid;
}
#news .topics_list dt {
  color: #6c6c6c;
}
#news .topics_list time {
  display: inline-block;
  font-size: 1rem;
  line-height: 1.7;
}
#news .topics_list dd {
  font-size: 1rem;
  padding: 0 !important;
}
@media only screen and (max-width: 800px) {
  #news .topics_list {
    gap: 8px 0;
  }
  #news .topics_list dt:nth-child(n+2) {
    margin-top: 16px;
  }
}
@media only screen and (min-width: 801px) {
  #news .topics_list {
    grid-template-columns: -webkit-max-content 1fr;
    grid-template-columns: max-content 1fr;
    gap: 24px 16px;
  }
}

#links {
  background-color: #eaf6fd;
  padding: 64px 20px;
}
#links > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 1140px;
}
#links > * + div[class^=wm-parallel] {
  margin-top: 20px;
}
#links .wm-parallelL-large {
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 24px;
  padding: 16px;
  position: relative;
  transition: opacity 0.3s ease;
}
#links .wm-parallelL-large:hover {
  opacity: 0.7;
}
#links .wm-parallelL-large-img,
#links .wm-parallelL-large-txt {
  float: none;
}
#links .wm-parallelL-large-img a {
  position: static;
}
#links .wm-parallelL-large-img a::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
#links .wm-parallelL-large-txt h3 {
  color: #0077c4;
  font-size: 1.5rem;
  line-height: 1;
  margin: 0;
  padding: 0;
}
#links .wm-parallelL-large-txt h3::before {
  display: none;
}
#links .wm-parallelL-large-txt h3 a {
  position: relative;
  text-decoration: none;
  z-index: 2;
}
#links .wm-parallelL-large-txt h3 + p {
  margin-top: 0;
}
#links .wm-parallelL-large-txt p {
  font-size: 1.13rem;
  margin-top: 0.5em;
}
#links .wm-parallelL-large-txt em {
  color: #0077c4;
  font-size: 0.88rem;
}
#links .wm-column2 {
  margin-top: 20px;
  width: 100%;
}
#links .wm-column2 .wm-column-item-wrap {
  box-sizing: border-box;
  flex: 0 0 100%;
  margin-top: 0;
}
#links .wm-column2 .wm-column-item-wrap:nth-child(n+2) {
  margin-top: 20px;
}
#links .wm-column2 .wm-column-item {
  background-color: #fff;
  border-radius: 24px;
  box-sizing: border-box;
  padding: 16px 30px;
  position: relative;
  transition: opacity 0.3s ease;
}
#links .wm-column2 .wm-column-item:hover {
  opacity: 0.7;
}
#links .wm-column2 .wm-column-item p {
  color: #0077c4;
  font-size: 1.13rem;
}
#links .wm-column2 .wm-column-item a {
  text-decoration: none;
}
#links .wm-column2 figure {
  text-align: center;
}
#links .wm-column2 figure a {
  position: static;
}
#links .wm-column2 figure a::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#download {
  padding: 48px 20px;
}
#download [class^=wm-button] a {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  flex-direction: column;
  font-weight: bold;
  justify-content: center;
  max-width: 320px;
  min-width: auto;
  padding: 16px 8px;
  text-decoration: none;
  transition: background-color 0.3s;
  width: 100%;
}
#download [class^=wm-button] a::before {
  background-color: #fff;
  background-image: url("../img/icon_ojec_download.png");
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
  background-size: 24px;
  box-sizing: border-box;
  content: "";
  display: block;
  height: 48px;
  width: 48px;
}
#download [class^=wm-button] a:hover::before, #download [class^=wm-button] a:active::before {
  border: 1px solid #0077c4;
}

@media only screen and (min-width: 725px) {
  #links .wm-column2 .wm-column-item {
    margin-left: 0;
  }
}
@media only screen and (min-width: 801px) {
  .side-copy {
    /* サイドの帯も画面幅に合わせて少し可変にする */
    width: clamp(100px, 10vw, 140px);
  }
  .side-copy p {
    font-size: 2rem;
  }
  .content-inner {
    flex-direction: row;
    padding-top: 48px;
    padding-bottom: 40px;
    /* 要素間の距離を比率で保つ */
    justify-content: space-between;
  }
  .content-inner h1 {
    /* 400pxを最大とし、画面幅の30%程度を維持 */
    width: clamp(300px, 30vw, 400px);
    min-width: 250px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
  }
  .content-inner h1 img {
    height: auto;
    max-height: none;
    width: 100%;
  }
  .content-inner figure {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding-bottom: 6vh;
    margin: 0;
  }
  .content-inner figure img {
    /* 650pxを最大とし、画面幅の45%〜50%程度を維持 */
    width: clamp(400px, 52vw, 650px);
    max-width: 100%;
    height: auto;
  }
  /*
  .side-copy {
  	width: 140px;
  	p {
  		font-size: b.$font-38px;
  	}
  }
  .main-content {
  	padding-left: 2.5vw;
  }
  .content-inner {
  	flex-direction: row;
  	padding-top: 48px; 
  	padding-bottom: 40px;
  	h1 {
  		width: 450px; 
  		min-width: 300px;
  		margin-bottom: 0;
  		display: flex;
  		align-items: center;
  	}
  	figure {
  		flex-grow: 1;
  		justify-content: flex-end;
  		align-items: flex-end;
  		padding-bottom: 6vh;
  		img {
  			width: 650px;
  			max-width: 90%;
  		}
  	}
  }
  	*/
  #news {
    padding: 0 20px 80px;
  }
  #links {
    background-color: #eaf6fd;
    padding-bottom: 72px;
    padding-top: 72px;
  }
  #links .wm-parallelL-large {
    align-items: center;
    display: flex;
    padding: 16px 30px;
    width: 100%;
  }
  #links .wm-parallelL-large-img {
    box-sizing: border-box;
    padding-right: 40px;
    min-width: 0;
  }
  #links .wm-parallelL-large-img img {
    width: 100%;
    height: auto;
    display: block;
  }
  #links .wm-parallelL-large-txt {
    min-width: 0;
  }
  #links div[class^=wm-parallel] * + div[class$=-img],
#links div[class^=wm-parallel] * + div[class$=-txt] {
    margin-top: 0;
  }
  #links .wm-column2 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  #links .wm-column2 .wm-column-item-wrap {
    flex: 0 0 calc(50% - 10px);
  }
  #links .wm-column2 .wm-column-item-wrap:nth-child(2) {
    margin-top: 0;
  }
  #links .wm-column2 .wm-column-item-wrap:nth-child(n+3) {
    margin-top: 20px;
  }
}
@media only screen and (min-width: 481px) and (max-width: 800px) {
  #links .wm-column2 .wm-column-item {
    margin-left: 0;
  }
}
@media only screen and (min-width: 801px) and (max-width: 1140px) {
  #links .wm-parallelL-large-img {
    flex: 0 1 50%;
  }
  #links .wm-parallelL-large-txt {
    flex: 0 1 50%;
  }
}
@media only screen and (min-width: 1141px) {
  .side-copy p {
    font-size: 2.38rem;
  }
  #links .wm-parallelL-large-img {
    flex: 0 0 585px;
  }
  #links .wm-parallelL-large-txt {
    flex: 1;
  }
}