/*
Theme Name:
Theme URI:
Description:
Author:ワンズアクション
Author URI:https://ones-action.com
*/

@charset "utf-8";

/* =================================
フォント

font-family: 'Noto Sans JP', sans-serif;
font-family: 'Rubik', sans-serif;
font-family: 'Noto Serif JP', serif;
font-family: 'Finlandica', sans-serif;
font-family: 'Oswald', sans-serif;
font-family: 'Fjalla One', sans-serif;
font-family: "Jost", sans-serif;


================================= */

/* =================================
		リセット
================================= */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-style:normal;
    font-weight: normal;
    font-size: 100%;
    vertical-align: baseline;
}
 
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
 
html{
    overflow-y: scroll;
}
 
blockquote, q {
    quotes: none;
}
 
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
 
input, textarea,{
    margin: 0;
    padding: 0;
}
 
ol, ul{
    list-style:none;
}
 
table{
    border-collapse: collapse; 
    border-spacing:0;
}
 
caption, th{
    text-align: left;
}
 
a:focus {
    outline:none;
}
 
.clearfix:after {
    content: ""; 
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}
 
.clearfix {
 　 zoom: 1;
    min-height: 1px;
}
 
* html .clearfix {
    height: 1px;
    /*\*//*/
    height: auto;
    overflow: hidden;
    /**/
}
 
.both{
    clear:both;
}
 
.inline_block {  
    display: inline-block;  
    *display: inline;  
    *zoom: 1;  
}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}


/* =================================
		基本設定
================================= */
body {
	width: 100%;
	height: auto;
	margin: 0;
	font-size: 100%;
	font-family: "Oswald","Noto Sans JP","ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "Osaka", "ＭＳ　Ｐゴシック", "MS PGothic", sans-serif;
	font-weight: 500;
	line-height: 1.8;
        color: #555;
}

p {
    margin: 0 0 20px;
    line-height: 1.5;
}

a {
    text-decoration: none;
}

a:hover {
    color: #c1272d;
}

img {
    vertical-align: bottom;
    width: auto;
    height: auto;
}

.sp_i {
    display: none;
}


/* =================================
		装飾
================================= */
strong,b {
    font-weight: bold;
}



/* =================================
		ヘッダー
================================= */
header {
    width: 100%;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9000;
    transition: background-color 0.8s ease, color 0.8s ease;
}

header.active {
    background-color: white;
}

.h_area {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 30px 40px;
}

img.logo {
    width: 200px;
}


/* =================================
		メニュー
================================= */
nav ul {
    display: flex;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    font-family: 'Oswald', sans-serif;
    font-size: 140%;
    font-weight: 500;
    color:#010042;
    background:transparent;
    border-width:2px;
    //border-style: solid;
    border-color:rgba(0,0,0,0);
    position:relative;
    display:inline-block;
    padding: 0 20px;
    transition:all 0.3s ease-in-out;
    text-align:center;
}

nav ul li a:before,
nav ul li a:after {
    content: '';
    display: block;
    position: absolute;
    border-color: #aa0000;
    box-sizing: border-box;
    border-style: solid;
    width: 1em;
    height: 1em;
    transition: all 0.3s ease-in-out;
    border-color: transparent;
}

nav ul li a:before {
    top: -6px;
    left: -6px;
    border-width: 2px 0 0 2px;
    z-index: 5;
}

nav ul li a:after {
    bottom: -6px;
    right: -6px;
    border-width: 0 2px 2px 0;
}

nav ul li a:hover {
    color: #aa0000;
}

nav ul li a:hover:before,
nav ul li a:hover:after {
    width: calc(100% + 12px);
    height: calc(100% + 12px);
    border-color: #010042;
}

nav label, nav input {
	display: none;
}


/* =================================
		フレーム
================================= */
.wrapper {
    background: url(img/fixbg-top.png) no-repeat center top;
}

#container {
    clear: both;
    overflow: hidden;
}

section {
    padding: 150px 0;
    clear: both;
    position: relative;
    overflow: hidden;
}

.sec_area {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =================================
		メインビジュアル
================================= */
.mv_area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url(img/fixbg-btm.png);background-repeat: no-repeat;
    background-position: center bottom;
    overflow: hidden;
}

.catch_area {
    padding: 20px;
}


.catch_area h2 {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 260%;
    color: #010042;
    line-height: 1.2;
    font-weight: bold;
    text-align: center;
}

.catch_area h2 br {
    display: none;
}

.cth_ig_lf,
.cth_ig_rt {
    width: 15%;
    position: relative;
}

img.tlf_ig,
img.trt_ig {
    width: 100%;
}

.cth_ig_lf {
    animation: slideInLeft 1s ease-out forwards;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.cth_ig_rt {
    animation: slideInRight 1s ease-out forwards;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

p.subtit {
    font-size: 120%;
    color: black;
    font-weight: bold;
    margin: 0;
    margin-top: 16px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease-out forwards;
    animation-delay: 2s;
}

@keyframes fadeUp {
    from {
	opacity: 0;
	transform: translateY(20px);
	}
    to {
	opacity: 1;
	transform: translateY(0);
	}
}

p.subtit br {
    display: none;
}

.gradient-bg1,
.gradient-bg3 {
    position: absolute;
    background: linear-gradient(
    90deg,
    #aa0000,
    #557ec9,
    #5f34d4,
    #010042,
    #aa0000,
    #5f34d4
    );
    background-size: 400% 100%;
}

.gradient-bg2,
.gradient-bg4 {
    position: absolute;
    background: linear-gradient(
    90deg,
    #010042,
    #557ec9,
    #aa0000,
    #5f34d4,
    #010042,
    #aa0000
    );
    background-size: 400% 100%;
}

.gradient-bg5,
.gradient-bg6,
.gradient-bg7 {
    position: absolute;
    background: linear-gradient(
    90deg,
    #000,
    #555,
    #999,
    #ddd,
    #555,
    #000
    );
    background-size: 400% 100%;
}

.gradient-bg1 {
    width: 100px;
    height: 30px;
    top: 20%;
    left: 50%;
    animation: moveGradient1 5s linear infinite;
}

.gradient-bg2 {
    width: 70px;
    height: 20px;
    top:38%;
    left: 20%;
    animation: moveGradient1 5.5s linear infinite;
}

.gradient-bg3 {
    width: 80px;
    height: 25px;
    top: 60%;
    left: 72%;
    animation: moveGradient1 6s linear infinite;
}

.gradient-bg4 {
    width: 100px;
    height: 30px;
    top: 80%;
    left: 30%;
    animation: moveGradient1 7s linear infinite;
}

.gradient-bg5 {
    width: 60px;
    height: 10px;
    top: 30%;
    left: 70%;
    animation: moveGradient1 7.5s linear infinite;
}

.gradient-bg6 {
    width: 60px;
    height: 10px;
    top: 60%;
    left: 20%;
    animation: moveGradient1 6.5s linear infinite;
}

.gradient-bg7 {
    width: 60px;
    height: 10px;
    top: 70%;
    left: 60%;
    animation: moveGradient1 5s linear infinite;
}

/* アニメーション定義 */
@keyframes moveGradient1 {
  0% {
    background-position: 0% 50%;
    transform: translateX(400%);
    opacity: 0;
  }
  20% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    background-position: 100% 50%;
    transform: translateX(-100%);
    opacity: 0;
  }
}




/* =================================
		トップページ
================================= */
section h2 {
    font-family: 'Oswald', sans-serif;
    margin: 0 auto;
    color: #828384;
    font-weight: bold;
    font-size: 400%;
    text-align: center;
    line-height: 1.2;
}

.headline {
  position: relative;
  display: inline-block;
  font-weight: bold;
  color: transparent;
  overflow: hidden;
  padding: 0 10px;
}

/* アニメーションが始まる前は非アクティブ状態 */
.headline::before,
.headline::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  opacity: 0;
}

/* アニメーションがスタートしたらactiveを追加 */
.headline.active::before {
  z-index: 1;
  opacity: 1;
}

.headline.active::after {
  content: attr(data-text);
  width: 100%;
  z-index: 2;
  opacity: 0;
}

.headline.active::before {
   background: black;
   animation: bgSlideIn 0.5s ease forwards, bgSlideOut 0.5s ease forwards 1s;
}

.headline.active::after {
    color: white;
    animation: textAppear 0.4s ease forwards 0.5s, textToGray 0.4s ease forwards 1s;
}

.headline.hl_wh_ttl.active::before {
   background: white;
   animation: bgSlideIn 0.5s ease forwards, bgSlideOut 0.5s ease forwards 1s;
}

.headline.hl_wh_ttl.active::after {
    color: black;
    animation: textAppear 0.4s ease forwards 0.5s, textToGray2 0.4s ease forwards 1s;
}

/* 背景が左→右に出る */
@keyframes bgSlideIn {
  0% {
    width: 0%;
    left: 0;
  }
  100% {
    width: 100%;
    left: 0;
  }
}

/* 背景が右へ抜けていく */
@keyframes bgSlideOut {
  0% {
    width: 100%;
    left: 0;
  }
  100% {
    width: 0%;
    left: 100%;
  }
}

/* 白文字が出る */
@keyframes textAppear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* グレー文字に変わる */
@keyframes textToGray {
  0% {
    color: white;
  }
  100% {
    color: #828384;
  }
}

/* ホワイト文字に変わる */
@keyframes textToGray2 {
  0% {
    color: black;
  }
  100% {
    color: white;
  }
}


/* スライダー */
 .slider {
    width: 100%;
    margin: 100px auto 0;
    overflow: hidden;
}

.carousel {
  position: relative;
  overflow: hidden;
}

.track {
    display: flex;
    gap: 40px;
    will-change: transform;
}

.item {
    flex: 0 0 auto;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* スライダー終了 */

/* パララックス */

section#wor {
    background-color: #000000b0;
}

/* 背景の設定 */
.parallax-bg {
  position: absolute;
  inset: 0 auto auto 0;      /* top:0; left:0; */
  width: 100%;
  height: 140%;              /* 余白つけて上下に動けるように */
  background: url("img/work-bg.jpg") center top / cover no-repeat;
  background-size: auto 100%;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  z-index: -1;
}


/* パララックス終了 */


.mis_cnt {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.sb_1 p {
    font-size: 100%;
    line-height: 1.8;
}

.work_area {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 100px;
    position: relative;
}

section#wor h3 {
    color: #828384;
    font-size: 240%;
    text-align: center;
    margin-bottom: 30px;
}

.wk_box {
    width: 30%;
    color: white;
}

.wkb_ig {
    width: 100%;
    height: 100%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    vertical-align: bottom;
    padding-top: 68%;
    position: relative;
}

.wk_box img {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.wk_box iframe {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.wk_box h4 {
    font-size: 150%;
    font-weight: bold;
    text-align: center;
    padding: 20px 0;
}

.wc_a p {
    text-align: left;
}

ul.skl_dtl {
    display: flex;
    flex-wrap: wrap;
}

ul.skl_dtl li {
    background: black;
    padding: 0 10px;
    margin-right: 5px;
    font-size: 86%;
}

p.mv_btn {
    margin: 40px 0 0;
    text-align: right;
}


.top_sec_3 {
  position: relative;
  background-color: #181615;
  transition: background-color 0.8s ease, color 0.8s ease;
}

/* スクロールで入った時の状態 */
.top_sec_3.active {
  background-color: #EBE7E1;
}

.serv_area {
    margin-top: 100px;
}

.pro_b {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.pro_b.pb_01,
.pro_b.pb_02 {
    margin-bottom: 80px;
}

.pro_ig {
    width: 100%;
    max-width: 350px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    background: white;
    border: 1px solid #ddd;
}

.pro_ig img {
    width: 90%;
    max-width: 200px;
}

.pro_c {
    width: 100%;
    max-width: 400px;
    margin-left: 20px;
}

.pro_b li {
    display: inline-block;
    width: 100px;
}

.pro_b li span {
    display: block;
    font-size: 90%;
    padding: 2px;
    text-align: center;
    color: white;
}

span.wt_mk {
    background: #aa0000;
}

span.ff_mk {
    background: #007e10;
}

span.uf_mk {
    background: #bf992b;
}

.pro_c h3 {
    font-size: 180%;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid;
}

.wc_a p a,
.pro_b p a {
  position: relative;
  font-size: 90%;
  padding-bottom: 3px;
  transition: color 0.3s ease;
}

/* 色設定 */
.wc_a p a {
    color: white;
}

.pro_b p a {
    color: #555;
}

/* アイコン */
.wc_a p a:after,
.pro_b p a:after { 
  font-family: 'Material Icons';
  content: "chevron_right";
  margin-left: 5px;
  vertical-align: -1px;
}

/* ===== 下線（通常時：見えている） ===== */
.wc_a p a::before,
.pro_b p a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: left center; /* ← 左端から伸びる！ */
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ===== hover時：一度消えて→左→右に再出現 ===== */
.wc_a p a:hover::before,
.pro_b p a:hover::before {
  animation: underlineLeft 0.5s forwards ease;
}

/* アニメーション定義 */
@keyframes underlineLeft {
  0% {
    transform: scaleX(1);
    opacity: 1;
  }
  30% {
    transform: scaleX(0);
    transform-origin: left center; /* 左端を起点にして消す */
    opacity: 0;
  }
  31% {
    transform-origin: left center; /* ← 左端から再び出現！ */
  }
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}

.top_sec_4 {
  background-color: #EBE7E1;
}

.comp_area {
    width: 100%;
    max-width: 728px;
    margin: 100px auto 0;
}

.comp_area h3 br {
    display: none;
}

.comp_area h3 {
    font-size: 200%;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
}

.comp_tab_box {
    margin-top: 100px;
}

table.comp_tab {
    width: 100%;
    border-bottom: 1px solid #ccc;
}

table.comp_tab tr {
    border-top: 1px solid #ccc;
}

table.comp_tab th {
    padding: 20px 30px;
    vertical-align: middle;
    text-align: right;
}

table.comp_tab td {
    padding: 20px 30px;
    vertical-align: middle;
}

/* =================================
		スクロールイン
================================= */
.scroll_up {
    transition: 0.8s ease-in-out;
    transform: translateY(30px);
    opacity: 0;
}

.scroll_up.on {
    transform: translateY(0);
    opacity: 1.0;
}

.scroll_left {
    -webkit-transition: 0.8s ease-in-out;
    -moz-transition: 0.8s ease-in-out;
    -o-transition: 0.8s ease-in-out;
    transition: 0.8s ease-in-out;
    transform: translateX(-30px);
    opacity: 0;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
}

.scroll_left.on {
    opacity: 1.0;
    filter: alpha(opacity=100);
    -moz-opacity: 1.0;
    transform: translateX(0);
}

.scroll_right {
    -webkit-transition: 0.8s ease-in-out;
    -moz-transition: 0.8s ease-in-out;
    -o-transition: 0.8s ease-in-out;
    transition: 0.8s ease-in-out;
    transform: translateX(30px);
    opacity: 0;
    filter: alpha(opacity=0);
    -moz-opacity: 0;
}

.scroll_right.on {
    opacity: 1.0;
    filter: alpha(opacity=100);
    -moz-opacity: 1.0;
    transform: translateX(0);
}

/* =================================
		固定ページ
================================= */



section.page_sec {
    background-color: #EBE7E1;
    min-height: calc(100vh - 215px);
}

section.page_sec h2 {
    font-size: 172%;
    margin: 0 0 50px;
    max-width: 100%;
    text-align: center;
}


/* =================================
		メールフォーム
================================= */
.contact_area {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

dl.mail_form {
    width: 100%;
    margin-top: 50px;
}

dl.mail_form dt {
    font-size: 110%;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 10px;
}

dl.mail_form dt span {
    font-weight: bold;
}

span.ness {
    font-size: 80%;
    display: inline-block;
    width: 50px;
    background: #aa0000;
    text-align: center;
    color: white;
    font-weight: normal !important;
    margin-left: 20px;
}


dl.mail_form input:not([type="checkbox"]),
dl.mail_form textarea {
    border: 1px solid #ddd;
    padding: 14px 20px;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    width: 100%;
}

dl.mail_form textarea {
    min-height: 250px;
}

/* チェックボックスを非表示にして、見た目をカスタマイズ */
.checkbox_area input[type="checkbox"] {
  appearance: none;          /* デフォルトのチェックボックスを消す */
  -webkit-appearance: none;  /* Safari対応 */
  width: 30px;
  height: 30px;
  border: 2px solid #ccc;    /* 外側の丸 */
  border-radius: 50%;        /* 丸くする */
  margin-right: 6px;
  vertical-align: middle;
  cursor: pointer;
  position: relative;
  transition: border-color 0.3s;
  background-color: white;
}

/* チェックされたときの中の●を作る */
.checkbox_area input[type="checkbox"]:checked::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background-color: #01015a;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.checkbox_area input[type="checkbox"]:checked {
  border: 2px solid #01015a;
}

/* ホバー時の効果（おしゃれに） */
.checkbox_area input[type="checkbox"]:hover {
  border-color: #01015a;
}

dd.checkbox_area label {
    display: inline-block;
    margin-bottom: 10px;
}

dd.checkbox_area label:last-child {
    margin-bottom: 0px;
}


.btn_area {
    margin-top: 40px;
    text-align: center;
}

.btn_area button {
  position: relative;
  display: inline-block;
  padding: 12px 0;
  width: 280px;
  background: #00005a;
  color: #fff;
  border: none;
  font-size: 100%;
  cursor: pointer;
  overflow: hidden; /* アニメーション領域を隠す */
  transition: color 0.3s ease;
}

/* 疑似要素で赤い背景を作る */
.btn_area button::before {
  content: "";
  position: absolute;
  top: 0;
  right: 100%;               /* 最初は右の外に */
  width: 100%;
  height: 100%;
  background: #d50000;       /* 赤色 */
  transition: right 0.4s ease;
  z-index: 0;
}

/* ホバーで右から左に赤が流れる */
.btn_area button:hover::before {
  right: 0;
}

/* テキストを最前面に */
.btn_area button span {
  position: relative;
  z-index: 100;
}

.btn_area button:after {
    font-family: "Material Icons";
    content: "chevron_right";
    position: absolute !important;
    top: 50%;
    right: 5px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

button.sbm_gly {
    background: #333333;
}

.err {
    color: red;
    font-weight: bold;
}

/* =================================
		プライバシーポリシー
================================= */

/* ▼ 開くトリガー（リンク風ボタン） */
label.pp_btn {
    color: #555;
    text-decoration: underline;
    cursor: pointer;
    font-size: 90%;
}
label.pp_btn:before {
    font-family: 'Material Icons';
    content: "chevron_right";
    vertical-align: -2px;
}
label.pp_btn:hover {
    text-decoration: underline;
}
p.pp_p {
    text-align: right;
}

/* ▼ 中身スクロールボックス */
.mf_pp_box {
    /* 高さは画面に収まるように最大値で管理 */
    max-height: calc(90vh - 140px); /* 余白・ヘッダー・クローズボタン分を差し引き */
    overflow: auto;
    border: 1px solid #ddd;
    font-size: 90%;
    padding: 30px 20px 40px;
    margin-bottom: 30px;
    background: white;
}
.mf_pp_box h3 {
    font-size: 140%;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    color: #828384;
}
.mf_pp_box dl dt {
    margin: 30px 0 5px;
    font-weight: bold;
    font-size: 110%;
}

/* ▼ 黒背景（初期は非アクティブ＆透明） */
.popup-background{
    position: fixed;
    z-index: 9100;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;          /* クリック無効 */
    transition: opacity 0.35s ease;
}

/* ▼ 本体（中央・ふわっと表示） */
.popup{
    position: fixed;
    z-index: 9999;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 760px;
    max-height: 90vh;              /* 画面からはみ出さない */
    padding: 24px 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);

    /* アニメの初期値（少し小さく・ちょい上・透明） */
    transform: translate(-50%, -47%) scale(0.96);
    opacity: 0;
    pointer-events: none;          /* 非表示時はクリック無効 */
    transition: transform 0.35s ease, opacity 0.35s ease;
}

/* ▼ 閉じるボタン */
.popup > .close-button{
    position: absolute;
    top: 10px;
    right: 16px;
    color: #333;
    font-size: 150%;
    font-weight: bold;
    cursor: pointer;
}

/* ▼ チェックボックス自体は非表示（トグル用） */
.popup-flag{
    display: none;
}

/* ▼ チェックONで表示（背景も本体も有効化） */
.popup-flag:checked + .popup-background{
    opacity: 1;
    pointer-events: auto;
}
.popup-flag:checked + .popup-background + .popup{
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);  /* ふわっと拡大＆中央へ */
    pointer-events: auto;
}



/* メール送信完了画面
--------------------------------- */

.mail_res.grn {
    text-align: center;
    padding: 20px 0;
}

/* =================================
		特定商取引法に基づく表記
================================= */

dl.terms_area {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

dl.terms_area dt {
    font-weight: bold;
    margin: 40px 0 5px;
}

ul.buy_flow {
    list-style: decimal;
    padding-left: 34px;
}

ul.buy_flow.nomark {
    list-style: circle;
}
/* =================================
		ブログ
================================= */


/* =================================
		サイドバー
================================= */


/* =================================
		トップボタン
================================= */
.js-scroll-fadein {
    transition: opacity 1s;
    visibility: hidden;
    opacity: 0;
}

.is-fadein {
    visibility: visible;
    opacity: 1;
}

.arrow{
    position: fixed;
    right: -1.5px;
    bottom: 90px;
    color: #fff;
    cursor: pointer;
    background-color: #828384;
    border-radius: 2px 0 0 2px;
    line-height: 0;
    padding: 18px 24px;
    transition: all 0.2s ease-in-out;
    z-index: 9000;
}



/* =================================
		フッター
================================= */
footer {
    padding: 5px 20px;
    background-color: #EBE7E1;
}

.f_area {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 30px 40px;
    background: #333;
    border-radius: 10px;
    color: white;
    color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
}

.f_area a {
    color: white;
}

.f_area h2 {
    margin-bottom: 10px;
}

.fa01 {

}

.fa02 {
    font-size: 90%;
}

.fa02 p {
    margin: 0;
}


.f_area a:before {
    font-family: 'Material Icons';
    content: "chevron_right";
    vertical-align: -2px;
}

.f_area a:hover {
    text-decoration: underline;;
}

p.copy {
    margin: 0;
    padding-bottom: 3px;
    text-align: center;

}

/*=====================================================
	  PC/タブレット 1024px
===================================================== */
@media screen and (max-width: 1024px) {

.cth_ig_lf,
.cth_ig_rt {
    width: 20%;
}

.catch_area h2 {
    font-size: 200%;
}

p.subtit {
    font-size: 100%;
}

.mis_cnt {
    padding: 0 40px;
}

.sb1_box {
    margin-left: 30px;
}

section#wor,
section#pro,
section#com,
section#cnt,
section#law {
    padding: 150px 40px;
}

.wk_box h4 {
    font-size: 120%;
}


}/*===	PC/タブレット 1024px  === */


/*=====================================================
	  タブレット 820px
===================================================== */
@media screen and (max-width: 820px) {

header {
    width: 100%;
    height: auto;
}

.h_area {
    display: block;
    text-align: center;
    padding-bottom: 10px;
}

nav {
    margin-top: 20px;
}

.catch_area h2 {
    font-size: 140%;
}

p.subtit br {
    display: inline;
}

.mis_cnt {
    display: block;
}

.headline {
    padding: 0;
}

.sb1_box {
    margin-left: 0;
    margin-top: 50px;
}

.work_area {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.wk_box {
    width: 100%;
    margin-bottom: 80px;
}

.f_area {
    justify-content: start;
}

.fa02 {
    margin-left: 80px;
}




}/*===	タブレット 820px  === */


/*=====================================================
	  スマートフォン 600px
===================================================== */
@media screen and (max-width: 600px) {

.h_area {
    padding: 20px;
    text-align: left;
}
.mv_area {
    flex-wrap: wrap;
    padding-top: 100px;
    height: calc(100vh - 120px);
}

.catch_area {
    width: 100%;
    padding: 20px;
}

.catch_area h2 {
    font-size: 112%;
}

p.subtit {
    font-size: 80%;
}

.cth_ig_lf,
.cth_ig_rt {
    width: 100%;
}

.cth_ig_rt {
    text-align: right;
}

img.tlf_ig,
img.trt_ig {
    width: 24%;
}

.gradient-bg6 {
    top: 80%;
    left: 10%;
}

.gradient-bg3 {
    top: 90%;
    left: 20%;
}

.gradient-bg6 {
    top: 80%;
    left: 10%;
}

/*ハンバーガーメニュー*/
nav {
    margin-top: 0;
}

nav label {
    display: block;
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 9999;
}

nav ul {
    display: block;
    padding: 40px 0;
    background: white;
    margin: 80px 20px;
    border-radius: 12px;
}

nav ul li {
    margin: 20px 0;
    text-align: center;
}

.openbtn4{
    position: relative;/*ボタン内側の基点となるためrelativeを指定*/
    background:#00005a;
    cursor: pointer;
    width: 40px;
    height:40px;
    border-radius: 20px;
}

/*ボタン内側*/
.openbtn4 span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    border-radius: 5px;
    background: white;
    width: 45%;
}

.openbtn4 span:nth-of-type(1) {
    top:13px; 
}

.openbtn4 span:nth-of-type(2) {
    top:19px;
}

.openbtn4 span:nth-of-type(3) {
    top:25px;
}

.openbtn4.active {
    background: white;
}

.openbtn4.active span{
    background: #00005a;
}

.openbtn4.active span:nth-of-type(1) {
    top: 14px;
    left: 50%;
    transform: translate(-50%,6px) rotate(-45deg);
    width: 30%;
}

.openbtn4.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn4.active span:nth-of-type(3){
    top: 26px;
    left: 50%;
    transform: translate(-50%,-6px) rotate(45deg);
    width: 30%;
}

nav input[type="checkbox"].on-off + div {
	position: fixed;
    	top: 0;
    	right: 0;
    	width: 72%;
	height: 100%;
	margin-right: -72%;
	z-index: 9910;
	background: rgba(0,0,0,0.85);
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

nav input[type="checkbox"].on-off:checked + div {
	height: 100%;
	margin-right: 0px;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	-ms-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
}

.sp_menu:after {
    content: "ONE'S ACTION";
    color: white;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}
/*ハンバーガーメニュー終了*/

section {
    padding: 100px 0;
}

section#wor, section#pro, section#com, section#cnt, section#law {
    padding: 100px 20px;
}

section h2 {
    font-size: 280%;
}

section#wor h2 {
    margin-bottom: 50px;
}

.mis_cnt {
    padding: 0 20px;
}

.sb1_box br {
    display: none;
}

section#wor h3 {
    margin-bottom: 10px;
}

.wk_box h4 {
    font-size: 150%;
}

.serv_area {
    margin-top: 50px;
}

.pro_b {
    display: block;
}

.pro_ig {
    width: 100%;
    max-width: 300px;
    height: 300px;
    margin-right: 0;
    margin: 0 auto 20px;
}

.pro_c {
    width: 100%;
    max-width: 300px;
    margin-left: 0px;
    margin: 0 auto;
}

.comp_area {
    margin: 50px auto 0;
}

.comp_area h3 br {
    display: inline;
}

table.comp_tab th {
    padding: 20px 0px;
    width: 66px;
}

.popup {
    padding: 20px;
}

.popup > .close-button {
    top: auto;
    right: auto;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 180%;
}

.f_area {
    display: block;
}

.fa02 {
    margin-left: 0;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid white;
}




}/*===	スマートフォン 600px  === */