﻿@charset "UTF-8";

table, td { border: none; }

.article-half {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.article-half-img {
  margin-bottom: 30px;
}
.article-half-img img {
  width: 100%;
  height: auto;
}
.article-half-text p {
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.6;
}
.article-half > div {
  width: calc((100% - 20px) / 2)
}
@media screen and (max-width: 768px) {
  .article-half {
    padding-top: 0px;
  }
  .article-half-img {
    margin-bottom: 12px;
  }
  .article-half-text p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .article-half {
    gap: 12px;
    flex-wrap: wrap;
  }
  .article-half > div {
    width: 100%;
  }
  .article-half > div:has(img) {
    order: 1;
  }
  .article-half > div:has(p) {
    order: 2;
  }
}





.galley {

}

.galley-slider {
  overflow-x: visible;
  padding: 0 calc((100% - 1200px) / 2);
  /* padding-top: 75px; */
}

.galley-slider .slick-list {
  overflow: visible;
}

.galley-slider .slick-track {
  display: flex;
  align-items: stretch;
}

.galley-slide {
  width: 560px;
  margin: 0 10px;
  border-radius: 10px;
  box-sizing: border-box;
  height: auto;
}
.galley-slide img {
  height: auto;
}
@media screen and (min-width:769px) {
  .galley .galley-content .galley-slide img {
    height: 240px;
    object-fit: cover;
  }
}
@media screen and (max-width: 768px) {
  .galley-slider {
    padding: 0 2.5% 0;
  }
  .galley-slide {
    width: 280px;
  }
  .galley-slide img {
    height: 120px;
    object-fit: cover;
  }
  .galley-slide:first-of-type {
    margin-left: 0;
  }
}

.template-button {
  width: 125px;
  height: 35px;
  margin: 20px auto;
}
.template-button a{
  display: block;
  background: #0A1F4A;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  border-radius: 18px;
  font-family: 'Noto Serif JP', sans-serif;
}


.template-box-inner {
  width: 1000px;
  padding: 50px;
  margin: 0 auto 0;
  background: #fff;
  display: flex;
  gap: 30px;
  font-family: "Noto Serif JP", serif;
}
.template-box-img {
  width: 390px;
}
.template-box-img img {
  width: 100%;
  height: auto;
  margin-bottom: 0;
}
.template-box-text {
  width: calc(100% - 420px);
}
.template-box-ttl {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: bold;
}
.template-box-desc {
  font-size: 15px;
}

@media screen and (max-width: 768px) {
  .template-box-inner {
    width: 95%;
    background: #fff;
    flex-wrap: wrap;
    padding: 20px 20px 30px;
  }
  .template-box-img {
    width: 100%;
  }
  .template-box-text {
    width: 100%;
  }
  .template-box-ttl {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .template-box-desc {
    font-size: 14px;
  }
}

/* text6 */
@media screen and (min-width:769px) {
  .block-heading .template-box-inner {
    width: 1200px;
    background: unset;
    padding: unset;
    gap: unset;
    margin-top: 150px;
  }
  .block-heading .template-box-inner ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap:15px;
    margin: 0 auto;
  }
  .block-heading .template-box-inner ul li {
    width: 390px;
    height: auto;
    background: #EFEBE7;
    padding-bottom: 35px;
    display: flex;
    flex-direction: column;
  }
  .block-heading .template-box-inner ul li h4 {
    font-size: 24px;
    line-height: 30px;
    font-weight: bold;
    padding: 35px 30px 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-bottom: 30px;
  }
  .block-heading .template-box-inner ul li .heading-image {
    width: 100%;
    height: 260px;
    overflow: hidden;
    margin-bottom: 25px;
  }
  .block-heading .template-box-inner ul li .heading-image img {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .block-heading .template-box-inner ul li p.template-box-desc {
    padding: 0 30px;
    text-align: left;
    font-size: 15px;
    line-height: 26px;
    font-weight: 400;
    margin-bottom: 30px;
    height: revert-layer;
  }
  .block-heading .template-box-inner ul li div.heading-btn {
    width: 144px;
    height: 35px;
    border: 1px solid #0A204A;
    border-radius: 18px;
    margin: 0 auto;
    margin-top: auto;
  }
  .block-heading .template-box-inner ul li div.heading-btn a {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 20px;
  }
  .block-heading .template-box-inner ul li div.heading-btn a::before {
    content: '';
    width: 8px;
    height: 8px;
    border-top: 2px solid #0A204A;
    border-left: 2px solid #0A204A;
    position: absolute;
    top: 50%;
    right: 15.9px;
    transform: translate(-50%, -50%) rotate(-135deg);
  }
}
@media screen and (max-width:768px) {
  .block-heading .template-box-inner {
    display: flex;
    flex-direction: column;
    background: unset;
    padding: unset;
    gap: unset;
    width: calc((350/390)*100vw);
    margin: 0 calc((20/390)*100vw);
    box-sizing: border-box;
    margin-top: 50px;
  }
  .block-heading .template-box-inner ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap:calc((20/390)*100vw);
    box-sizing: border-box;
  }
  .block-heading .template-box-inner ul li {
    width: 100%;
    background: #EFEBE7;
    padding-bottom: calc((40/390)*100vw);
    box-sizing: border-box;
  }
  .block-heading .template-box-inner ul li h4 {
    font-size:calc((18/390)*100vw);
    line-height:calc((30/390)*100vw);
    font-weight: bold;
    padding: calc((30/390)*100vw) calc((20/390)*100vw) 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-bottom: calc((15/390)*100vw);
  }
  .block-heading .template-box-inner ul li .heading-image {
    width: 100%;
    overflow: hidden;
    margin-bottom: calc((20/390)*100vw);
  }
  .block-heading .template-box-inner ul li .heading-image img {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .block-heading .template-box-inner ul li p.template-box-desc {
    padding: 0 calc((20/390)*100vw);
    text-align: left;
    font-size: calc((14/390)*100vw);
    line-height: calc((24/390)*100vw);
    font-weight: 400;
    margin-bottom: 30px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
  .block-heading .template-box-inner ul li div.heading-btn {
    width: calc((144/390)*100vw);
    height: calc((35/390)*100vw);
    border: 1px solid #0A204A;
    border-radius: 18px;
    margin: 0 auto;
  }
  .block-heading .template-box-inner ul li div.heading-btn a {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 20px;
  }
  .block-heading .template-box-inner ul li div.heading-btn a::before {
    content: '';
    width: calc((8/390)*100vw);
    height: calc((8/390)*100vw);
    border-top: 2px solid #0A204A;
    border-left: 2px solid #0A204A;
    position: absolute;
    top: 50%;
    right: calc((15.9/390)*100vw);
    transform: translate(-50%, -50%) rotate(-135deg);
  }
}



/* blue ambassador */

.ambassador-inner {
  width: 800px;
  margin: 50px auto;
  background: #fff;
  padding: 25px 25px 25px 65px;
  display: flex;
  position: relative;
  gap: 45px;
  align-items: center;
}
.ambassador-txt {
  width: calc(100% - 245px);
  font-family: "Noto Serif JP", sans-serif;
}
.ambassador-txt p {
  margin-bottom: 13px;
}
p.ambassador-txt_baloon {
  font-size: 14px;
  display: inline-block;
}
p.ambassador-txt_baloon::after {
  content:"";
  background: url(/cms/template/images/icon_blueAmbassador_baloon.png);
  background-size: 100%;
  display: block;
  width: 100%;
  aspect-ratio: 235 / 11;
  margin-top: 4px;
}
p.ambassador-txt_title {
  font-size: 14px;
}
p.ambassador-txt_name {
  font-size: 20px;
}
p.ambassador-txt_desc {
  font-size: 14px;
  margin-top: 0px;
}
.ambassador-icon {
  position: absolute;
  left: -50px;
  top: -30px;
}
.ambassador-img {
  width: 200px;
  height: 200px;
}
.ambassador-img img {
  aspect-ratio: 1 / 1;
  object-fit:cover;
  object-position: center;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 768px) {
  .ambassador-inner {
    width: 75%;
    margin: 30px auto;
    padding: 40px 16px 15px;
    flex-wrap: wrap;
    gap: 0;
  }
  .ambassador-txt {
    width: 100%;
    order: 2;
  }
  p.ambassador-txt_baloon {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content
  }
  .ambassador-img {
    margin: 50px auto 20px;
    width: 80%;
    order: 1;
    height: auto;
  }
  .ambassador-icon {
    top: -55px;
  }
}