/* メインコンテナ */
@media (max-width: 768px) {
    .main-container-under {
        height: 80px;
    }
/* 左上 */
.main-container .bg-corner-top-left1 {
    content: "";
    position: absolute;
    background-image: url('./Key_visual_material/bg-1.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    z-index: 1;
    pointer-events: none;
}

.main-container .bg-corner-top-left2{
content: "";
position: absolute;
background-image: url('./Key_visual_material/bg-2.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    z-index: 1;
    pointer-events: none;
}
.main-container .bg-corner-top-left3{
content: "";
position: absolute;
background-image: url('./Key_visual_material/bg-3.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    z-index: 2;
    pointer-events: none;
}
.main-container .bg-corner-top-left1 {
top: 20px;
left: 30px;
}
.main-container .bg-corner-top-left2 {
    top: 0;
    left: 20px;
}
.main-container .bg-corner-top-left3 {
top: 50px;
left: 50px;
}

/* 右上 */
.main-container .bg-corner-top-right1{
    content: "";
    position: absolute;
    background-image: url('./Key_visual_material/bg-1.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 80px;
    height: 80px;
    z-index: 1;
    pointer-events: none;
}
.main-container .bg-corner-top-right2 {
    content: "";
    position: absolute;
    background-image: url('./Key_visual_material/bg-2.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 80px;
    height: 80px;
    z-index: 1;
    pointer-events: none;
}
    .main-container .bg-corner-top-right3{
    content: "";
    position: absolute;
    background-image: url('./Key_visual_material/bg-3.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    z-index: 2;
    pointer-events: none;
}
.main-container .bg-corner-top-right1 {
top: 0;
right: 0;
}
.main-container .bg-corner-top-right2 {
top: 50px;
right: 60px;
}
.main-container .bg-corner-top-right3 {
top: 80px;
right: 50px;
}

/* 左下 */
.main-container .bg-corner-bottom-left1{
    content: "";
    position: absolute;
    background-image: url('./Key_visual_material/bg-1.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    z-index: 1;
    pointer-events: none;
}
.main-container .bg-corner-bottom-left2{
    content: "";
    position: absolute;
    background-image: url('./Key_visual_material/bg-2.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    z-index: 1;
    pointer-events: none;
}
.main-container .bg-corner-bottom-left3{
    content: "";
    position: absolute;
    background-image: url('./Key_visual_material/bg-3.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    z-index: 2;
    pointer-events: none;
}
.main-container .bg-corner-bottom-left1 {
bottom: 0;
left: 0;
}
.main-container .bg-corner-bottom-left2 {
bottom: 0;
left: 20px;
}
.main-container .bg-corner-bottom-left3 {
bottom: 0;
left: 50px;
}

/* 右下 */
.main-container .bg-corner-bottom-right1 {
    content: "";
    position: absolute;
    background-image: url('./Key_visual_material/bg-1.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    z-index: 1;
    pointer-events: none;
}
                
.main-container .bg-corner-bottom-right2 {
    content: "";
    position: absolute;
    background-image: url('./Key_visual_material/bg-2.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    z-index: 1;
    pointer-events: none;
}
.main-container .bg-corner-bottom-right3 {
    content: "";
    position: absolute;
    background-image: url('./Key_visual_material/bg-3.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    z-index: 2;
    pointer-events: none;
}
.main-container .bg-corner-bottom-right1 {
bottom: 0px;
right: 50px;
}

.main-container .bg-corner-bottom-right2 {
    bottom: 0;
    right: 20px;
}

.main-container .bg-corner-bottom-right3 {
bottom: 20px;
right: 20px;
}



.main-container {
    background: linear-gradient(to bottom, #A8FFFA, #ffffff);
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    background-image: url('./global_talent_lp_image/back_ground_1.jpg');
      background-repeat: no-repeat;    
  background-size: cover;
  background-position: center center;
}
.title {
font-size: 22px;
font-weight: 600;
line-height: 1.2;
margin-bottom: 16px;
position: relative;
z-index: 999;
}

.highlight-group {
position: relative;
display: inline-block;
padding-top: 1.5em;
text-align: center;
}

.highlight-group::before {
content: "・・・・";
color: #0071D9;
font-size: 22px;
position: absolute;
top: 17%;
left: 29%;
transform: translateX(-50%);
}

.highlight {
color: #0071D9;
}

.subtitle {
font-size: 18px;
font-weight: 600;
margin-top: 34px;
margin-bottom: 12px;
z-index: 999;
line-height: 1.4;
}

.cta {
font-size: 26px;
font-weight: 800;
color: #0071D9;
/* margin: 15px 0 30px 0; */
position: relative;
display: inline-block;
z-index: 999;
}

.bubble-section {
position: relative;
/* margin-top: 60px; */
display: flex;
justify-content: center;
align-items: center;
background-image:
    url('./Key_visual_material/world_map.png'),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="800" height="400"><circle cx="10" cy="10" r="2" fill="%239bd3e5"/><circle cx="30" cy="20" r="2" fill="%239bd3e5"/><circle cx="50" cy="30" r="2" fill="%239bd3e5"/><circle cx="70" cy="40" r="2" fill="%239bd3e5"/><circle cx="90" cy="50" r="2" fill="%239bd3e5"/></svg>');
background-repeat: no-repeat, repeat;
background-size: contain, 100px 100px;
background-position: center center, top left;
padding: 0;
border-radius: 20px;
}

.bubbles-left,
.bubbles-right {
display: flex;
flex-direction: column;
/* gap: 15px; */
flex: 1;
max-width: 100px;
}

.character {
flex-shrink: 0;
margin: 0 30px;
}

.character img {
width: 200px;
max-width: 90vw;
height: auto;
}

.bubble {
position: relative;
font-size: 9px;
font-weight: 700;
line-height: 1.2;
background-repeat: no-repeat;
background-size: contain;
background-position: center;
background-color: transparent;
color: #000;
text-align: center;
min-height: 120px;
display: flex;
align-items: center;
justify-content: center;
}
.bubbles-left .bubble:nth-child(1) {
padding: 0;
width: 130px;
justify-content: flex-start;
text-align: left;
}
.bubbles-left .bubble:nth-child(1) .bubble-move{
    position: absolute;
    top: 50px;
    left: 15px;
}
.bubbles-left .bubble:nth-child(2) {
padding: 0;
width: 90px;
justify-content: flex-start;
text-align: left;
}
.bubbles-left .bubble:nth-child(2) .bubble-move{
    position: absolute;
    top: 50px;
    left: 15px;
}
.bubbles-left .bubble:nth-child(3) {
padding: 0;
width: 110px;
justify-content: flex-start;
text-align: left;
}
.bubbles-left .bubble:nth-child(3) .bubble-move{
    position: absolute;
    top: 50px;
    left: 15px;
}
.bubbles-left .bubble:nth-child(4) {
padding: 0;
width: 120px;
justify-content: flex-start;
text-align: left;
}
.bubbles-left .bubble:nth-child(4) .bubble-move{
    position: absolute;
    top: 50px;
    left: 25px;
}
.bubbles-right .bubble:nth-child(1) {
padding: 0;
width: 120px;
justify-content: flex-start;
text-align: left;
}
.bubbles-right .bubble:nth-child(1) .bubble-move{
    position: absolute;
    top: 43px;
    left: 45px;
}
.bubbles-right .bubble:nth-child(2) {
padding: 0;
/* width: 90px; */
justify-content: flex-start;
text-align: left;
}
.bubbles-right .bubble:nth-child(2) .bubble-move{
    position: absolute;
    top: 50px;
    left: 20px;
}

.bubbles-right .bubble:nth-child(3) {
padding: 0;
/* width: 120px; */
justify-content: flex-start;
text-align: left;
}
.bubbles-right .bubble:nth-child(3) .bubble-move{
    position: absolute;
    top: 42px;
    left: 25px;
}

.bubbles-right .bubble:nth-child(4) {
padding: 0;
width: 130px;
justify-content: flex-start;
text-align: left;
}
.bubbles-right .bubble:nth-child(4) .bubble-move{
    position: absolute;
    top: 50px;
    left: 38px;
}


.bubble.left-1 { background-image: url('./Key_visual_material/left_1.png'); }
.bubble.left-2 { background-image: url('./Key_visual_material/left_2.png'); }
.bubble.left-3 { background-image: url('./Key_visual_material/left_3.png'); }
.bubble.left-4 { background-image: url('./Key_visual_material/left_4.png'); }
.bubble.right-1 { background-image: url('./Key_visual_material/right_1.png'); }
.bubble.right-2 { background-image: url('./Key_visual_material/right_2.png'); }
.bubble.right-3 { background-image: url('./Key_visual_material/right_3.png'); }
.bubble.right-4 { background-image: url('./Key_visual_material/right_4.png'); }

.bubbles-left .bubble:nth-child(1) { position: relative; top: -30; left: 90px; }
.bubbles-left .bubble:nth-child(2) { position: relative; top: -50; left: 45px; }
.bubbles-left .bubble:nth-child(3) { position: relative; top: 0; left: 44px; }
.bubbles-left .bubble:nth-child(4) { position: relative; top: 0; left: 100px; }

.bubbles-right .bubble:nth-child(1) { position: relative; top: 35px; left: -120px; }
.bubbles-right .bubble:nth-child(2) { position: relative; top: -30; left: -50px; }
.bubbles-right .bubble:nth-child(3) { position: relative; top: 0; left: -50px; }
.bubbles-right .bubble:nth-child(4) { position: relative; top: 0; left: -120px; }


/* <ベリタス紹介セクション --> */
.container-middle-size {
max-width: 850px;
}
.info-container {
margin: 80px auto 60px;
text-align: center;
color: #000;
line-height: 1.8;
padding: 0 20px;
}

.info-container h2 {
font-size: 24px;        
font-weight: 800;     
color: #0071D9;
}
.info-container h2 span {
font-size: 22px;        
}

.dot-highlight {
position: relative;
display: inline-block;
padding-top: 1.5em;
}

.dot-highlight::before {
content: "・・・";
color: #0071D9;
font-size: 24px;
position: absolute;
top: 12%;
left: 74%;
transform: translateX(-50%);
}

.info-subtitle {
display: block;
font-size: 36px;
font-weight: 900;
color: #0071D9;
margin-top: 4px;
}

.underline {
max-width: 933px;
height: 2px;
background-color: #000;
margin: 16px auto 32px;
}

.info-container {
letter-spacing: NaNpx;
color: #0071D9;
opacity: 1;
}
.info-container p {
text-align: left;
padding: 0 10px;
font-family: "Hiragino Sans", sans-serif;
font-size: 16px;  
font-weight: 600;               
line-height: 32px;      
letter-spacing: 0px;
color: #000000;
opacity: 1;
}


/* <!-- 新規：育成サポートチャート --> */
.chart-container {
position: relative;
max-width: 1600px;
margin: 0 auto 80px;
text-align: center;
padding: 0 20px;
}

.chart-title {
font-size: 20px;
font-weight: 600;
margin-bottom: 30px;
color: #0071D9;
}

.chart-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 15px;
    align-items: flex-start;
}

.node {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    border-radius: 6px;
    padding: 12px 20px;
    font-weight: bold;
    color: #007bff;
    text-align: start;
    height: 400px;
    display: flex;
    justify-content: flex-start;  /* 上寄せ */
    align-items: center;
    background-color: #fff;
    min-width: 20px;
    max-width: 20px;
}
.node:first-child {
    justify-content: center;
    border-radius: 0px;
}

.node.filled {
    background-color: #007bff;
    color: white;
    border: none;
}

.chart-row .node:first-child {
    clip-path: none;
}

.chart-row.third .node {
    height: 200px;
}
.chart-row.fourth .node {
    height: 150px;
}

.chart-row .node:not(:last-child):not(:first-child)::after {
content: '▶';
position: absolute;
right: -25px;
top: 50%;
transform: translateY(-50%);
font-size: 20px;
color: #0071D9;
}


/* プロフィールセクション */
.profile-section {
/* width: 70%; */
max-width: 350px;
margin: 30px auto;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: flex-start;
gap: 40px;
padding: 0 20px;
}

.profile-section img {
border-radius: 24px;
max-width: 80%;
height: auto;
}

.profile-text {
max-width: 500px;
text-align: left;
line-height: 1.8;
font-size: 16px;
font-weight: 400;
}

.profile-text strong {
font-size: 18px;
}
.sp-exception-font-size {
    font-size: 15px;
}


/* お問い合わせ */
.cta-box {
background-color: #AF1111;
color: white;
max-width: 300px;
margin: 20px auto;
padding: 22px 14px;
border-radius: 20px;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.cta-box .top-text {
font-size: 14px;
margin-bottom: 8px;
}

.cta-box .main-text {
font-size: 18px;
font-weight: bold;
margin-bottom: 16px;
}

.cta-box button {
background: white;
color: #AF1111;
font-weight: bold;
padding: 10px 24px;
font-size: 12px;
border: none;
border-radius: 999px;
cursor: pointer;
}


/* ケースセクション */
.case-section {
padding: 60px 20px;
background: linear-gradient(to bottom, #A8FFFA, #ffffff);
text-align: center;
position: relative;
}

.case-title {
font-size: 22px;                 
line-height: 38px;   
color: #0071D9;
margin-bottom: 0px;
}
.case-title .highlight{
font-size: 26px;
}
.dot-highlight-case {
position: relative;
display: inline-block;
padding-top: 1.7em; /* 点との距離確保 */
}

.dot-highlight-case::before {
content: "・・・";
color: #0071D9;
font-size: 22px;
position: absolute;
top: 16%;
left: 33%;
transform: translateX(-50%);
}


.case-item {
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
margin-bottom: 10px;
}
.case-item.reverse{
flex-direction: column-reverse;
}
.case-small-comment {
    display: none;
}
.case-text {
    max-width: 300px;
    width: 88%;
    margin: 0 auto;
    font-size: 12px;
    font-weight: 500;
    text-align:left;
}

.case-visual {
    position: relative;
}
.case-visual-sp1{
    height: 220px;
}
.case-visual-sp2{
    height: 140px;
}
.case-visual-sp3{
    height: 300px;
}
.case-visual-sp4{
    height: 240px;
}
.case-visual .background-img-1 {
    position: absolute;
    top: -90px;
    left: 20px;
}
.case-visual .background-img-2 {
    position: absolute;
    top: -110px;
    left: 250px;
}
.case-visual .background-img-3 {
    position: absolute;
    top: -70px;
    left: -40px;
}
.case-visual .background-img-4 {
    position: absolute;
    top: -60px;
    left: 310px;
}

.case-visual img {
max-width: 300px;
height: auto;
margin-bottom: 0;
position: relative;
top: -70px;
z-index: 999;
}

.case-bubble {
background-size: contain;
background-repeat: no-repeat;
background-position: center;
padding: 42px;
min-height: 300px;
max-width: 600px;
width: 100%;
position: relative;
display: flex;
flex-direction: column;
justify-content: flex-start;
text-align: left;
font-size: 16px;
line-height: 1.;
color: #000;
}
.background-img-1 {
    display: none;
}
.background-img-2 {
    display: none;
}
.background-img-3 {
    display: none;
}
.background-img-4 {
    display: none;
}

.bubble-case1 {
    top: 0;
    left: 0;
    background-image: url('./material_perts/worrying_material/worrying_bubble_whiteb.png');
    width: 90%;
}
.bubble-case2 {
    top: 0;
    left: 0;
    background-image: url('./material_perts/worrying_material/worrying_bubble_whiteb.png');
    width: 90%;
}
.bubble-case3 {
    top: 0;
    left: 0;
    background-image: url('./material_perts/worrying_material/worrying_bubble_whiteb.png');
    width: 90%;
}
.bubble-case4 {
    top: 0;
    left: 0;
    background-image: url('./material_perts/worrying_material/worrying_bubble_whiteb.png');
    width: 90%;
}
.case-label-title1 {
    font-size: 18px;
    margin-left: 34px;
}
.case-label-title2 {
    font-size: 18px;
    margin-left: 34px;
}
.case-label-title3 {
    font-size: 18px;
    margin-left: 20px;
}
.case-label-title4 {
    font-size: 18px;
    margin-left: 38px;
}
.case-label-small-title {
    font-weight: 500;
    font-size: 14px;
    margin-left: 10px;
    margin-top: 10px;
    line-height: 1.6;
}
.case-label-small-title1 {
    font-size: 15px;
}
.case-label-small-title2 {
  margin-left: 15px;
          font-size: 15px;
}
.case-label-small-title3 {
  margin-left: 25px;
}
.case-label-small-title4 {
    font-size: 16px;
}

.case-label {
background-color: #000;
color: #fff;
font-weight: bold;
padding: 4px 12px;
border-radius: 12px;
font-size: 14px;
width: fit-content;
margin: 0 auto;
margin-bottom: 10px;
}

.bubble-case1 .case-label { background-color: #923592; }
.bubble-case2 .case-label { background-color: #ffcc00; }
.bubble-case3 .case-label { background-color: #cb68cb; }
.bubble-case4 .case-label { background-color: #66cc33; }

.case-label-title {
    width: 80%;
    margin: 0 auto;
    padding-bottom: 10px;
}
.case-label-main {
    margin-top: 20px;
    width: 93%;
    margin: 0 auto;
}
.case-text .blue {
color: #0071D9;
font-weight: bold;
font-size: 16px;
}

/* お問い合わせ上文言 */
.cta-upper-box {
  margin: 0 auto;
  max-width: 480px;
  font-size: 18px; 
  font-weight: 500;
  line-height: 28px;
}
.cta-upper-main {
  font-size: 22px; 
  font-weight: 600; 
  margin-top: 20px;
  margin-bottom: 20px;
}



/* 解決セクション */
.solution-section {
padding: 40px 10px;
background: linear-gradient(to bottom, #A8FFFA, #ffffff);
text-align: center;
}

.solution-title {
font-size: 20px;
font-weight: bold;
color: #0071D9;
margin-bottom: 30px;
position: relative;
}

.dot-highlight-case-solution {
position: relative;
display: inline-block;
padding-top: 1.5em; /* 点との距離確保 */
line-height: 1.6;
}

.dot-highlight-case-solution::before {
content: "・・・・";
color: #0071D9;
font-size: 24px;
position: absolute;
top: 5%;
left: 15%;
transform: translateX(-50%);
}

.solution-box {
max-width: 650px;
height: 500px;
margin: 0 auto 40px;
padding: 30px 20px 20px;
border: 1px solid #7c7a7a;
border-radius: 20px;
background-color: #fff;
text-align: left;
position: relative;
}

.solution-badge {
position: absolute;
top: -30px;
left: 10px;
background: #0071D9;
color: #fff;
padding: 10px;
border-radius: 50%;
font-weight: bold;
font-size: 7px;
text-align: center;
width: 50px;
height: 50px;
display: flex;
justify-content: center;
align-items: center;
line-height: 1.4;
display: flex;
flex-direction: column;
align-items: center;
}
.solution-badge .solution-badge-title {
margin-top: 7px;
}

.solution-badge .no { 
margin-top: 5px;
font-size: 20px;
font-weight: bold;
}

.solution-heading {
color: #0071D9;
font-weight: bold;
font-size: 20px;
margin: 10px 12px;
text-align: center;
position: relative;
}
.solution-heading .solution-heading-img-1{
position: absolute;
top: -20px;
left: 150px;
}
.solution-heading .solution-heading-img-2{
position: absolute;
top: -20px;
left: 201px;
}
.solution-heading .solution-heading-img-2-2{
position: absolute;
top: -20px;
left: 259px;
}
.solution-heading .solution-heading-img-3{
position: absolute;
top: -20px;
left: 102px;
}

.solution-icons {
display: flex;
justify-content: center;
gap: 30px;
margin: 20px 0;
}

.solution-icons img {
width: 65px;
height: 65px;
border-radius: 100%;
border: 3px solid #0071D9;
padding: 10px;
}

.solution-container {
display: flex;
align-items: flex-start;
justify-content: center;
gap: 20px;
margin-bottom: 20px;
}

.solution-checklist-container {
    padding-left: 30px;
    padding-top: 10px;
}

.solution-container img {
width: 50px;
height: 50px;
margin-top: 5px;
}

.solution-text {
font-size: 16px;
font-weight: 600;
line-height: 1.8;
color: #333;
margin: 0;
}
.solution-text .under-line{
text-decoration: underline;
text-decoration-thickness: 0.5em;
text-decoration-color: skyblue;
text-underline-offset: -0.2em;
text-decoration-skip-ink: none;
}
.good-mark {
border-radius: 100%;
background-color: skyblue;
}

.solution-checklist {
list-style: none;
padding: 0;
margin: 0;
font-weight: 500;
}

.solution-checklist li {
margin-bottom: 8px;
/* padding-left: 10px; */
position: relative;
display: flex; 
/* align-items: center; */
align-items: flex-start;
}
.solution-checklist li .check-box {
margin-right: 10px;
}
.solution-checklist li .check {
margin-top: 3px;
width: 20px;
}


/* コンサルタントセクション */

.dot-highlight-case-section {
position: relative;
display: inline-block;
padding-top: 1.5em; /* 点との距離確保 */
line-height: 1.6;
}

.dot-highlight-case-section::before {
content: "・・・・";
color: #0071D9;
font-size: 22px;
position: absolute;
top: 10%;
left: 18%;
transform: translateX(-50%);
}

.consultant-section {
/* background: linear-gradient(to bottom, #A8FFFA, #ffffff); */
padding: 0px 15px;
font-family: "Hiragino Sans", sans-serif;
}

.consultant-intro {
text-align: center;
max-width: 660px;
margin: 0 auto 60px;
font-size: 16px;
font-weight: 600;
line-height: 1.8;
color: #000;
}

.consultant-box {
background-color: #fff;
border-radius: 20px;
border: 1px solid;
padding: 15px;
margin: 80px auto;
max-width: 720px;
height: 600px;
position: relative;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
text-align: left;
}

.consultant-label {
position: absolute;
top: -25px;
left: 80px;
border-radius: 10px;
font-weight: bold;
font-size: 14px;
color: #000;
width: 100px;
}
.consultant-label2 {
left: 80px;
}
.consultant-label img {
width: 220px;
display: block;
}
.consultant-label2 img {
  width: 220px;
}


.consultant-text {
position: absolute;
top: 38%;
left: 110px;
transform: translate(-50%, -50%);
font-size: 14px;
letter-spacing: 1px; 
color: #000;
text-align: center;
width: 400px;
}

.consultant-content {
display: flex;
flex-wrap: nowrap;
align-items: center;
justify-content: space-between;
flex-direction: column-reverse;
gap: 20px;
}
.consultant-content.under {
    flex-direction: column;
}

.consultant-profile {
flex: 1;
font-size: 16px;
color: #333;
}
.consultant-profile .bold{
font-weight: bold;
margin-left: 10px;
}
.consultant-profile .small{
line-height: 1.5em;
margin: 10px;
}

.consultant-profile p {
margin-bottom: 1em;
}

.consultant-image1 {
    margin-top: 16px;
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}

.consultant-image1 img {
width: 74%;
height: auto;
border-radius: 22px;
object-fit: cover;
max-width: 100%;
}
.consultant-image2 {
    margin-top: 16px;
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}

.consultant-image2 img {
width: 78%;
height: auto;
border-radius: 22px;
object-fit: cover;
max-width: 100%;
}


/* 費用セクション */
.cost-section {
background: #fff;
padding: 0px 20px;
padding-bottom: 20px;
font-family: "Hiragino Sans", sans-serif;
max-width: 880px;
margin: 0 auto;
}

.cost-title h2 {
text-align: center;
font-size: 20px;
font-weight: bold;
color: #0071D9;
margin-bottom: 30px;
}

.cost-title span {
display: block;
color: #0071D9;
font-size: 24px;
margin-bottom: 4px;
}

.cost-caption {
display: flex;
justify-content: space-evenly;
align-items: center;
text-align: left;
margin-bottom: 40px;
background: #fff;
border: 2px solid #656464;
border-radius: 40px 40px 40px 40px;
padding: 10px;
font-size: 14px;
line-height: 1.6;
height: 20px;
flex-direction: column;
}
.cost-caption .cost-fee-text{
font-size: 18px;
font-weight: 500;
position: absolute;
}
.cost-caption .cost-fee-detail-text{
font-size: 15px;
font-weight: 600;
color: black;
}
.cost-caption .cost-fee-detail-text-small{
font-size: 12px;
font-weight: 600;
color: black;
}
.cost-fee-text-container {
    margin-top: 40px;
    font-size: 11px;

}

.plan-cards {
display: flex;
flex-direction: column;
gap: 20px;
margin-top: 110px;
}
.plan-cards.plan-cards2 {
margin-top: 10px;
}
.plan-card {
flex: 1;
width: 100%;
border: 2px solid #0071D9;
background: #e6f6fe;
border-radius: 20px;
padding: 20px;
text-align: left;
box-shadow: 0 4px 8px rgba(0,0,0,0.05);
box-sizing: border-box;
}

.plan-header {
display: flex;
/* justify-content: space-between; */
align-items: flex-end;
font-weight: bold;
color: #333;
margin-bottom: 8px;
border-bottom: 1px solid #666;
}
.pencil-container {
margin-right: 82px;
}
.pencil-container .pencil {
width: 80%;
}
.pencil-text {
font-size: 18px;
font-weight: 500;
}

.plan-card .plan-title {
text-align: center;
font-size: 18px;
font-weight: 600;
margin: 15px 0;
height: 30px;
}
.plan-card .plan-title.over{
font-size: 16px;
}

.price {
text-align: center;
font-size: 20px;
color: #0071D9;
font-weight: 600;
}
.price-bold {
text-align: center;
font-size: 30px;
color: #0071D9;
font-weight: bold;
}

.plan-card ul {
margin: 10px 0;
padding-left: 16px;
list-style: disc;
font-size: 15px;
font-weight: 500;
color: #333;
border: 1.5px solid;
text-align: center;
}
.plan-card ul li {
padding: 3px 0;
list-style: none;
}

.note {
font-size: 14px;
font-weight: 500;
color: #666;
margin-top: 10px;
line-height: 1.6;
}


/* 同意 */
.consent-container {
    width: 100%;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 auto;
display: flex;
flex-direction: column;
align-items: center
}
.top-scrol {
margin-left: 0px;
margin-top: 25px;
width: 51px;
height: 51px;
background: #AF1111;
border-radius: 50%;
color: #fff;
font-size: 30px;
/* font-weight: bold; */
text-align: center;
line-height: 61px;
cursor: pointer;
transition: opacity 0.3s ease;
}

.top-scrol:hover {
  opacity: 0.6; 
}


/* フッター */
.footer-inner {
  padding: 20px;
  padding-top: 20px;
}

.footer-top {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    text-align: left;
    margin: 0 auto;

}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 25px;
}

.footer-logo {
  max-width: 200px;
  margin-bottom: 10px;
}

.footer-address p {
  margin: 2px 0;
}

.footer-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  text-align: center;
}

.corporate-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #AF1111;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  transition: opacity 0.3s ease;
}

.corporate-link:hover {
  opacity: 0.6;
}

.footer-copy {
  text-align: center;
  margin-top: 20px;
  font-size: 0.8em;
}















.pc-only {
    display: none;
}

/* 波線 */
.bg-set {
width: 100%;
height: 120px;
background:
url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23A8FFFA" fill-opacity="1" d="M0,128L48,112C96,96,192,64,288,64C384,64,480,96,576,122.7C672,149,768,171,864,202.7C960,235,1056,277,1152,261.3C1248,245,1344,171,1392,133.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>') center 40px no-repeat;
background-size: 100% auto;
}

    /* 改行 */
    .br-sp {
        display: block;
    }
    /* 改行 */
    .br-pc {
        display: none;
    }
}

@media (max-width: 500px) {
    /* 下向き矢印 */
    .sp-only.under-sit1 {
        display: block;
        position: absolute;
        top: 85.5%;  /* 好きな位置に調整 */
        left: 56.1%;
        transform: translate(-50%, -50%);
        animation: floatUpDown 2.5s ease-in-out infinite;
        height: 37px;
        width: 40px;
    }
    .sp-only.under-sit2 {
        display: block;
        position: absolute;
    top: 85.5%;  /* 好きな位置に調整 */
        left: 69.5%;
        transform: translate(-50%, -50%);
        animation: floatUpDown 2.5s ease-in-out infinite;
        height: 37px;
        width: 40px;
    }
    .sp-only.under-sit3 {
        display: block;
        position: absolute;
    top: 85.5%;  /* 好きな位置に調整 */
        left: 83.3%;
        transform: translate(-50%, -50%);
        animation: floatUpDown 2.5s ease-in-out infinite;
        height: 37px;
        width: 40px;
    }
}








/* 400px以下 */
@media (max-width: 400px) {
    .case-label-small-title1 {
        font-size: 13px;
    }
    .case-label-small-title2 {
        font-size: 13px;
    }
    .case-label-small-title3 {
        font-size: 13px;
    }
    .case-label-small-title4 {
        font-size: 13px;
    }
    .case-visual img {
        top: -60px;
    }
    .consultant-label {
        left: 55px;
    }
    .consultant-label2 {
        left: 55px;
    }
    .consultant-box {
        height: 650px;
    }
    .consultant-section {
        padding: 0px 5px;
    }
    .solution-box {
        height: 550px;
    }
    .pencil-container {
        margin-right: 62px;
    }
}