@charset "UTF-8";

#content {
  margin-top: 0;
  margin-bottom: 0;
}

.colobo-wrapper {
  max-width: 1000px;
  padding: 0 20px;
  margin: 0 auto;
}

.vision-contents {
  position: relative;
  z-index: 0;
}
.vision-contents::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/wp-content/themes/ystandard-child/images/about/mg_bg1.png');
  background-size: contain;
  background-position: top;
  background-repeat: repeat-y;
  opacity: 0.3; /* ← 透明度調整（0〜1） */
  z-index: -1;
}

.section-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 60px;
  position: relative;
}
.section-title span {
  max-width: 1000px;
  display: block;
  padding: 0 20px;
  margin: 0 auto;
}
.section-title::before {
  content: "";
  width: calc((100% - 1000px) / 2);
  height: 1px;
  background-color: #94d1ca;
  position: absolute;
  top: 12px;
  left: 0;
}

.br_sp {
  display: none;
}

#intro {
  margin-bottom: 80px;
}
#intro p.intro-text {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.7em;
  letter-spacing: 4px;
  text-align: center;
  margin-bottom: 65px;
}
#intro h2.title {
  font-size: 35px;
  font-weight: 800;
  margin: 0;
  margin-bottom: 20px;
  letter-spacing: 3px;
  text-align: center;
}
#intro .img {
  width: 100%;
  height: auto;
  max-height: 400px; /* 任意の最大高さに調整 */
  object-fit: contain; /* 画像の縦横比を保って収める */
  display: block;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
}
#intro .img img {
  border-radius: 10px;
  display: block;
  width: 100%;
  height: auto;
}
#intro p.description {
  font-size: 18px;
  text-align: justify;
  line-height: 2em;
}

#theme {
  margin-bottom: 0px;
}
#theme .theme-title {
  font-size: 30px;
  font-weight: 800;
  text-align: center;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
#theme .description {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.7em;
}
#theme .accordion-title {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0px auto;
  max-width: 550px;
}
#theme .accordion-title .img{
  width: 17%;
  margin-right: 3%;
}
#theme .accordion-title .text{
  font-size: 30px;
  font-weight: 600;
  width: 80%;
  color: #066d5a;
}
#theme .vision-accordion {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
  padding-bottom: 80px;
}
.accordion-toggle {
  display: none;
}
#theme .vision-accordion .vision-accordion-item {
  border-radius: 10px;
  overflow: hidden;
  background-color: #fff
}
#theme .vision-accordion .vision-accordion-header {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: #94d1ca;
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 3px;
  text-align: center;
  color: #fff;
  padding: 10px 15px;
  padding-right: 20px;
}
#theme .vision-accordion .vision-accordion-content {
  display: block;
  background: #fff;
  padding: 10px 15px;
}
#theme .vision-accordion .vision-accordion-content ul li {
  position: relative;
  padding-left: 2em;
  margin-bottom: 0.6em;
  line-height: 1.6;
}
#theme .vision-accordion .vision-accordion-item ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 1.1em;
  height: 1.1em;
  background-color: #D8EBE6;
  border-radius: 4px;
}
#theme .vision-accordion .vision-accordion-item ul li::after {
  content: "✔";
  position: absolute;
  left: 0.15em;
  top: 0.05em;
  font-size: 0.85em;
  color: #2bb99b;
}

.vision-bg-blue {
  background-color: #94d1ca;
  text-align: center;
  position: relative;
  margin-bottom: 80px;
  padding: 40px;
}
.vision-bg-blue::after {
  border: 30px solid transparent;
  border-top-color: #94d1ca;
  border-bottom-width: 0;
  bottom: -29px;
  content: "";
  display: block;
  left: 50%;
  position: absolute;
  width: 0;
}
#solution .highlight {
  font-size: 25px;
  font-weight: bold;
  margin: 0 auto;
}
#solution .title {
  font-size: 33px;
  letter-spacing: 3px;
  margin: 20px;
}
#solution .title span {
  color: #ff7e3f;
  background: #fff;
  border: solid #ff7e3f 2px;
  border-radius: 10px;
  padding: 1% 5%;
  margin-right: 10px;
}
#solution ul {
  text-align: left;
  display: inline-block;
  font-size: 20px;
}
#solution ul li {
  position: relative;
  padding-left: 2em;
  margin-bottom: 0.6em;
  line-height: 1.6;
}
#solution ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 1.1em;
  height: 1.1em;
  background-color: #fff;
  border-radius: 4px;
}
#solution ul li::after {
  content: "✔";
  position: absolute;
  left: 0.15em;
  top: 0.05em;
  font-size: 0.85em;
  color: #ff7e3f;
}

#role  {
  margin-bottom: 0px;
  padding-bottom: 80px;
}
#role .item .text .description {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.7em;
}
#role .item .flex-contents {
  margin-bottom: 80px;
  display: flex;
  align-items: center;
}
#role .role1 .flex-contents {
  margin-bottom:0px;
}
#role .item .role-sub .img-ic {
  width: 30%;
  text-align: right;
}
#role .item .flex-contents .image {
  margin-right: 3%;
}
#role .item .flex-contents .img {
  position: relative;
  width: 50%;
  margin-right: 10px;
 }
#role .item .flex-contents .img img {
  border-radius: 10px;
}
#role .item .flex-contents .img .ic {
  position: absolute;
  top: -25px;
  left: 10px;
}
#role .item .flex-contents .text {
  width: 50%;
  text-align: justify;
}
#role .item .flex-contents .text .title {
  font-size: 33px;
  font-weight: bold;
  margin: 0;
  padding: 0;
}
 
#role .item .role-sub .img-ic img {
  max-height: 333px;
}
#role .item .role-sub .text {
  width: 70%;
}
#role .item .role-sub {
  background:#ffe6da;
  border-radius:10px;
  padding: 20px 0;
}
#role .item .role-sub .text .fukidashi-left {
  position: relative;
  display: inline-block;
  margin: 1.5em 0;
  margin-left: 20px;
  padding: 20px 30px;
  min-width: 120px;
  max-width: 100%;
  background: #FFF;
  border-radius: 10px;
}
#role .item .role-sub .text .fukidashi-left::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -25px;
  margin-top: -15px;
  border: 15px solid transparent;
  border-right: 15px solid #fff;
  z-index: 0;
}
#role .item .role-sub .text .title {
  font-size: 22px;
  font-weight: bold;
  margin: 0;
  padding: 0;
}
#role .item .role-sub .text .title span {
  font-size: 26px;
  padding: 0 5px;
  color: #ff7e3f;
}
#role .item .role-sub .text  ul li {
  position: relative;
  padding-left: 2em;
  margin-bottom: 0.6em;
  line-height: 1.6;
  font-size: 20px;
  font-weight: bold;
}
#role .item .role-sub .text  ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 1.1em;
  height: 1.1em;
  background-color: #fff;
  border-radius: 4px;
}
#role .item .role-sub .text  ul li::after {
  content: "✔";
  position: absolute;
  left: 0.15em;
  top: 0.05em;
  font-size: 0.85em;
  color: #ff7e3f;
}

#proposal {
  margin-bottom: 0px;
  padding-bottom: 80px;
  background-color: #FFE6DA;
}
#proposal .vision-highlight {
  position: relative;
  background-color: #ff7e3f;
  display: inline-block;
  padding: 3% 10%;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 28px;
  left: 50%;
  top: -40px;
  transform: translateX(-50%);
  letter-spacing: 5px;
}
#proposal .vision-highlight::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-top: 15px solid #ff7e3f;
}
#proposal .vision-highlight p {
  margin: 0;
  padding: 0;
}
#proposal .vision-box-container {
  display: grid;
  grid-template-columns:  1fr 1fr;
  gap: 24px;
  margin: 0 auto;
  padding: 20px;
}
#proposal .vision-box {
  background-color: #fff;
  border-radius: 10px;
  text-align: left;
}
#proposal .vision-box .title {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: #94d1ca;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 3px;
  text-align: center;
  color: #fff;
  padding: 20px 15px;
  padding-right: 20px;
  border-radius: 10px 10px 0px 0px;
}
#proposal .vision-box .title h4 {
  margin: 0;
  padding: 0;
}
#proposal .vision-box .description {
  margin: 2em 1.5em ;
  font-size: 15px;
  text-align: justify;
}

@media screen and (max-width: 767px) {
  .custom-vision-content h1.page-title {
    margin: 0;
  }
  .section-title{
    margin-bottom: 20px;
    letter-spacing: 3px;
  }
  .section-title::before {
    content: none;
  }
  
  .br_sp {
    display: block;
  }

  #intro {
    margin-bottom: 40px;
  }
  #intro p.intro-text {
    font-size: 15px;
    line-height: 1.8em;
    letter-spacing: 2px;
    margin: 30px auto;
  }
  #intro h2.title {
    font-size: 28px;
  }
  #intro .img {
    max-height: 200px; 
  }
  #intro p.description {
    font-size: 15px;
    line-height: 1.7em;
  }
  #theme .theme-title {
    font-size: 23px;
  }
  #theme .description {
    font-size: 12px;
  }
  #theme .accordion-title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    text-align: center;
    margin: 0 auto;
  }
  #theme .accordion-title .img {
    width: auto; /* ← 固定幅を解除 */
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center; 
  }
  #theme .accordion-title .img img {
    width: 43px; 
    height: auto;
  }
  #theme .accordion-title .text{
    width: auto; /* ← 固定幅解除で中身に合わせる */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    font-size: 20px;
    text-align: left; 
  }
  #theme .accordion-title .text span {
    display: block;
  }
  #theme .vision-accordion {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }
  #theme .vision-accordion .vision-accordion-item {
    border-radius: 10px;
    overflow: hidden;
  }
  #theme .vision-accordion .vision-accordion-header {
    position: relative;
    cursor: pointer;
    background: #94d1ca;
    font-size: 23px;
    font-weight: 600;
    letter-spacing: 3px;
    text-align: center;
    color: #fff;
    padding: 10px 15px;
  }
  #theme .vision-accordion .vision-accordion-header::after {
    content: "+";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3em;
    color: #fff;
  }
  #theme .vision-accordion .accordion-toggle:checked + .vision-accordion-header::after {
    content: "−";
  }
  #theme .vision-accordion .vision-accordion-content {
    display: none;
    background: #fff;
    padding: 10px 15px;
  }
  #theme .vision-accordion .accordion-toggle:checked + .vision-accordion-header + .vision-accordion-content {
    display: block;
  }
  #theme .vision-accordion .vision-accordion-content ul li {
    position: relative;
    padding-left: 2em;
    margin-bottom: 0.6em;
    line-height: 1.6;
  }

  .vision-bg-blue {
    margin-bottom: 80px;
    padding: 20px 10px;
  }
  .vision-bg-blue::after {
    left: 45%;
  }
  #solution .highlight {
    font-size: 18px;
  }
  #solution .title {
    font-size: 25px;
    margin: 10px 20px;
  }
  #solution .title span {
    display: block;
    padding: 2% 1%;
    margin-right: 0px;
    margin-bottom: 10px;
  }
  #solution ul {
    font-size: 15px;
    padding: 0 25px;
  }

  #role  {
    padding-bottom: 20px;
  }
  #role h2.section-title {
    margin-bottom: 55px;
  }
  #role .item {
    margin-bottom: 70px;
  }
  #role .item.role1 {
    margin-bottom: 20px;
  }
  #role .item .flex-contents {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
  }
  #role .item .flex-contents .img {
    width: 100%;
    position: relative;
  }
  #role .item .flex-contents .img .ic img {
    width: 100px;  /* または適切なサイズ */
    height: auto;
    display: block;
  }
  #role .item .flex-contents .img-ic {
    display: none;
  }
  #role .item .flex-contents .img .image img {
    width: 100%;
    border-radius: 10px;
    display: block;
  }
  #role .role1 .flex-contents .text {
    width: 100%;
  }
  #role .item .flex-contents {
    display: block;
  }
  #role .item .flex-contents .img {
    width: 100%;
    margin-right: 0px;
    margin-bottom: 20px;
  }
  #role .item .flex-contents .img .ic {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -38px; /* 必要に応じて調整してください */
    z-index: 2; /* 背面に隠れていれば追加 */
  }
  #role .item .flex-contents .text {
    width: 100%;
  }
  #role .item .flex-contents .text .title {
    font-size: 25px;
    text-align: center;
  }
  #role .item .flex-contents .text .description {
    font-size: 15px;
  }
  #role .item .flex-contents .text .fukidashi-left {
    position: relative;
    display: inline-block;
    margin: 0 auto;
    margin-bottom: 10px;
    margin-left: auto;
    padding: 15px 20px;
  }
  #role .item .role-sub {
    padding: 20px 20px 10px 20px;
    margin: 0px -20px;  
  }
  #role .item .role-sub .text .fukidashi-left::before {
    top: 100%;
    left: 50%;
    margin-top: 0; /* ← 上書き不要なら削除してもOK */
    border: 15px solid transparent;
    border-top: 15px solid #fff;
    transform: translateX(-50%);
  }
  #role .item .role-sub .text .title {
    font-size: 18px;
  }
  #role .item .role-sub .text .title span {
    font-size: 23px;
  }
  #role .item .role-sub .text ul {
    padding: 10px;
  }
  #role .item .role-sub .text  ul li {
    font-size: 15px;
  }

  #proposal .vision-highlight {
    font-size: 20px;
    padding: 3% 3%;
    margin-bottom: 0px;
  }
  #proposal .vision-box-container {
    display: grid;
    grid-template-columns:  1fr;
    gap: 15px;
    margin: 0 auto;
    padding: 10px;
  }
  #proposal .vision-box .title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 3px;
    text-align: center;
    color: #fff;
    padding: 10px 10px;
    padding-right: 20px;
    border-radius: 10px 10px 0px 0px;
  }
  #proposal .vision-box .description {
    margin: 5% 5%;
    font-size: 12px;
  }
  
}
@media screen and (max-width: 599px) {
  /* スマホレイアウトをここに書く */

  
}
