@charset "UTF-8";
/* --------------
reset
-------------- */
input,
select,
textarea {
  max-width: 100% !important;
}

h1,
h2,
h3,
h4 {
  font-size: 100%;
}

body * {
  box-sizing: border-box;
}

/* --------------
base
-------------- */
html {
  -webkit-text-size-adjust: none;
}
html:has(#menu-toggle:checked) {
  overflow: hidden;
}

body {
  font-size: 16px;
}

.ifpc {
  display: none !important;
}

@media screen and (max-width: 320px) {
  /*以下の時*/
}
@media screen and (min-width: 321px) {
  /*以上の時*/
}


/* --------------
modules css
-------------- */
/* ----- base width */
/* --------------
common
-------------- */
/* =header
-------------------------------------------------------------- **/
header {
}

header h1 {
  margin: auto;
}
header h1 img {
  height: 50px;
}

header .header-menu-icon {
  width: 35px;
  height: 30px;
  position: fixed; /* ← fixedにして常に左上固定 */
  top: 15px;
  left: 10px;
  cursor: pointer;
  z-index: 3;
  display: inline-block;
}

header .header-menu-icon span {
  display: block;
  height: 4px;
  margin: 6px 0;
  background: #333;
  border-radius: 2px;
  transition: 0.4s;
}

/* ハンバーガーがXに変形 */
header #menu-toggle:checked + .header-menu-icon span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
header #menu-toggle:checked + .header-menu-icon span:nth-child(2) {
  opacity: 0;
}
header #menu-toggle:checked + .header-menu-icon span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* オーバーレイ背景 */
header .overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
  z-index: 1;
}

header #menu-toggle:checked ~ .overlay {
  opacity: 1;
  pointer-events: auto;
}

/* メニュー本体（左から出す） */
header .gnav {
  position: fixed;
  top: 0;
  left: -90%; /* ← 初期位置を左へ */
  width: 90%;
  height: 100%;
  background: #fff;
  transition: left 0.4s ease;
  z-index: -1;
}

header #menu-toggle:checked ~ .gnav {
  left: 0; /* ← 開いたときは左0へ */
  z-index: 2;
}


header .gnav .gnav-inner {
  margin-top: 70px;
}
header .gnav ul {
  flex-direction: column;
  padding: 10px;
}
header .gnav ul li.sub a {
  color: #9e9e9e;
  font-size: 1.0em;
}



/* --------------- header */

/* =container
-------------------------------------------------------------- **/
.main {
  margin-top: 0;
}

.content {
}
.content.full {
  padding-left: 0;
  padding-right: 0;
}

.sp_full {
  margin-left: -20px !important;
  margin-right: -20px !important;
}

/* =breadcrumb
---------------------------------------------------- */
#breadcrumb {
  padding: 5px;
}

#breadcrumb ul {
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: auto;
  font-size: 12px;
}

#breadcrumb ul li {
  flex-shrink: 0
}
#breadcrumb ul li a {
}


/* =headline / titles
---------------------------------------------------- */
.content {
  font-size: 14px;
}

.content h1 {
  font-size: 2.0em;
}

.content h2 {
  font-size: 1.8em;
}
.content h3 {
  font-size: 1.3em;
}
.content h4 {
  font-size: 1.2em;
}


.hd01, .hd01_a {
  margin-bottom: 1em !important;
  font-size: 10vw !important;
}


/* =column
---------------------------------------------------- */

.sp_clm1, .sp_clm2, .sp_clm3, .sp_clm4, .sp_clm5, .sp_clm6 {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

.sp_clm1 {
  flex-direction: column;
}
.sp_clm2 > * {
  width: 48%;
  width: calc((100% - (10px * 1) ) / 2 );
}
.sp_clm3 > * {
  width: 30%;
  width: calc((100% - (10px * 2) ) / 3 );
}
.sp_clm4 > * {
  width: 23%;
  width: calc((100% - (10px * 3) ) / 4 );
}
.sp_clm5 > * {
  width: 18%;
  width: calc((100% - (10px * 4) ) / 5 );
}
.sp_clm6 > * {
  width: 14%;
  width: calc((100% - (10px * 5) ) / 6 );
}





/* =footer
-------------------------------------------------------------- **/
/* ----------------footer */


footer .logo {
  margin: auto;
}

/* =copyright
---------------------------------------------------- */
.copyright {
  margin-top: 30px;
}


/* =pageTop
-------------------------------------------------------------- **/
#pageTop {
  right: 0px;
  bottom: 0;
}

#pageTop a {
  width: 50px;
  height: 40px;
  background-size: 50px auto;
  background-position: center top;
}



/* フォーム */
.tbl-sendform {
}
.tbl-sendform th,
.tbl-sendform td {
  display: block;
  width: 100%;
}


/* --------------
 home contents
-------------- */

.home-mv .content-inner {
  padding: 0 5px;
}

.home-message {
  padding-top: 0;
}

.block-home-message {
  margin-left: 0;
  margin-right: 3%;
  padding: 1% 5%;
}
.block-home-message:before {
  top: 5%;
  left: 3%;
  background-size: 10px 10px;
}
.block-home-message p {
  font-size: 1.2em;
}

.list-column a, .list-works a {
  margin-left: 0;
  margin-right: 0;
}

.home-services {
  margin: 0;
}
.home-services:before {
  border-radius: 0;
}

.list-home_services li {
  
}
.list-home_services .list-inner {
  margin-bottom: 1em;
}
.list-home_services li img {
  width: 60%;
}

.home-about {
  background-size: auto;
  background-attachment: fixed;
}

.list-members li:before {
  top: 43vw;
  height: 90%;
  height: calc(100% - 43vw);
  border-radius: 0 0 16px 16px;
}


/* --------------
 lower
-------------- */

/* =works
---------------------------------------------------- */
.works.detail .content {
  background: url("../img/works/bg-detail_sp.png") no-repeat center center / 100% auto;
  background-attachment: fixed;
}
.works.detail .content h2:before {
  width: 35vw;
  background-size: contain;
}

/* =column
---------------------------------------------------- */
.column.detail .content {
  background: url("../img/column/bg-detail_sp.png") no-repeat center center / 100% auto;
  background-attachment: fixed;
}