@charset "utf-8";

.penguin_project div.section {
    padding:
    0px 0 0;
    background: #fff;
}

.penguin_project .contents_outer {
    color: #0d345e;
    font-family: 'YakuHanJP_Noto', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN','メイリオ',Meiryo,'ＭＳ Ｐゴシック', sans-serif;
    background: #ffffff;
}
.penguin_project .mainvisual img{width:100%;max-width:1280px;margin:0 auto;}
.penguin_project .sub_menu {background:#eef0f3;padding:40px 0;}
.penguin_project .sub_menu ul {width:100%;margin:auto;text-align: center;}
.penguin_project .sub_menu ul li{display: inline-block;margin:0.5vh 0.5vw;}
.penguin_project .sub_menu ul li a{border-radius:30px;border: 2px solid #003366;padding:14px 22px;line-height: 100%;display: block;}

#info{display: flex;max-width:980px;margin:60px auto;}
#info p{width:67%;font-size: 18px;letter-spacing: 0.075em;text-align:left;}
#info img{width:33%;margin-top:-10px;}

.penguin_project .container{clear:both;width:100%;margin:auto;max-width:800px;}
.penguin_project .container .row{margin:40px auto;clear: both;display: inline-block;}
.penguin_project main section{clear: both;width:100%;margin: auto;}
.penguin_project main .leftBox{float:left;width: 40%;}
.penguin_project main .leftBox p{font-size: 15px;line-height:200%;text-align:left}
.penguin_project main .rightBox{float:right;width: 60%;}
.penguin_project main h2{font-size: 36px;letter-spacing: 0.05em;font-weight: bold;margin-top:-20px;margin-bottom:10px;line-height:120%;text-align:left;}
.penguin_project main figure{line-height:140%;font-size:8px;}

  #tenpo {padding-bottom:4vh;margin:auto;text-align:left;}
  #tenpo .shops{display: inline-block;width:33%;vertical-align: top;}
  #tenpo img{margin:30px 0 0;object-fit: cover;}
  #tenpo h4{margin:6px 0;font-size:15px;text-align:left;line-height: 120%;}
  #tenpo h4 span{background:#C5422A;text-align: center;border-radius: 24px;width:24px;height:24px;color:#fff;display:inline-block;margin-right:4px;font-size: 16px;line-height: 140%;}
  #tenpo h4 span.ten{padding:0 0.25px;}
  #tenpo p.setumei{font-size: 12px;line-height:140%;text-align:left}
  #tenpo p.shopinfo{font-size: 10px;margin:6px 0;border-top:1px dotted #003366;padding:6px 0 0;line-height:160%;text-align:left;}
  #tenpo a{font-size:12px;text-decoration:underline;text-align:right;display: block;margin-top:6px;}

#pjp_contents h3{font-size: 30px;color:#003366;letter-spacing: 0.05em;font-weight: bold;line-height:120%;text-align:left}
#pjp_contents h4{font-size: 16px;color:#003366;letter-spacing: 0.05em;margin:22px auto;line-height:180%;text-align:left}
#pjp_contents article{background:#d8e1e3;padding:16px 20px;text-align:left}
#pjp_contents article p{line-height:180%;font-size:13px;text-align:left}
#pjp_contents img{width: 100%;}

  .txtBox{float:left;}
  .imgBox{float:right;}

    #kurikurimaron .txtBox{width:42%;} #kurikurimaron .imgBox{width:55.5%;margin-top: 30px;}
    #theater .txtBox{width:67%;} #theater .imgBox{width:30%;}
    #flag .txtBox{width:100%;} #flag .imgBox{width:100%;margin-top:20px;}
    #citizen_card .txtBox{width:47%;} #citizen_card .imgBox{width:50%;}
    #marriage_registration .txtBox{width:45%;} #marriage_registration .imgBox{width:53%;margin-top: 30px;}
    #ceremony .txtBox{width:47%;} #ceremony .imgBox{width:50%;margin-top: 30px;}
    /* ページ内リンク制御 */
    #ambassador,#kurikurimaron,#theater,#flag ,#citizen_card{margin-top:-100px;padding-top:100px;}

  .popup{text-align: center;margin:40px auto 0;}


  /* モーダルCSS */
  .modalArea,.modalArea02 {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .modalBg,.modalBg02 {
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.65);
  }

  .modalWrapper,.modalWrapper02 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform:translate(-50%,-50%);
    width: 100%;
    max-width: 512px;
    overflow-y: scroll;
    height: 100%;
    background-color: #fff;
  }

  .closeModal ,.closeModal02{
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    max-width: 60px;
    width: 10%;
  }

  button.openModal,button.openModal02 { cursor: pointer; border-radius:15px;border: 2px solid #003366;padding:16px 5vw;line-height: 100%;min-width:320px;color:;font-size:16px;color: #0d345e;
    font-family: 'YakuHanJP_Noto', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN','メイリオ',Meiryo,'ＭＳ Ｐゴシック', sans-serif;
  }
    button.openModal{background:#fff;}
    button.openModal02{background:#d0eaef;}
  button.openModal:hover,button.openModal02:hover{background: #0d345e;color:#fff;}

@media screen and (max-width:980px) {
    .penguin_project div.section {padding: 50px 0 0;}
  #info p {font-size: 15px;margin-left:2%;}
}

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

  .penguin_project .sub_menu{padding: 22px 0;}
  .penguin_project .sub_menu ul li a{font-size: 13px;padding: 10px 16px;}
  #info {display: block;margin: 30px auto;}
  #info p{width: 90%;padding: 0 5%;line-height:1.8;margin-left:0px;}
  #info img{width: 84%;padding:10px 8% 0;}
  .penguin_project .container .row{width:100%;padding:0 5%;margin: 20px auto;}
  .penguin_project main h2{font-size: 28px;}
  .penguin_project main .leftBox,.penguin_project main .rightBox{width:100%;float:none;}
  .penguin_project main .leftBox p{line-height:180%;margin-bottom:20px;}
  #tenpo .shops {width:45.5%;margin:auto 2%;}
  #pjp_contents h3{ font-size: 22px;}
  #pjp_contents h4{font-size: 13px;margin: 14px auto;}
  #pjp_title article{background-size: cover;}
  .txtBox,.imgBox{width:100%!important;}
  #kurikurimaron .imgBox,#citizen_card .imgBox,#theater .imgBox,#marriage_registration .imgBox,#ceremony .imgBox{margin-top: 15px;}
}
