@charset "utf-8";
@media screen and (max-width: 768px) {
  /* ----------------------------
   base
---------------------------- */
  .clearfix::after {
    content: "";
    display: block;
    clear: both;
  }
	html {
		overflow-x: hidden;
	}
	
  html, body {
    margin: 0;
    padding: 0;
		width: 100%;
    height: 100vh;
    font-size: clamp(16px, 2.5vw, 28px);
    min-width: 100%;
    background: #fff;
  }
	@supports (height: 100dvh) {
		body, html {
			height: 100dvh; /* 対応ブラウザでのみ適用 */
		}
	}
	
	#wrapper {
		width: 100%;
		overflow-x: hidden;
	}
	
	
  .sp_view {
    display: block;
  }
  .pc_view {
    display: none;
  }
  .hover {
    transition: opacity 0.4s ease;
  }
  .hover:hover {
    opacity: 0.8;
  }
  #logo-img {
    width: 50vw;
    max-width: 258px;
    height: auto;
  }
  #none_logo {
    width: 50vw;
    margin: 0px auto 2.0vh;
  }
  #none_logo img {
    display: block;
    width: 50vw;
    height: auto;
  }
  #mv_copy h1, #l_copy01 {
    font-size: 7.6vw;
    line-height: 1.3em;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 2.5vh;
  }
  #mv_copy h2, #l_copy02 {
    font-size: 4.2vw;
    line-height: 1.7em;
    font-weight: 400;
  }
  
  /*-----------------------------------*/
  
  #global-header {
    width: 100%;
		max-width: 100%;
    box-sizing: border-box;
    padding: 1.5vh 4.0vw 1.5vh 4.0vw;
  }
  #h_logo {
    width: 70%;
  }
  #h_logo img {
    display: block;
    width: 100%;
    height: auto;
  }
  
  
  #hamburger {
    display: inline-block;
    cursor: pointer;
    width: 12vw;
    height: 30px;
    position: relative;
    z-index: 1001;
    margin: 0px 0vw 0px 0px;
  }
  #hamburger span {
    display: block;
    height: 3px;
    background: #FFF;
    margin: 5px 0vw;
    border-radius: 2px;
    transition: 0.3s;
  }

  /* PCナビを隠す */
  #global-nav {
    position: fixed;
    top: 0;
    right: -80vw; /* 初期は隠す */
    width: 80vw;
    max-width: 100%;
    height: 100vh;
    background: rgba(25,35,80,0.8);
    flex-direction: column;
    padding: 12vh 0vw 5vh;
    gap: 0vw;
    transition: right 0.3s ease;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    z-index: 200;
  }
  
  #h_menu {
    flex-direction: column;
    gap: 15px;
  }

  /* openクラスで表示 */
  #global-nav.open {
    right: 0;
  }

  /* ハンバーガー → ✕ */
  #hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  #hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  #hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  
  
  /* ----------------------------
   header
---------------------------- */
  #header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 12vh; /* 80px → 約12vh */
    background: rgba(255, 255, 255, 0.9);
    z-index: 1000;
  }
  #header .logo {
    float: none;
    margin: 2vh 0 0 2.0vh;
    font-size: 5.3vw;
  }
  #h_menu {
    float: none;
    align-items: flex-start;
    margin: 4vh 0vw 5.0vh 0; /* 30px, 30px → 4vh, 4vw */
    font-size: 4.3vw; /* 16px → 約4.3vw */
  }
  #h_menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  #h_menu li {
    float: none;
    text-align: left;
    margin-left: 0vw; /* 20px → 5.3vw */
  }
	#h_menu li.sp_view {
		display: block;
	}
	
  #h_menu li a {
    display: block;
    text-decoration: none;
    color: #FFF;
    text-align: left;
    font-size: 5.2vw;
    position: static;
    padding-bottom: 0.9vh; /* 5px → 0.6vh */
  }
  #h_menu li a::after {
    content: none;
  }
  #h_menu li:not(:last-child):not(.li_news)::after {
    content: none;
  }
  
  /* ----------------------------
   mainvisual
---------------------------- */
  #mainvisual {
    position: relative;
    width: 100%;
    height: 100vh; /* 画面いっぱい */
    background: url(../img/mainvisual.jpg) no-repeat center center / cover;
  }
  #mainvisual .catch {
    position: absolute;
    top: 40vh; /* 320px → 40vh */
    left: 10vw;
    color: #fff;
    font-size: 6.4vw; /* 24px → 6.4vw */
    line-height: 8vh; /* 64px → 8vh */
  }
  #mainvisual .scroll {
    position: absolute;
    bottom: 4vh; /* 30px → 4.5vh */
    left: 50%;
    transform: translateX(-50%);
    font-size: 4vw; /* 15px → 4vw */
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5vw;
  }
  .title h2 {
    font-size: 8.0vw;
  }
  .title h2 span {
    font-size: 4.5vw;
    margin-top: 1.2vh;
  }
  .title .bt_more {
    width: 100%;
    display: block;
    text-align: center;
    position: static;
    margin-left: auto;
    margin-right: auto;
    transform: none;
  }
  .title .bt_more::after {
    content: '';
    display: inline-block;
    width: 7.0vw;
    height: 4.0vh;
    background: url("../images/arr_more.svg") no-repeat bottom right;
    background-size: 6.0vw auto;
  }
  
  /* ----------------------------
   mission
---------------------------- */
  #mission {
    clear: both;
    width: 100%;
    padding: 10vh 0px 6vh 0px;
    background-image: url("../images/bg_mission01.svg"), url("../images/bg_mission02.svg"), url("../images/bg_mission03.svg");
    background-repeat: no-repeat;
    background-size: 40vw auto, 40vw auto, 60vw auto;
    background-position: left -10vw top 4vw, right -10vw top -5vw, right bottom -3vw;
  }
  #mission_wrap {
    display: block;
    width: 100%;
    height: auto;
    margin: 0vh auto 0; /* 60px → 9vh */
    padding: 4vh 10vw 0vh; /* 20px → 3vh / 40px → 10.6vw */
  }
  #mission_wrap .title {
    font-size: 6.4vw; /* 24px → 6.4vw */
    margin-bottom: 4.5vh; /* 30px → 4.5vh */
    text-align: center;
    font-weight: bold;
  }
  #mission_wrap .text {
    font-size: 4.3vw; /* 16px → 4.3vw */
    line-height: 6vh; /* 40px → 6vh */
    text-align: center;
    margin: 0 auto;
    width: 80vw;
  }
  .mi_text h3 {
    font-size: 5.5vw;
    margin-top: 2.0vh;
    margin-bottom: 4.0vh;
  }
  /* mi_mark */
  .mi_mark {
    width: 100%;
    margin-left: 0px;
    text-align: center;
    margin-bottom: 5.0vh;
  }
  .mi_mark img {
    display: block;
    width: 86%;
    height: auto;
    margin: 0px auto;
  }
  #tx_company01 {
    font-size: 4.6vw;
    margin-top: 2.0vh;
  }
  #tx_company02 {
    font-size: 3.2vw;
    margin-top: 0.6vh;
  }
  /* mi_text */
  .mi_text {
    width: 100%;
		padding-right: 0px;
  }
  .mi_text p {
    font-size: 3.5vw;
    line-height: 2.5em;
    padding-left: 0px;
  }
  #mission_wrap .bt_more {
    display: inline-block;
    margin-top: 6vh; /* 40px → 6vh */
    font-size: 4.3vw; /* 16px → 4.3vw */
    text-decoration: none;
    color: #333;
    border: 0.3vh solid #333; /* 2px → 0.3vh */
    padding: 1.5vh 4vw; /* 10px, 30px → 1.5vh, 8vw */
    transition: color 0.5s, transform 0.5s;
  }
  #mission_wrap .bt_more:hover {
    color: #fff;
    background: #333;
    transform: scale(1.05);
  }
  /* ----------------------------
   about us
---------------------------- */
  #aboutus {
    padding: 10vh 0px 1vh 0px;
  }
  #aboutus_total {
    width: 98%; /* 1170px → 93.6vw */
    height: 28vh; /* 480px → 72vh */
    margin: 4vh auto 2vh; /* 60px → 9vh */
    background-size: 100% 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* 中央寄せ */
    align-items: flex-start;
  }
  .abo_001, .abo_002, .abo_003 {
    width: 34%;
    height: auto;
    margin: 5.6vh -2vw 0px;
  }
  .abo_001 img, .abo_002 img, .abo_003 img {
    width: 100%;
    height: auto;
  }
  .abo_total img {
    width: 90%;
    height: auto;
  }
  .abo_total {
    width: 70%;
    text-align: center;
    margin: 0vh auto 2.0vh; /* 上に余白 */
  }
  .underline-title {
    font-size: 4.2vw;
    letter-spacing: 0.025em;
    margin: 0px auto 6.5vh;
  }
  .underline-title span {
    padding-left: 1.4vw;
    padding-bottom: 0.8vh;
  }
  #best_keiei {
    clear: both;
    width: 90%; /* 1170px → 93.6vw */
    border-radius: 2.6vw; /* 30px → 2.6vw */
    border: 1px solid #192350; /* 1px → 0.13vw */
    box-sizing: border-box;
    padding: 4.5vh 8vw 5vh; /* 35px 50px 45px → 4.5vh 13.3vw 6vh */
    margin: 0 auto 9vh; /* 70px → 9vh */
  }
  #best_keiei h2 {
    font-size: 6vw; /* 34px → 9vw */
    color: #192350;
    font-weight: 600;
    line-height: 1.2em;
    text-align: center;
    background: url("../images/ic_sankaku.svg") no-repeat top center; /* 10px → 1.5vh */
    background-size: 14.0vw auto; /* 100px → 26.6vw */
    box-sizing: border-box;
    letter-spacing: 0.16em;
    padding: 7vh 0 0 0vw; /* 120px → 32vw */
    margin-bottom: 4vh; /* 30px → 4vh */
  }
  #best_keiei h2 span {
    font-size: 7.1vw;
  }
  #best_keiei p {
    font-size: 3.8vw; /* 17px → 4.5vw */
    line-height: 2em;
    font-weight: 700;
    letter-spacing: 0.025em;
    margin: 0 0 4vh 0; /* 30px → 4vh */
  }
  #best_keiei h3 {
    width: 100%;
    border-radius: 2.6vw; /* 10px → 2.6vw */
    font-size: 5.0vw; /* 23px → 6vw */
    line-height: 1.3em;
    padding: 3.0vh 6vw; /* 30px → 4.5vh / 30px → 8vw */
    margin: 0 0 3.0vh 0;
  }
  .img_zu {
    position: static;
    display: block;
    width: 100%;
    height: auto;
  }
  /* ----------------------------
   work
---------------------------- */
  .work {
    width: 100%; /* 1170px */
    margin: 6vh auto; /* 60px */
  }
  .work h2 {
    font-size: 5.2vw;
    padding: 2.5vh 0.2vw 2.5vh 14vw;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin: 0 auto 2.0vh;
  }
  .work h2 span {
    font-size: 2.4vw;
    padding-left: 1.2vw;
    line-height: 1.0em;
    letter-spacing: 0.05em;
  }
  .work h2#work_001 {
    background-position: 2.0vw center;
    background-size: auto 4.0vh;
  }
  .work h2#work_002 {
    background-position: 2.0vw center;
    background-size: auto 4.0vh;
  }
  .work h2#work_003 {
    background-position: 2.0vw center;
    background-size: auto 4.0vh;
  }
  .work_flex {
    display: block;
    width: 90%;
    margin: 0px auto 3.0vh;
  }
  .wf_text {
    width: 100%;
  }
  .wf_photo {
    width: 100%;
  }
  .wf_photo img {
    display: block;
    width: 100%;
    height: auto;
  }
  .work_list {
    display: flex;
    flex-wrap: wrap;
    gap: 4vw;
  }
  .work_item {
    flex: 1 1 45vw;
    margin-bottom: 6vh; /* 40px */
  }
  .work_item img {
    width: 100%;
    height: auto;
    border-radius: 1.5vw;
  }
  
  .wf_text p {
  font-size: 3.6vw;
  line-height: 1.9em;
  font-weight: 600;
  padding: 1.0vh 0px 0px 0px;
  margin-bottom: 3.0vh;
}
.wf_text ul {
  margin: 0px 0px 3.5vh 0px;
}
.wf_text ul li {
  font-size: 4.8vw;
  padding: 0px 0px 0.5vh 9vw;
  margin-bottom: 1.4vh;
  background: url("../images/ic_check.svg") no-repeat 1.0vw 0px;
  background-size: 5.2vw auto;
}
.wf_text ul li span.nado {
  font-size: 2.9vw;
  padding-left: 0.8vw;
}
.wf_text h3 {
  text-align: center;
  font-size: 4.8vw;
  line-height: 1.3em;
  padding: 1.5vh 3.0vw 1.5vh 3.0vw;
  border-top: 1px solid #192350;
  border-bottom: 1px solid #192350;
  border-left: 1px solid #192350;
  border-right: 1px solid #192350;
  border-radius: 40vw;
  margin: 0px auto 2.0vh;
}
  
  
  /* ----------------------------
   service
---------------------------- */
  #service {
    width: 100%;
    margin: 5vh auto;
  }
  .service_wrap {
    margin-bottom: 4.0vh;
  }
  .service_wrap h2 {
    font-size: 4.7vw;
    padding: 2vh 13vw 2vh;
    margin: 0 auto -2vh;
    background-size: auto 2.0vh;
  background-position: 4.0vw center, right 4.0vw center;
  }
  
  #service_total {
    width: 100%;
    padding: 9vh 4vw; /* 60px → 9vh / 30px → 4vw */
    background: #fafafa;
  }
  #service_total .title {
    font-size: 6.4vw; /* 24px */
    margin-bottom: 4.5vh; /* 30px */
    text-align: center;
  }
  .b_blue {
  width: 94%;
  display: block;
  padding: 5.0vh 4vw 2.0vh;
    margin: 0px auto 0px;
    
}
.b_blue .dl_flex {
  display: block;
}
.b_blue dl {
  width: 100%;
  margin-bottom: 0vh;
}
.b_blue dl dt {
  display: flex;
  align-items: flex-start;
  font-size: 4.6vw;
  padding: 0px 0px 0px 3.5vw;
  background: url("../images/ic_maru.svg") no-repeat 0px 0.6vh;
  background-size: 2.0vw auto;
  margin-bottom: 1.0vh;
}
.b_blue dl dt span {
  font-size: 2.2vw;
  padding: 0.6vh 1.5vw;
  margin: 0vh 0px 0px 1.2vw;
}
.b_blue dl dd {
  font-size: 3.2vw;
  padding: 0px 1.0vw 2.5vh 3.5vw;
}
  .b_blue h3 {
    width: 100%;
    font-size: 4.4vw;
    line-height: 1.2em;
    padding: 2.0vh 6vw;
    margin: 0px auto 2.0vh;
  }
  .b_blue p.kome {
    font-size: 3.2vw;
    line-height: 1.4em;
    background: url("../images/ic_kome.svg") no-repeat 0.8vw 1.2vw;
  background-size: 2.4vw auto;
    padding: 0 0 1.0vh 4.8vw;
  }
  
  /* ----------------------------
   news
---------------------------- */
  #news {
    padding: 8.0vh 0px 6.0vh 0px;
  }
  #news_total {
    width: 93.6vw; /* 1170px */
    margin: 9vh auto; /* 60px */
  }
  #news_total .title {
    font-size: 6.4vw; /* 24px */
    text-align: center;
    margin-bottom: 4.5vh; /* 30px */
  }
  .wrap_news {
    display: block;
    width: 82%;
    padding: 0px 0vw;
    margin: 0px auto;
    gap: 0px;
  }
  .wrap_news a {
    flex: none;
    margin-bottom: 3.0vh;
  }
  .wrap_news .thumbnail {
    margin-bottom: 0.6vh;
  }
  
  
  .wrap_news .date {
    margin: 2.0vh 2.0vw 0vh;
    font-size: 3.4vw;
  }
  .wrap_news .date span {
    font-size: 3.2vw;
    padding: 0.4vh 2.0vw 0.4vh;
  }
  .wrap_news h3 {
    font-size: 4.0vw;
    margin: 0px 0px 1.4vh 2.0vw;
  }
  /*-----------------------------------*/
  .attention {
    font-size: 3.8vw;
    margin-bottom: 6.0vh;
  }
  #contact {
    padding: 10vh 0px;
  }
  #contact_banner {
    display: block;
    width: 100%;
    padding: 0 3.0vh;
  }
  #contact_banner li a {
    width: 94%;
    font-size: 6.3vw;
    height: 17vh;
    border-radius: 10vw;
    padding-top: 0.5vh;
    margin: 0 auto 3.0vh;
    transform: none; /* 拡大無効 */
    box-shadow: none; /* 影無効 */
  }
	#contact_banner li.cb_02 a {
		font-size: 6.0vw;
	}
	
  #contact_banner li a::before {
    height: 5.0vh;
    margin-bottom: 0.5vh;
    transform: none; /* アイコン浮き無効 */
  }
  #contact_banner li.cb_01 a::before {
    background-image: url('../images/icon_cb01.svg');
    background-size: auto 4.4vh;
  }
  #contact_banner li.cb_02 a::before {
    background-image: url('../images/icon_cb02.svg');
    background-size: auto 5.0vh;
  }
  
  /*-----------------------------------*/
  #company {
    padding: 10vh 0px;
  }
  
  .wrap_company {
    display: block;
    width: 90%;
    padding: 0 2.0vw;
    margin: 0px auto;
  }
  .wrap_company .com_text, .wrap_company .com_photo {
    width: 100%;
    margin-bottom: 4.0vh;
  }
  
  .wrap_company .com_text dl {
    display: block;
    padding: 1.6vh 0;
  }
  .wrap_company .com_text dt, .wrap_company .com_text dd {
    width: auto;
    padding-left: 0;
    margin: 0;
  }
  .wrap_company .com_text dt {
    font-size: 4.6vw;
    margin-bottom: 0.8vh;
  }
  .wrap_company .com_text dd {
     font-size: 3.3vw;
  }
  .wrap_company .com_photo img {
    margin-top: 1.5vh;
    margin-top: 2.5vh;
  }
  .wrap_company .com_photo a {
    font-size: 4.0vw;
    padding: 1.9vh 0 2.0vh;
    border-radius: 3.0vw
  }
  
  
  /* ----------------------------
   footer
---------------------------- */
  #footer {
    background: #333;
    color: #fff;
    padding: 6vh 4vw; /* 40px / 30px */
    text-align: center;
  }
  #footer .logo {
    font-size: 5.3vw; /* 20px */
    margin-bottom: 3vh; /* 20px */
  }
  #footer .menu {
    margin: 3vh 0; /* 20px */
    font-size: 4vw; /* 15px */
  }
  #footer .menu a {
    color: #fff;
    text-decoration: none;
    margin: 0 2.6vw; /* 10px */
    position: relative;
    padding-bottom: 0.6vh; /* 5px */
  }
  #footer .menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.6vh; /* 5px */
    width: 0;
    height: 0.3vh; /* 2px */
    background: #fff;
    transition: width 0.3s;
  }
  #footer .menu a:hover::after {
    width: 100%;
  }
  #footer .copy {
    margin-top: 3vh; /* 20px */
    font-size: 3.7vw; /* 14px */
    color: #aaa;
  }
}