@charset "utf-8";

/* -----共通----- */

.sp {
    display: none;
}

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

/* ===============================
メインビジュアルの装飾
=============================== */
@media (max-width:1465px){
    
    .orange_sun {
        position: absolute;
        top: 20%;
        right: 1%;
        width: 18%;
        animation: kumo 4s ease-in-out infinite alternate;
        animation-timing-function: linear;
        background: url(./img/orange_sun.png) no-repeat center center / auto;
        display: inline-block;
        transition: 2s ease-in-out;
        z-index: 2;
}

.right_kumo {
    position: absolute;
    bottom: 25%;
    right: 2%;
    width: 15%;
    animation: kumo 4s ease-in-out infinite alternate;
    background: url(./img/right_kumo.png) no-repeat center center / 60px auto;
    display: inline-block;
    transition: 2s ease-in-out;
    z-index: 2;
}

.leftunder_kumo {
    position: absolute;
    bottom: 28%;
    left: 0%;
    width: 19%;
    animation: kumo 4s ease-in-out infinite alternate-reverse;
    background: url(./img/leftunder_kumo.png) no-repeat center center / 60px auto;
    display: inline-block;
    transition: 1.5s ease-in-out;
    z-index: 2;
}

.lefttop_kumo {
    position: absolute;
    top: 24%;
    left: 4%;
    width: 14%;
    animation: kumo 4s ease-in-out infinite alternate;
    background: url(./img/lefttop_kumo.png) no-repeat center center / 60px auto;
    display: inline-block;
    transition: 1s ease-in-out;
    z-index: 2;
}

.orange_ie {
    position: absolute;
    bottom: -2%;
    left: 3%;
    z-index: -1;
    width: 11%;
}
}

@media (max-width:1100px){
.orange_sun {
    display: none;
}

.right_kumo {
    display: none;
}

.leftunder_kumo {
    display: none;
}

.lefttop_kumo {
    display: none;
}
}



@media(max-width:999px){
.main_title_rogo {
max-width: 85vw;
}

.meintitle {
display: none;
}

.meintitle2 {
display: inline-block;
margin: 0 0 -2% 0;
}

/* --------------家装飾ーーーーーーーーー */
.orange_ie {
    left: 11%;
    width: 9.5%;
}

.aoiyane_no_ie {
    right: 18%;
    width: 5.5%
}

.akaiyane_no_ie {
    right: 7%;
    width: 8.5%;
}
}

@media(max-width:770px){
.main_title_rogo {
max-width: 93vw;
}
}




/* ===============================
ヘッダー(ハンバーガーメニュー)
=============================== */

@media screen and (max-width:999px) {

    .openbtn {
        /* 常に画面の右上に固定 */
        position: fixed;
        top: 0.5vw;
        right: 1vw;
        cursor: pointer;
        width: 55px;
        height: 55px;
        z-index: 9999;
         /* デフォルトのハンバーガーアイコン */
        background-image: url(../img/menu_ie_botan.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        
        /* 背景画像の切り替えをスムーズにする */
        transition: background-image 0.3s ease-in-out;
    }
   /* .activeクラスが付いたら閉じるボタンに切り替え */
    .openbtn.active {
        background-image: url(../img/menu_ie_botan_toziru.png);
    }

}

#g-navi {
    transition: transform 0.6s ease, opacity 0.2s ease, visibility 0.3s ease;
    transition-duration: .5s !important;
}

/*========= ナビゲーションのためのCSS ===============*/
@media screen and (max-width:999px) {
    #g-navi {
        position: fixed;
        z-index: 999;
        top: 0;
        left: 0;
        width: 100%;
        /* height: 50vh; */
        background-image: url(../img/header_img.png);
        background-size: 1000px 50px;
        background-repeat: repeat-y;
        
        /* 初期は上に隠す */
        transform: translateY(-100%);
        visibility: hidden;

        /* transitionをここに追加 */
        transition: transform 0.6s ease, opacity 0.2s ease, visibility 0.3s ease;
        
        /* メニュー文字の初期スタイルをここに記述 */
        opacity: 0;
        visibility: hidden;
    }

    /* メニューが開いたとき */
    #g-navi.panelactive {
        transform: translateY(62px);
        opacity: 1;
        visibility: visible;
        
        position: fixed;
        padding: 0 0 50px 0;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
    }
    
    /* ========= リストとリンク ========== */
    #g-navi ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    #g-navi li {
        margin: 15px 0;
    }
    
    /* リンクのスタイル */
    .navi_in {
        display: block;
        font-size: 1.3rem;
        line-height: 30px;
        font-weight: bold;
        letter-spacing: 0.1em;
        color: #fff;
        text-decoration: none;
    }
}


/* ーーーーーここからヘッダーのブレイクポイント記載ーーーーーーー */

@media (max-width: 1285px) {
/* ヘッダーフォントサイズ */
.navi_in {
font-size: 1em;
}

/* 各ボタン */
.navi_text {
  margin-left: 30px;        /* ボタン間の間隔 */
}
}


@media (max-width:1080px){
/* ヘッダーフォントサイズ */
.navi_in {
font-size: 1em;
}

/* 各ボタン */
.navi_text {
  margin-left: 25px;        /* ボタン間の間隔 */
} 
}

@media (max-width:999px) {
#header_bg {
max-height: 62px;
display: flex;
padding: 1vw;
}
.header_image_wrapper {
height: 100%; 
}
}

@media(max-width:999px){
.navi_in {
font-size: 1.2em;
}
}


/* ===============================
TOPに戻るボタン
=============================== */
@media (max-width:999px){
.pagetop{
display: none;
}
}


/* ===============================
運営からのお知らせ
=============================== */
@media (max-width:1355px) {
.kiiro_hudeink {
position: absolute;  
right: 0;
top: 13%;
width: 18%;
z-index: 2;
}
}

@media(max-width:999px) {
#news_box {
max-width:85vw;
margin: 4% 0;
}

.osirase_title {
display: none;
}

.osirase_title2 {
display: block;
max-width: 55vw;
margin: 5% 0 -6% 0;
}
}

@media(max-width:770px){
#news_box {
max-width:93vw;
}  

.osirase_title2 {
max-width: 60vw;
}
}

/* iPad用 (1024px以下) */
@media screen and (max-width: 1024px) {
.news_item {
/* 日付とテキストを縦に並べる */
flex-direction: initial;
}

.news_date {
/* 幅を自動調整し、上下に余白を確保 */
width: auto;
padding: 10px 20px;
border-radius: 10px 10px 0 0;
}

.news_text {
/* 上部に余白を追加して、日付との間隔を確保 */
padding-top: 10px;
}
}

/* スマートフォン用 (767px以下) */
@media screen and (max-width: 767px) {
.news_inside {
/* スマートフォンでの幅を調整 */
padding: 15px;
}

.news_date,
.news_text {
font-size: 1rem;
line-height: 1.4rem;
}
}



/* ーーーーーーーーーーーー背景装飾 インクと筆ーーーーーーーーーーーーーーーーー */
@media (max-width:1250px) {
.midori_ink {
    display: none;
}

.ao_ink {
display: none;
}

.kiiro_hudeink {
display: none;
}

.usupink_ink {
display: none;
}

.neonmidori_ink {
display: none;
}

.ao_hude {
display: none;
}

.aka_ink {
display: none;
}
}

/* ===============================
みんなでつくるアート看板とは
=============================== */

@media(max-width:999px) {

.setumei_no_container{
max-width: 85vw;
}

.artkanban_setumei {
display: none; 
}

.artkanban_setumei2 {
display: block; 
}

.orange_pen {
bottom: -4%;
left: 0%;
width: 20%;
z-index: 5;
transform: rotateZ(354deg);
}
}

@media(max-width:770px){
.setumei_no_container{
max-width: 93vw;
}
}


/* ===============================
プログラムの内容
=============================== */

@media (max-width:1175px){
.hude_midori {
display: none;
}

.hude_midori2 {
display: block;
position: absolute;
top: 2.5%;
right: 8%;
width: 12%;
z-index: 5;
}

.kodomo1 {
    position: absolute;
    bottom: 42.5%;
    left: 1%;
    width: 15%;
    z-index: 5;
}

.kodomo2 {
    position: absolute;
    bottom: 6%;
    right: 1%;
    width: 20%;
    z-index: 5;
}
}

@media(max-width:999px){
.program_setumei {
display: none;
}

.program_setumei2 {
display: block;
max-width: 85vw;
}

.hude_midori {
    top: 3.5%;
}

.kodomo1 {
display: none;
}

.kodomo2 {
display: none;
}
}

@media(max-width:770px){
.program_setumei2 {
max-width: 93vw;
}
}

@media(max-width:770px){
.hude_midori2 {
top: 1%;
right: 12%;
}
}


/* ===============================
ワークショップの詳細
=============================== */
@media(max-width:1500px){
.baketu {
width: 20vw;
}
}


@media (max-width:1140px){
.syousai_img{
display: none;
  width: 100%; /* 親要素(container)に合わせて100%に */
}

.syousai2_img{
display: block;
  width: 100%; /* 親要素(container)に合わせて100%に */
}

.baketu {
display: none;
}

.syousai_container {
    max-width: 950px;
    margin: 12% 0px 8% 0px;
}

.google-map {
    position: absolute;
    top: 40.2%;
    left: 15%;
    width: 70%;
    height: 16%;
    z-index: 5;
    border-radius: 15px;
}

.map-link {
    position: absolute;
    top: 57.1%;
    left: 15.5%;
    z-index: 6;
    color: #38a1db;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
    border-bottom: 1px solid #38a1db;
    letter-spacing: 0.7px;
}

@media(max-width:999px){
.syousai2_img{
display: none;
}

.syousai3_img{
display: block;
max-width: 85vw;
margin-left: auto;
margin-right: auto;
}

.google-map {
top: 37.2%;
left: 16.2%;
width: 67.5%;
height: 13%;
}

.map-link {
top: 50.5%;
left: 15.8%;
font-size: 1rem;
}

@media(max-width:770px){
    .syousai3_img{
        max-width: 93vw;
    } 
    
    .google-map {
        top: 37%;
        left: 13.2%;
        width: 73%;
        height: 13%;
    }
    
    .map-link {
        left: 13%;
        font-size: 2vw;
    }
}

/* ----------青テープの位置記述ーーーーーーー */
@media(max-width:900px){
.te-pu_ao {
top: -20px;
}  
}

@media(max-width:550px){
.te-pu_ao {
top: -10px;
}   
}

/* ーーーーーーーーイラスト装飾ーーーーーーーーーーー */
.tori {
    bottom: 3.5%;
    width: 20%;
}
}


/* ーーーーーーーー装飾ネオン薄緑インクーーーーーーーーー */
.neomidori_migiue {
display: none;
}

.neomidori_migisita {
display: none;
}

.neomidori_hidariue {
display: none;
}

.neomidori_hidarisita {
display: none;
}

}


/* ===============================
主催企業の詳細
=============================== */

@media(max-width:1350px){
.narabekae_box{
width: 100%;
max-width: 97vw;
}

/* ーーーーーーーーイラスト装飾えんぴつーーーーーーーーーーー */
.aoenpitu {
    bottom: -9.5%;
    left: 2%;
    width: 10%;
}

.orenzienpitu {
    top: 16%;
    right: 4%;
    width: 10%;
}
}


@media(max-width:999px){
.narabekae_box{
width: 85vw;
flex-direction: column;
}

.syoukai_title {
display: none;
}

.syoukai_title2 {
    display: block;
    width: 100%;
    max-width: 55vw;
    margin: 1% 0% 6% 0;
    position: relative; /* 背景の上に表示するためz-indexを機能させる */
    z-index: 10;
}

.principalhome_container {
    margin: 0 0 10% 0;
}

/* ーーーーーーーーイラスト装飾えんぴつーーーーーーーーーーー */
.aoenpitu {
display: none;
}

.aoenpitu2 {
display: block;
}

.orenzienpitu {
position: absolute;
top: 52%;
right: 3%;
width: 25%;
}

/*ーーーーーーーーーーーーーー装飾ペン書きパターンーーーーーーーーーーーー*/
.hidariue_sankaku {
display: none;
}

.hidarinaka_sankaku {
left: 13%;
bottom: 41%;
width: 13%;
transform: rotate(68deg);
}

.hidarisita_maru {
display: none;
}

.migiue_dot {
    position: absolute;
    right: 2%;
    top: -1%;
    width: 23%;
    z-index: 7;
}

.miginaka_maru {
display: none;
}

.migisita_nami {
left: 3%;
bottom: -2%;
width: 20%;
}
}

@media(max-width:770px){
.narabekae_box{
width: 93vw;
}   
}

@media(max-width:750px){
.company_no_syoukai {
margin: -3% 0 5% 0;
}
}

@media(max-width:500px){
.company_no_syoukai {
margin: -7% 0 5% 0;
}
.tori {
bottom: 4.5%;
width: 20%;
}
}

@media(max-width:400px){
.company_no_syoukai {
margin: -10% 0 5% 0;
}

.tori {
bottom: 5.5%;
width: 20%;
}
}

/* ===============================
応募フォーム
=============================== */

@media(max-width:999px){
/* ーーーーー応募フォームのタイトル画像ーーーーー */
.oubo_form {
display: none;
}

.oubo_form2 {
display: block;
width: 100%;
max-width: 53vw;
z-index: 2;  
margin: 15% 0 5% 0;
}
}

/* ーーーーーイラスト飾りーーーーー */

@media(max-width:1150px){
.senkumo_hidariue {
top: 10%;
}

.senkumo_hidarisita {
left: 3%;
}

.taiyoukumo {
top: 5%;
}
}

@media(max-width:999px){
.senkumo_hidarisita {
display: none;}
.aokuruma {
right: 4%;
}
.pinkukuruma {
right: 16%;
}
.akaiyaneie_sita {
left: 12%;
}
.neonie_sita {
left: 20%;
}
}

@media(max-width:770px){
.senkumo_hidariue {
top: 8%;
}
}

@media(max-width:650px){
.senkumo_hidariue {
top: 6.5%;
}
.taiyoukumo {
    top: 3.5%;
}
}

@media(max-width:450px){
.senkumo_hidariue {
top: 4.5%;
} 

.oubo_form2 {
margin: 20% 0 5% 0;
}
}
.openbtn {
    transition-property: all;
    transition-duration: .3s;
}
@media screen and (max-width: 999px) {
    .openbtn {
        opacity: 0;
    }
    .openbtn.scrolled {
        opacity: 1;
    }
}