/*
Theme Name: FromJ Child
Theme URI: https://wp-cocoon.com/
Template: cocoon-master
Author: わいひら
Author URI: https://nelog.jp/
Description: SEO・高速化・モバイルファースト最適化済みの無料テーマ
Tags: two-columns,left-sidebar,right-sidebar
Version: 1.3.6.1679634907
Updated: 2023-03-24 14:15:07

*/
/*石鹸LP*/
.soap_page_under {
	width: 95%;
	margin: 0 auto;
}
.soap_text {
	color: rgba(43, 128, 240,1);
	font-size: 20px;
}
.download {
	background: rgba(43, 128, 240,1);
	text-align: center;
	padding: 10px;
	font-size: 24px;
}
.download a {
	color: #fff;
	text-decoration: none;
}
.soap_page {
	max-width: 1200px;
	margin: 0 auto;
}
.soap_page figure img {
	width: 100%;
}
.soap_page figure {
	margin: 50px 0;
}
/*石鹸*/
.center {
	text-align: center;
	margin: 15px 0 0 !important;
}
.product_area {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	max-width: 1000px;
	margin: 0 auto;
}
.product_area_left {
	background: #EAE0A2;
}
.product_area_right {
	background: #ECD1CF;
}
.product_area_left  .price,
.product_area_right  .price {
	text-align: right;
	padding: 10px 20px;
	margin: 0;
}
.product_area_left p:first-of-type,
.product_area_right p:first-of-type{
	margin: 0;
	padding: 0 20px;
	height: 200px;
}
.product_area_left  .sekken,
.product_area_right  .sekken {
	font-size: 14px;
	margin:  10px 0 0;
	padding: 0 20px;
	height: 280px;
}
.product_area h3 {
	border: 0 !important;
	text-align: center;
	font-family: serif;
	position: relative;
	font-size: 36px;
	font-weight: 400;
	letter-spacing: 0.5em;
}
.product_area h3:after {
	content: "";
	background: url(https://fromj.jp/wp-content/uploads/2024/02/sekken.png);
	position: absolute;
	bottom: -27px;
	right: 20px;
	width: 57px;
	height: 57px;
}
.product_area div {
	width: 48%;
	margin: 2% auto;
	        padding: 0 0 1px;
}

@media screen and (max-width: 1230px) {
	.product_area h3 {
		font-size:clamp(20px, 2.5vw, 34px);
	}
}
@media screen and (max-width: 1100px) {
	.product_area h3:after {
		right: 10px;
	}
	.product_area_left p:first-of-type, .product_area_right p:first-of-type {
		height: 250px;
	}
}
@media screen and (max-width: 920px) {
	.product_area_left p:first-of-type, .product_area_right p:first-of-type {
		height: 300px;
	}
}
@media screen and (max-width: 900px) {
	.product_area_left p:first-of-type, .product_area_right p:first-of-type {
		height: 250px;
	}
}


/*ボタンアクション*/
a.btn_25 {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    height: 4rem;
    width: auto;
    padding: 0 4rem;
    border-radius: 100vw;
    background: #74c1c2;
    background-size: 400%;
    color: #fff;
    margin: 50px auto;
}

a.btn_25:hover::before {
    transform: scaleX(1);
}

a.btn_25:hover {
    color: #fff;
}

a.btn_25 span {
    position: relative;
    z-index: 1;
}

a.btn_25::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: 0 50%;
    width: 100%;
    height: inherit;
    border-radius: inherit;
    background: linear-gradient(82.3deg,
            rgba(39, 172, 217, 1) 10.8%,
            rgba(18, 83, 229, 1) 94.3%);
    transition: all 0.475s;
}
/*全体*/
.date-tags,.admin-pv,.footer-meta {
	display: none;
}
.entry-content {
	margin-bottom: 0 !important;
}
.entry-header,.archive-title {
	display: none;
}
.page-id-84 #slider,.blog #slider,.single #slider,.archive #slider  {
	display: none;
}
ul　{
	list-style-type: none !important;
}
a {
	text-decoration: none !important;
}
html,.content,.entry-content {
	margin-top: 0 !important;
}
.content-in {
	width: 100%;
}
.mob_sp_on {
	display: none;
}

/*画面全体に表示*/
#slider {
	width: 100%;
	height: 100vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
	position: relative;
}
.wrapper {
	position: relative;
	margin-bottom: 0 !important;
}

/*ヘッダー*/
.logo-text {
	display: none;
}
#header-container {
	width: 100%;
	background-color: white;
}
.header-in {
	margin: 0;
	width: 100%;
}
.pc_header {
	position: fixed;
	top: 0px;
	z-index: 9999;
	width: 100%;
	background: white;
}
.main_header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}
.main_header figure {
	width: 150px;
	margin: 0 10px;
}
.icon_box {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 10px;
}
.icon_box .sns_icon {
	width: 40px;
	margin: 7px;
}
.main_menu {
	margin-right: 0;
}
.main_menu ul {
	display: flex;
	justify-content: space-around;
	align-items: center;
	margin-left: auto;
	margin-right: 20px;
	margin-bottom: 0;
	list-style: none;
	width: 60%;
}
.main_menu ul li a {
	font-family: "Copperplate", "Copperplate Gothic Light", fantasy, sans-serif !important;
	color: #000 !important;
}
/*サイドメニュー*/
.side_menu {
  background: rgba(43, 128, 240,1);
  position: fixed;
  right: 0;
  top: 0;
  width: 250px;
  padding: 80px 15px 15px 15px;
  height: 100vh;	
}
.side_menu ul li {
	margin-bottom: 10px;
	padding: 5px 0;
}
.side_menu ul li a {
	color: #fff;
	font-family: "Copperplate", "Copperplate Gothic Light", fantasy, sans-serif !important;
}
/*モバイルメニュー*/
.menu-btn {
	display: none;
	width: 70px;
	height: 46px;
	position: fixed;
	top: 25px;
	right: 5px;
	cursor: pointer;
	text-align: center;
	z-index: 10000;
}
.menu-btn .hamburger {
	position: relative;
	width: 42px;
	height: 37px;
	margin: auto;
}
.menu-btn .hamburger div {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 2.5px;
	background: #000;
	transform: translateX(-50%) translateY(-50%);
	transition: 0.1s;
}
.menu-btn .hamburger div::before {
	position: absolute;
	content: "";
	width: 100%;
	height: 2.5px;
	background: #000;
	top: -10px;
	left: 0;
	transition: 0.3s;
}
.menu-btn .hamburger div::after {
	position: absolute;
	content: "";
	width: 100%;
	height: 2.5px;
	background: #000;
	bottom: -10px;
	left: 0;
	transition: 0.3s;
}
.menu-open .menu-btn {
	color: white;
}
.menu-open .menu-btn div {
	background: none;
}
.menu-open .menu-btn div::before {
	transform: translateY(10px) rotate(-45deg);
	background: #fff;
}
.menu-open .menu-btn div::after {
	transform: translateY(-10px) rotate(-135deg);
	background: #fff;
}
.menu-open .menu {
  display: block;
  z-index: 9999;
}
.menu {
  background: rgba(43, 128, 240,1);
  position: fixed;
  right: 0;
  top: 0;
  width: 250px;
  padding: 80px 15px 15px 15px;
  height: 100vh;
  display: none;
}
.menu ul li {
	margin-bottom: 10px;
	padding: 5px 0;
}
.menu ul li a {
	color: #fff;
	font-family: "Copperplate", "Copperplate Gothic Light", fantasy, sans-serif !important;
}

/*メインページ*/
.pc_header {
	display: none;
}
.main {
	width: 100% !important;
	padding: 0 250px 0 0 !important;
	margin: 0 !important;
	border: 0 !important;
}
.content-in {
	position: relative;
}
.sidebar {
	width: 250px !important;
	margin: 0 !important;
	position: fixed;
	top: 0;
	right: 0;
	z-index: 9999;
}
.top_img {
	position: relative;
	font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro','メイリオ', 'Meiryo', '游ゴシック', 'Yu Gothic', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif !important;
}
.top_img figure img {
	width: 100%;
}
.japan {
	position: absolute;
	top: 50px;
	left: 50px;
	line-height: 1.2;
}
.joy {
	position: absolute;
	top: 70%;
	left: 50px;
	line-height: 1.2;
}
.justice {
	position: absolute;
	top: 50px;
	right: 20px;
	line-height: 1.2;
}
.jump {
	position: absolute;
	right: 100px;
	top: 70%;
	line-height: 1.2;
}
.top_img_text {
	color: #fff;
	font-size: 3rem;
	font-weight: bold;
	margin: 0 !important;
	filter: drop-shadow(5px 5px 5px #8e918f);
}
.top_img_text_under {
	color: #8e918f;
	font-size: 2rem;
	font-weight: bold;
	margin: 0 !important;
}
.sub_title {
	background-color: transparent !important;
	font-family: "Copperplate", "Copperplate Gothic Light", fantasy, sans-serif !important;
	color: #2b80f0 !important;
	display: flex;
	align-items: center;
	margin-bottom: 0 !important;
	font-size: 46px !important;
	position: relative;
}
.sub_title span {
	font-size: 12px;
	padding: 20px;
	margin: 5px 0 0 0;
}
.sub_title span::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 350px;
  width: 0;
  border-top: solid 2px #2b80f0;  
}
.sub_title span.is-animated::before {
	animation: border_anim 3s linear forwards;
}
.sub_title_2 {
	background-color: transparent !important;
	font-family: "Copperplate", "Copperplate Gothic Light", fantasy, sans-serif !important;
	color: #2b80f0 !important;
	display: flex;
	align-items: center;
	margin-bottom: 0 !important;
	font-size: 46px !important;
	position: relative;
}
.sub_title_2 span {
	font-size: 12px;
	padding: 20px;
	margin: 5px 0 0 0;
}
.sub_title_2 span::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 475px;
  width: 0;
  border-top: solid 2px #2b80f0;  
}
.sub_title_2 span.is-animated::before {
	animation: border_anim_4 3s linear forwards;
}
.main_consept_inner figure Img {
	width: 100%;
}
.main_consept_inner {
	position: relative;
}
.main_consept_inner_jp {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);	
	z-index: 2;
	width: 80%;
}
.main_consept_inner_text_top {
	position: absolute;
	top: 120px;
	left: 45%;
	transform: translate(-40%,-50%);
	width: 80%;	
	z-index: 2;
	border: 0 !important;
	color: white !important;
	font-size: clamp(24px, 3.2vw, 36px) !important;
	letter-spacing: .2em;
	filter: drop-shadow(5px 5px 5px #000);
}
.main_consept_inner_text_under {
	position: absolute;
	bottom: 20px;
	left: 20px;
	width: 80%;	
	z-index: 2;
	border: 0 !important;
	color: white !important;
	font-size: 2rem !important;
	letter-spacing: .2em;
	line-height: 2 !important;
	filter: drop-shadow(5px 5px 5px #000);
}
#business {
	margin-top: 60px !important;
}
.business {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.business_box {
	width:  45%;
	margin: 2%;
}
.business_box:nth-child(2) {
	margin-top: 130px;
}
.business_box_text {
	font-size: 28px !important;
	padding: 0 !important;
	margin: 5px !important;
	border: 0 !important;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
.business_box_text span {
	font-size: 12px;
	padding: 5px;
	margin-left: 5px;
}
.company {
	background-color: #d4defc;
	padding: 50px 0;
}
/*テーブル*/
.company_detail {
	width: 90%;
	margin: auto;
}
.company_detail tbody {
	vertical-align: top; 
}
.company_detail tr:nth-of-type(2n+1) {
	background-color: transparent !important;
}
.company_detail td {
	border: 0 !important;
}
.company_detail td:first-child {
	letter-spacing: 1em;
	width: 150px;
}
.company_detail td:last-child {
	letter-spacing: 0.2em;
}
.company_detail td:first-child:after {
	content: "|"
}
.contact_img {
	width: 80%;
}
.info_banner {
	text-align: center;
}

/*アニメーション*/
@keyframes border_anim {
  0%{
    width: 0%;
  }
  100%{
    width: 60%;
  }
}

@keyframes border_anim_2 {
  0%{
    width: 0%;
  }
  100%{
    width: 30%;
  }
}

@keyframes border_anim_3 {
  0%{
    width: 0%;
  }
  100%{
    width: 90%;
  }
}

@keyframes border_anim_4 {
  0%{
    width: 0%;
  }
  100%{
    width: 50%;
  }
}
@keyframes border_anim_5 {
  0%{
    width: 0%;
  }
  100%{
    width: 39%;
  }
}

/*投稿*/
.news_list {
	width: 95%;
	margin: auto;
}
.cat {
	background: #ccc;
	padding: 5px;
	margin: 0 10px;
}
.date {
	padding-right: 10px;
}
.title {
	font-weight: bold;
}
.news_list ul {
	list-style: none;
	padding-left: 0;
	border-bottom: 1px solid #ccc;
}
.news_list ul a {
	position: relative;
	color: #000 !important;
}
.news_list ul li {
	padding: 30px 10px;
	border-top: 1px solid #ccc;
}
.news_list ul li:after {
	content: "";
	background: url(https://fromj.co.jp/wp-content/uploads/2023/03/arrow.png);
	background-size: cover;
	overflow: hidden;
	width: 50px;
	height: 50px;
	display: inline-block;
	right: 22px;
	top: 22px;
	position: absolute;
}
.news {
	margin: 50px 0;
}
.cat-label,.cat-link {
	background-color: #2b80f0;
	border-radius: 10px;
	color: #fff;
}
.card-thumb {
	box-shadow: 5px 7px 15px -2px #777777;
	border-radius: 10px;
	margin-right: 20px;
}
.entry-card-content {
	margin-left: 370px;
}
.single .content-in {
	width: 95%;
	margin: auto;
}
.single,.post {
	margin-top: 20px;
}

/*問い合わせ*/
.wpcf7 {
	width: 90%;
	margin: auto;	
}

/*フッター*/
.footer {
	padding: 0;
}
.footer-in {
	padding: 0 250px 0 0 !important;
	width: 100%;
}
.footer-in,.widget,.footer-widgets {
	margin: 0 !important;
}
.fotter_menu {
	width: 80%;
	margin: auto;
}
.fotter_menu ul {
	display: flex;
	justify-content: space-around;
	align-items: center;
	list-style: none;
}
.fotter_menu ul li {
	width:　150px;
	margin: 0 10px;
}
.fotter_menu ul li a {
	color: #2b80f0 !important;
	font-family: "Copperplate", "Copperplate Gothic Light", fantasy, sans-serif !important;
}
.footer_content {
	background-color: #ccc;
	padding: 2%;
}
.footer_content_inner {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}
.footer_content_inner .icon_box,.footer_content_inner_right {
	width: 50%;
	text-align: center;
}
.footer_content_inner .icon_box:before {
	content: '';
    position: absolute;
    top: 10%;
    right: 50%;
    display: inline-block;
    width: 2px;
    height: 80%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #fff;
}
.footer-left,.footer-right {
	display: none;
}
.footer-center {
	width: 100%;
	padding: 0;
}
.footer_content_inner .icon_box .sns_icon {
	width: 100px;
}
.footer_content_inner_right img {
	width: 65%;
}
.footer-bottom {
	background-color: #2b80f0;
	color: #fff;
	margin: 0 auto !important;
}
.footer_under_logo {
	text-align: center;
	background-color: #2b80f0;
	padding: 20px 0 ;
}
.footer_under_logo img {
	width: 100px;
}

/*レスポンシブ*/
@media screen and (max-width: 900px) {
	.sub_title span:before {
		left: 13px;
		top: 64px;
		animation: border_anim_3 3s linear forwards !important;
	}
	.sub_title_2 span:before {
		left: 13px;
		top: 64px;
		animation: border_anim_3 3s linear forwards !important;
	}
	.sub_title,.sub_title_2 {
		font-size: 34px !important;
		padding: 10px !important;
	}
	.main_consept_inner_text_top {
		left: 40%;
		width: 96%;
		font-size: clamp(20px,2vw,48px) !important;
	}
	.main_consept_inner_text_under {
		width: 86%;
		font-size: 1.1rem !important;
	}
	.business_box {
		width: 43%;
	}
	.footer-mobile {
		padding: 0 !important;
	}
	.footer-widgets-mobile {
		margin: 0 !important;
	}
	.top_img_text {
		font-size: 3.5rem;
	}
	#slider .japan {
		top: 25px;
		left: 5%;
	}
	#slider .joy {
		top: 17%;
		left: 5%;
	}
	#slider .justice {
		top: 30%;
		left: 5% !important;
	}
	#slider .jump {
		top: 43% !important;
		left: 5% !important;
	}
	.main_menu ul {
		width: 80%;
	}
	.business_box_text {
		font-size: 24px !important;
	}
	.mob_sp_on {
		display: block;
		height: 0;
	}
	.business {
		display: block;
	}
	.business_box {
		width: 95%;
		margin: auto;
	}
	.footer_content_inner .icon_box .sns_icon {
		width: 60px;
		margin: 1px;
	}
	.news_list ul li:after {
		top: 42px;
	}
	.product_area {
		display: block;
	}
	.product_area div {
		width: 98%;
		margin: 2% auto;
		max-width: 350px;
	}
}
@media screen and (max-width: 770px) {
	.product_area div {
		max-width: 445px;
	}
}
@media screen and (max-width: 450px)  {
	.main,.footer-in {
		margin-top: 0 !important;
		padding: 0 !important;
	}
	.sidebar {
		display: none !important;
	}
	.top_img {
		display: none;
	}
	.top_img_text {
		font-size: 2.5rem;
	}
	.top_img_text_under {
		font-size: 1rem;
	}
	.menu-btn  {
		display: block;
	}
	.sub_title_2 {
		font-size: 26px !important;
	}
	.footer_under_logo {
		padding: 10px 0 0 0 !important;
	}
	.footer_content_inner .icon_box .sns_icon {
		width: 40px;
		margin: 1px;
	}
	.footer_content {
		padding: 5px;
	}
	.icon_box {
		margin: auto;
	}
	.company_detail {
		font-size: 0.9rem;
	}
	.company_detail td:first-child {
		letter-spacing: 0.2em;
		width: 61px;
	}
	.company_detail {
		width: 97%;
	}
	.business_box:nth-child(2) {
		margin-top: 0;
	}
	.main_consept_inner_text_under {
		width: 98%;
		font-size: 1rem !important;
		bottom: -23px;
		left: -3px;
	}
	.main_consept_inner_text_top {
		left: 40%;
		width: 97%;
		font-size: clamp(15px,2.5vw,48px) !important;
		top: 65px;
	}
	.news_list ul li:after {
		top: 35px;
	}
	.product_area div {
		max-width: auto;
	}
	.product_area_left p:first-of-type, .product_area_right p:first-of-type {
		height: 180px;
	}
	.soap_text {
		font-size: 18px;
	}
	.download {
		font-size: 16px;
	}
}