@charset "UTF-8";
/*
 Theme Name: SANGO Child
 Theme URI: https://saruwakakun.design
 Author: SARUWAKA
 Author URI: https://saruwakakun.com
 Template: sango-theme
 Version: 3.0
*/
/*こちらはSANGOの子テーマ用CSSです。以下にCSSを記入していきましょう。*/


/*共通*/
html{
    scroll-behavior:smooth;
}

body{
    color:#5E381E;
}

h1,h2,h3,h4,h5,h6{
    color:#5E381E;
}

.h2-sy {
    border-bottom: 5px solid #ff6666;
    padding-bottom: 10px;
}
.h2-capsule{
	border-bottom: 5px solid #239de8;
    padding-bottom: 10px;
}

.h2-license{
	border-bottom: 5px solid #ff9429;
    padding-bottom: 10px;
}

.h2-oem{
	border-bottom: 5px solid #009579;
    padding-bottom: 10px;
}

.h2-online-shop{
	border-bottom: 5px solid #49c3f2;
    padding-bottom: 10px;
}

/*段落大きくしたとき勝手に入るマージンボトム消し*/
.entry-content p {
  margin-bottom: 0.5em !important;
}

/*ロゴ*/
.hanging-logo{
    position:relative;
    top:-20px;
}
/*--------------------------------------------------------------------------------*/

/*メイン*/
/* トップページのメインキャッチコピー */
.top-copy{
	position:absolute;
	left:15%;
	bottom:15%;
	width:27%;
	z-index:20;
}

/* カラム内の画像 */
.top-copy img{
	display:block;
	width:100%;
	height:auto;
}


.manga{
	animation: floaty 3s ease-in-out infinite;
}

.sankaku{
    position:absolute;
	width:28%;
	right:18%;
	bottom:20%;
	animation: floaty 4.5s ease-in-out infinite;
}

.hover-img{
    transition: all .3s ease;
}

.hover-img:hover{
    transform: translateY(-8px);
    filter: brightness(1.20);
}

@keyframes floaty{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-8px);
    }

}


/***********************************************************************************/

/* ==========================================
   サービスボタン4個
   PC：4個合計で最大1200px
========================================== */

/* 4つを包んでいる横並び */
.service-buttons {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: stretch !important;

  gap: 12px !important;

  width: 100% !important;
  margin: 0 auto !important;

  box-sizing: border-box !important;
}


/* ==========================================
   各ボタン共通
========================================== */

.service-buttons > .service-button {
  /* ★勝手に横へ伸びないようにする */
  flex-grow: 0 !important;
  flex-shrink: 0 !important;

  min-width: 0 !important;
  margin: 0 !important;

  padding: 6px 10px !important;

  box-sizing: border-box !important;

  border-radius: 8px !important;
  overflow: hidden !important;

  /* 立体的な影 */
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.28) !important;

  cursor: pointer;

  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    filter 0.12s ease;
}


/* ==========================================
   PCでのボタン幅
   合計 約1200px
========================================== */

/* ① 赤：一番長い */
.service-buttons > .service-button:nth-child(1) {
  flex-basis: 390px !important;
  width: 390px !important;
  background: #ff5e62 !important;
}

/* ② 青 */
.service-buttons > .service-button:nth-child(2) {
  flex-basis: 290px !important;
  width: 290px !important;
  background: #29a8df !important;
}

/* ③ オレンジ */
.service-buttons > .service-button:nth-child(3) {
  flex-basis: 260px !important;
  width: 260px !important;
  background: #ff9d22 !important;
}

/* ④ 緑 */
.service-buttons > .service-button:nth-child(4) {
  flex-basis: 224px !important;
  width: 224px !important;
  background: #00a85a !important;
}


/* ==========================================
   中の画像
========================================== */

.service-buttons .service-button figure,
.service-buttons .service-button .wp-block-image {
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}


/* ★画像は拡大しない */
.service-buttons .service-button img {
  display: block !important;

  width: auto !important;
  height: auto !important;

  max-width: 100% !important;
  max-height: 65px !important;

  margin: 0 auto !important;
}


/* ==========================================
   マウスを乗せた時
========================================== */

.service-buttons > .service-button:hover {
  filter: brightness(1.12);

  transform: translateY(-2px);

  box-shadow:
    0 7px 0 rgba(0, 0, 0, 0.24) !important;
}


/* ==========================================
   押した時
========================================== */

.service-buttons > .service-button:active {
  transform: translateY(5px) !important;

  box-shadow: none !important;

  filter: brightness(1.05);
}


/* ==========================================
   1200pxより狭い画面
========================================== */

@media (max-width: 1240px) {

  .service-buttons {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* この幅では比率で縮ませる */
  .service-buttons > .service-button {
    flex-shrink: 1 !important;
    width: auto !important;
  }

  .service-buttons > .service-button:nth-child(1) {
    flex-basis: 32.5% !important;
  }

  .service-buttons > .service-button:nth-child(2) {
    flex-basis: 24.2% !important;
  }

  .service-buttons > .service-button:nth-child(3) {
    flex-basis: 21.7% !important;
  }

  .service-buttons > .service-button:nth-child(4) {
    flex-basis: 18.7% !important;
  }
}


/* ==========================================
   スマホ
========================================== */

@media (max-width: 768px) {

  .service-buttons {
    flex-wrap: wrap !important;
    gap: 10px !important;

    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .service-buttons > .service-button:nth-child(1),
  .service-buttons > .service-button:nth-child(2),
  .service-buttons > .service-button:nth-child(3),
  .service-buttons > .service-button:nth-child(4) {
    flex: 0 0 calc(50% - 5px) !important;
    width: calc(50% - 5px) !important;
  }
}


/* コンテンツ幅を1200px */
.one-column #inner-content {
    max-width: 1200px;
}


/*カプセルトイページ・コンテンツ幅大きく*/
.article-footer .footer-contents .sns-btn {
display: none;
}

.page-id-80 #main,
.page-id-1175 #main {
  max-width: 1200px;
  margin: 0 auto;
}


/* top真ん中のコンテンツエリアだけを1200pxに広げる */
#content #inner-content.inner-content.wrap,
#content #inner-content main#main,
#content #inner-content .entry-content {
  max-width: 1200px !important;
  width: 100% !important;
}


/*マウスオーバーの設定*/
.sgb-header-nav-pc-wrapper a {
  color: #333 !important;
  text-decoration: none;
}
.sgb-header-nav-pc-wrapper a:hover{
    color:#ff9700 !important;
    text-decoration-color:#ff9700 !important;
}

.sgb-header-nav-pc-wrapper a{
    font-size:23px !important;
}


/*フッターアイコン*/
.shop-title,
.shop-title2{
	color:#fff;
	font-size:23px;
	font-family:"Zen Maru Gothic", sans-serif;
	font-weight:700;
	position:relative;
}

.shop-title::before{
	content:"\f07a";
	font-family:"Font Awesome 6 Free";
	font-weight:900;
	color:#fff;
	margin-right:10px;
}

/*フッター*/
.footer-banner img{
	transition: opacity .3s ease;
}

.footer-banner a:hover img{
	opacity: .7;
}


/*フッターリンク*/
.footer-custom a,
.footer-custom a:visited{
	color:#fff;
	text-decoration:none;
	transition:.3s;
	font-size:17px;
	font-weight:500;
	font-family:"Zen Maru Gothic", sans-serif !important;
}

.footer-custom a:hover{
	color:#fff;
	opacity:.7;
}

/*個人情報・ポジティブリスト*/
.content900{
	max-width:900px;
	margin-left:auto;
	margin-right:auto;
	line-height:1.8;
}

.content900 h2{
	border-bottom:4px solid #ff9429;
	padding-bottom:12px;
	margin-bottom:20px;
}

.content900 h4{
	background-color:#fff6c7;
	padding:4px 16px;
	
}


/*モバイル設定************************************************************************************/
@media (max-width: 768px){	
	
	/* メインの背景ズレ調整*/
	header{
		margin-bottom: 1rem;
	}	
	
	
	.main-visual{
		position:relative;
	}

	/* キャッチコピーの箱 */
	.top-copy{
		position:absolute;
		left:3%;
		top:40%;
		width:60%;
		margin:0;
		z-index:20;
	}

	/* キャッチコピー画像そのもの */
	.top-copy img{
		display:block;
		width:100%;
		height:auto;
	}
	
	
.sankaku{
	right:5%;
	width:40%;
	bottom:40%;
}

.wp-block-heading{
	font-size:1.6em !important;
}
	
.footer-custom{
	display:flex;
	flex-direction:column;
	align-items:flex-start;
	gap:10px;
}

.footer-all{
	padding-left:20px;
	padding-right:20px;
	}	
	
	.x{
		margin-bottom:40px;
	}
	

}


/*新卒採用************************************************************************************/

.page-id-1440 #content,
.page-id-20 #content{
    background:#fffdeb;
}

.page-id-1440,
.page-id-20,
.page-id-2002{
--sgb-main-color: #ffef5f;
}

.line-space{
	line-height: 1.5;
}

/*メインふきだし*/
.main-balloon{
    animation: balloonWiggle 2s ease-in-out infinite;
}

@keyframes balloonWiggle{

    0%{
        transform: rotate(0deg);
    }

    25%{
        transform: rotate(-4deg);
    }

    50%{
        transform: rotate(0deg);
    }

    75%{
        transform: rotate(4deg);
    }

    100%{
        transform: rotate(0deg);
    }

}

.main-balloon{
	position:absolute;
	left:24%;
	top:10px;
	}

/*メインなみなみ*/
.recruit-fv{
    position: relative;
    background: #ffef5f;
}

.recruit-fv::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-30px;
    width:100%;
    height:60px;

    background:
        radial-gradient(circle at 30px 0,
        transparent 30px,
        #fffdeb 31px);

    background-size:60px 60px;
    background-repeat:repeat-x;
}

/*ファーストビューメッセージがふわっとする*/
.fv-copy{
    margin-top:-145px !important;
    position:relative;
    z-index:10;
}

.fade-up{
    opacity:0;
    transform:translateY(30px);
    transition:all .8s ease;
}

.fade-up.show{
    opacity:1;
    transform:translateY(0);
}

/* 共通のふよふよ */

.floating{
    animation: floatAnimal 3s ease-in-out infinite;
}

@keyframes floatAnimal {

    0%{
        transform: translateY(0);
    }

    50%{
        transform: translateY(-15px);
    }

    100%{
        transform: translateY(0);
    }

}

.fv-main{
position:relative;
}

/* アヒルふよふよ */

.ahiru{
	position:absolute;
	left:15%;
	top:450px;
	animation: floatAnimal 3s ease-in-out infinite;
}

/* メンダコふよふよ */

.mendako{
	position:absolute;
	right:10%;
	top:500px;
	animation: floatAnimal 4s ease-in-out infinite;
	}

/*画像フェードイン*/
	.fade-left{
	opacity: 0;
	transform: translateX(-80px);
	transition: all .8s ease;
	}
	.fade-left.show{
	opacity: 1;
	transform: translateX(0);
	}


/*画像右からフェードイン*/
.fade-right{
    opacity: 0;
    transform: translateX(150px);
    transition: all .8s ease;
}

.fade-right.show{
    opacity: 1;
    transform: translateX(0);
}

/*押しポイント*/
.card1{ transition-delay:.1s; }
.card2{ transition-delay:.2s; }
.card3{ transition-delay:.3s; }
.card4{ transition-delay:.4s; }
.card5{ transition-delay:.5s; }
.card6{ transition-delay:.6s; }

.wp-element-caption{
	color: #ffffff !important;
}

/*タイトル装飾*/
.section-title{
    display:flex;
    align-items:flex-start;
    justify-content:center;
    gap:20px;
}

.section-title::before,
.section-title::after{
    content:"";
    flex:1;
    border-top:4px dashed #fff;
    margin-top:25px;
}

.section-title img{
    width:100%;
}

/*ポップイン*/
.pop-in{
    opacity:0;
    transform:scale(.8);
    transition:all .5s ease;
}

.pop-in.show{
    opacity:1;
    transform:scale(1);
}

/*ふきだし*/
.card-image{
	position:relative;
}

.balloon1{
	position:absolute;
	left:18%;
	top:1200px;
}


.balloon2{
	position:absolute;
	right:18%;
	top:1150px;
	}

.balloon{
    opacity:0;
}

.balloon.show{
    animation: balloonPop .6s ease forwards;
}

.balloon1.show{
    animation-delay:.5s;
}

.balloon2.show{
    animation-delay:.8s;
}


@keyframes balloonPop{

    0%{
        opacity:0;
        transform:scale(.5);
    }

    70%{
        opacity:1;
        transform:scale(1.1);
    }

    100%{
        opacity:1;
        transform:scale(1);
    }

}

/*画像カドマル*/
.card-image img{
border-radius:10px;
}

.card-image{
    margin-bottom:20px;
}

/*募集要項*/
.recruit-table{
    background:#fff;
    border-radius:30px;
    padding:40px;
}

/*テーブル設定*/
.recruit-table td:first-child{
    width:140px;
	color:#ff9429;
	font-weight:700;
}

/*エントリーボタン*/
.entry-btn{
    background:#ff9429;
    border-radius:999px;
    box-shadow:0 8px 0 #5e381e;
    padding:25px 40px;
    width:fit-content;
    margin:auto;
    transition:.3s;
}

.entry-btn:hover{
	background:#aa6933;
    transform:translateY(4px);
    box-shadow:0 4px 0 #5e381e;
}


/*採用モバイル設定*/
@media (max-width:768px){
	.fade-right{
transform:translateX(30px);
}

	.fade-right.show{
		transform:translateX(0);
}

	
	
	.fv-main{
		position:relative;
		padding-top:80px !important;
}
	
    /* 吹き出し全体の位置 */
    .main-balloon{
        left:12% !important;
        top:15px !important;
        z-index:20 !important;
    }

    /* 吹き出し画像そのもののサイズ */
    .main-balloon img{
        width:150px !important;
        max-width:none !important;
        height:auto !important;
    }

    /* メッセージ画像の外側 */
    .fv-copy{
        margin:-80px auto 0 !important;
        position:relative;
        z-index:10;
    }

    /* メッセージ画像そのもののサイズ */
    .fv-copy img{
        width:250px !important;
        max-width:85vw !important;
        height:auto !important;
    }
	
    /* ahiru mendakoふよふよ */	
	.ahiru,
	.mendako{
		top: auto;
		z-index: 30;
	}

	.ahiru{
		left: 5%;
		bottom: -20px;
	}

	.mendako{
		right: 5%;
		bottom: -30px;
	}

	.ahiru img,
	.mendako img{
		width: 75px;
		height: auto;
	}

	.fv-main,
	.recruit-fv{
		overflow: visible;
	}	
	
	/* 募集要項：スマホ表示 */
	.recruit-table{
		padding:30px 20px;
	}

	.recruit-table table,
	.recruit-table tbody,
	.recruit-table tr,
	.recruit-table td{
		display:block;
		width:100%;
		box-sizing:border-box;
	}

	/*テーブル標準の罫線を消す */
	.recruit-table tr,
	.recruit-table td{
		border:none !important;
	}

	/* 1項目ぶんの余白 */
	.recruit-table tr{
		padding:0 0 24px;
	}

	/* 項目名 */
	.recruit-table td:first-child{
		width:100%;
		padding:16px 0 8px;
		position:relative;
	}

	/* 項目名の上に線を作る */
	.recruit-table td:first-child::before{
		content:"";
		display:block;
		width:100%;
		height:2px;
		background:#e5e5e5;
		margin-bottom:14px;
	}

	/* 内容 */
	.recruit-table td:last-child{
		width:100%;
		padding:0;
	}
	
	.sp-hide img {
	display:none;
}
}

