@charset "UTF-8";

/* ------------------------------
   top page only
------------------------------ */

/* page base */
.top_body{
  background:url("/img/bg_ice_orange_blue.png") repeat center -5px;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Noto Sans JP",
    Meiryo,
    sans-serif;
}

.top_body a{
  color:#111;
  text-decoration:underline;
  text-underline-offset:2px;
}

.top_body a:hover{
  opacity:0.75;
}


/* ------------------------------
   header
------------------------------ */
.top_header{
  position:relative;
  max-width:760px;
  margin:0 auto;
  height:140px;
}

.top_header img{
  position:absolute;
  left:320px;
  top:53px;
  width:160px;
  height:auto;
  display:block;
}

.top_header h1{
  position:absolute;
  right:30px;
  top:95px;
  margin:0;
  font-size:32px;
  line-height:1.1;
  font-weight:800;
  letter-spacing:0.01em;
  color:#111;
}


/* ------------------------------
   main / panel
------------------------------ */
.top_body main{
  max-width:760px;
  margin:0 auto;
  padding:0;
}

.top_panel{
  background:rgba(238,238,238,0.88);
  border-radius:18px;
  padding:22px 26px 18px;
  box-sizing:border-box;
}


/* ------------------------------
   common section layout
------------------------------ */
.top_panel section{
  display:grid;
  grid-template-columns:110px 1fr;
  column-gap:18px;
  align-items:start;
  padding:16px 0;
  border-top:1px solid #f2a446;
}

.top_panel section:first-child{
  border-top:none;
  padding-top:6px;
}

.top_panel section > *:not(h2){
  grid-column:2;
}

.top_panel h2{
  margin:0;
  font-size:18px;
  line-height:1.4;
  font-weight:600;
  color:#111;
}

.top_panel h3{
  margin:12px 0 8px;
  font-size:15px;
  line-height:1.4;
  font-weight:500;
  color:#111;
}

.top_panel p{
  margin:0 0 10px;
  line-height:1.8;
}

.top_panel ul{
  margin:0;
  padding:0;
  list-style:none;
}


/* ------------------------------
   news
------------------------------ */
.top_news > ul:first-of-type li{
  display:grid;
  grid-template-columns:108px 1fr;
  column-gap:10px;
  align-items:start;
  margin:0 0 8px;
  line-height:1.6;
}

.top_news > ul:first-of-type time{
  display:block;
  white-space:nowrap;
}

.top_news > ul:first-of-type span{
  display:block;
  min-width:0;
}

/* pick up */
.top_news > ul:last-of-type{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:12px;
  align-items:start;
}

.top_news > ul:last-of-type li{
  margin:0;
}

.top_news > ul:last-of-type a{
  display:block;
  text-decoration:none;
}

.top_news > ul:last-of-type img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1 / 1;
  object-fit:cover;
  border:1px solid #bdbdbd;
  border-radius:8px;
  background:#fff;
}

.top_news > ul:last-of-type time{
  display:block;
  margin-top:4px;
  font-size:12px;
  line-height:1.4;
  white-space:nowrap;
}


/* ------------------------------
   works
------------------------------ */
.top_works h3{
  margin:0;
  line-height:1.4;
  white-space:nowrap;
}

.top_works h3 a{
  color:#777;
  text-decoration:underline;
  text-underline-offset:3px;
  font-weight:600;
}

.top_works h3 a:hover{
  color:#555;
}

.top_works_list{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.top_works_row{
  display:grid;
  grid-template-columns:auto 1fr;
  column-gap:16px;
  align-items:baseline;
}

.top_works_row ul::before{
  content:"[";
  margin-right:8px;
}

.top_works_row ul::after{
  content:"]";
  margin-left:8px;
}

.top_works li{
  display:inline-block;
  margin:0;
  line-height:1.6;
}

.top_works li:not(:last-child)::after{
  content:" / ";
  margin:0 4px;
}


/* ------------------------------
   links
------------------------------ */
.top_links ul{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:8px 40px;
}

.top_links li{
  line-height:1.6;
}


/* ------------------------------
   about
------------------------------ */
.top_about_box{
  display:grid;
  grid-template-columns:auto auto;
  column-gap:0;
}

.top_about_box img{
  grid-column:2;
  grid-row:1 / span 2;
  width:170px;
  height:auto;
  margin:0;
}

.top_about_box small{
  color:#888;
  font-size:0.85em;
}


/* ------------------------------
   footer
------------------------------ */
.top_body footer{
  max-width:760px;
  margin:0 auto;
  padding:8px 0 14px;
  text-align:center;
}


/* ------------------------------
   mobile only
------------------------------ */
@media (max-width:640px){

  html,
  body{
    overflow-x:hidden;
  }

  .top_header{
    height:auto;
    min-height:140px;
    padding:36px 16px 10px;
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    justify-content:flex-start;
  }

  .top_header img{
    position:static;
    width:180px;
    height:auto;
    margin:0 0 2px;
  }

  .top_header h1{
    position:static;
    margin:0;
    font-size:40px;
    line-height:1.1;
    text-align:right;
  }

  .top_body main{
    padding:0 10px;
  }

  .top_panel{
    padding:18px 16px 14px;
    border-radius:14px;
  }

  .top_panel section{
    grid-template-columns:1fr;
    row-gap:10px;
    padding:14px 0;
  }

  .top_panel section > *:not(h2){
    grid-column:auto;
  }

  .top_news{
    font-size:13px;
    line-height:1.2;
  }

  .top_news > ul:first-of-type,
  .top_links ul,
  .top_works_list,
  .top_about_box{
    margin-left:12px;
  }

  .top_news > ul:first-of-type li{
    grid-template-columns:1fr;
    row-gap:2px;
  }

  .top_news > ul:last-of-type{
    grid-template-columns:repeat(3, 1fr);
  }

  .top_links ul{
    gap:8px 12px;
  }
}