@charset "utf-8";
/* philosophy.css */

#philosophy {
	padding: 115px 0 0;
}

@media screen and (max-width:1000px) {
#philosophy {
	padding: 75px 0 0;
}	
}

.page_ttl {
	padding: 70px 0 90px;
}

@media screen and (max-width:1000px) {
.page_ttl {
	padding: 50px 0 40px;
}	 
}

.page_ttl h2 {
	font-size: 40px;
	text-align: center;
	color: #9B9B9B;
	margin: 0 0 15px;
}

@media screen and (max-width:1000px) {
.page_ttl h2 {
	font-size: 24px;
	margin: 0 0 10px;
}	
}

@media screen and (max-width:500px) {
.page_ttl h2 {
	font-size: 21px;
	margin: 0 0 10px;
}	
}


.page_ttl h2 span {
	font-size: 20px;

}

@media screen and (max-width:1000px) {
.page_ttl h2 span {
	font-size: 13px;	
}	
}

@media screen and (max-width:500px) {
.page_ttl h2 span {
	font-size: 11px;	
}	
}


.page_ttl p {
	display: flex;
	justify-content: space-between;
	width: 62px;
	margin: 0 auto;
}

@media screen and (max-width:768px) {
.page_ttl p {
	width: 50px;
	margin: 0 auto;
}	
}

.page_ttl p span {
	width: 12px;
	height: 12px;
	border-radius: 50%;
}

@media screen and (max-width:768px) {
.page_ttl p span {
	width: 9px;
	height: 9px;
}	
}

.page_ttl p span:first-child {
	background-color: #F6B83A;
}

.page_ttl p span:nth-child(2) {
	background-color: #81AF2D;
}

.page_ttl p span:nth-child(3) {
	background-color: #DD606D;
}

#philosophy_container {
	width: 95%;
	margin: 0 auto 80px;
}

@media screen and (max-width:1000px) {
#philosophy_container {
	margin: 0 auto 20px;
}	
}

#philosophy_top {
	padding: 80px 550px 80px 30px;
	position: relative;
	margin: 0 0 150px;
}

@media screen and (max-width:1500px) {
#philosophy_top {
	padding: 40px 500px 40px 30px;
	position: relative;
	margin: 0 0 150px;
}	
}

@media screen and (max-width:1000px) {
#philosophy_top {
	padding: 0 0 350px;
	margin: 0 0 100px;
	
}	
}

@media screen and (max-width:768px) {
#philosophy_top {
	padding: 0 0 300px;
	
}	
}

@media screen and (max-width:500px) {
#philosophy_top {
	padding: 0 0 200px;
	
}	
}



#philosophy_top h3 {
	color: #E67780;
	font-size: 44px;
	line-height: 1.4;
	text-align: center;
	font-weight: bold;
	margin: 0 0 20px;
}

@media screen and (max-width:1800px) {
#philosophy_top h3 {
	font-size: 40px;
}	
}

@media screen and (max-width:1700px) {
#philosophy_top h3 {
	font-size: 35px;
}	
}

@media screen and (max-width:1500px) {
#philosophy_top h3 {
	font-size: 29px;
}	
}

@media screen and (max-width:1400px) {
#philosophy_top h3 {
	font-size: 28px;
}	
}

@media screen and (max-width:1000px) {
#philosophy_top h3 {
	margin: 0 0 15px;

}	
}

@media screen and (max-width:500px) {
#philosophy_top h3 {
	font-size: 20px;
}	
}

@media screen and (max-width:400px) {
#philosophy_top h3 {
	font-size: 18px;
}	
}


#philosophy_top h4 {
	color: #9C753F;
	font-size: 24px;
	text-align: center;
	font-weight: bold;
	line-height: 1.3;
}

@media screen and (max-width:1700px) {
#philosophy_top h4 {
	font-size: 20px;
}	
}

@media screen and (max-width:1000px) {
#philosophy_top h4 {
	font-size: 18px;
}	
}

@media screen and (max-width:500px) {
#philosophy_top h4 {
	font-size: 14px;
}	
}


@media screen and (max-width:1400px) {
#philosophy_img {
	display: flex;
	justify-content: space-between;
	}
}

@media screen and (min-width:1401px) {
	.philosophy_pc_none {
		display: none;
	}
}

#philosophy_img figure {
	position: absolute;
	width: 270px;
}



@media screen and (max-width:1700px) {
#philosophy_img figure {
	width: 220px;
}	
}

@media screen and (max-width:1500px) {
#philosophy_img figure {
	width: 200px;
}	
}

@media screen and (max-width:1000px) {
#philosophy_img figure {
	width: 28%;
}	
}

@media screen and (max-width:768px) {
#philosophy_img figure {
	width: 30%;
}	
}

@media screen and (max-width:400px) {
#philosophy_img figure {
	width: 31%;
}	
}

#philosophy_img figure:nth-child(1) {
	top: -80px;
	right: 280px;
}

@media screen and (max-width:1700px) {
#philosophy_img figure:nth-child(1) {
	right: 240px;
}	
}

@media screen and (max-width:1500px) {
#philosophy_img figure:nth-child(1) {
	right: 220px;
}	
}

@media screen and (max-width:1000px) {
#philosophy_img figure:nth-child(1) {
	top: auto;
	left: -5%;
	bottom: 20%;
}	
}


#philosophy_img figure:nth-child(2) {
	top: 0;
	right: 0;
}

@media screen and (max-width:1000px) {
#philosophy_img figure:nth-child(2) {
	top: auto;
	left: 23%;
	bottom: 0;
}	
}

#philosophy_img figure:nth-child(3) {
	top: 190px;
	right: 390px;
}

@media screen and (max-width:1700px) {
#philosophy_img figure:nth-child(3) {
	top: 150px;
	right: 310px;
}	
}

@media screen and (max-width:1500px) {
#philosophy_img figure:nth-child(3) {
	top: 140px;
	right: 280px;
}	
}

@media screen and (max-width:1000px) {
#philosophy_img figure:nth-child(3) {
	top: auto;
	right: 21%;
	left: auto;
	bottom: 20%;
}	
}


#philosophy_img figure:nth-child(4) {
	top: 240px;
	right: 100px;
}

@media screen and (max-width:1700px) {
#philosophy_img figure:nth-child(4) {
	top: 210px;
	right: 70px;
}	
}

@media screen and (max-width:1500px) {
#philosophy_img figure:nth-child(4) {
	top: 190px;
	right: 50px;
}	
}

@media screen and (max-width:1000px) {
#philosophy_img figure:nth-child(4) {
	top: auto;
	right: -6%;
	bottom: 0;
}	
}

#kodohoshin {
	position: relative;
	background-image: url("../images/philosophy/shoaka.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	padding: 40px 0 0;
}

@media screen and (max-width:1000px) {
#kodohoshin {
	position: relative;
	background-image: url("../images/philosophy/shoaka_tate.png");
	background-position: center right;
}
	
}

#kodohoshin_box {
	max-width: 1200px;
	margin: 0 auto;
}

#kodohoshin_box h3 {
        font-size: 31px;
	color: #276EAC;
    }

@media screen and (max-width:1000px) {
#kodohoshin_box h3 {
        font-size: 25px;
	text-align: center;
    }	
}

#kodohoshin_box h3 span {
    background: linear-gradient(transparent 50%, #DCF0FF 50%);
    padding: 0 5px 0;
	margin: 0 0 -10px;
}

#kodohoshin_box ul {
	padding: 40px 0;
}

#kodohoshin_box ul li {
	display: flex;
	align-items: center;
	margin: 0 0 5px;
}

@media screen and (max-width:1000px) {
#kodohoshin_box ul li {
	display: block;
	margin: 0 0 20px;
}	
}

#kodohoshin_box ul li h4 {
	font-size: 31px;
	color: #276EAC;
	width: 330px;
	padding: 22px 0 22px 80px;
	position: relative;
	line-height: 1;
	
}

@media screen and (max-width:1200px) {
#kodohoshin_box ul li h4 {
	font-size: 24px;
	width: 260px;
	
}	
}

@media screen and (max-width:1000px) {
#kodohoshin_box ul li h4 {
	padding: 15px 0 15px 65px;
	
}		
}

#kodohoshin_box ul li h4::before {
	content: "";
	position: absolute;
	top: 8px;
    left: 0;
	height: 53px;
	width: 69px;
	background-image: url("../images/philosophy/s.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	z-index: 3;
}

@media screen and (max-width:1200px) {
#kodohoshin_box ul li h4::before {
	top: 6px;
	height: 50px;
	width: 60px;
}	
}

@media screen and (max-width:1000px) {
#kodohoshin_box ul li h4::before {
	top: 6px;
	height: 37px;
	width: 48px;
}	
}


#kodohoshin_box ul li:nth-child(2) h4::before {
	background-image: url("../images/philosophy/h.png");
}

#kodohoshin_box ul li:nth-child(3) h4::before {
background-image: url("../images/philosophy/o.png")
}

#kodohoshin_box ul li:nth-child(4) h4::before {
	background-image: url("../images/philosophy/a.png");
}

#kodohoshin_box ul li:nth-child(5) h4::before {
	background-image: url("../images/philosophy/c.png");
}

#kodohoshin_box ul li:nth-child(6) h4::before {
	background-image: url("../images/philosophy/a.png");
}



#kodohoshin_box ul li p {
	color: #959595;
	position: relative;
	padding: 0 0 0 80px;
	font-size: 20px;
}

@media screen and (max-width:1200px) {
#kodohoshin_box ul li p {
	padding: 0 0 0 60px;
	font-size: 16px;
}	
}

@media screen and (max-width:1000px) {
#kodohoshin_box ul li p {
	padding: 0;
}	
}


#kodohoshin_box ul li p::before {
	content: "・・・";
	position: absolute;
	top: 0;
	left: 0;
}

@media screen and (max-width:1000px) {
#kodohoshin_box ul li p::before {
	display: none;
}	
}

#kodohoshin_text {
	max-width: 1200px;
	margin: 0 auto;

}

@media screen and (max-width:1000px) {
#kodohoshin_text {
	padding: 30px 0;

}	
}

#kodohoshin_text p {
	line-height: 2;
	color: #959595;
}

@media screen and (max-width:1000px) {
#kodohoshin_text p {
	font-size: 15px;
}	
}

#textmining {
	padding: 60px 0 100px;
	width: 95%;
	max-width: 1000px;
	margin: 0 auto;
	position: relative;
	z-index: 3;
}



.green_2 {
    width: 400px;
    position: absolute;
    z-index: -1;
    top: 400px;
    right: 500px;
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 50%;
    animation: fluid-random 30s ease-in-out infinite, fluid-rotate-random 28s linear infinite, fluid-scale-random 30s ease-in-out infinite;
    background: #81AF2D;
    opacity: 0.2;
}

@media screen and (max-width:1400px) {
.green_2 {
    width: 300px;
    top: 400px;
    right: 300px;
}	
}

@media screen and (max-width:1000px) {
.green_2 {
    width: 250px;
    top: 160px;
    right: -180px;
}	
}

@keyframes fluid-random {
    0%    { border-radius: 60% 40% 70% 30% / 50% 50% 50% 50%; }
    12.5% { border-radius: 80% 20% 50% 50% / 30% 70% 40% 60%; }
    25%   { border-radius: 40% 60% 60% 40% / 70% 30% 50% 50%; }
    37.5% { border-radius: 70% 30% 40% 60% / 60% 40% 80% 20%; }
    50%   { border-radius: 50% 50% 30% 70% / 40% 60% 60% 40%; }
    62.5% { border-radius: 75% 25% 60% 40% / 50% 50% 30% 70%; }
    75%   { border-radius: 45% 55% 70% 30% / 40% 60% 50% 50%; }
    87.5% { border-radius: 65% 35% 45% 55% / 70% 30% 40% 60%; }
    100%  { border-radius: 60% 40% 70% 30% / 50% 50% 50% 50%; }
}

@keyframes fluid-rotate-random {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(45deg); }
    50% { transform: rotate(90deg); }
    75% { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fluid-scale-random {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(0.9); }
    75% { transform: scale(1.1); }
}

.yellow_2 {
    width: 450px;
    position: absolute;
    z-index: -1;
    top: 600px;
    left: -100px;
    aspect-ratio: 6 / 5; /* 横長の比率 */
    margin: 0 auto;
    border-radius: 80% 20% 70% 30% / 40% 60% 50% 50%; /* 初期の楕円形状 */
    animation: fluid-dynamic 24s ease-in-out infinite, float-dynamic 18s linear infinite;
    background: #F6B83A;
    opacity: 0.2;
}

@media screen and (max-width:1000px) {
.yellow_2 {
    width: 300px;
	top: 400px;
	left: -200px;
 
}	
}


@media screen and (max-width:500px) {
.yellow {
    width: 300px;
	top: 220px;
	left: -200px;
 
}	
}

@keyframes fluid-dynamic {
    0%    { border-radius: 90% 10% 80% 20% / 30% 70% 40% 60%; }
    12.5% { border-radius: 70% 30% 90% 10% / 60% 40% 70% 30%; }
    25%   { border-radius: 60% 40% 70% 30% / 50% 50% 80% 20%; }
    37.5% { border-radius: 80% 20% 60% 40% / 70% 30% 60% 40%; }
    50%   { border-radius: 50% 50% 80% 20% / 40% 60% 70% 30%; }
    62.5% { border-radius: 75% 25% 55% 45% / 35% 65% 85% 15%; }
    75%   { border-radius: 85% 15% 65% 35% / 60% 40% 50% 50%; }
    87.5% { border-radius: 65% 35% 75% 25% / 70% 30% 40% 60%; }
    100%  { border-radius: 90% 10% 80% 20% / 30% 70% 40% 60%; }
}

@keyframes float-dynamic {
    0%, 100% { transform: translateX(0) translateY(0); }
    20%      { transform: translateX(-25px) translateY(20px); }
    40%      { transform: translateX(30px) translateY(-15px); }
    60%      { transform: translateX(-20px) translateY(25px); }
    80%      { transform: translateX(15px) translateY(-20px); }
}


div.fluid_2 {
    width: 300px;
	position: absolute;
	z-index: -1;
	top: 750px;
	right: -110px;
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 65% 35% 55% 45% / 55% 50% 55% 45%; /* 初期形状 */
    animation: fluid-anim_2 30s linear infinite, wave-anim_2 12s ease-in-out infinite;
    background: #DD606D;
	opacity: 0.2;
}

@media screen and (max-width:1000px) {
div.fluid_2 {
    width: 200px;
	top: 520px;
	right: -100px;
}	
}


/* 形状のダイナミックな変化 */
@keyframes fluid-anim_2 {
    0%    { border-radius: 65% 35% 55% 45% / 55% 50% 55% 45%; }
    12.5% { border-radius: 80% 20% 70% 30% / 60% 70% 40% 80%; }
    25%   { border-radius: 30% 70% 20% 80% / 85% 65% 35% 55%; }
    37.5% { border-radius: 90% 10% 80% 20% / 50% 60% 30% 70%; }
    50%   { border-radius: 20% 80% 40% 60% / 70% 30% 90% 50%; }
    62.5% { border-radius: 60% 40% 50% 50% / 30% 70% 20% 80%; }
    75%   { border-radius: 85% 15% 75% 25% / 90% 10% 80% 20%; }
    87.5% { border-radius: 40% 60% 30% 70% / 50% 80% 20% 90%; }
    100%  { border-radius: 65% 35% 55% 45% / 55% 50% 55% 45%; }
}

/* 揺らぎ（波打つ動き） */
@keyframes wave-anim_2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%      { transform: translate(10px, -15px) scale(1.05); }
    50%      { transform: translate(-15px, 10px) scale(0.95); }
    75%      { transform: translate(10px, 15px) scale(1.02); }
}



.green_3 {
    width: 400px;
    position: absolute;
    z-index: -1;
    top: 50px;
    left: -600px;
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 50%;
    animation: fluid-random 30s ease-in-out infinite, fluid-rotate-random 28s linear infinite, fluid-scale-random 30s ease-in-out infinite;
    background: #81AF2D;
    opacity: 0.2;
}

@media screen and (max-width:1400px) {
.green_3 {
    width: 300px;
    top: auto;
    left: -200px;
	bottom: 0px;
}	
}

@media screen and (max-width:600px) {
.green_3 {
    width: 180px;
    top: auto;
    left: -100px;
	bottom: 0px;
}	
}



@keyframes fluid-random {
    0%    { border-radius: 60% 40% 70% 30% / 50% 50% 50% 50%; }
    12.5% { border-radius: 80% 20% 50% 50% / 30% 70% 40% 60%; }
    25%   { border-radius: 40% 60% 60% 40% / 70% 30% 50% 50%; }
    37.5% { border-radius: 70% 30% 40% 60% / 60% 40% 80% 20%; }
    50%   { border-radius: 50% 50% 30% 70% / 40% 60% 60% 40%; }
    62.5% { border-radius: 75% 25% 60% 40% / 50% 50% 30% 70%; }
    75%   { border-radius: 45% 55% 70% 30% / 40% 60% 50% 50%; }
    87.5% { border-radius: 65% 35% 45% 55% / 70% 30% 40% 60%; }
    100%  { border-radius: 60% 40% 70% 30% / 50% 50% 50% 50%; }
}

@keyframes fluid-rotate-random {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(45deg); }
    50% { transform: rotate(90deg); }
    75% { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fluid-scale-random {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(0.9); }
    75% { transform: scale(1.1); }
}

.yellow_3 {
    width: 350px;
    position: absolute;
    z-index: -1;
    top: -100px;
    right: -500px;
    aspect-ratio: 1; /* 横長の比率 */
    margin: 0 auto;
    border-radius: 80% 20% 70% 30% / 40% 60% 50% 50%; /* 初期の楕円形状 */
    animation: fluid-dynamic 24s ease-in-out infinite, float-dynamic 18s linear infinite;
    background: #F6B83A;
    opacity: 0.2;
}

@media screen and (max-width:1400px) {
.yellow_3 {
    width: 300px;
    top: -100px;
    right: -200px;
}	
}

@media screen and (max-width:600px) {
.yellow_3 {
    width: 200px;
    top: -150px;
    right: -120px;
}	
}

@keyframes fluid-dynamic {
    0%    { border-radius: 90% 10% 80% 20% / 30% 70% 40% 60%; }
    12.5% { border-radius: 70% 30% 90% 10% / 60% 40% 70% 30%; }
    25%   { border-radius: 60% 40% 70% 30% / 50% 50% 80% 20%; }
    37.5% { border-radius: 80% 20% 60% 40% / 70% 30% 60% 40%; }
    50%   { border-radius: 50% 50% 80% 20% / 40% 60% 70% 30%; }
    62.5% { border-radius: 75% 25% 55% 45% / 35% 65% 85% 15%; }
    75%   { border-radius: 85% 15% 65% 35% / 60% 40% 50% 50%; }
    87.5% { border-radius: 65% 35% 75% 25% / 70% 30% 40% 60%; }
    100%  { border-radius: 90% 10% 80% 20% / 30% 70% 40% 60%; }
}

@keyframes float-dynamic {
    0%, 100% { transform: translateX(0) translateY(0); }
    20%      { transform: translateX(-25px) translateY(20px); }
    40%      { transform: translateX(30px) translateY(-15px); }
    60%      { transform: translateX(-20px) translateY(25px); }
    80%      { transform: translateX(15px) translateY(-20px); }
}


div.fluid_3 {
    width: 300px;
	position: absolute;
	z-index: -1;
	top: 400px;
	right: -500px;
    aspect-ratio: 1;
    margin: 0 auto;
    border-radius: 65% 35% 55% 45% / 55% 50% 55% 45%; /* 初期形状 */
    animation: fluid-anim_2 30s linear infinite, wave-anim_2 12s ease-in-out infinite;
    background: #DD606D;
	opacity: 0.2;
}

@media screen and (max-width:1400px) {
div.fluid_3 {
    width: 300px;
    top: auto;
    right: -200px;
	bottom: 0;
}	
}

@media screen and (max-width:600px) {
div.fluid_3 {
    width: 160px;
    top: auto;
    right: -100px;
	bottom: 0;
}	
}


/* 形状のダイナミックな変化 */
@keyframes fluid-anim_2 {
    0%    { border-radius: 65% 35% 55% 45% / 55% 50% 55% 45%; }
    12.5% { border-radius: 80% 20% 70% 30% / 60% 70% 40% 80%; }
    25%   { border-radius: 30% 70% 20% 80% / 85% 65% 35% 55%; }
    37.5% { border-radius: 90% 10% 80% 20% / 50% 60% 30% 70%; }
    50%   { border-radius: 20% 80% 40% 60% / 70% 30% 90% 50%; }
    62.5% { border-radius: 60% 40% 50% 50% / 30% 70% 20% 80%; }
    75%   { border-radius: 85% 15% 75% 25% / 90% 10% 80% 20%; }
    87.5% { border-radius: 40% 60% 30% 70% / 50% 80% 20% 90%; }
    100%  { border-radius: 65% 35% 55% 45% / 55% 50% 55% 45%; }
}

/* 揺らぎ（波打つ動き） */
@keyframes wave-anim_2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%      { transform: translate(10px, -15px) scale(1.05); }
    50%      { transform: translate(-15px, 10px) scale(0.95); }
    75%      { transform: translate(10px, 15px) scale(1.02); }
}





@media screen and (min-width:1250px) {
.ph_br {
	display: none;
	}
}

@media screen and (max-width:1000px) {
.ph_br {
	display: none;
	}
}

@media screen and (max-width:768px) {
.ph_br {
	display: block;
	}
}
