/*--------------------------- css  2025 version 5------------------------*/
/*--  2024.05.01 -- add Noto Sans JP                                     */
/*--  2024.10.26 -- common adust                                         */
/*--  2025.01.03 -- font size adjust                                     */
/*--  2025.11.21  -- frame class                                            */
/* ----------------------------------------------------------------------*/
@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);
/* 2024.05.01 */

html {
    font-size: 16px;
    /* base font size */
}

body {
    font-family: 'Noto Sans JP', sans-serif;    /* 2024.05.01 */
    max-width: 1000px; 
    margin: 0px auto;
    /* default back ground */
    background-color:#203243; 
    background-repeat: repeat;
    background-attachment: fixed;
}

h1 {
   width:80%;
   color: white;
   font-size: 2.0rem;
   margin:1rem auto;
   font-size:2rem;
   letter-spacing:0.2rem;
   text-align:center;
   text-shadow:1px 1px 0px silver;
}

h2 {
  font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'HGS明朝E', 'ＭＳ Ｐ明朝', serif;
  padding: 1rem 2rem;
  color: #fff;
}

h2 {
  font-size:1.8rem;
  text-align:center;
  color: #c0c0c0;
  text-shadow: 0 1px 0 #fff, 0 3px 0 #fff, 0 4px 10px rgba(0, 0, 0, .2);
}
h3 {
border:0px solid red;
    margin-top:2rem;
    width: 100%;
    color: white;
    font-size: 1.5rem;
    text-align: left;
 /*   background: url("../akasozai/pin_green.png"); */
  /*  background: url("../akasozai/ha.png"); */
 /*    background: url("../akasozai/コスモス.png");  */
    background: url("../akasozai/Orchid-10.png");  
    background-repeat: no-repeat;
    background-position: -0px 0px;    /*right top  */
    background-size: 1.8rem;
    text-indent: 2.5rem;
    height:40px;
    text-shadow: 1px 1px 5px black;
}

h4 {
    /* title of ul1 */
    margin: 0.5rem auto 0rem 0rem;
    color: white;
    font-size: 1.1rem;
    padding: 0.5rem 1.0rem;
    text-align: left;
    text-shadow: 1px 1px 0px black;
}
h4 span {
    border-style: double;
    border-width: 3px 0px 3px 0px;
}

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;
}

hr {
    border-color: gray;
    border-style: groove;
    width: 80%;
    margin: 2rem auto;
}

#root {
    width:90%;
    margin: 0px auto;
}

/* top image frame */
#framet {
    margin: auto;
}
/* flex frame index part */
#indexframe {
    width: 100%;
    margin: 20px auto;
    display: flex;
    /* flex */
    flex-wrap: wrap;
    justify-content: space-around;
}

#indexframe .frame1 {
    flex-basis: 60%;
}

#indexframe .frame1 img,
#indexframe #frame1 p {
    width: 100%;
    margin: 0rem auto;
    padding: 0px;
}

#indexframe ul {
    list-style-type: decimal;
    text-align: left;
    color: white;
    flex-basis: 30%;
    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 img {
    width: 40%;
    flex-basis: 60%;
}

/*---- text ------------------- */
#text , .text {
    width: 95%;
    max-width: 1000px;
    margin: 0px auto;
}

#text p , .text p
{
    color: white;
    font-size: 1.0rem;
    text-shadow: 1px 1px 5px black;
}

#text p img , .text p img {
    width: 2.0rem;
    border-radius: 5px;
    margin-right: 0.5rem;
    box-shadow: 0px 0px 0px white;
}

#text p a , .text p a {
    border: 0px solid white;
    background-color:#e0ffff50;
    text-decoration: none;
    padding: 1px 2px;
    border-radius: 0.5rem;
    color: orange;
}

#text p a:hover , .text p a:hover{
    background-color: black;
}
#text p #span_utf , #frame1 p #span_utf {
   font-size: 1.3rem;
}
#text  #com {
    font-size:0.9rem;
}
.text_box {
 border:1px solid white;
 padding: 0.5rem;
 color: white;
 width:100%;
 height:500px;
 overflow:auto;
}
.span_y {
    color:yellow;
    text-shadow:1px 1px 1px black;
}

/* --------------- chat gpt ----------------------- */
#text #aka,
#text #gpt ,
.text .aka ,
.text .gpt 
 {
    text-indent: 1.5rem;
    background: url("../akaicon/aka_icon.png");
    background-repeat: no-repeat;
    background-position: 0px 1px;    /* 左右　上下　*/
    background-size: 1.5rem;
    text-indent:2.0rem;
}
#text #gpt , .text .gpt {
    background: url("../akaicon/chatgpt1s2.png");
    background-repeat: no-repeat;
    background-position: 0px 0px;    /* 左右　上下　*/
    background-size: 1.5rem; 
}
.gemi {
    background: url("../akaicon/gemini-colors.png");
    background-repeat: no-repeat;
    background-position: 0px 0px;    /* 左右　上下　*/
    background-size: 1.3rem; 
    text-indent: 1.5rem; 
 }

pre {
    color: white;
    font-family: 'Arial', sans-serif;
    white-space: pre-wrap;
    word-break: break-all;
}

/* 引用記事 */
#text_ref , .text_ref {
    margin: 10px auto;
    border: 1px dashed aliceblue;
}

#text_ref p ,  .text_ref p {
    padding: 5px 10px;
    color: aliceblue;
}

/* ---------------------- table common ----------------*/
#table1 {
    color: white;
    border: 0px solid white;
}

#table1 th, 
#table1 td {
    text-align: center;
    border: 1px solid white;
    padding: 2px;
    font-size: 1.0rem;
}

#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;
    }
}

.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;
}

/*------------------------ image frame  ------------------------*/
/* frame contaner */
#frame_container {
    margin: auto;
    display: flex;
    /* flex */
    flex-wrap: wrap;
    justify-content: space-around;
}

/* 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: 90%;
    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%;
}

.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;
}

/* ----------------------------------------------------  */
/*           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 ivory;
    width: 8%;
    margin: 20px auto 10px 20px;
    float: left;
    text-align: center;
    font-size: 1.0rem;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: 1px 1px 0px gray;
    background-color: ivory;
}

#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: 1.5rem;
   }
 h2 {
  font-size:1.2rem;
   }
    #text p a {
        border: 0px solid white;
    }
    #indexframe {
        width: 100%;
        margin: 20px auto;
        display: block;
    }

    #indexframe ul {
        width: 80%;
    }

    #indexframe #frame1 {
        width: 80%;
    }

   #indexframe #frame1 img {
        width: 100%;
    }

    #ul1 {
        width: 95%;
    }
    #frame5  {
        width: 90%;
        margin: 20px auto;
        padding:0px;
        display: block;
    }

    #frame5 img {
        margin:0px auto;
        width: 100%;
    }

    #frame5 ul {
        width: 80%;
    }

    #frame5 ul li {}

    #modoru {
        width: 10%;
    }
/* table1 は table定義の下 */

}

/* --------------------------------------------------------------------- */