@charset 'utf-8';

/*
  お知らせ : トップページ・お知らせ一覧共通
  ==================================
*/
#post {
  padding: 109px 0 105px;
}

#post .section-title {
  color: #007197;
  font-size: 1rem;
  text-align: center;
  letter-spacing: 0.2em;
  margin-bottom: 25px;
}

@media screen and (max-width: 767px) {
  #post {
    padding: 77px 0;
  }
  #post .section-title {
    font-size: 0.75rem;
    margin-bottom: 5px;
  }
  #post .section-content {
    width: 84%;
    margin: 0 auto;
  }
}

#post .post-column,
#single .post-column {
  justify-content: space-between;
}

#post .box {
  width: 46.7%;
}

@media screen and (max-width: 767px) {
  #post .post-column,
  #single .post-column {
    display: block;
  }
  #post .box {
    width: 100%;
  }
  #post .box + .box {
    margin-top: 43px;
  }
}

#post .box-title {
  color: #007197;
  font-size: 1.5625rem;
  text-align: center;
  letter-spacing: 0.2em;
  line-height: 32px;
  margin-bottom: 45px;
  margin-left: -1em;
}

@media screen and (max-width: 767px) {
  #post .box-title {
    font-size: 1.25rem;
    line-height: 26px;
    margin:0 0 36px;
  }
  #post .box:nth-of-type(2) .box-title {
    letter-spacing: 0.1em;
  }
}

@media screen and (max-width: 360px) {
  #post .box-title {
    font-size: 1.125rem;
  }
}

#post .post-list article {
  line-height: 23px;
  height: 60px;
}

#post .post-list article a > .flex {
  align-items: flex-start;
}

@media screen and (max-width: 767px) {
  #post .post-list {
    margin: 0 auto;
  }
  #post .post-list article {
    height: auto;
  }
  #post .post-list article + article {
    height: auto;
    margin: 29px 0 0;
  }
  #post .post-list article a > .flex {
    align-items: center;
  }
}


#post .post-cat {
  display: block;
  color: #007197;
  font-size: 0.75rem;
  line-height: 13px;
  text-align: center;
  width: 150px;
  padding: 7px 10px;
  border: 1px solid #007197;
}

@media screen and (max-width: 767px) {
  #post .post-cat {
    width: 130px;
    margin-bottom: 3px;
  }
}

#post .post-date {
  font-size: 0.75rem;
  text-align: center;
  width: 110px;
  margin-top: 2px;
}

@media screen and (max-width: 767px) {
  #post .post-date {
    width: 82px;
  }
}

#post .post-title {
  color: #007197;
  font-size: 0.875rem;
  line-height: 23px;
  text-decoration: underline;
  width: calc(100% - 260px);
  margin-top: 2px;
}

@media all and (min-width: 768px) {
  #index #post .post-title {
    height: 46px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

@media screen and (max-width: 767px) {
  #post .post-title {
    font-size: 0.75rem;
    line-height: 20px;
    width: 100%;
  }
}

/*
  お知らせ一覧
  ==================================
*/

#sub #post {
  padding: 0 0 240px;
}

#sub .subtitle {
  margin-bottom: 47px;
}

@media screen and (max-width: 767px) {
  #sub #post {
    padding: 0 0 115px;
  }
  #sub .subtitle {
    margin-bottom: 35px;
  }
  #sub .section-content {
    width: 84%;
    margin: 0 auto;
  }
}

#sub .post-wrap {
  width: 760px;
}

@media screen and (max-width: 767px) {
  #sub .post-wrap {
    width: 100%
  }
}

#sub .post-list article {
  height: auto;
}

@media screen and (max-width: 767px) {
  #sub .post-list article + article {
    margin-top: 0;
  }
}

#sub .post-list article a {
  display: block;
  padding: 59px 0;
  border-top: 1px solid #d2d2d2;
}

#sub .post-list article:last-of-type a {
  border-bottom: 1px solid #d2d2d2;
}

@media screen and (max-width: 767px) {
  #sub .post-list article a {
    padding: 30px 0 26px;
  }
}

#sub .post-list article a > div {
  align-items: flex-start;
}

@media screen and (max-width: 767px) {
  #sub .post-list article a > div {
    align-items: center;
  }
}

/* pagenation */

#sub .pagenations {
  text-align: center;
  margin-top: 60px;
}

#sub .pagenations .pagenations-inner {
  display: inline-block;
  max-width: 100%;
}

#sub .pagenations .pagenations-inner .page-nav {
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  position: relative;
}

#sub .pagenations .pagenations-inner .page-nav > * {
  display: block;
  color: #007197;
  line-height: 32px;
  text-align: center;
  width: 34px;
  margin: 0 5px;
}

@media screen and (max-width: 767px) {
  #sub .pagenations {
    margin-top: 40px;
  }
  #sub .pagenations .pagenations-inner .page-nav {
    padding: 0 35px;
  }
  #sub .pagenations .pagenations-inner .page-nav > * {
    font-size: 0.75rem;
    line-height: 25px;
    width: 27px;
    margin: 0 4px;
  }
}

@media screen and (max-width: 360px) {
  #sub .pagenations .pagenations-inner .page-nav {
    padding: 0 30px;
  }
  #sub .pagenations .pagenations-inner .page-nav > * {
    font-size: 0.75rem;
    line-height: 23px;
    width: 25px;
    margin: 0 2px;
  }
}


/* pagenation : number */
#sub .pagenations .pagenations-inner .page-nav .page-numbers {
  border: 1px solid #007197;
}

#sub .pagenations .pagenations-inner .page-nav .page-numbers.current {
  color: #fff;
  background-color: #007197;
}

#sub .pagenations .pagenations-inner .page-nav .page-numbers.dots {
  border: none
}


/* pagenation : arrow */

#sub .pagenations .pagenations-inner .page-nav .page-numbers.prev,
#sub .pagenations .pagenations-inner .page-nav .page-numbers.next {
  margin: 0;
  border: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

#sub .pagenations .pagenations-inner .page-nav .page-numbers.prev img,
#sub .pagenations .pagenations-inner .page-nav .page-numbers.next img {
  display: block;
  width: 100%;
}

#sub .pagenations .pagenations-inner .page-nav .page-numbers.next {
  right: -44px;
}

#sub .pagenations .pagenations-inner .page-nav .page-numbers.prev {
  left: -44px;
}

#sub .pagenations .pagenations-inner .page-nav .page-numbers.prev > img {
  transform: scale(-1);
}


@media screen and (max-width: 767px) {

  #sub .pagenations .pagenations-inner .page-nav .page-numbers.next {
    right: 0;
  }
  #sub .pagenations .pagenations-inner .page-nav .page-numbers.prev {
    left: 0;
  }
  #sub .pagenations .pagenations-inner .page-nav .page-numbers > img {
    width: 25px;
  }
}


/* sidebar */

.sidebar {
  width: 250px;
}

.sidebar .sidebar-title {
  color: #fff;
  font-size: 1.1875rem;
  line-height: 40px;
  text-align: center;
  margin-bottom: 34px;
}

.sidebar .categories li + li {
  margin-top: 5px;
}

.sidebar .categories li a {
  color: #007197;
  line-height: 1.6;
  text-decoration: underline;
}

@media screen and (max-width: 767px) {
  .sidebar {
    width: 100%;
    margin-top: 63px;
  }
  .sidebar .sidebar-title {
    font-size: 0.875rem;
    line-height: 35px;
    text-align: left;
    margin-bottom: 18px;
    padding-left: 22px;
  }
  .sidebar .categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .sidebar .categories li {
    width: 48%;
    margin-bottom: 3px;
  }
  .sidebar .categories li + li {
    margin-top: 0;
  }
  .sidebar .categories li a {
    font-size: 0.8125rem;
  }
}


/*
  お知らせ詳細
  ==================================
*/

#single {
  margin-bottom: 240px;
}

@media screen and (max-width: 767px) {
  #single {
    margin-bottom: 114px;
  }
}

#single .single-header .single-info {
  font-size: 0.75rem;
  line-height: 27px;
  margin-bottom: 10px;
}

@media screen and (max-width: 767px) {
  #single .single-header .single-info {
    margin-bottom: 14px;
  }
}

#single .single-header .single-info .single-cat {
  color: #007197;
  text-align: center;
  min-width: 150px;
  margin-right: 30px;
  border: 1px solid #007197;
}

@media screen and (max-width: 767px) {
  #single .single-header .single-info .single-cat {
    width: 130px;
    min-width: auto;
    margin-right: 10px;
  }
}

#single .single-header .single-info .single-date {
  min-width: 70px;
  padding: 1px 0;
}

@media screen and (max-width: 767px) {

}

#single .single-header .single-title {
  font-size: 2.125rem;
  line-height: 44px;
  letter-spacing: 0.04em;
  margin-bottom: 55px;
}

@media screen and (max-width: 767px) {
  #single .single-header .single-title {
    font-size: 1.0625rem;
    line-height: 26px;
    margin-bottom: 26px;
  }
}

#single .single-content {
  letter-spacing: 0.04em;
  margin-bottom: 80px;
}

#single .single-content > *:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {
  #single .single-content {
    margin-bottom: 59px;
  }
}




/* ツール設定 */

#single .single-content h2  {
  color: #007197;
  font-size: 1.6875rem;
  line-height: 1.3;
  margin-bottom: 50px;
  padding-left: 38px;
  position: relative;
}

#single .single-content * + h2 {
  margin-top: 100px;
}

#single .single-content h2::before {
  display: block;
  content: "";
  width: 30px;
  height: 8px;
  background-color: #007197;
  position: absolute;
  top: 19px;
  left: 0;
  transform: translateY(-50%);
}

@media screen and (max-width: 767px) {
  #single .single-content h2 {
    font-size: 1rem;
    line-height: 22px;
    margin-bottom: 24px;
    padding-left: 19px;
  }
  #single .single-content * + h2 {
    margin-top: 69px;
  }
  #single .single-content h2::before {
    width: 15px;
    height: 4px;
    top: 12px;
  }
}

#single .single-content h3  {
  color: #007197;
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 100px 0 49px;
}

@media screen and (max-width: 767px) {
  #single .single-content h3 {
    font-size: 0.9375rem;
    line-height: 22px;
    margin: 69px 0 20px;
  }
}

#single .single-content p  {
  line-height: 1.7;
  margin-bottom: 27px;
}

@media screen and (max-width: 767px) {
  #single .single-content p {
    font-size: 0.8125rem;
    margin-bottom: 22px;
  }
}

#single .single-content a {
  color: #007197;
  text-decoration: underline;
}

#single .single-content a[target="_blank"]::after {
  display: inline-block;
  content: "";
  width: 11px;
  height: 11px;
  margin-left: 10px;
  background: url(../images/news/target-arrow.svg) center center / contain no-repeat;
}

#single .single-content a[target="_blank"].no-icon::after {
  display: none;
  content: none;
}

@media screen and (max-width: 767px) {
  #single .single-content a[target="_blank"]::after {
    width: 10px;
    height: 10px;
  }
}

#single .single-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 53px auto;
}

#single .single-content > p + p > img {
  margin: 53px auto;
}

@media screen and (max-width: 767px) {
  #single .single-content img {
    margin: 30px auto;
  }
  #single .single-content > p + p > img {
    margin: 30px auto;
  }
}

#single .single-content mark {
  background: linear-gradient(to bottom, transparent 60%, #ffeb67 60%)
}

#single .single-content blockquote {
  margin: 55px 0;
  padding: 35px 52px;
  background-color: #d7ecff;
}

#single .single-content blockquote > *:last-child {
  margin-bottom: 0;
}

#single .single-content blockquote > *:last-child img {
  margin-bottom: 0;
}

#single .single-content blockquote > *:first-child img {
  margin-top: 0;
}

@media screen and (max-width: 767px) {
  #single .single-content blockquote {
    margin: 25px 0;
    padding: 25px;
  }
}

#single .single-content iframe {
  max-width: 100%;
}

#single .single-content .youtube-container {
  width: 728px;
  max-width: 100%;
  height: 0;
  margin: 53px auto;
  padding-top: 56.25%;
  position: relative;
  overflow: hidden;
}

#single .single-content .youtube-container iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

#single .single-content .youtube-container:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {
  #single .single-content .youtube-container {
    margin: 30px 0;
  }
}

#single .single-content .single-border,
#single .single-content .single-border-solid,
#single .single-content .single-border-doted {
  width: 100%;
  margin-bottom: 27px;
  padding: 20px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

#single .single-content .single-border-doted {
  border: 2px dotted #ccc;
  margin-left: 2px;
}

#single .single-content .single-border-solid > *:last-child,
#single .single-content .single-border-doted > *:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {
  #single .single-content .single-border-solid,
  #single .single-content .single-border-doted {
    margin-bottom: 22px;
  }
}


/* ページネーション：詳細ページ */
/* pagenation : arrow */

#sub .single-pagenations {
  position: relative;
}

#sub .single-pagenations .btn a {
  margin: 0 auto;
}

#sub .single-pagenations .arrow {
  margin: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

#sub .single-pagenations .arrow a {
  display: block;
  padding: 8px 0;
}

#sub .single-pagenations .arrow img {
  display: block;
  width: 34px;
}

#sub .single-pagenations .arrow.prev {
  left: 0;
}

#sub .single-pagenations .arrow.prev img {
  transform: scale(-1);
}

#sub .single-pagenations .arrow.next {
  right: 0;
}


@media screen and (max-width: 767px) {
  #sub .single-pagenations .arrow img {
    width: 25px;
  }
  #sub .single-pagenations .btn {
    max-width: calc(100% - 80px);
    margin: 0 auto;
  }
  #sub .single-pagenations .btn a {
    width: 224px;
    max-width: 100%;
  }
}