*{
    margin: 0;
    padding: 0;
    letter-spacing: 0.1em;
    font-family:
    "Yu Gothic Medium",
    "Yu Gothic",
    "Hiragino Kaku Gothic Pro",
    "Meiryo",
    sans-serif;
    color: #444444;
}

.fixed_button {
  display: none; /* デフォルトは非表示（PC用） */
}

header{
    width: 100%;
    padding: calc(15 / 1400 * 100%) calc(70 / 1400 * 100%);
    box-sizing: border-box;
    height: auto;
    display: flex;
    font-weight: 500;
    position: fixed;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: background-color 0.3s ease;
    z-index: 1000;
    top:0;
}


header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.8);
}

.header_logo{
    width: 14%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header_logo img{
    width: 100%;
    height: auto;
    display: block;

}

.header_menu{
    display: flex;
    margin-left: auto;
}

.header_menu a{
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #444444;
    font-size: clamp(10px, 1.28vw, 17px);
    border-bottom: 1px solid transparent;
    position: relative;
    letter-spacing: normal;
    margin-left: 30px;
}

.header_menu a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    height: 1px;
    width: 100%;
    background-color: #444444;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.header_menu a:hover::after {
    transform: scaleX(1);
}

.header_menu a:last-child{
    position: relative;
    color: #fff;
    margin: 0;
    font-size: clamp(11px, 1.42vw, 22px);
    padding: 7px 25px;

}

.header_contact{
    background-color: #444444;
    border-radius: 2em;
    display: flex;
    justify-content: center;
    margin-left: 30px;
        box-shadow: 2px 2px 4px gray;
    border: solid 2px #fff;
}

.header_contact:hover,
.kv_button:hover{
    background: linear-gradient(to bottom, #74cdf4, #00318d);
}

/* ▼ 最後のメニューの下線色と位置だけ変更 */
.header_menu a:last-child::after {
    height: 0px;
}

.sp_menu,
.hamburger{
    display: none;
}

section{
    padding: calc(80 / 1400 * 100%) 0;
}

/* .kv{
    position: relative;
    width: 100%;
    background-image: url(../img/PC/kv_bg.png);
    background-position: center;
    background-size: cover;
    height: auto;
    aspect-ratio: 1980 / 700;
    padding: calc(40 / 1400 * 100%);
    padding-left: calc(120 / 1400 * 100%);
    box-sizing: border-box;
    display: flex;
    align-items: center;
} */

.kv{
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1980 / 700;
  padding: calc(40 / 1400 * 100%);
  padding-left: calc(120 / 1400 * 100%);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}

.kv_box{ position: relative; z-index: 10; }

.kv_bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}


/* ベース：opacity だけトランジション。transform はここでは付けない */
.kv_bg__slide{
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 800ms ease; /* ← transform はベースでは無し */
  will-change: transform, opacity;
  z-index: 0;
}

/* JS未起動のときだけ、1枚目を表示（ちらつき防止用） */
.kv:not(.kv--js) .kv_bg__slide:first-child {
  opacity: 1;
  z-index: 1;
  transform: scale(1.001);
}

/* 表示中：この間だけ transform にトランジションを付与（ズームする） */
.kv_bg__slide.is-active{
  z-index: 2;
  opacity: 1;
  transform: scale(var(--zoom-scale, 1.08));
  transition:
    opacity 800ms ease,
    transform var(--zoom-duration, 4000ms) linear;
}

/* 離脱中：縮ませず、そのままフェードアウト（背景のズーム量は維持） */
.kv_bg__slide.is-leaving{
  z-index: 1;
  opacity: 0;
  transform: scale(var(--zoom-scale, 1.08));
  transition:
    opacity 800ms ease,
    transform var(--zoom-duration, 4000ms) linear;
}



.kv_box{
    background-color: rgba(255, 255, 255, 0.7);
    width: 45%;
    height: 100%;
    padding: 3%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;       /* 縦に並べる */
    justify-content: space-between;
    
}

.kv_text1{
    width: 100%;
    font-weight: 700;
    font-size: clamp(10px, 2.7vw, 55px);
    text-align: center;
    font-family: "Hiragino Mincho ProN", "游明朝", "Yu Mincho", "MS Mincho", serif;
}


.kv_text2{
    font-family: "Hiragino Mincho ProN", "游明朝", "Yu Mincho", "MS Mincho", serif;
    width: 100%;
    height: 30%;
    font-weight: 400;
    justify-content: center;
    font-size: clamp(10px, 1.8vw, 45px);
    text-align: center;
    line-height: 1.7em;
}

.kv_button{
    width: 85%;
    background-color: #444444;
    height: 20%;
    margin: 0 auto;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(8px, 1.4vw, 45px);
    text-decoration: none;
    box-shadow: 2px 2px 4px gray;
    border: solid 2px #fff;
}

.kv_button_arrow::after {
    content: "→";
    color: #fff;
    display: inline-block;
    font-size: inherit;
}

.underline{
    font-size: inherit;
    line-height: inherit;
    font-family: inherit;
}

.underline{
    border-bottom: 1px solid #666666;
}

.sp_menu .header_contact{
    margin: 0;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease-out forwards;
}

.kv_text1 {
    animation-delay: 0s;
}

.kv_text2 {
    animation-delay: 0.3s;
}

.kv_button {
    animation-delay: 0.6s;
}
.container{
    max-width: 1200px;
    margin: 0 auto;
    width: calc(1200 / 1400 * 100%);
}

h2{
    font-family: "Hiragino Mincho ProN", "游明朝", "Yu Mincho", "MS Mincho", serif;
    font-size: clamp(18px, 3vw, 36px);
    position: relative;
    display: inline-block;
    margin: 0 auto;
    overflow: hidden;
    margin-bottom: calc(60 / 1200 * 100%);
    z-index: 1;
}

.title_wrapper{
    text-align: center;
    position: relative;
}

h2::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px; /* 文字との距離 */
    width: 100%;
    height: 0.5em;
    background: #74cdf4; /* 淡い黄色（マーカー色） */
    z-index: -1;
    transform: scaleX(0); /* 初期状態 */
    transform-origin: left;
    transition: transform 0.8s ease-out;
}

h2.animate::before {
  transform: scaleX(1); /* アニメーションで拡大 */
}

.section_lead{
    font-size: clamp(14px, 2vw, 18px);
    margin-bottom: calc(60 / 1200 * 100%);
    text-align: center;
    line-height: 1.7em;
}

.vision {
    position: relative;
    overflow: hidden;
    }

/* 左右共通の背景設定 */
.vision_bg {
    position: absolute;
    top: 0;
    height: 100%;
    background-position: top center;
    background-size: 100% auto; /* ← 横は要素幅に合わせて縮小、縦は等倍 */
    z-index: -1;
    pointer-events: none;
}

/* 左右それぞれに画像設定と位置 */
.vision_bg.left {
    left: 0;
    width: 17%;
    background-image: url(../img/PC/vision_bg_left.png);
}

.vision_bg.right {
    right: 0;
    width: 17%;
    background-image: url(../img/PC/vision_bg_right.png);
}

.vision_bg::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
    }

/* 初期はグラデーション表示。展開時に消す */
.vision.gradient-hide-bg-gradient .vision_bg::after {
    opacity: 0;
}



/* "続きを読む" 非表示領域（初期） */
.vision_more {
    display: none;
}

/* 表示時クラス */
.vision_more.visible {
    display: block;
}





.vision_text{
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.vision_text p{
    line-height: 1.7em;
    font-size: clamp(16px, 1.28vw, 19px);
}

.vision_space{
    margin: 2% 0;
}

.bold{
    font-weight: 700;
}

.vision_text button {
    display: block;
    margin: 0 auto;
    margin-top: calc(60 / 1000 * 100%);
    padding: 8px 14px;
    font-size: clamp(13px, 1.2vw, 17px);
    cursor: pointer;   
    border-radius: unset;
    border: 1px solid #444444;
    background-color: #fff;
}

.vision_text button:hover{
    background-color: #74cdf4;
    color: #fff;
    border: 1px solid #74cdf4;
}

.service{
        background-image:  url(../img/PC/p_about_greeting.jpg);
    background-position: center;
    background-size: cover;
    background-color:rgba(255,255,255,0.6);
    background-blend-mode:lighten;
}

.service_content{
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: calc(60 / 1200 * 100%);
}

.service_box1,
.service_box2{
    width: calc(590 / 1200 * 100%);
    display: flex;
    justify-content: space-between;
}

.service_box{
    width: calc(285 / 590 * 100%);
    aspect-ratio: 285 / 400;
    background-color: #fff;
    box-sizing: border-box;
    border-radius: 20px;
    box-shadow: 2px 2px 4px gray;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* .service_box.fade-in,
.flow_content.fade-in,
.comparison_content.fade-in,
.page-slug-service .container.fade-in,
.p_about_top.fade-in,
.skill_experience_box.fade-in,
.prof_wrapper.fade-in {
    opacity: 1;
    transform: translateY(0);
}  */


.service_box,
.flow_content,
.comparison_content,
.page-slug-service .container,
.p_about_top,
.skill_experience_box,
.prof_wrapper,
.p_contact_hours_box,
.p_contact_box{
    opacity: 0;
    transform: translateY(20px);
}

.service_box:hover{
    background-color: #f6fbff;
}

.service_title_wrapper{
    background-color: #74cdf4;
    width: 100%;
    height: 15%;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;    
    justify-content: center;
}

.service_bottom_wrapper{
    width: 100%;
    height: 85%;
    box-sizing: border-box;
}

.service_title_wrapper h3{
    color: #fff;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
}

h3{
    font-size: clamp(16px, 1.6vw, 24px);

}

.service_img_wrapper{
    width: 100%;
    height: 40%;
    display: flex;
    justify-content: center;
    margin: 5% 0 2% 0;
    box-sizing: border-box;
}

.service_img_wrapper img{
    display: block;
    height: 100%;
    width: auto;
}

.service_text_wrapper{
    height: 55%;
    width: 80%;
    margin: 0 auto;
    padding-left: 7%;
    font-size: clamp(15px, 1.4vw, 18px);
    display: flex;
    align-items: center;
}

.detail_button{
    display: flex;
    width: 35%;
    margin: 0 auto;
    aspect-ratio: 6 / 1;
    background-color: #444444;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 100vw;
        border: 3px solid #fff;
    box-shadow: 2px 2px 4px gray;
    box-sizing: border-box;
}

.detail_button p{
    color: #fff;
    letter-spacing: 0.3em;
    font-size: clamp(11px, 1.3vw, 18px);
}

.detail_button:hover,
.fixed_button_text{
    background: linear-gradient(to bottom, #74cdf4, #00318d);
}

.line_space{
    margin-bottom: 3%;
}

.flow_bar_wrapper{
    width: 100%;
    aspect-ratio: 1200 / 84;
    background-image: url(../img/PC/flow_bg.png);
    background-position: center;
    background-size: cover;
    display: flex;
    margin-bottom: calc(12 / 1200 * 100%);
}

.flow_bar_wrapper h3{
    display: flex;
    justify-content: center;
    align-items: center;
    width:  calc(400 / 1200 * 100%);
    height: 100%;
    color: #fff;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
}

.flow_text_wrapper{
    width: 100%;
    display: flex;
    justify-content: space-between;
    height: auto;
    margin-bottom: calc(60 / 1200 * 100%);
    background-color: #efefef;
    box-shadow: 2px 2px 4px gray;
    padding: 2% 0;
    box-sizing: border-box;
}

.flow_text{
    width: calc(400 / 1200 * 100%);
    border-right: 1px solid #444444;
    padding: 2%;
    font-size: clamp(14px, 1.5vw, 18px);
}

.flow_text:last-child{
    border: unset;
}

.flow_text ul{
    list-style: disc;
    padding-left: 1.5em;       
}

li{
    line-height: 1.8em;
}

.comparison{
    background-color: #efefef;
}

.comparison_content{
    width: 100%;
    margin-bottom: calc(70 / 1200 * 100%);
}

.comparison_table {
    display: flex;
    flex-direction: column;
    aspect-ratio: 1200 / 500;
    margin-top: calc(20 / 1200 * 100%);
}

.table_top,
.table{
    display: flex;
    height: 20%;
    box-sizing: border-box;
}

.cell_title{
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2% 0;
    color: #fff;
    background-color: #444444;
    font-weight: 700;
    font-size: clamp(11px, 1.7vw, 25px);
    text-align: center;
}

.cell_space{
    background-color: unset;
    border: unset;
}

.cell{
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: clamp(16px, 1.6vw, 25px);
}

.cell_service{
    background-color: #74cdf4;
    color: #fff;
    width: 40%;
    padding: 2% 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
    font-size: clamp(16px, 2vw, 28px);
}

.cell_other{
    background-color: #444444;
    color: #fff;
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2% 0;
    font-weight: 700;
    font-size: clamp(16px, 1.6vw, 24px);
}

.service_item,
.cell_service{
    border: solid 9px #74cdf4;
    border-top: unset;
    border-bottom: unset;
}

.cell_service{
    position: relative;
    z-index: 2;
}

.cell_title_top{
    position: absolute;
    width: 100%;
    background-color: #74cdf4;
    top: -20%;
    height: 20%;
    border: 9px solid #74cdf4;
    border-radius: 9px;
    z-index: -1;
}

.cell_white{
    background-color: #fff;
}

.service_item_last{
    box-shadow: 0 9px 0 0 #74cdf4;  
}

.cell_other_item{
    border-right: solid 1px #444444;
}

.cell_other_item_last{
    border-bottom: solid 1px #444444;
}

.cell_title_line{
    border-bottom: solid 1px #fff;
}

.small{
    display: block;
    font-size: clamp(10px, 1.6vw, 15px);
}


footer{
    background-color: #444;
    width: 100%;
}

.footer_content{
    padding: calc(60 / 1400 * 100%) 0 0 0;
    max-width: 1200px;
    margin: 0 auto;
}

.footer_logo{
    display: block;
    width: 130px;
    margin: 0 auto;
    margin-bottom: 30px;
}

.footer_logo img{
    width: 100%;
    height: auto;
    display: block;
    
}

.footer_link{
    margin: 0 auto;
    width: 600px;
    display: flex;
    justify-content: space-between;
    margin-bottom: calc(30 / 1200 * 100%);

}

.footer_link a{
    color: #fff;
    border-bottom: 1px #444 solid;
    text-decoration: none;
    font-size: 14px;
}

.footer_link a:hover{
    border-bottom: solid 1px #fff;
}

.footer_c{
    color: #fff;
    text-align: center;
    padding: 0 0 calc(60 / 1400 * 100%) 0;
}

.cta_space{
    display: none;
}

.flow_content,
.comparison_content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}






/* サービス内容ページ 上段は各ページkv */
.p_service_kv,
.p_contact_kv,
.p_privacy_kv,
.p_about_kv,
.p_tokusho_kv,
.p_terms_kv{
    position: relative;
    width: 100%;
    background-image: url(../img/PC/kv_service.jpg);
    background-position: center;
    background-size: cover;
    aspect-ratio: 1400 / 300;
    display: flex;
    align-items: center;
    padding: unset;
    max-height: 500px;
    margin-bottom: calc(50 / 1400 * 100%);
}

.p_kv_box{
    width: calc(1200 / 1400 * 100%);
    margin:  auto auto 0 0;
    max-width: 1200px;
    padding: 1% 0 0 3%;
    background-color: #fff;
    width: 30%;
    margin-left: calc(100 / 1400 * 100%);

}

body:not(.home) h1{
    color: #444;
    font-size: 33px;
    font-family: "Hiragino Mincho ProN", "游明朝", "Yu Mincho", "MS Mincho", serif;
    line-height: 1.3em;
}


/* サービスページｈ２ */
.page-slug-service h2 {
    margin: unset;
    font-family: "Yu Gothic Medium", "Yu Gothic", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
}

.h2_wrapper{
    margin: 0 auto;
    margin-bottom: calc(40 / 1400 * 100%);

    width: calc(1200 / 1400 * 100%);
    max-width: 1000px;
}


.page-slug-service .container{
    border: #444  solid 2px;
    border-radius: 10px;
    background-color: #fff;
    z-index: 100;
    max-width: 1000px;
}

/* 各 .container 内の最初の .p_service_title に角丸 */
.first_title{
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

/* 各 .container 内の最後の .p_service_text に角丸 */
.last_text{
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}



.P_title_sub{
    font-size: 12px;
}

.p_service_nav_item{
    text-decoration: none;
}

.p_service_nav{
    display: flex;
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
    padding-left: calc(100 / 1400 * 100%);
    padding-right: calc(100 / 1400 * 100%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.p_service_nav_block{
    display: flex;
    width: 50%;
    justify-content: space-between
}

.p_service_nav_item{
    width: 50%;
    text-align: center;
    border-right: 1px #444 solid;
    margin: 10px 0;
    transition: all 0.4s ease;
    color: #444;
    background-color: #fff;
}

.p_service_nav_item:hover p{
    color: #fff;
}

.p_service_nav_icon{
    position: relative;
    transition: top 0.8s ease;
}

.p_service_nav_item:hover{
    background-color: #444;
    color: #fff;

}

.p_service_nav_last{
    border-right: unset;
}

.p_service_nav_title{
    font-size: clamp(15px, 2.4vw, 23px);
    font-weight: 700;
}

.p_service_nav_sub{
    font-size: 11px;
    font-weight: 700;
}

.p_service_nav.is-fixed {
    position: fixed;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 990;
    border-top: 2px solid #444;
}

.p_service_title{
    border-top: 2px solid #444;
    display: flex;
    background-color: #e1e3e6;
    position: relative;
    padding: 2% 0 2% 7%;
}

.first_title{
    border: unset;
}

.p_service_text{
    padding: 4% 10%;
}

.p_service_summary,
.p_service_flow{
    background-color: #f6f6f6;
}

.p_service_title_icon {
    position: absolute;
    height: 105%;
    aspect-ratio: 1 / 1;
    border: #444 solid 2px;
    border-radius: 100px;
    left: -30px;
    top: 47%;
    transform: translateY(-50%);
    z-index: 105;
    background-color: #fff;
        display: flex;
    justify-content: center;
    align-items: center;
}

.p_service_title_icon img{
    height: 70%;
    width: auto;
}

.p_service_title_icon .img_small{
    height: 60%;
}

.dot{
    display: flex;
    align-items: center;
    font-size: 15px;
}

.p_service_lead{
    display: flex;
    align-items: center;
        font-size: 15px;
}

.page-slug-service h3{
    font-size: clamp(18px, 2.7vw, 25px);
}

@media (hover: none) and (pointer: coarse) {
  .header_menu.pc_menu a::after {
    transform: scaleX(0) !important;
    transition: none !important;
  }
}

@media (hover: none) and (pointer: coarse) {
    .p_service_nav_item:hover,
    .p_service_nav_item:hover p{
        background-color: #fff !important;
        color: #444 !important;
        transition: none !important;
    }

    .p_service_nav_item:active,
    .p_service_nav_item:active p {
        background-color: #444 !important; /* タップ中だけ反応 */
        color: #fff !important;
    }
}

.p_service_text_heading{
    font-size: clamp(18px, 2.7vw, 25px);
    font-weight: 700;
    margin-bottom: 15px;
}

.p_service_text_heading_sub{
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.8em;
}

.detail_box{
    width: 145px;
    padding: 5px;
    background-color: #444;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    margin-bottom: 20px;
}

.detail_box p{
    color: #fff;
    font-size: 14px;
}

.p_service_d_box{
    margin-bottom: 25px;
}

.d_box_title{
    position: relative;
    padding-left: 10px; /* 点の分の余白を確保 */
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.d_box_title::before{
    content: '•'; /* 黒い点（disc） */
    position: absolute;
    left: 0; /* 完全に外側に出す場合は -1em とかでも可 */
    top: 50%;
    transform: translateY(-50%); 
    color: #444; /* 点の色 */
    font-size: 17px; /* 点の大きさ */
}

.d_box_text{
    padding-left: 10px; /* 点の分の余白を確保 */
    font-size: 15px;
    line-height: 1.8em;
}

.d_box_list{
    margin: 10px;
    background-color: #e1e3e6;
}

.d_box_list ul{
    list-style-type: square; /* 四角い点に変更 */
    list-style-position: inside; /* 点を領域内に */
    padding: 13px 25px;
}

.d_box_list ul li{
    font-size: 15px;
}

.p_contact_text p{
    font-size: clamp(13px, 2vw, 22px);
    margin-bottom: calc(50 / 1000 * 100%);
}

.p_contact_box{
    width: 100%;
    height: auto;
    border: 1px solid #444;
    text-align: center;
    margin-bottom: calc(50 / 1000 * 100%);

}

.p_contact_box_title{
    background-color: #444;
    font-size: clamp(15px, 2.2vw, 22px);
    color: #fff;
    padding: 10px;
}

.p_contact_box_explanation{
    padding: 10px;
    text-align: center;
    font-size: clamp(15px, 1.28vw, 22px);
    padding-top: unset;
}

.p_contact_box a{
    display: flex;       /* 幅を中身だけにする */
    justify-content: center;    /* 中身を中央寄せ */
    align-items: center;     
    text-decoration: none;
}

.p_contact_link{
    color: #fff;
    font-size: clamp(15px, 2.6vw, 27px);
    font-weight: 700;
    padding: 4% 0;
}

.p_contact_form_area:hover{
    opacity: 0.6;
}


.p_contact_form_area{
    background-color: #74cdf4;
    border-radius: 50px;
    width: 55%;
    margin: 30px auto;
    box-shadow: 2px 7px 8px rgba(0, 0, 0, 0.5);
}

.p_contact_form img{
    width: 7%;
    height: auto;
    margin-left: 5px;
}

.p_contact_hours_box{
    background-color: #e1e3e6;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 30px;
    box-sizing: border-box;

}

.p_contact_hours_box p{
    font-size: 15px;
}


.p_contact_hours_box .big_text{
    font-size: 27px;
    font-weight: 700;
    margin: 0 auto;
    margin-bottom: calc(30 / 1000 * 100%);
}


.big_text::after {
    content: "";
    display: block;
    width: 520px;                  /* 下線の長さ */
    border-bottom: 1px solid #000; /* 線の太さ・色 */
    margin: 0 auto;
    margin-top: calc(30 / 1000 * 100%);
}


.bold_small{
    font-weight: 700;
    font-size: 15px;
}

.big_text br{
    display: none;
}

body:not(.home) .container {
    max-width: 1000px;
}

.page-slug-contact .fixed_button,
.page-slug-contact .cta_space{
    display: none;
}

.p_contact_link_text{
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
}

.p_about_top{
    display: flex;
    width: 90%;
    margin: 0 auto;

}

.p_about_name h2{
    font-size: clamp(18px, 4vw, 45px);
}



.p_about_photo{
    width: 45%;
    box-shadow: 7px 7px 8px rgba(0, 0, 0, 0.5);
}

.p_about_photo img{
    width: 100%;
    height: auto;
    display: block;
}

.p_about_name{
    width: 55%;
    height: auto;
    text-align: center;
    margin: auto;
}

.name{
    font-family: "Hiragino Mincho ProN", "游明朝", "Yu Mincho", "MS Mincho", serif;
    font-size: clamp(18px, 4vw, 45px);
    font-weight: 700;
}

.p_about_greeting{
    background-image:  url(../img/PC/p_about_greeting.jpg);
    background-position: center;
    background-size: cover;
    background-color:rgba(255,255,255,0.6);
    background-blend-mode:lighten;
}


.p_about_middle p{
    line-height: 1.7em;
    font-size: clamp(16px, 1.28vw, 19px);
}

.skill_experience_box{
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.se_box{
    width: 47%;
    background-color: #efefef;
    box-shadow: 2px 2px 4px gray;
}

.se_title {
    text-align: center;
    padding: 10px;
    background-color: #444;
}

.se_title h3{
    color: #fff;
}

.se_text{
    padding: 4% 10%;
    list-style-position: inside;  /* 内側に配置 */
    padding-left: 0; 
}

.se_text li{
     list-style-type: square; /* 四角い点 */
    padding-left: 10%;     /* 左余白調整 */
        font-size: clamp(14px, 1.5vw, 18px);
}




.p_about_profile{
    background-image:  url(../img/PC/1073764.jpg);
    background-position: center;
    background-size: cover;
    background-color:rgba(255,255,255,0.6);
    background-blend-mode:lighten;
}

.prof_wrapper{
    background-color: #fff;
    width: 80%;
    margin: 0 auto;
    border-bottom: 1px solid #74cdf4;
}

.prof_line{
    display: flex;
    border-top: 1px solid #74cdf4;
    width: 100%;
}

.prof_item1{
    width: 30%;
    text-align: center;
    padding: 30px 0 ;
    border-radius: 100px;
    margin-right: 10px;
}

.prof_item1 h3{
    color: #fff;
    font-weight: 700;
    background-color: #74cdf4;
    width: 80%;
    margin: 0 auto;
    border-radius: 100px;
    padding: 6px 10px;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.4);
    box-shadow: 2px 2px 4px gray;
    font-size: clamp(16px, 1.6vw, 21px);
}

.prof_item2{
    padding: 20px 0 ;
    display: flex;
    align-items: center;
}

.prof_item2 p{
    font-size: clamp(16px, 1.6vw, 21px);
    line-height: 1.9em;
}

.prof_item2 .small{
    font-size: clamp(10px, 1.3vw, 15px);
}


.cta_bottom_icon{
    width: auto;
    height: 30px;
    margin-left: 3px;
}







/* 以下規約系 */
.page-slug-privacypolicy .p_kv_box,
.page-slug-tokushoho .p_kv_box,
.page-slug-terms .p_kv_box{
    width: auto;
    padding: 1% 3%;
}

.page-slug-privacypolicy h1,
.page-slug-tokushoho h1,
.page-slug-terms h1{
    font-size: clamp(20px, 3vw, 30px) !important;
}

.page-slug-privacypolicy .fixed_button,
.page-slug-tokushoho .fixed_button,
.page-slug-terms .fixed_button,
.page-slug-privacypolicy .cta_space,
.page-slug-tokushoho .cta_space,
.page-slug-terms .cta_space{
    display: none;
}

.terms_lead,
.privacy_lead{
    margin-bottom: calc(60 / 1000 * 100%);
        font-size: clamp(13px, 1.8vw, 20px);
}

.tokusho_text_box{
    max-width: 700px;
    margin: 0 auto;
    padding: calc(40 / 1000 * 100%) calc(20 / 1000 * 100%);
}

.privacy_title,
.terms_title,
.tokusho_text_title{
    font-weight: 700;
    font-size: clamp(16px, 2vw, 24px);
}

.privacy_text,
.terms_text,
.tokusho_text{
    font-size: clamp(13px, 1.8vw, 20px);
}

.privacy_text_box,
.terms_text_box{
    margin-bottom: calc(60 / 1000 * 100%);
}

.privacy_text_box ul,
.terms_text_box ul{
        font-size: clamp(13px, 1.8vw, 20px);
        margin-left: 20px;
        margin-top: 10px;
}

.tokusho_text_title{
    margin-bottom: 10px;
}

.tokusho_text_box{
    border-top: #d0d0d0 solid 1px;
}

.last_tokusho{
    border-bottom: #d0d0d0 solid 1px;
}


@media screen and (max-width: 1060px) {
    .service_content{
        display: block;
        margin: 0 auto;
    }

    .service_box1,
    .service_box2 {
        width: 100%;
        margin-bottom: 5%;
    }

    .service_box {
        width: 48%;
        aspect-ratio: 10 / 9;
    }

    .service_img_wrapper {
        height: 50%;
        margin: unset;
        margin-top: 3%;
    }

    .service_text_wrapper {
        height: 45%;
    }

    .detail_button {
        width: 50%;
        aspect-ratio: 6 / 1;
    }

    .detail_button p {
        font-size: clamp(14px, 2vw, 18px);
    }

    .bold_small{
    font-weight: 700;
    font-size: 15px;
}
}

/* スマホ表示 */
@media screen and (max-width: 768px) {
    section{
        padding: calc(40 / 375 * 100%) 0;
    }

    footer{
        padding: 30px 0;  
    }

    header{
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .fixed_button {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.7);
        text-align: center;
        height: 80px;
        font-weight: bold;
        z-index: 999;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    }

    .fixed_button_text{
        width: calc(250 / 375 * 100%);
        background-color: #444;
        color: #fff;
        border: solid 3px #fff;
        border-radius: 40px;
        text-decoration: none;
        padding: 13px 0;
        font-size: 20px;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
        display: flex;
        justify-content: center;
    }

    .fixed_button_img{
        width: 30px;
        height: auto;
        margin-left: 5px;
    }

    .container{
        width: calc(335 / 375 * 100%);
    }

    .header_logo{
        width: 138px;
    }

    .pc_menu {
        display: none;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 6px;
        width: auto;
        cursor: pointer;
        z-index: 1001;
        margin-left: auto;
    }

    .hamburger span {
        width: 100%;
        background: #444444;
        height: 2px;
        border-radius: 2px;
        transition: 0.3s;
    }

    .hamburger_label {
        color: #444444;
        text-align: center;
        line-height: 1em;
        font-size: clamp(9px, 1.56vw, 12px);
    }

    .sp_menu {
        display: none; /* 初期は非表示 */
        flex-direction: column;
        gap: 1em;
        position: fixed;
        top: 0;
        right: 0;
        width: 70%;
        max-width: 450px;
        height: 100vh;
        background: #fff;
        align-items: center;
        justify-content: center;
        z-index: 1000;
        font-size: clamp(14px, 4vw, 18px);
    }

    .sp_menu a{
        color: #444444;
        text-decoration: none;
    }

    .header_contact a{
    color: #fff;
    padding: 7px 10px;
    }

    .sp_menu.active {
        display: flex;
        border: 1px solid #444444;
        border-top: none;
    }

    .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 7px);
    }
    .hamburger.open span:nth-child(2) {
    opacity: 0;
    }
    .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
    }

    .kv{
    aspect-ratio: 5 / 4;
    padding: unset; 
    }

    .kv_box{
        width: 80%;
        height: 66%;
        padding: 4%;
        margin: 0 auto;
    }

    .kv_text1{
        font-size: clamp(15px, 4.8vw, 40px);
    }

    .kv_text2{
        font-size: clamp(10px, 3.7vw, 30px);
        margin-bottom: 4%;
    }

    .kv_button{
        font-size: clamp(8px, 3.2vw, 25px);
        width: 80%;
    }

    h2 {
        font-size: clamp(20px, 4.5vw, 28px);
        margin-bottom: calc(30 / 375 * 100%);
    }

    .section_lead{
        margin-bottom: calc(30 / 375 * 100%);
        font-size: clamp(14px, 2.8vw, 20px);
    }

    .vision_text p{
        line-height: 1.7em;
        font-size: clamp(14px, 3vw, 20px);
    }
    

    .vision_text button {
        padding: 6px 10px;
    }

    .service_content{
        display: block;
        width: 100%;
    }

    .service_bottom_wrapper{
        display: flex;
        box-sizing: border-box;
        height: 80%;
        padding-left: 5%;
    }

    .service_box1{
        margin-bottom: 0;
    }

    .service_box1,
    .service_box2{
        width:100%;
        display: block;
    }

    .service_box{
        width: 100%;
        aspect-ratio: 335 / 160;
        margin-bottom: 6%;
        border-radius: 13px;
    }

    .service_title_wrapper{
        height: 20%;
        border-radius: 13px 13px 0 0;
    }

    h3{
        font-size: clamp(16px, 4.2vw, 20px);
    }

    .service_img_wrapper {
        height: 100%;
        width: 32%;
        padding-top: 0;
        display: flex;
        align-items: center;
        margin-top: unset;
    }

    .service_text_wrapper{
        padding-left: unset;
        font-size: clamp(13px, 2.6vw, 17px);
        height: 100%;
        width: 55%;
    }

    .service_img_wrapper img {
        max-height: 77%;
    }


    .detail_button {
        width: 100%;
        aspect-ratio: 8 / 1;
        margin-top: 8%;
        border: 2px solid #fff;
    }

    .detail_button p {
        font-size: clamp(14px, 2.8vw, 20px);
    }

    .line_space{
        margin-bottom: 3%;
    }

    .flow_content{
        display: flex;
        justify-content: space-between;
    }

    .flow_bar_wrapper{
        width: 13%;
        aspect-ratio: 84 / 1200;
        background-image: url(../img/SP/flow_bg_sp.png);
        background-position: center;
        background-size: cover;
        display: block;
        margin-bottom: unset;
    }

    .flow_bar_wrapper h3 {
        display: flex;
        justify-content: center;
        align-items: center;
        width:  100%;
        height: calc(400 / 1200 * 100%);
        writing-mode: vertical-rl; /* ← 縦書き */
        text-orientation: upright; /* ← 日本語の文字が正しく表示されるように */
    }

    .flow_text_wrapper{
        width: 85%;
        display: block;
        margin-bottom: calc(60 / 1200 * 100%);
        background-color: #efefef;
        box-shadow: 2px 2px 4px gray;
        padding: 0 2%;
        box-sizing: border-box;
    }

    .flow_text{
        width: 100%;
        height: calc(400 / 1200 * 100%);
        border-right: unset;
        padding: 2%;
        font-size: clamp(12px, 3.6vw, 20px);
        box-sizing: border-box;
        display: flex;
        align-items: center;
        border-bottom: 1px solid #444444;
    }

    .flow_text:last-child{
        border: unset;
    }
    .flow_text ul{
        list-style: disc;
        padding-left: 1.5em;       
    }

    .comparison_table {
        aspect-ratio: 1200 / 900;
    }

    .cell_title{
        width: 20%;
        font-size: clamp(10px, 2.2vw, 25px);
    }

    .cell{
        font-size: clamp(12px, 2.5vw, 25px);
    }

    .cell_service{
        font-size: clamp(14px, 3vw, 28px);
    }

    .cell_other{
        font-size: clamp(12px, 2.5vw, 24px);
    }

    .service_item,
    .cell_service{
        border: solid 6px #74cdf4;
        border-top: unset;
        border-bottom: unset;
    }

    .cell_title_top{
        border: 6px solid #74cdf4;
        border-radius: 9px;
    }


    .service_item_last{
        box-shadow: 0 6px 0 0 #74cdf4;  
    }

    .small{
        font-size: clamp(10px, 1.6vw, 15px);
    }

    .table_top{
        height: 16%;
    }

    .table{
        height: 21%;
    }

    .footer_link{
        width: 500px;
        display: flex;
        justify-content: space-between;
        margin-bottom: calc(20 / 1200 * 100%);
    }

    .footer_link a{
        font-size: 13px;
    }

    .footer_c{
        color: #fff;
        text-align: center;
        font-size: 13px;
        padding: unset;
    }

    .cta_space{
        display: block;
        height: 80px;
    }

    .footer_content{
        padding: unset;
    }



    /* サービス内容ページ 上段は各ページkv */
    .p_kv_box{
        width: 35%;
        margin-left: calc(20 / 375 * 100%);
    }

    .h2_wrapper{
        margin-left: calc(20 / 375 * 100%);
    }

    body:not(.home) h1 {
        font-size: clamp(24px, 4vw, 40px);
    }

    .P_title_sub{
        font-size: 9px;
    }

    /* サービスページｈ２ */

    .p_service_nav{
        display: block;
        padding-left: calc(10 / 375 * 100%);
        padding-right: calc(10 / 375 * 100%);
    }

    .p_service_nav_block{
        width: 100%;
    }
    .p_service_nav_second{
        border: unset;
    }

    .p_service_nav_item{
        width: 50%;
        padding: unset;
        margin: 3px;
        border: unset;
        border-bottom: 1px solid #444;
        border-right: 1px solid #444;
        
    }

    .p_service_nav_title{
        font-size: clamp(14px, 2.7vw, 23px);
    }

    .p_service_nav_sub{
        display: none;
    }

    .p_service_nav_icon{
        font-size: 14px;
    }

    .p_service_title{
        display: block;
        padding: 3% 0 3% 90px;
    }

    .p_service_title_icon{
        position: absolute;
        height: 60px;
        aspect-ratio: 1/1;
        border: #444 solid 2px;
        border-radius: 100px;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 105;
        background-color: #fff;
    }

    .p_service_lead{
        display: flex;
        align-items: center;
        font-size: 12px;
    }

    .p_service_text_heading_sub{
    font-size: 15px;
    }

    .d_box_title {
        font-size: 15px;
    }

    .d_box_text,
    .d_box_list ul li{
        font-size: 13px;
    }

    .p_service_text {
        padding: 9% 4%;
    }

    .p_contact_text p{
    font-size: clamp(14px, 4vw, 20px);
    margin-bottom: calc(30 / 375 * 100%);
}

    .p_contact_box{
        width: 100%;
        margin-bottom: calc(30 / 375 * 100%);
    }

    .p_contact_box_title{
        background-color: #444;
        font-size: clamp(15px, 2.9vw, 26px);
        color: #fff;
        padding: 10px;
    }

    .p_contact_box_explanation{
        font-size: clamp(15px, 1.28vw, 22px);
    }

    .p_contact_link{
        font-size: clamp(15px, 3.5vw, 26px);
        padding: 5% 0;
    }


    .p_contact_hours_box{
        width: unset;
        padding: 20px;
    }

    .bold_small{
        font-weight: 700;
        font-size: 14px;
    }

    .p_contact_hours_box p {
        font-size: 12px;
    }

    .p_contact_hours_box .big_text{
        font-size: clamp(16px, 3.3vw, 25px);
    }

    .big_text::after {
        width: 100%;
    }

    .hours_text{
        font-size: clamp(20px, 4vw, 28px);
    }

    .big_text br{
        display: block;
    }


    .p_contact_form_area{
        width: 60%;
        margin: 25px auto;
    }

    .p_contact_link_text {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .p_about_top{
        width: 95%;
    }

    .p_about_name h2{
        font-size: clamp(18px, 4.5vw, 45px);
    }

    .name{
        font-size: clamp(22px, 5vw, 45px);
    }

    .p_about_middle p {
        line-height: 1.7em;
        font-size: clamp(14px, 3.3vw, 19px);
    }

    .skill_experience_box{
        display: block;
    }

    .se_box{
        width: 100%;
        margin-bottom: calc(30 / 375 * 100%);
    }

    .se_text{
        padding: 4% 10%;
        list-style-position: inside;  /* 内側に配置 */
        padding-left: 0; 
    }

    .se_text li{
        font-size: clamp(14px, 3.3vw, 18px);
    }

    
    .p_about_profile{
        background-image:  url(../img/PC/1073764.jpg);
        background-position: center;
        background-size: cover;
        background-color:rgba(255,255,255,0.6);
        background-blend-mode:lighten;
    }

    .prof_wrapper{
        width: 100%;
    }

    .prof_item1{
        width: 30%;
        text-align: center;
        padding: 25px 0 ;
    }

    .prof_item1 h3{
        width: 80%;
        font-size: clamp(15px, 1.6vw, 22px);
    }

    .prof_item2{
        padding: 20px 0 ;
        display: flex;
        align-items: center;
    }

    .prof_item2 p{
        font-size: 15px;
    }

    .prof_item2 .small{
        font-size: clamp(11px, 1.3vw, 15px);
    }


}


@media screen and (max-width: 550px){ 
    .fixed_button {
        height: 70px;
    }

    .cta_bottom_icon{
        height: 25px;
    }

    .fixed_button_text{
        padding: 10px 0;
        font-size: 16px;
        width: calc(335 / 375 * 100%);
    }

    .fixed_button_img{
        width: 25px;
        height: 25px;
        margin-left: 5px;
    }

    .footer_content{
        display: flex;
        width: calc(335 / 375 * 100%);
    }

    .footer_link{
        display: flex;
        flex-direction: column; /* ← これが縦並びの肝 */
        align-items: flex-start;
        margin-bottom: 25px;
        gap: 10px;
        width: unset;
    }

    .footer_link a{
        display: inline-block;
    }

    .cta_space{
        height: 70px;
    }

    .header_logo{
        width: 110px;
    }

    .footer_logo{
        width: 110px;
        margin: unset;
    }

    .section_lead{
        text-align: left;
    }

    .p_service_kv, 
    .p_contact_kv, 
    .p_privacy_kv, 
    .p_about_kv, 
    .p_tokusho_kv, 
    .p_terms_kv {
        aspect-ratio: 1400 / 500;
    }

        .detail_button {
        aspect-ratio: 7 / 1;
    }

    .p_kv_box{
        width: 48%;
    }

    .p_service_nav_sub{
        display: none;
    }

        .p_service_nav_icon{
        font-size: 9px;
    }

    .p_service_title{
        padding: 4% 0 4% 75px;
    }

        .p_service_title_icon{
        left: 10px;
        height: 55px;
    }


        .bold_small{
        font-size: 12px;
    }

    .p_contact_hours_box p {
        font-size: 12px;
    }


        .p_contact_link_text {
        font-size: 14px;
    }

    .prof_line {
        display: block;
        padding: 22px;
        box-sizing: border-box;
    }

    .prof_item1{
        margin: unset;
        width: 100%;
        margin-bottom: 16px;
    }

    .prof_item1,
    .prof_item2{
        padding: unset;
    }

    .prof_item2{
        justify-content: center;
        text-align: center;
    }

    .prof_item1 h3{
        padding: 7px 9px;
        width: 160px;
        font-size: 16px;
    }

    .prof_item2 p{
        font-size: 16px;
    }

}