.blue-text {color: #00a0e9 !important;}
.purple-text {color: #b84ebe !important;}
.max-full_width {margin: 5% 0;}
.bullet-heart {color: #af62a3;}
.special-note {border: 3px dotted #bb6ebff2; border-radius: 15px; padding: 3% 0; margin: 2%; }
.special-note p{font-size: 1.3rem; }
.special-bullet {color: #af62a3; margin: 0 1% 0 0;}
.center-img {margin: 5% 20% !important; padding: 0%; text-align: center;}
.align-right {float: right;}
.purple-bg {background-color: #F9F1C0 !important;}
.highlighted-bg {background-color: #c9c9c94a; width:fit-content; padding: 2px;}
.back-to { border: 1px solid #00a0e9; background-color: #009fe91a; width:fit-content; padding: 1%; font-size: 12px; font-weight: 500; margin: 2% 0; letter-spacing: -1px;}
    .back-to:hover {text-decoration: none !important; background-color: #009fe935 !important;}
/*色*/
/*背景画像*/
/*メディアクエリ*/
/*width*/


/*------------------------------------------------------*/
.special-placeholder {margin: 10px 40px 15px; display: flex; flex-direction: row; padding: 3%; 
 border-radius: 15px; background-color:#f1d9e99e;}

.special-placeholder .left-side {width: 22%; margin: auto; background-image: radial-gradient(circle, #f9f1ee, #f9f1ee, #f0e4f0, #d4bfd5, #d4bfd500, #f0e4f0, #f0e4f0);  border-radius: 50%; padding: 2%;}
    .special-placeholder .left-side p {font-size: 2rem; text-align: center; text-shadow: 2px 2px  white; font-weight: 600; margin: 5%;}
    .special-placeholder .left-side p span {color: purple; text-shadow: 2px 2px  white; font-size: 2.2rem; letter-spacing: 1px;}

.special-placeholder .right-side {width: 73%; line-height: 2.5rem;}    
/*------------------------------------------------------*/
.special-placeholder-full {margin: 10px 40px 15px; padding: 1%; border-radius: 15px; background-color: #f1d9e947;}
.special-placeholder-full h3 {color: purple; font-weight: 600; margin: 1rem 30px 1.5rem; 
    font-size: 2rem; width:max-content; border-radius: 15px; padding: 1%;}
/*------------------------------------------------------*/
.gallery-4-img {padding: 3% 1%; display: flex; flex-direction: row; width: 90%; margin: 2% auto; background-color: #7f7c7c52;}
.gallery-4-img-col {width: 25%; margin: auto 0.5%;}
.gallery-4-img-col img {width: 100%;}
.gallery-4-img-col h3 {font-weight: 600; color: #000; padding: 2%; font-size: 1.8rem; text-align: center; margin: 5% auto;}
.gallery-4-img-col h3 span {font-size: 1.3rem;}
.gallery-4-img-col h4 {font-weight: 500;
    padding: 2%;
    background-color: #b84ec9;
    color: #ffffff;
    font-size: 1.3rem;
    text-align: center;
    width: 65%;
    margin: auto; border-radius: 15px;}
.instructions p {font-size: 1.5rem; text-align: right; font-weight: 500;}
/*------------------------------------------------------*/

/*------------------------------------------------------*/
.section-cont {display: block; border-width: 20px;
    border-style: solid;
    border-image: linear-gradient(to bottom, #FFD70033, #691215) 1;}


.top-icon-tokushu{
display: flex;
margin-bottom: 0;
}

.top-icon-tokushu img{
     width:20%;
  object-fit: cover; 
  margin-left:0;  
}

.section-cont h3 {font-size: 1.5rem; color: #691215;}

.section-cont .icon-title {width: 90%; display: flex; flex-direction: row; margin: 2% 5%;}

    .section-cont .icon-title .main-icon {width: 15%; margin: auto;}
    .section-cont .icon-title .main-icon img {margin: auto;}
    .section-cont .icon-title .main-icon .tag-name {font-weight: 600;
                padding: 2% 0%;
                color: #ffffff; background-color: #00a0e9;
                font-size: 1.3rem;
                text-align: center;
                width: 100%;
                margin: auto; border-radius: 15px;}
        .main-icon-title{
             display: flex; /* 讓ｪ荳ｦ縺ｳ縺ｫ縺吶ｋ */
          align-items: center; /* 邵ｦ縺ｮ荳ｭ螟ｮ謠�∴ */
        }

        .section-cont .icon-title .main-icon-title {width: 100%;}
        .section-cont .icon-title .main-icon-title p {font-size: 2rem; font-weight: 600; color:#691215; margin-left:5%;
        text-align:center;}

        .section-cont .content-box {width: 96%; margin: 2%;}

        .section-cont .content-box .sensei-img {width: 96%; padding: 2%;}
        .section-cont .content-box .sensei-img img {width: 70%; margin:0 15%;margin-top:1em;}
        .section-cont .content-box .sensei-img .k-word {background-color: #bb6ebf; padding: 0.5% 1%; margin: 0.5% 1%; color: #ffffff; border-radius: 15px;}

    /* HTML: <div class="ribbon">Your text content</div> */
    .section-cont .content-box .content-box-top .ribbon {
    font-size: 28px;
    font-weight: bold;
    color: #df1414;
  }
 /* HTML: <div class="ribbon">Your text content</div> */
/* HTML: <div class="ribbon">Your text content</div> */
/* HTML: <div class="ribbon">Your text content</div> */
.section-cont .content-box .content-box-top  .ribbon {
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
  }
  .section-cont .content-box .content-box-top  .ribbon {
    --r: .8em;
    border-inline: .5em solid #0000;
    padding: .5em .2em calc(var(--r) + .5em);
    clip-path: polygon(0 0, 100% 0, 100% 100%, calc(100% - .5em) 100%, 50% calc(100% - var(--r)), .5em 100%, 0 100%);
    background: radial-gradient(50% .2em at top, #000a, #0000) border-box, #b84ec9 padding-box; right: 35%;
    width: 8%;
    position: absolute;
  }
  .section-cont .content-box .content-box-top  .ribbon p {margin: 2%; font-size: 1rem; text-align: center;}
  .section-cont .content-box .content-box-top  .ribbon .p-bg {background-color: white; border-radius: 15px; color: #000; padding: 1%;}
  .section-cont .content-box .content-box-top  .ribbon .p-bg a {color: #000 !important;}
  .section-cont .content-box .content-box-top  .ribbon .p-bg a:hover {color: #22ba29 !important; text-decoration: underline;}

    .content-box .sensei-img h3 {Font-size: 2rem; text-align: center; font-weight: 600; color: #000; letter-spacing: 0; margin: 10px 30px 0.5rem; }
    .content-box .sensei-img h3 span {font-size: 1.3rem;}
    .content-box .sensei-img p {font-size: 1.2rem; font-weight: 600; text-align: center;}
/*------------------------------------------------------*/

@media screen and (max-width: 600px) {
    .special-note img {margin: 0 1px 1.5rem;}
    .special-placeholder-full {margin: 10px 20px 15px;}
    .special-placeholder {flex-direction: column; margin: 10px 20px 15px;}
    .special-placeholder .left-side  {width: 50%;}
    .special-placeholder .right-side {width: 100%;}

    .gallery-4-img {flex-direction: column;}
    .gallery-4-img-col {width:fit-content; margin: 3% auto ;}
    .gallery-4-img-col h3 {margin: 1% auto;; padding: 1% 0;}
    .gallery-4-img-col h4 {margin: auto; padding: 1% 0; width: 35%;}
    .instructions p {font-size: 1.35rem;}

    .section-cont {border-width: 8px;}
    .section-cont .icon-title  {flex-direction: column; width: 96%; margin: 2%;}
    .section-cont .icon-title .main-icon {width: 35%;}
    .section-cont .icon-title .main-icon-title {width: 100%; border-radius: 0;}
   
    .content-box .sensei-img p {font-size: 1.2rem; font-weight: 500;}
    .section-cont .content-box .sensei-img img {width: 100%; margin: 0;}
    .section-cont .icon-title .main-icon-title p{font-size: 1.5rem; font-weight:bold;}
    .content-box .sensei-img h3 span {font-size: 1.1rem;}

    .section-cont .content-box .content-box-top .ribbon {width: 18%; right: 2%;}
    .section-cont .content-box .content-box-top .ribbon .p-bg {margin: 2% 0;}

}
@media only screen and (min-width: 768px ) and (max-device-width: 1023px) {
    .special-note img {margin: 0 30px 1.5rem;}
    .special-placeholder {flex-direction: column; margin: 10px 40px 15px;}
    .special-placeholder .left-side  {width: 30%;}
    .special-placeholder .right-side {width: 100%;}

    .gallery-4-img-col h3 {font-size: 1.6rem;}

    .section-cont .icon-title .main-icon {width: 20%;}
    .section-cont .icon-title .main-icon-title {width: 80%;}
    .section-cont .icon-title .main-icon-title p {font-size: 1.75rem;}

    .section-cont .content-box .content-box-top  .ribbon {width: 10%;}
}


/*time line*/
.cp_block {
  margin: 3em auto;
}
.cp_timeline01 {
  position: relative;
  width: 100%;
  margin: auto;
  padding: 1em 0;
  list-style-type: none;
}
.cp_timeline01:before {
  position: absolute;
  left: 50%;
  top: 0;
  content: '';
  display: block;
  width: 6px;
  margin-left: -4px;
  background: #006563;
  height: calc(100% + 8em); 
  z-index: 5;
}
.cp_timeline01 li {
  padding: 1em 0;
}
.cp_timeline01 li:after {
  content: '';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
.cp_timeline01 li:nth-child(odd) .timeline_item {
  position: relative;
  width: calc(50% - 29px);
  float: left;
  text-align: right;
}
.cp_timeline01 li:nth-child(even) .timeline_item {
  position: relative;
  width: calc(50% - 29px);
  float: right;
}
.cp_timeline01 li .timeline_item .flag_cont {
  position: relative;
  display: inline-block;
  text-align: center;
}
.cp_timeline01 li .timeline_item .flag {
  position: relative;
  display: inline;
  background:#691215;
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 5px;
  font-weight: bold;
  text-align: left;
}
.cp_timeline01 li:nth-child(odd) .timeline_item .flag {
  box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}
.cp_timeline01 li:nth-child(even) .timeline_item .flag {
  box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}
.cp_timeline01 li:nth-child(odd) .timeline_item .flag_cont:before,
.cp_timeline01 li:nth-child(even) .timeline_item .flag_cont:before {
  position: absolute;
  top: 4px;
  right: -44px;
  content: ' ';
  display: block;
  width: 12px;
  height: 12px;
  margin-top: -10px;
  padding: 4px;
  background: #006563;
  border-radius: 50%;
  border: 6px solid #691215;
  z-index: 10;
}
.cp_timeline01 li:nth-child(even) .timeline_item .flag_cont:before {
  left: -44px;
}
.cp_timeline01 li:nth-child(odd) .timeline_item .flag_cont:after,
.cp_timeline01 li:nth-child(even) .timeline_item .flag_cont:after {
  position: absolute;
  top: 10px;
  right: -38px;
  content: ' ';
  display: block;
  width: 16px;
  height: 16px;
  margin-top: -10px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255 ,1);
  z-index: 10;
}
.cp_timeline01 li:nth-child(even) .timeline_item .flag_cont:after {
  left: -38px;
}
.cp_timeline01 li:nth-child(odd) .timeline_item .flag:after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  height: 0;
  width: 0;
  margin-top: -6px;
  border: solid transparent;
  border-left-color:#691215;
  border-width: 6px;
}
.cp_timeline01 li:nth-child(even) .timeline_item .flag:after {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  height: 0;
  width: 0;
  margin-top: -6px;
  border: solid transparent;
  border-right-color: #691215;
  border-width: 6px;
}
.cp_timeline01 li .timeline_item .time {
  display: block;
  margin-top: 1em;
  padding: 4px 4px;
  font-size: 0.8em;
  line-height: 1em;
  color:#000000;
  text-align: right;
}
.cp_timeline01 li:nth-child(even) .timeline_item .time {
  text-align: left;
}
.cp_timeline01 li .timeline_item .desc {
  display: none;
  text-align: left;
  margin: 1em 0.75em 0 0;
  font-size: 1em;
  line-height: 1.5em;
  margin: 1em 1em 0 1em;
  padding: 1em;
  background: rgba(226, 226, 226, 1);
  border-radius: 6px;
}

@media (max-width: 480px) {
  .cp_timeline01:before {
    height: 106%; 
  }
}

@media only screen and (max-width:768px) {
  .cp_timeline01 {
    width: 100%;
    padding: 4em 0 1em 0;
     
  }
    
  .cp_timeline01 li {
    padding: 2em 0;
  }
  .cp_timeline01 li:nth-child(odd) .timeline_item,
  .cp_timeline01 li:nth-child(even) .timeline_item {
    float: none;
    width: 100%;
    text-align: center;
  }
  .cp_timeline01 li .timeline_item .flag_cont {
    text-align: center;
  }
  .cp_timeline01 li .timeline_item .flag {
    z-index: 15;
  }
  .cp_timeline01 li:nth-child(odd) .timeline_item .flag_cont:before,
  .cp_timeline01 li:nth-child(even) .timeline_item .flag_cont:before {
    top: -34px;
    left: calc(50% - 16px);
  }
  .cp_timeline01 li:nth-child(odd) .timeline_item .flag_cont:after,
  .cp_timeline01 li:nth-child(even) .timeline_item .flag_cont:after {
    top: -28px;
    left: calc(50% - 10px);
  }
  .cp_timeline01 li:nth-child(odd) .timeline_item .flag:after,
  .cp_timeline01 li:nth-child(even) .timeline_item .flag:after {
    content: '';
    position: absolute;
    left: 50%;
    top: -6px;
    height: 0;
    width: 0;
    margin-left: -6px;
    border: solid transparent;
    border-bottom-color: rgba(26,35,126 ,1);
    border-width: 6px;
    pointer-events: none;
  }
  .cp_timeline01 li .flag_cont {
    cursor: pointer; 
    display: block;
    position: relative;
    margin: 4px 0 0 0;
    z-index: 14;
  }
    
     .arrow {
            font-size: 20px;
            transition: transform 0.3s ease; /* アニメーションの追加 */
        }
  .cp_timeline01 li:nth-child(odd) .timeline_item .time,
  .cp_timeline01 li:nth-child(even) .timeline_item .time {
    float: none;
    text-align: center;
    background: #ffffff;
  }
  .cp_timeline01 li .timeline_item .desc {
    position: relative;
    z-index: 15;
  }
}


/* 写真のスタイル */
.sp-img-box-dois {
     display: flex;
    width: 100%;
  object-fit: cover; /* 写真のアスペクト比を保ちつつ、要素にフィットさせる */
}


.sp-img-box-dois img {
  margin: initial !important;
  width: 50%;
  object-fit: cover; /* 写真のアスペクト比を保ちつつ、要素にフィットさせる */
}

.photo-container {
    box-sizing: border-box !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px; 
    background: linear-gradient(0deg, #691215 10%, #B00000 100%);
}

.sp-title {
    width: 85%;
    text-align: left;
    color: #fff;
    margin: auto;
    margin-bottom: 1.5em;
    margin-top:1.5em;
}


.top-bg{
        width:100%;
            background-image: url('../img/47-kantou-background.png');
            background-repeat: repeat; 
            background-size: cover;  
}

.icon-container {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .icon-container img {
            width:20%;
            border-radius: 50%;
            margin-bottom:-1.5em;
        }

.asean-highlight-box {
    background: rgb(247, 226, 214);
    padding: 1em;
    position: relative;
    z-index: 3;  
    text-align: center;  
}

.asean-icon-circle {
    position: absolute;
    bottom: 80%; 
    left: -3%;  
    z-index: 2;   
}

.asean-icon-circle img {
    width: 45%;
    border-radius: 50%;
}

table {
    z-index: 1;  /* 最背面 */
}

.cp_timeline01{
  margin-bottom: 11rem!important;
}

table span[style*="font-weight: 600"] {
    font-size: 13px; 
    font-weight: bold !important;
}