/*--------------------------- css  2026 version 2 ------------------------*/
/*--  2026.11.12 -- new 　　　　　　　　　　　　　　　　　　　    */
/*    　　                  */
/* ----------------------------------------------------------------------*/
html {
    font-size: 16px;
    /* base font size */
}
body {
    font-family:"Hiragino Sans","Yu Gothic","Meiryo",sans-serif;
    margin: 0px auto;
    background:
       linear-gradient(to right, #07162f, #0d2b5e); 
}
.root {
     max-width:780px;
}

h1 {
  color: #e8eefc;
  font-weight: 500;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: 0.08em;
/*  padding-bottom: 0.5em; */
  border-image: linear-gradient(to right, #8fb3ff, rgba(143,179,255,0)) 1;
  padding-left: 0.7em;
  border-bottom: 1px solid transparent;
  border-top: 1px solid transparent;
  border-left: 8px solid #7ea6e8;
}
h2 {
  display: inline-block;
  color:white;
  font-weight: 400;
  border-top: 1px solid #ccc;
  letter-spacing: 0.08em;
  padding: 5px;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(to right, #8fb3ff, rgba(143,179,255,0)) 1;
  padding-left: 0.7em;
  border-left: 6px solid #7ea6e8;
} 
h3 {
    color: #e8eefc;
    letter-spacing: 0.08em;
    font-size: 1.2rem;
    font-weight: 400;
    text-align: left;
    display: inline-block;
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(to right, #8fb3ff, rgba(143,179,255,0)) 1;
    border-left: 4px solid #7ea6e8;
    padding-left: 0.5rem;
}

h4 {
    color: #e8eefc;
    letter-spacing: 0.08em;
    font-size: 1.1rem;
    font-weight: 400;
    text-align: left;
    display: inline-block; 
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(to right, #8fb3ff, rgba(143,179,255,0)) 1;
    border-left: 2px solid #7ea6e8;
    padding-bottom: 2px;
    padding-left: 0.5rem;
}
h5 {
   font-size: 0.8rem;
   color: white;
}

/* date */
h6 {
    color: white;
    font-size: 0.8rem;
    display: flex;
    justify-content: flex-end;
    margin: 5px 20px 15px auto;
    text-shadow: 1px 1px 1px black;
}

h1 , h2 , h3 , h4 {
    border-image: linear-gradient(to right, #667534 , rgba(102,117,52,0)) 1 ;

}

hr {
    border-color: gray;
    border-style: groove;
    width: 80%;
    margin: 2rem auto;
}

.root {
    width:90%;
    margin: 0px auto;
}

/* flex frame index part -- grid */
.indexframe {
    width: 100%;
    margin: 20px auto;
    display: grid;   /* grid */
    grid-template-columns: 1fr 2fr ;  
    grid-template-areas: 
     "list1 image" 
     "list2 list2";
     gap: 4px;
 }
.top_image {
    grid-area: image;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.index_ul {
    list-style-type: decimal;
    text-align: left;
    color: white;
    grid-area: list2; 
    font-size: 1.0rem;
    border-radius: 0.5rem;
}
.indexframe ul li a {
    color: yellow;
    padding: 5px;
    text-shadow: 1px 1px 5px black;
    text-indent: 2rem;
    text-decoration: none;
}

.indexframe ul li a:hover {
    color: red;
}

.indexframe .videoframe {
    width: 90%;
}
.logo_list {
   border:0px solid white;
   margin:1.5rem;
   grid-area: list1; 
   list-style-type:none;
}

.brand_logo {
  display: inline-flex;
  align-items: center;  /* 縦中央揃え */
  gap: 0.4em;           /* ロゴと文字の間隔 */
}
.brand_logo img { 
  height: 1.2em;
  width: auto;
}
/*---- text ------------------- */
.text {
    width: 95%;
    max-width: 1000px;
    margin: 0px auto;
}

.text p
{
    color: white;
    font-size: 1.0rem;
     font-weight:420;
    text-shadow: 1px 1px 5px black;
}

.text p img {
    width: 2.0rem;
    border-radius: 5px;
    margin-right: 0.5rem;
    box-shadow: 0px 0px 0px white;
}

.text p a {
    border: 0px solid white;
    background-color:#e0ffff50;
    text-decoration: none;
    padding: 1px 2px;
    border-radius: 0.5rem;
    color: orange;
    line-height:2rem;
}

.text p a:hover{
    background-color: black;
}
.text p .span_utf , .frame1 p .span_utf {
   font-size: 1.3rem;
}
.text_box {
 border:1px solid white;
 padding: 0.5rem;
 color: white;
 width:100%;
 height:500px;
 overflow:auto;
}
.span_y , .span_yellow {
    color:yellow;
    text-shadow:1px 1px 1px black;
}

.span_r , .span_red {
    color:red;
    text-shadow:1px 1px 1px black;
}
.span_ul {
   border-style:solid;
   border-color:#d3d3d3;   /* lightgray */
   border-width:0px 0px 1px 0px;
}
/* --------------- ai logo --------------------- */
.aka ,
.gpt ,
.chatgpt ,
.claude ,
.gemini ,
.gemi ,
.notebook
{
    color:white;
    text-indent: 1.5rem;
    background: url("../logo/aka_logo.png");
    background-repeat: no-repeat;
    background-position: 0px -1px;    /* 左右　上下　*/
    background-size: 1.5rem;
    text-indent:2.0rem;
/*
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-color: #555;
    text-underline-offset: 4px; 
*/
  }
.text .underline {
    text-indent:0rem;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-color: #555;
    text-underline-offset: 4px; 
}
.gpt , .chatgpt {
    background: url("../logo/chatgpt_logo.png");
    background-repeat: no-repeat;
    background-position: 0px -1px;    /* 左右　上下　*/
    background-size: 1.5rem;
}
.gemi , .gemini {
    background: url("../logo/gemini_logo.png");
    background-repeat: no-repeat;
    background-position: 0px -1px;    /* 左右　上下　*/
    background-size: 1.5rem;
}
.claude {
    background: url("../logo/claude_logo.png");
    background-repeat: no-repeat;
    background-position: 0px -1px;    /* 左右　上下　*/
    background-size: 1.5rem;
 }
.notebook {
    background: url("../logo/notebook_logo.png");
    background-repeat: no-repeat;
    background-position: 0px -1px;    /* 左右　上下　*/
    background-size: 1.5rem;
 }

pre {
    font-family:"Hiragino Sans","Yu Gothic","Meiryo",sans-serif;
    font-weight:400;
    color: white;  
    white-space: pre-wrap;
    word-break: break-all;
}

/* 引用記事 */
.text_ref {
    width:95%;
    font-size:0.9rem;
    margin: 10px auto;
    border: 1px dashed gray;
    color: aliceblue;
    padding: 2px 5px;
 
}

/* ---------------------- table common ----------------*/
.table1 {
    color: white;
    border: 0px solid white;
}

.table1 th, 
.table1 td {
    text-align: center;
    border: 1px solid #888888;
    padding: 2px 5px;
    font-size: 1.0rem;
}
.table1 td {
    text-align: left ;
}

.table1 caption {
    font-size: 1.0rem;
}
@media (max-width: 768px) {
    .table1 {
        font-size: 0.8rem;
    }
    .table1 th, .table1 td {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .table1 {
        font-size: 0.6rem;
        overflow-x: auto;
        display: block;
    }
    .table1 th, .table1 td {
        padding: 0.3rem;
    }
}

/* ------------------ list ------------------- */
.ul1 {
    width: 95%;
    color: white;
    font-size: 1.0rem;
    text-shadow: 1px 1px 5px black;
    text-align: left;
    margin: 0rem auto;
    list-style-type: square;
}

.ul1 li a{
    text-align: left;
    text-decoration: none;
}
.ol1 {
   width: 95%;
    color: white;
    font-size: 1.0rem;
    text-shadow: 1px 1px 5px black;
    text-align: left;
    margin: 0rem auto;
 /*   list-style-type: square; */
}
.ol1 li a{
    text-align: left;
    text-decoration: none;
}

/*------------------------ image frame  ------------------------*/
/* photo flexbox frame */
.frame0 {
    width:98%;
    margin: 1rem auto;
    padding: 0px;
    display: flex;
    /* flex */
    flex-wrap: wrap;
    justify-content: space-around;
 }

.frame1,
.frame2,
.frame3 {
    border: 0px ridge red;
    max-width:980px;
    flex-basis: 49%;
    text-align: center;
    padding: 0px;
    margin: 0.5rem auto;
 }

.frame2 {
    width: 60%;
}

.frame1 img,
.frame2 img,
.frame3 img {
    margin:0px auto;
    border: inset 2px aliceblue;  
    width: 100%;
 }

.frame1 p,
.frame2 p,
.frame3 p {
    margin-top: 0px;
    width: 100%;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    text-align:center;
    text-shadow: 1px 1px 1px black;
}
/*-------------- youtube frame ----------------------- */
.frame_youtube {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.frame_youtube iframe {
    width: 100%;
    height: 100%;
}

/*---------------  video frame  -----------------*/
.videoframe {
    margin: 0px auto;
    width: 100%;
    aspect-ratio: 16 / 9;

}

.videoframe video {
    border: 0px outset aliceblue;
    width: 100%;
    height: 100%;
}

/* ---------- pdf ------------------------------*/
.iframe-wrap {
    position: relative;
    padding-top: 140%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    border: 2px solid #ccc;
}

.iframe-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
/* pdf */
.pdf-controls {
      margin : 15px; 
}
 button { 
      padding: 8px 16px;
      margin: 0 5px; 
      cursor: pointer;
      border-radius:20px;
      background-color: #444;
      color: white;      
}
.pdf-controls span {
   color:white;
}
#pdf-canvas { 
      border: 1px solid #888;
       max-width: 100%; 
       height: auto; 
       background-color: #888;
 }

/* ----------------------------------------------------  */
/*           Zoom up                                                       */
/* ----------------------------------------------------  */
.image {
    transition: transform 1.0s ease;
    cursor: pointer;  
}
.zoom {
     /* 中央に移動し拡大 */
    transform: translate(-50%, -50%) scale(0.8);
    position: fixed; 
    left: 50%;
    top: 50%;
    z-index: 100;   
}

/*--- zoom for frame2---------------- */
.zoom2 {
    transform: translate(-50%, -50%) scale(0.6);
    /* 中央に移動し拡大 */
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 10;
}
@media screen and (max-width: 600px) {
  .zoom2 {
    transform: translate(-50%, -50%) scale(0.8);
    /* 中央に移動し拡大 */
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 10;
  }
}

/* ------------------ text right -----------------------*/
.text_right {
    width: 100%;
    text-align: right;
}

/*----------------- access counter ------------------*/
.table_ac {
    width: 20%;
    margin: 30px auto 5px 10px;
    float: right;
}

.table_ac td {
    font-size: 0.9rem;
    color: ivory;
}

/*--------------------- modoru --------------------*/
.modoru {
    border: 2px ridge black;
    width: 8%;
    margin: 20px auto 100px 20px;
    float: left;
    text-align: center;
    font-size: 1.0rem;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 1px 1px 0px gray;
    background-color: lavender;
}

.modoru a {
    background-color: gray;
}

.modoru a:link,
.modoru a:visited {
    display: block;
    text-decoration: none;
    color: black;
}

.modoru a:hover {
    color: red;
    background-color: lime;
}

/*-------------- mobile responsive -------------------------*/
@media screen and (max-width: 600px) {
    html {
        font-size: 14px;
        /* base font size */
    }
.root {
    width:100%;
    margin: 0px auto;
    }
 h1 {
     width:95%;
     font-size: 2.0rem; 
   }
 h2 {
  font-size:1.2rem;
   }
    .text p a {
        border: 0px solid white;
    }
    .indexframe {
        width: 100%;
        grid-template-columns: 1fr;
        grid-template-areas:
        "list1"
        "image"
        "list2";
    }
    .indexframe .top_image {
         width:80%;
          margin: 1rem auto;
    }    
 .modoru {
        width: 10%;
    }
/* table1 は table定義の下 */

}

/* --------------------------------------------------------------------- */