
html, body {
  overflow-x: hidden;
  font-family: Hiragino Sans;
  margin: 0;
  padding: 0;
  text-align: center;
  max-width: 100%;
}


/* ヘッダー */
header {
  text-align: left;
  width: 100%;
  height: 48px;
}
header div {
  text-align: left;
  margin-left: 10px;
  height: 100%;
}
header img {
  text-align: left;
  margin-right: 20px;
  height: 100%;
}


/* メインコンテナ */
/* 左上 */
.main-container-under {
  width: 100%;
  height: 340px;
/* background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'><defs><linearGradient id='grad' x1='0' y1='0' x2='0' y2='1'><stop offset='0%' stop-color='%23b5fcfe' stop-opacity='1'/><stop offset='100%' stop-color='%23b5fcfe' stop-opacity='0'/></linearGradient></defs><path fill='url(%23grad)' d='M0,128L48,112C96,96,192,64,288,53.3C384,43,480,53,576,101.3C672,149,768,235,864,261.3C960,288,1056,256,1152,213.3C1248,171,1344,117,1392,90.7L1440,64L1440,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>"); */
background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none'><defs><linearGradient id='grad' x1='0' y1='0' x2='0' y2='1'><stop offset='100%' stop-color='%23b5fcfe' stop-opacity='1'/><stop offset='100%' stop-color='%23b5fcfe' stop-opacity='0.8'/><stop offset='100%' stop-color='%23b5fcfe' stop-opacity='0.6'/></linearGradient></defs><path fill='url(%23grad)' d='M0,128L48,112C96,96,192,64,288,53.3C384,43,480,53,576,101.3C672,149,768,235,864,261.3C960,288,1056,256,1152,213.3C1248,171,1344,117,1392,90.7L1440,64L1440,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>");



  background-size: 100% auto;
  transform: scaleY(-1);
}

.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: 140px;
  height: 140px;
  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: 240px;
  height: 240px;
  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: 100px;
  height: 100px;
  z-index: 2;
  pointer-events: none;
}
.main-container .bg-corner-top-left1 {
  top: 60px;
  left: 300px;
}
.main-container .bg-corner-top-left2 {
  top: 0;
  left: 20px;
}
.main-container .bg-corner-top-left3 {
  top: 50px;
  left: 200px;
}
/* 右上 */
.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: 180px;
  height: 180px;
  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: 180px;
  height: 180px;
  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: 80px;
  height: 80px;
  z-index: 2;
  pointer-events: none;
}
.main-container .bg-corner-top-right1 {
  top: 0;
  right: 0;
}
.main-container .bg-corner-top-right2 {
  top: 100px;
  right: 120px;
}
.main-container .bg-corner-top-right3 {
  top: 150px;
  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: 80px;
  height: 80px;
  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: 130px;
  height: 130px;
  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: 70px;
  height: 70px;
  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: 80px;
    height: 80px;
    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: 70px;
    height: 70px;
    z-index: 2;
    pointer-events: none;
}
.main-container .bg-corner-bottom-right1 {
  bottom: 100px;
  right: 100px;
}
.main-container .bg-corner-bottom-right2 {
  bottom: 0;
  right: 20px;
}
.main-container .bg-corner-bottom-right3 {
  bottom: 50px;
  right: 50px;
}

@media (min-width: 768px) {
  .main-container {
    width: 100vw;     
    position: relative;
    margin: 0 auto;
    padding: 40px 20px;                   
    background-image: url('./global_talent_lp_image/back_ground_2.jpg');
    background-repeat: no-repeat;    
    background-size: cover;
    background-position: center center;
  }
}
@media (min-width: 2000px) {
  .main-container {                 
    background-image: url('./global_talent_lp_image/back_ground_3.jpg');

  }
}

.title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  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: 32px;
  position: absolute;
  top: 17%;
  left: 29%;
  transform: translateX(-50%);
}

.highlight {
  color: #0071D9;
}

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

.cta {
  font-size: 36px;
  font-weight: 800;
  color: #0071D9;
  position: relative;
  display: inline-block;
  z-index: 999;
}

.bubble-section {
  position: relative;
  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-image:
  url('./Key_visual_material/world_map.png'),
  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='%23c0e4ed' fill-opacity='1' d='M0,128L48,112C96,96,192,64,288,53.3C384,43,480,53,576,101.3C672,149,768,235,864,261.3C960,288,1056,256,1152,213.3C1248,171,1344,117,1392,90.7L1440,64L1440,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>"); */

  background-repeat: no-repeat, repeat;
  background-size: contain, 100px 100px;
  background-position: center center, top left;
  padding: 40px 10px;
  border-radius: 20px;
}

.bubbles-left,
.bubbles-right {
  display: flex;
  flex-direction: column;
  flex: 1;
  max-width: 250px;
}

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

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

.bubble {
  position: relative;
  font-size: 13px;
  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-left: 48px;
  justify-content: flex-start;
  text-align: left;
}

.bubbles-left .bubble:nth-child(2) {
  padding-left: 84px;
  justify-content: flex-start;
  text-align: left;
}

.bubbles-left .bubble:nth-child(3) {
  padding-left: 70px;
  justify-content: flex-start;
  text-align: left;
}

.bubbles-left .bubble:nth-child(4) {
  padding-left: 69px;
  justify-content: flex-start;
  text-align: left;
}
.bubbles-right .bubble:nth-child(1) {
  padding-left: 100px;
  justify-content: flex-start;
  text-align: left;
}

.bubbles-right .bubble:nth-child(2) {
  padding-left: 71px;
  justify-content: flex-start;
  text-align: left;
}

.bubbles-right .bubble:nth-child(3) {
  padding-left: 85px;
  justify-content: flex-start;
  text-align: left;
}

.bubbles-right .bubble:nth-child(4) {
  padding-left: 86px;
  justify-content: flex-start;
  text-align: left;
}

.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: 0; left: 70px; }
.bubbles-left .bubble:nth-child(2) { position: relative; top: 0; left: -50px; }
.bubbles-left .bubble:nth-child(3) { position: relative; top: 0; left: 90px; }
.bubbles-left .bubble:nth-child(4) { position: relative; top: 0; left: 20px; }

.bubbles-right .bubble:nth-child(1) { position: relative; top: 0; left: -40px; }
.bubbles-right .bubble:nth-child(2) { position: relative; top: 0; left: -100px; }
.bubbles-right .bubble:nth-child(3) { position: relative; top: 0; left: 60px; }
.bubbles-right .bubble:nth-child(4) { position: relative; top: 0; left: -40px; }



/* <ベリタス紹介セクション --> */
.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: 36px;        
  font-weight: 800;     
  color: #0071D9;
}
.info-container h2 span {
  font-size: 24px;        
}

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

.dot-highlight::before {
  content: "・・・";
  color: #0071D9;
  font-size: 32px;
  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 20px;
  font-family: "Hiragino Sans", sans-serif;
  font-size: 20px;      
  font-weight: 600;           
  line-height: 38px;      
  letter-spacing: 0px;
  color: #000000;
  opacity: 1;
}


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

.chart-title {
font-size: 24px;
font-weight: bold;
margin-bottom: 40px;
color: #0071D9;
}

.chart-row {
display: flex;
justify-content: center;
flex-wrap: wrap;
align-items: stretch;
margin-bottom: 60px;
gap: 12px;
position: relative;
}

.node {
border: 2px solid #0071D9;
border-radius: 6px;
padding: 12px 16px;
font-size: 14px;
color: #0071D9;
background-color: white;
min-width: 160px;
max-width: 220px;
text-align: center;
box-sizing: border-box;
position: relative;
z-index: 1;
display: flex;
align-items: center;
justify-content: center;
height: 99px;
}

.node.filled {
background-color: #0071D9;
color: white;
font-weight: bold;
}

.chart-row .node:first-child {
clip-path: polygon(0 0, 100% 0, 100% 75%, 85% 100%, 0 100%);
}
.chart-row .node:not(:last-child):not(:first-child)::after {
content: '▶';
position: absolute;
right: -18px;
top: 50%;
transform: translateY(-50%);
font-size: 20px;
color: #0071D9;
}


/* プロフィールセクション */

.profile-section {
max-width: 1000px;
margin: 60px 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: 100%;
height: auto;
}

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

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


/* お問い合わせ */
.cta-box {
background-color: #AF1111;
color: white;
max-width: 440px;
margin: 0 auto;
padding: 42px 24px;
border-radius: 22px;
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
transition: opacity 0.3s ease;
}
.cta-box:hover {
  opacity: 0.6; 
}
.cta-text-and-box {
   background: linear-gradient(to bottom, #A8FFFA, white);
  background-position: center -160px;
  background-repeat: no-repeat;
}

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

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

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

/* ケースセクション */
.case-section {
  /* width: 100%; */
  padding: 0px 20px;
  background: linear-gradient(to bottom, #A8FFFA, #ffffff);
  background-repeat: no-repeat;
}

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

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


.case-item {
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 80px;
  margin: 0 auto 80px auto;
  max-width: 800px;
  position: relative;
}
.case-item.reverse {
flex-direction: row-reverse;
}
.case-text {
    width: 50%;
    margin: 0 auto;
    text-align:left;
}
.case-text .blue{
    font-size: 21px;
}

.case-visual {
    position: relative;
}
.case-visual .background-img-1 {
    position: absolute;
    top: 80px;
    left: 20px;
}
.case-visual .background-img-2 {
    position: absolute;
    top: 0;
    left: 320px;
}
.case-visual .background-img-3 {
    position: absolute;
    top: 80px;
    left: -20px;
}
.case-visual .background-img-4 {
    position: absolute;
    top: 80px;
    left: 260px;
}

.case-visual img {
max-width: 400px;
height: auto;
margin-bottom: 20px;
}

.bubble-case1 {
  position: absolute;
  width: 800px;
  top: 80px;
  left: -200px;
}
.bubble-case2 {
  position: absolute;
  width: 800px;
  top: 80px;
  left: 200px;
}
.bubble-case3 {
  position: absolute;
  width: 800px;
  top: 80px;
  left: -200px;
}
.bubble-case4 {
  position: absolute;
  width: 800px;
  top: 80px;
  left: 200px;
}

/* .bubble-case1 { background-image: url('./material_perts/worrying_material/worrying_bubble.png'); } */
/* .bubble-case2 { background-image: url('./material_perts/worrying_material/worrying_bubble.png'); } */
/* .bubble-case3 { background-image: url('./material_perts/worrying_material/worrying_bubble.png'); } */
/* .bubble-case4 { background-image: url('./material_perts/worrying_material/worrying_bubble.png'); } */

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

.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-title1 {
color: #0071D9;
font-weight: 500;
font-size: 21px;
margin-left: 12px;
}
.case-label-title2 {
color: #0071D9;
font-weight: 500;
font-size: 21px;
margin-left: 12px;
}
.case-label-title3 {
color: #0071D9;
font-weight: 500;
font-size: 21px;
margin-left: 22px;
}
.case-label-title4 {
color: #0071D9;
font-weight: 500;
font-size: 21px;
margin-left: 66px;
}
.case-label-small-title {
font-weight: 400;
font-size: 17px;
margin-left: 34px;
margin-top: 30px;
line-height: 1.7;
}
@media (min-width: 768px) {
  .case-label-small-title2 {
    margin-left: 5px!important;
  }
  .case-label-small-title4 {
    margin-left: 40px!important;
  }
}

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

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

.solution-title {
  font-size: 20px;
  font-weight: bold;
  color: #0071D9;
  margin-bottom: 60px;
  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: 32px;
position: absolute;
top: 5%;
left: 18%;
transform: translateX(-50%);
}

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

.solution-badge {
  position: absolute;
  top: -25px;
  left: 20px;
  background: #0071D9;
  color: #fff;
  padding: 10px;
  border-radius: 50%;
  font-weight: bold;
  font-size: 11px;
  text-align: center;
  width: 80px;
  height: 80px;
  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: 30px;
  font-weight: bold;
}

.solution-heading {
  color: #0071D9;
  font-weight: bold;
  font-size: 26px;
  margin: 0 0 24px;
  text-align: center;
  position: relative;
}
.solution-heading .solution-heading-img-1{
  position: absolute;
  top: -20px;
  left: 305px;
}
.solution-heading .solution-heading-img-2{
  position: absolute;
  top: -20px;
  left: 370px;
}
.solution-heading .solution-heading-img-2-2{
  position: absolute;
  top: -20px;
  left: 448px;
}
.solution-heading .solution-heading-img-3{
  position: absolute;
  top: -20px;
  left: 240px;
}

.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: 80px;
}

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

.solution-text {
  font-size: 15px;
  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: #8fd6e8;
  text-underline-offset: -0.2em;
  text-decoration-skip-ink: none;
}
.good-mark {
  border-radius: 100%;
  background-color: #8fd6e8;
}

.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: 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: 32px;
position: absolute;
top: 5%;
left: 13%;
transform: translateX(-50%);
}

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

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

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

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


.consultant-text {
  position: absolute;
  top: 38%;
  left: 120px;
  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;
  gap: 20px;
}

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

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

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

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

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


/* 費用セクション */
.cost-section {
  background: #fff;
  padding: 80px 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: 0;
}

.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: 24px;
  margin-top: 40px;
  font-size: 14px;
  line-height: 1.6;
  height: 70px;
}
.cost-caption .cost-fee-text{
  font-size: 22px;
  font-weight: 600;
}
.cost-caption .cost-fee-detail-text{
  font-size: 18px;
  font-weight: 600;
  color: black;

}
.cost-caption .cost-fee-detail-text-small{
  font-size: 16px;
  font-weight: 600;
  color: black;
}

.plan-cards {
  display: flex;
  /* flex-direction: column; */
  gap: 20px;
}
.plan-cards2 {
  display: flex;
  justify-content: center; /* 中央寄せ */
  gap: 20px; /* カード間のスペース */
  flex-wrap: wrap;
}
.plan-card {
  /* flex: 1; */
  /* width: calc((620px - 20px) / 3); */
  width: 300px;
  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: 40px;
}
.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: 1px;
  list-style: disc;
  font-size: 14px;
  color: #333;
  border: 1.5px solid;
  text-align: center;
}
.plan-card ul li {
  padding: 3px 0;
  list-style: none;
}

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

/* 同意 */
.consent-container {
  display: flex;
  justify-content: center
}
.top-scrol {
  margin-left: 50px;
  top: 15183px;
  left: 1409px;
  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: 60px;
}

.footer-top {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  max-width: 968px;
  flex-direction: column-reverse;
  align-items: stretch;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.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;
}

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

  .br-pc {
      display: block;
  }

/* 波線 */
.bg-set {
  width: 100%;
  height: 350px;
  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;
}
@media (min-width: 1800px) {
    .bg-set {
      height: 450px;
    }
}
/* 全体像 */
.new-chart-container {
    margin: 0 auto; 
    text-align: center; 
    width: 100%;
  }
  .new-chart-container img {
    width: 50%;
    margin: 0 auto; 
    text-align: center; 
}
.new-chart-container .sp-only {
    display: none;
  }
  .new-chart-container .pc-only {
    display: block;
  }
  .sp-only.under-sit1 {
      display: none;
    }
  .sp-only.under-sit2 {
      display: none;
    }
  .sp-only.under-sit3 {
      display: none;
    }
@media (max-width: 768px) {
  .new-chart-container img {
    width: 100%;
    margin: 0 auto; 
    text-align: center; 
  }
  .new-chart-container .pc-only {
    display: none;
  }
  .new-chart-container .sp-only {
    display: block;
  }
}

/* 下線 */
.cta-line-container {
    display: flex;
    justify-content: center;
  }

  .cta-line svg {
    display: block;
  }
