@charset "UTF-8";
html {
  font-family: "a-otf-ud-shin-maru-go-pr6n", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 62.5%;
  color: #4d4d4d;
  scroll-behavior: smooth;
}
body {
  font-size: 1.6rem;
  letter-spacing: 0.2rem;
  position: relative;
}
p {
  font-size: 1.5rem;
  line-height: 2.5rem;
}
small {
  font-size: 1.2rem;
}
ul, ol {
  list-style: none;
  padding: 0;
}
a {
  text-decoration: none;
  color: #4d4d4d;
}
.m-auto {
  margin: auto;
}
.my-1{
    margin: 1rem 0;
}
.my-2{    
    margin: 2rem 0;
}
.my-3{
    margin: 3rem 0;    
}
.my-4{
    margin: 4rem 0;
}
.my-5{
    margin: 5rem 0;    
}
.mx-1{
    margin: 0 1rem;
}
.mx-2{
    margin: 0 2rem;
}
.mx-3{
    margin: 0 3rem;    
}
.mx-4{
    margin: 0 4rem;    
}
.mx-5{
    margin: 0 5rem;    
}
.mx-1 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}
.mt-3 {
  margin-top: 3rem;
}
.mt-4 {
  margin-top: 4rem;
}
.mt-5 {
  margin-top: 5rem;
}
.mr-1 {
  margin-right: 1rem;
}
.mr-2 {
  margin-right: 2rem;
}
.mr-3 {
  margin-right: 3rem;
}
.mr-4 {
  margin-right: 4rem;
}
.mr-5 {
  margin-right: 5rem;
}
.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mb-3 {
  margin-bottom: 3rem;
}
.mb-4 {
  margin-bottom: 4rem;
}
.mb-5 {
  margin-bottom: 5rem;
}
.ml-1 {
  margin-left: 1rem;
}
.ml-2 {
  margin-left: 2rem;
}
.ml-3 {
  margin-left: 3rem;
}
.ml-4 {
  margin-left: 4rem;
}
.ml-5 {
  margin-left: 5rem;
}
.menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 15px;
  padding: 20px;
  z-index: 1;
}
.menu ul {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.menu ul li {
  margin-right: 20px;
}
.menu ul li a {
  color: #333;
  text-decoration: none;
}
#toggle, .hamburger {
  display: none;
}
.hero {
  margin-bottom: 50px;
}
.hero .heroLeft h1 {
  position: absolute;
  top: -65px;
  left: 20px;
  font-size: 2.5rem;
}
.hero .heroLeft h1 span {
  font-size: 1.5rem;
}
.hero .heroLeft .snsicon {
  position: absolute;
  bottom: 0;
  right: 0;
}
.hero .heroLeft .snsicon i {
  font-size: 3rem;
  margin: 10px;
  color: #fff;
}
.heroLeft {
  position: relative;
}
.heroRight {
  position: relative;
  display: grid;
  place-items: center;
  background: #a6c0e0;
  height: 200px;
}
#cdp-logo {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 100px;
}
.bgLine {
  display: block;
  height: 20px;
  margin: 20px auto 50px;
  background-image: url("../img/bgLine.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.container {
  width: 95%;
  margin: auto;
}
.leftContent {
  margin-bottom: 50px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.headlineImg {
  font-family: 'Comfortaa', cursive;
  font-size: 3rem;
  text-align: center;
  position: relative;
}
.headlineImg::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  width: 3rem;
  height: 3rem;
  background: #f8cbd2;
  z-index: -1;
}
.headlineText {
  display: block;
  margin: 20px;
  text-align: center;
}
.rightContent {
  margin-bottom: 50px;
}
.contentTitle {
  position: relative;
  padding: .3rem 0 .2rem 2rem;
}
.contentTitle::before {
  content: "";
  position: absolute;
  top: 0;
  left: .6rem;
  height: 11px;
  width: 12px;
  background: #a8d9e2;
}
.contentTitle::after {
  content: "";
  position: absolute;
  top: .6rem;
  left: 0;
  height: 11px;
  width: 12px;
  background: #f8cbd2;
}
.lead {
  margin-left: 2rem;
  margin-bottom: 10px;
}
.messageName {
  text-align: right;
}
.messageName small {
  display: block;
}
.linkArrow {
  text-align: right;
  position: relative;
  padding-right: 100px;
}
.linkArrow a::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 32px;
  height: 32px;
  border: solid 1px #4d4d4d;
  transition: .8s;
}
.linkArrow a:hover::after {
  content: "";
  position: absolute;
  top: 0;
  right: 3rem;
  width: 200px;
  height: 3rem;
  background: #a7c1e1;
  z-index: -1;
}
.linkArrow a::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 16px;
  width: 80px;
  height: 8px;
  border-bottom: 1px solid #4d4d4d;
  border-right: 1px solid #4d4d4d;
  transform: skew(45deg);
}
.voice img {
  display: inline;
  margin: -60px 10px 0 0;
}
.achievementsList li a {
  display: block;
  position: relative;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-bottom: dotted 2px #a8d9e2;
}
.achievementsList li a::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #a8d9e2;
}
#question .leftContent {
  height: auto;
}
#blog .rightContent .flex-row {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.blogImg {
  width: 30%;
}
.blogTitle {
  width: 60%;
  margin-left: 10px;
}
.achievementsNew {
  margin-bottom: 30px;
}
.achievementsNew img {
  margin: auto;
}
.achievementsNew h2, .blogTitle h2 {
  font-size: 1.8rem;
  margin: 10px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; 
  line-height: 1.5;
  max-height: 4.5em;
}
/*
.achievementsNew p, .blogTitle p {
  font-size: 1.5rem;
  margin: 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.5; 
  max-height: 3em;
}
*/
#policy h2{
    font-size: 1.6rem;
    padding: 5px 15px;
    background: #c1dbf4;
}
#achievements .answer{
    display: inline-block;
    border-radius: 5px;
    padding: 5px;
    margin-right: 5px;
    background: #f8cbd2;
}
.achievementsNew .blogTitle, .achievementsNew .blogImg {
    width: 100%;
    overflow: hidden;
  }
footer{
    text-align: center;
}

@media screen and (max-width: 768px) {
  .menu {
    justify-content: flex-end;
    position: relative;
  }
  .menu ul {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    padding: 20px;
    background-color: #fff;
    text-align: center;
    animation: slideDown 0.3s ease-in-out;
  }
  .menu ul li {
    padding: 20px;
  }
  .hamburger {
    display: block;
    width: 30px;
    height: 20px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    padding: 0;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 999;
  }
  .hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #a6c0e0;
    margin-bottom: 5px;
    transition: transform 0.3s ease-in-out;
  }
  #toggle {
    display: none;
  }
  #toggle:checked ~ ul {
    display: block;
  }
  #toggle:checked ~ .hamburger span:nth-child(1) {
    transform: rotate(45deg) translateX(5px) translateY(5px);
  }
  #toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }
  #toggle:checked ~ .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translateX(5px) translateY(-5px);
  }
  #question .flex-row {
    display: flex;
    flex-direction: column-reverse;
  }
  #achievements .achievementsNew {
    
    margin-bottom: 20px;
  }

}
@keyframes slideDown {
  0% {
    transform: translateY(-10px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@media screen and (min-width: 769px) {
  .hero {
    display: flex;
    align-content: stretch;
    margin-top: -50px;
  }
  .heroLeft, .leftContent {
    width: 40%;
    margin: 0 2.5%;
  }
  .hero .heroLeft h1 {
    position: inherit;
    top: 0;
    left: 0;
    text-align: right;
    font-size: 3rem;
    margin: 0;
  }
  .hero .heroLeft h1 small {
    font-size: 1.5rem;
  }
  .heroRight, .rightContent {
    width: 55%;
    height: auto;
    margin-top: 2.5%;
  }
  .hero .heroLeft .snsicon {
    position: absolute;
    bottom: 5rem;
  }
  .flex-row {
    display: flex;
    align-items: center;
    align-content: stretch;
  }
    .flex-row-r{
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
    }
  #message .rightContent h1 {
    width: 25rem;
    margin: 0 auto 50px;
  }
  #question .flex-row {
    flex-direction: row-reverse;
  }
  #achievements .flex-row {
    justify-content: space-between;
  }
  .achievementsNew {
    width: 30%;
    margin-bottom: 50px;
  }
  .achievementsNew .contentTitle {
    font-size: 1.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* 表示する最大行数 */
    line-height: 1.5; /* 行間の高さ */
    max-height: 4.5em;
  }
  .achievementsNew:hover {
    opacity: .8;
  }
  
  .achievementsList {
    width: 500px;
  }


}