/*
Theme Name: IS-BE
Theme URI: 
Description: 
Version:
Author: 
Author URI: 
*/

/* CSS Document */

@charset "utf-8";


/* ********************************************
// --- リセット ---
// ***************************************** */
  
/* CSS Document */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline:0;
	font-size: 62.5%;
	vertical-align: baseline;
	background: transparent;
}

body {
	font-family: ヒラギノ角ゴ ProN, Hiragino Kaku Gothic ProN, Yu Gothic, yugothic, メイリオ, meiryo, sans-serif;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	font-style: normal;
	line-height: 1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
	display: block;
}

ul,li {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

a {
	margin: 0;
	padding: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
	text-decoration: none;
	color: #1f1f1f;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* change colours to suit your needs */
ins {
	background-color: #ff9;
	color: #1f1f1f;
	text-decoration: none;
}

/* change colours to suit your needs */
mark {
	background-color: #ff9;
	color: #1f1f1f; 
	font-style: italic;
	font-weight: bold;
}

del {
	text-decoration: line-through;
}

abbr[title], dfn[title] {
	border-bottom: 1px dotted;
	cursor: help;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
	display: block;
	height: 1px;
	border: 0;   
	border-top: 1px solid #1f1f1f;
	margin: 1em 0;
	padding: 0;
}

input, select {
	vertical-align: middle;
}

p,h1,h2,h3,h4,h5,h6,h7,tr,th,td {
	font-weight: normal;
	color: #1f1f1f;
}

img{
	margin: 0;
	padding: 0;
	vertical-align: bottom;
}

.clear {
	clear: both;
}

/*************** ヘッダー ***************/
#header{
	width: 100%;
	padding: 4px 6px;
	border-bottom: solid 1px #ccc !important;
	box-sizing: border-box;
}
#header ul{
	width: 100%;
	display: flex;
	justify-content: flex-end;
}
#header li{
}
#header ul li a{
	font-size: clamp(1.2rem, 2vw, 1.6rem);	display:  block;
    padding: 2px 5px;
}

/*************** アイキャッチ ***************/
#eye{
	width: 100%;
	height: calc( 100svh - 25px );
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-content: center;
	justify-content:center;
	box-sizing: border-box;
}
.eye_img{
	width: 100%;
	text-align: center;
}
.eye_img img{
	width: 150px;
}
.eye_img2{
	width: 100%;
	text-align: center;
}
.eye_img2 img{
	width: 200px;
}
	
/* 既存の #eye h1 への追加・修正 */
#eye h1 {
    width: 80%;
	max-width: 500px;
    display: block;
	font-size: clamp(5rem, 28vw, 15rem); /* 文字数が多いのでサイズ調整が必要な場合があります */
    text-align: center;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 30px 0;
    overflow: hidden; /* 下から出てくる際に枠外を隠す場合 */
}

.justify {
    display: flex; /* spanを横に並べるためにflexに変更 */
    justify-content: space-between; /* 両端揃えの代わり */
    width: 100%;
}

/* 一文字ずつのアニメーション */
.anim-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px); /* 下から */
    /* calcを使って、HTMLで指定した数値（--i）ごとに0.1秒ずらす */
    animation: fadeInUp 0.6s ease forwards calc(var(--i) * 0.1s);
	margin: 25px 0 0 0;
}
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.eye_img{
	opacity: 0; /* 最初は隠しておく */
    animation: fadeInDown 0.8s ease forwards;
}
.eye_img {
    animation-delay: 1.6s; /* 文字より先にパッと出したい場合は短く、最後なら 1.2s 程度 */
}


/*************** content ***************/
#content{
	width: 100%;
}
.content_box{
	width: 90%;
	margin: 0 auto;
	padding: 100px 0;
	box-sizing: border-box;
}
.content_title{
	margin: 0 0 80px 0;
}
.content_title h2{
	text-align: center;
	font-size: clamp(3rem, 3vw, 4rem);
	font-weight: 700;
	letter-spacing: 10px;
	margin: 0 0 20px 0;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1; /* 文字を上に持ってくる準備 */
}

/* 2. 下線の設定（擬似要素） */
.content_title h2::after {
    content: "";
    position: absolute;
    
    /* 位置の調整：下から30%くらいの場所に配置（文字に重なる） */
    bottom: 10%; 
    left: 0;
    
    width: 0;
    height: 8px; /* マーカーのように太くすると綺麗です */
    
    /* 指定の色を透明度50%に（背後が透けるように） */
    background-color: rgba(255, 253, 56, 0.7); 
    
    /* 文字の後ろに配置 */
    z-index: -1; 
    
    transition: width 0.8s ease-in-out;
}

/* 3. 実行時の設定 */
.content_title.effect_scroll h2::after {
    width: 100%;
    transition-delay: 0.6s; /* 文字が出た後にスッと引く */
}
.content_title h3{
	text-align: center;
	font-size: clamp(1.4rem, 1.5vw, 3rem);
	font-weight: 700;
	letter-spacing: 2px;
}
.content_text{
}
.content_text p{
	text-align: center;
	font-size: clamp(1.9rem, 2vw, 2rem);
	font-weight: 700;
	letter-spacing: 2px;
	line-height: 2.6;
	margin: 0 0 40px 0;
}
/*************** 会社概要 ***************/
#company{
	width: 100%;
	background: #089dcf;
	padding: 100px 0;
	box-sizing: border-box;
}
.company_text{
	width: 80%;
	margin: 0 auto 30px auto;
	border-top: solid 1px #ffffff;
	border-bottom: solid 1px #ffffff;
	padding: 30px 0;
}
.company_text h2{
	font-size: clamp(5rem, 12vw, 6rem);
	color: #ffffff;
	font-weight: 700;
	text-align: center;
	letter-spacing: 10px;
}
.company_content_bg{
	width: 90%;
	margin: 0 auto;
	background: #52e6f4; 
	border-radius: 0 160px;
}
.company_content{
	width: 100%;
	background: #ffffff;
	border-radius: 160px;
	margin: 0 auto;
	padding: 50px 15px;
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}
.company_content_img{
	width: 100%;
	margin: 0 0 25px 0;
}
.company_content_img img{
	width: 80%;
	padding: 0 10%;
	border-radius: 160px 0;
}
.company_content_text{
	width: 80%;
	margin: 0 auto;
}
.company_content_text h3{
	font-size: clamp(3rem, 1vw, 4rem);
	font-weight: 700;
	text-align: center;
	margin: 0 0 20px 0;
}
.company_content_text dl{
	
}
.company_content_text dt{
	font-size: clamp(1.6rem, 1.8vw, 2.4rem);
	margin: 0 0 5px 0;
	letter-spacing: 1px;
	line-height: 1.5;	
	font-weight: 700;
}
.company_content_text dd{
	font-size: clamp(1.6rem, 1.8vw, 2.4rem);
	margin: 0 0 15px 0;
	letter-spacing: 1px;
	line-height: 1.5;
}
@media screen and (min-width: 800px) {
    .company_content {
        flex-wrap: nowrap; 
        padding: 50px 60px;
    }
    .company_content_img {
        width: 45%;
        margin: 0;
    }
    .company_content_img img {
        width: 100%;
        padding: 0;
    }
    .company_content_text {
        width: 50%;
        margin: 0;
        text-align: left;
    }
    .company_content_text h3 {
        text-align: left;
    }
}

/*************** フッター ***************/
#footer{
	width: 100%;
	background: #ffffff;
	padding: 10px 0 30px 0;
	box-sizing: border-box;
}
#footer ul{
	display: flex;
	flex-wrap: wrap;       /* 横幅が狭くなったら折り返す */
	justify-content: center; /* 中央揃え（不要なら削除） */
	list-style: none;
	padding: 0;
	margin: 0 0 20px 0;
}
#footer ul li {
	display: flex;
	align-items: center;
}
/* 隣り合う要素の間にだけ線を入れる（最後には入れない） */
#footer ul li:not(:last-child) {
	border-right: 1px solid #333; /* 線の太さと色 */
}
#footer ul li a {
	display: block;
	text-decoration: none;
	color: #333;
	padding: 0 15px;      /* 線の左右の余白を調整 */
	font-size: clamp(1.2rem, 1.8vw, 1.4rem);
	line-height: 1;
}
/* スマホ等で折り返した際、上下の間隔が欲しい場合 */
#footer ul li {
	margin-bottom: 10px; 
}
.footer_box{
	width: 100%;
	margin: 0 0 20px 0;
}
.footer_box p{
	font-size: 18px;
    font-weight: 700;
    color: #202020;
	text-align: center;
	line-height: 1.6;
	letter-spacing: 1px;
}
.footer_copyright{
	
}
.footer_copyright p{
	font-size: 12px;
    font-weight: 400;
    color: rgb(119, 119, 119);
	line-height: 1.6;
	letter-spacing: 1px;
	text-align: center;
}

/* ---------- エフェクト ----------*/
.effect_fade{
	opacity: 0;
	transform: translate(0,45px);
	transition: all 400ms;
}
.effect_fade.effect_scroll {
	opacity : 1;
	transform : translate(0, 0);
}
.animation{
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-duration: 2s;
}
.keyframe1{
    animation-name: anim_v;
}
@keyframes anim_v {
    0% {
        transform: translate(0, 5px);
    }
    100% {
        transform: translate(0, -5px);
    }
}
