@charset "UTF-8";
/*
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Copyright (c) Best Bridge LLC. All Rights Reserved.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
*/

/*==============================================================
section#top_philosophy
==============================================================*/
section#top_philosophy{
z-index:1000;
/*--*/
position:relative;
/*--*/
display:block;
width:100%;
height:auto;
margin:0;
border:0;
padding:120px 0 80px 0;
background-color:#FFF;
background-image:url(../img/section_back_top_philosophy.jpg);
background-position:top;
background-repeat:no-repeat;
background-size:100% auto;
/*--*/
overflow-x:clip;
}

@media screen and (max-width:1000px){
section#top_philosophy{
padding:60px 0 20px 0;
}
}

/*==============================================================
section#top_philosophy h2
==============================================================*/
section#top_philosophy h2{
z-index:20;
/*--*/
position:relative;
/*--*/
display:block;
width:90%;
max-width:1000px;
height:auto;
margin:0 auto 30px auto;
border:0;
padding:0;
/*--*/
text-align:center;
line-height:1.6;
font-size:3rem;
font-weight:500;
color:#FFF;
}

@media screen and (max-width:1000px){
section#top_philosophy h2{
font-size:2rem;
}
}

/*==============================================================
section#top_philosophy h3
==============================================================*/
section#top_philosophy h3{
z-index:20;
/*--*/
position:relative;
/*--*/
display:block;
width:80%;
max-width:1000px;
height:auto;
margin:0 auto 30px auto;
border:0;
padding:0;
/*--*/
text-align:center;
line-height:1.6;
font-size:1.8rem;
font-weight:500;
color:#333;
text-shadow:
0 0 4px #FFF,
0 0 4px #FFF,
1px 1px 0 #FFF,
-1px 1px 0 #FFF,
1px -1px 0 #FFF,
-1px -1px 0 #FFF,
1px 0 0 #FFF,
-1px 0 0 #FFF,
0 1px 0 #FFF,
0 -1px 0 #FFF;
}

@media screen and (max-width:1000px){
section#top_philosophy h3{
width:90%;
/*--*/
font-size:1.6rem;
}
}

@media screen and (max-width:700px){
section#top_philosophy h3{
font-size:1.4rem;
}
}

/*==============================================================
section#top_philosophy>div
==============================================================*/
section#top_philosophy>div{
position:relative;
/*--*/
display:flex;
width:80%;
max-width:1200px;
height:auto;
margin:0 auto 30px auto;
border:0;
padding:20px 0;
/*--*/
flex-direction:row;
flex-wrap:wrap;
justify-content:space-between;
align-items:stretch;
}

@media screen and (max-width:1000px){
section#top_philosophy>div{
width:90%;
}
}

/*--------------------------------------------------------------
section#top_philosophy>div>div:nth-of-type(1)
--------------------------------------------------------------*/
section#top_philosophy>div>div:nth-of-type(1){
position:relative;
/*--*/
display:block;
flex-basis:48%;
height:auto;
margin:0;
border:0;
padding:0;
}

@media screen and (max-width:700px){
section#top_philosophy>div>div:nth-of-type(1){
flex-basis:100%;
}
}

/*==img==*/
section#top_philosophy>div>div:nth-of-type(1)>img{
position:relative;
/*--*/
display:block;
width:100%;
height:auto;
margin:0;
border:0;
border-radius:16px;
padding:0;
}

@media screen and (max-width:700px){
section#top_philosophy>div>div:nth-of-type(1)>img{
margin-bottom:30px;
}
}

/*--------------------------------------------------------------
section#top_philosophy>div>div:nth-of-type(2)
--------------------------------------------------------------*/
section#top_philosophy>div>div:nth-of-type(2){
position:relative;
/*--*/
display:flex;
flex-basis:48%;
height:auto;
margin:0;
border:0;
padding:0;
/*--*/
flex-direction:column;
flex-wrap:nowrap;
justify-content:space-between;
align-items:stretch;
}

@media screen and (max-width:700px){
section#top_philosophy>div>div:nth-of-type(2){
flex-basis:100%;
}
}

/*==a==*/
section#top_philosophy>div>div:nth-of-type(2)>a{
position:relative;
/*--*/
display:flex;
width:100%;
height:calc(50% - 20px);
margin:0;
border:solid 2px #B59841;
border-radius:30px 6px;
padding:16px 85px 16px 30px;
background-color:#FFF;
box-sizing:border-box;
/*--*/
text-align:left;
line-height:1.4;
font-size:1.2rem;
font-weight:500;
color:#5A3E32;
text-decoration:none;
/*--*/
flex-direction:column;
flex-wrap:nowrap;
justify-content:center;
align-items:flex-start;
/*--*/
cursor:pointer;
/* ★★★★★ 背景色がふんわり変わるように.5sに設定 ★★★★★ */
transition:background-color .5s ease, color .5s ease, opacity .5s ease;
}

@media screen and (max-width:1000px){
section#top_philosophy>div>div:nth-of-type(2)>a{
font-size:1.1rem;
}
}

@media screen and (max-width:800px){
section#top_philosophy>div>div:nth-of-type(2)>a{
font-size:1rem;
}
}

@media screen and (max-width:700px){
section#top_philosophy>div>div:nth-of-type(2)>a{
font-size:1.2rem;
}
}

@media screen and (max-width:500px){
section#top_philosophy>div>div:nth-of-type(2)>a{
font-size:1rem;
}
}

section#top_philosophy>div>div:nth-of-type(2)>a:nth-of-type(1){
margin-bottom:40px;
}

/*==矢印==*/
section#top_philosophy>div>div:nth-of-type(2)>a::after{
position:absolute;
top:50%;
right:30px;
transform:translateY(-50%);
/*--*/
display:flex;
width:50px;
height:50px;
margin:0;
border:0;
border-radius:50%;
padding:0;
background-color:#FC0;
/*--*/
text-align:left;
line-height:1;
font-size:1.2rem;
font-weight:600;
color:#FFF;
/*--*/
flex-direction:column;
flex-wrap:nowrap;
justify-content:center;
align-items:center;
/*--*/
content:"→";
/* ★★★★★ 矢印の動きも合わせて.5sに調整 ★★★★★ */
transition:transform .5s ease, background-color .5s ease, color .5s ease;
}

@media screen and (max-width:700px){
section#top_philosophy>div>div:nth-of-type(2)>a::after{
width:40px;
height:40px;
}
}

/* ★★★★★ ホバー時の背景色・矢印の動きを指定 ★★★★★ */
/* PC（マウス操作）時のホバー */
@media (hover:hover) and (pointer:fine){
section#top_philosophy>div>div:nth-of-type(2)>a:hover{
background-color:#FCF8EE;
}
section#top_philosophy>div>div:nth-of-type(2)>a:hover::after{
transform:translateY(-50%) translateX(10px);
}
}

/* スマホタップ時 ＋ PCでのクリック時 ＋ Tabキー選択時 */
section#top_philosophy>div>div:nth-of-type(2)>a:active,
section#top_philosophy>div>div:nth-of-type(2)>a:focus-visible{
background-color:#FCF8EE;
transition:none;
}

/*==============================================================
section#top_philosophy>div>div.bird_wrap（青い鳥アニメーション／js必須）
==============================================================*/
section#top_philosophy>div>div.bird_wrap{
z-index:10;
/*--*/
position:absolute;
top:-110px;
right:-8%;
transform:translate(85px,-85px) rotate(-14deg);
/*--*/
display:block;
width:220px;
height:auto;
margin:0;
border:0;
padding:0;
/*--*/
opacity:0;
transition:opacity 0.8s ease-out 0.2s, transform 1.1s cubic-bezier(0.22,1,0.36,1) 0.2s;
pointer-events:none;
}

@media screen and (max-width:800px){
section#top_philosophy>div>div.bird_wrap{
top:-78px;
right:-7.5%;
transform:translate(72px,-72px) rotate(-14deg);
/*--*/
width:170px;
}
}

@media screen and (max-width:600px){
section#top_philosophy>div>div.bird_wrap{
top:-49px;
right:-7%;
transform:translate(60px,-60px) rotate(-14deg);
/*--*/
width:120px;
}
}

/*== 画面に入ったとき（move.jsでis_active付与）に右斜め45度から着地 ==*/
section#top_philosophy>div>div.bird_wrap.is_active{
transform:translate(0,0) rotate(0deg);
/*--*/
opacity:1;
}

/*== 鳥の画像（着地後に足元を軸にして滑らかに揺れ続ける） ==*/
section#top_philosophy>div>div.bird_wrap>img{
display:block;
width:100%;
height:auto;
margin:0;
border:0;
padding:0;
/*--*/
transform-origin:42% 96%;
}

section#top_philosophy>div>div.bird_wrap.is_active>img{
animation:birdSway 3.6s linear 1.3s infinite;
}

/*== 真ん中で止まらず、端だけで自然に折り返す滑らかな振り子揺れ ==*/
@keyframes birdSway{
0%{
transform:rotate(0deg);
animation-timing-function:ease-out;
}
25%{
transform:rotate(-3.5deg);
animation-timing-function:ease-in;
}
50%{
transform:rotate(0deg);
animation-timing-function:ease-out;
}
75%{
transform:rotate(2.5deg);
animation-timing-function:ease-in;

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