@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}

/* class list */

.flex {
  display: flex;
  align-items: center;
}

.wrap {
  flex-wrap: wrap;
}

.space-between {
  justify-content: space-between;
}

.space-around {
  justify-content: space-around;
}

.align-center {
  align-items: center;
}

.gap-1em {
  gap: 1em;
}

.gap-2em {
  gap: 2em;
}

.text-center {
  text-align: center;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.en {
  font-family: "Bungee", "Chango", sans-serif;
}

.a {
  text-decoration: none;
}

img {
  object-fit: cover;
  max-width: 100%;
  height: auto;
}

.showDialog {
  cursor: pointer;
}


/* variable list */

:root {
  --main_color: #5f7f6e;
  --sub_color: #f0f4f3;
  --font_normal: #181F1B;
  --font_attention: #b81a3e;
}


/* ##   ##  #######    ##     #####    #######  ######   ******************************************************
/* ##   ##   ##   #   ####     ## ##    ##   #   ##  ##  ******************************************************
/* ##   ##   ## #    ##  ##    ##  ##   ## #     ##  ##  ******************************************************
/* #######   ####    ##  ##    ##  ##   ####     #####   ******************************************************
/* ##   ##   ## #    ######    ##  ##   ## #     ## ##   ******************************************************
/* ##   ##   ##   #  ##  ##    ## ##    ##   #   ##  ##  ******************************************************
/* ##   ##  #######  ##  ##   #####    #######  #### ##  *****************************************************/

#wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--font_normal);
}


header {
  padding: 0 10%;
  height: 120px;
  background: var(--main_color);
}

header a {
  color: var(--sub_color);
  text-decoration: none;
}

header a:hover {
  text-decoration: dotted;
}

.logo {
  font-size: 36px;
}

nav a {
  font-size: 32px;
  display: inline-block;
  position: relative;
}

nav a::after {
  background: var(--sub_color);
  bottom: -4px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  transform: scale( 0, 1 );
  transform-origin: righ top;
  transition: transform .3s;
  width: 100%;
}

nav a:hover::after {
  transform-origin: left top;
  transform: scale( 1, 1 );
}

nav ul {
  list-style: none;
}

header .material-symbols-outlined {
  display: none;
  color: var(--main_color);
  background: var(--sub_color);
  border-radius: 10px;
  padding: 6px;
  font-size: 24px;
  z-index: 1000;
}





/* ##   ##    ##      ####    ##   ##   ************************************************************************
/* ### ###   ####      ##     ###  ##   ************************************************************************
/* #######  ##  ##     ##     #### ##   ************************************************************************
/* #######  ##  ##     ##     ## ####   ************************************************************************
// ## # ##  ######     ##     ##  ###   ************************************************************************
// ##   ##  ##  ##     ##     ##   ##   ************************************************************************
// ##   ##  ##  ##    ####    ##   ##   ***********************************************************************/

.sp {
  display: none;
}

#work-pilina-main-contents {
  max-width: 1240px;
  width: 95%;
  margin: 0 auto;
  color: var(--font_normal);
  font-family: 'M PLUS 2', 'Meiryo UI','ヒラギノ丸ゴ ProN','Hiragino Maru Gothic ProN','ヒラギノ角ゴシック','Hiragino Sans',sans-serif;
}

h1 {
  font-size: 36px;
  margin: 80px 0 50px;
}

#contents-wrapper {
  margin: 80px 0 0 20px;
}


h2 {
  font-size: 24px;
  margin: 0 0 26px;
}

#pilina-logo,
#pilina-banner,
#pilina-web {
  margin: 0 0 50px;
}

#pilina-logo div,
#pilina-banner div,
#pilina-web div {
  align-self: flex-start;
}

/* dialog */

dialog {
  border: solid 2px var(--main_color)        ;    
  border-radius: 12px;         
  padding: 0; 
  background: var(--sub_color);
  margin: 1rem;
  padding: 4rem 1rem 1rem;
}

.closeDialog {
  position: absolute;
  top: 0;
  border: solid 1px var(--sub_color);
  border-radius: 10px;
  font-size: 36px;
  background-color: #5f7f6e;
  color: #f0f4f3;
  margin: 10px;
  padding: .1em .5em .15em;
  cursor: pointer;
}

#pilina-logo > div:first-child,
#pilina-banner > div:first-child,
#pilina-web > div:first-child {
  max-width: fit-content;
}

section {
  gap: 50px;
}

section div {
  width: 50%;
  margin-left: 0;
}

section dt {
  font-size: 18px;
  font-weight: bold;
}

section dd {
  font-size: 18px;
  line-height: 30px;
  margin: 0 0 0 2em;
}

#pilina-web a {
  color: var(--main_color);
  font-weight: bold;
}



/* web pages list */

#images-web {
  margin: 80px 0 ;
}

#images-web p {
  text-align: center;
  margin: 50px auto .5rem;
  font-weight: bold;
}

.showDialog {
  border-radius: 10px;
}

img:hover {
  border: solid 2px var(--main_color);
}

#images-pc {
  width: 100%;
}

#images-pc > div {
  width: 300px;
}

#images-sp {
  width: 100%;
  gap: 1rem;
}

#images-sp > div {
  width: 210px;
}







/* aside */

aside {
  width: 40%;
  margin-bottom: auto;
  margin-top: 173px;
  color: var(--sub_color);
}

aside h3 {
  color: var(--sub_color);
  margin: 0 0 26px; 
  font-size: 24px; 
}

aside div {
  width: 250px;
  background: var(--main_color);
  margin: 0 20px;
  padding: 20px 23px;
  border-radius: 10px;
}

aside ul {
  list-style: decimal-leading-zero inside;

}

aside li::marker {
  color: var(--sub_color);
  font-size: 24px;
  font-family: "bungee";
}

aside a {
  text-decoration: none;
  color: var(--sub_color);
  font-size: 20px;
  line-height: 40px;
}

aside a:hover {
  text-decoration: underline;
  font-weight: bold;
}

/* page top固定　*****************************************************************************/
#page_top span {
  font-size: 90px;
  color: #f0f4f3;
  background-color: #5f7f6e;
  border-radius: 10px;
  position: fixed;
  bottom: 80px;
  right: 20px;
}



 /*#######   #####    #####   ######   #######  ######   *******************************************************
 /* ##   #  ##   ##  ##   ##  # ## #    ##   #   ##  ##  *******************************************************
 /* ## #    ##   ##  ##   ##    ##      ## #     ##  ##  *******************************************************
 /* ####    ##   ##  ##   ##    ##      ####     #####   *******************************************************
 /* ## #    ##   ##  ##   ##    ##      ## #     ## ##   *******************************************************
 /* ##      ##   ##  ##   ##    ##      ##   #   ##  ##  *******************************************************
 /*####      #####    #####    ####    #######  #### ##  ******************************************************/


footer {
  background: var(--main_color);
  color: var(--sub_color);
  padding: 1em;
}

small {
  font-size: 19px;
}




/* ######     ##     ######   ####     #######  ######  ***************************************************
// # ## #    ####     ##  ##   ##       ##   #  # ## #  ***************************************************
//   ##     ##  ##    ##  ##   ##       ## #      ##    ***************************************************
//   ##     ##  ##    #####    ##       ####      ##    ***************************************************
//   ##     ######    ##  ##   ##   #   ## #      ##    ***************************************************
//   ##     ##  ##    ##  ##   ##  ##   ##   #    ##    ***************************************************
//  ####    ##  ##   ######   #######  #######   ####   **************************************************/




@media screen and (width <= 990px) {
  

  #menu {
    display: inline-block;
  }

  nav {
    position: fixed;
    top: -100vh;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
    transition: top .25s ease-out; 
  }
  nav.active {
    top:0;
  }

  nav ul {
    flex-direction: column;
    background: #5f7f6e;
    height: 100%;
    justify-content: center;
    align-items: center;
    gap: 1em 0;
  }

  /* main */
 

  #images-pc,
  #images-sp {
    justify-content: space-evenly;
  }
  

  aside {
    display: none;
  }

}

@media screen and (width <= 700px) {
  main .flex {
    flex-direction: column;
  }

  section div {
    width: 100%;
  }

  #pilina-logo > div:first-child,
  #pilina-banner > div:first-child,
  #pilina-web > div:first-child {
    max-width: fit-content;
    margin: 0 auto;
  }

  #images-web div img {
    margin: 0  auto;
  }

  


}
               

 /*##   ##   #####   ######    ####    ####     #######  **************************************************
 //### ###  ##   ##   ##  ##    ##      ##       ##   #  **************************************************
 //#######  ##   ##   ##  ##    ##      ##       ## #    **************************************************
 //#######  ##   ##   #####     ##      ##       ####    **************************************************
 //## # ##  ##   ##   ##  ##    ##      ##   #   ## #    **************************************************
 //##   ##  ##   ##   ##  ##    ##      ##  ##   ##   #  **************************************************
 //##   ##   #####   ######    ####    #######  #######  *************************************************/





@media screen and ( width <= 450px) {

  header {
    height: 66px;
  }

  #top {
    padding: 0 18px;
  }

  .logo {
    font-size: 24px;
    text-align: left;
  }

  .sp {
    display: inline-block;
  }

  
  
  #page_top span {
  font-size: 2.5rem;
  position: fixed;
  bottom: 70px;
  right: 10px;
  }

  
}
                                                  




