@charset "UTF-8";

/* ========BASIC======== */
body {
   margin:0;
   padding:0;
   font-family:Verdana, Helvetica, sans-serif;
   color:#333;
   letter-spacing:1px;
    /*background:#fff url(../images/bg_body.gif) repeat-x ;*/
    background-color: #FFFFF0;
}

br {
   letter-spacing:normal;
}

a {
   color:#000000	;
   text-decoration:none;
}

a:hover {
   color:#8abff2;
   text-decoration:none;
}

img {
   border:0;
}

h1,h2,h3,h4,h5,h6 {
   margin:0;
}

/* ========TEMPLATE LAYOUT======== */
/*#top {
   width:   860px;
   margin:  0px auto;
}*/

#top {
   width:    900px;
   margin:  0px  auto;
    /*padding:  0px 10px*/
   box-shadow:   0px  0px 10px #000;
    background-color: white;
}

#header {
   width:860px;
   height:300px;
   margin-bottom:5px;
   background:url(../images/Nishinoshima2.gif) 0 0  no-repeat;
   border:  1px solid  black;
    /*box-shadow:   10px 10px  20px  -7px #000;*/
   margin-left:  19px
}

#contents {
   clear:both;
   width:860px;
   margin:20px 0;
   background:#fff url(../images/bg_contents.gif) 100px 0px repeat-y;
   margin-left: 20px
}

#main {
   float:left;
   width:660px;
}

#sub {
   float:right;
   width:180px;
}

#totop {
   border-top:1px solid #5D5353;
}

#footer {
   position:relative;
   clear:both;
   width:757px;
   margin-left: 20px
}

/* �����������Ꮏ𩎣���� */
#contents:after {
   content:"";
   display:block;
   height:0;
   clear:both;
   visibility:hidden;
}

/* ========HEADER CUSTOMIZE======== */
#header h1 {
   margin:0;
   padding: 0px  10px;
   font-size:2em;
   color:#FFF;
   line-height:60px;
    text-shadow: 2px  2px 5px  #0099FF,
            -2px  2px 5px #0099FF,
             2px -2px 5px #0099FF,
            -2px -2px 5px #0099FF;
}

#header h1 a {
   color:#FFF;
}

#header h1 a:hover {
   color:#5D5353;
}

#header p {
   width:840px;
   margin:0px 10px;
   font-size:1em;
    color:#FFF;
    text-shadow: 2px  2px 5px  #0099FF,
            -2px  2px 5px #0099FF,
             2px -2px 5px #0099FF,
            -2px -2px 5px #0099FF;
}

/* ========MAIN CONTENTS CUSTOMIZE======== */
#main a {
   color:#157299;
   border-bottom:1px solid #157299;
}

#main a:hover {
   color:#8abff2;
   border:0;
   border-bottom:1px solid #8abff2;
}

#main h1 {
   padding:  3px  10px;
   margin:0 0 10px 0;
   font-size:1.5em;
   font-weight:bold;
   color:#fff;
   background:#66CCFF;
}

#main h2 {
   margin-bottom:8px;
   padding:2px 2px 2px 0;
   color:#5D5353;
   font-size:1.3em;
   font-weight:bold;
   line-height:1.4;
   border-bottom:3px double #5D5353;
}

#main h3 {
   margin-bottom:3px;
   font-size:1.1em;
   border-bottom: 1px  dashed;
}

#main h4 {
   margin-bottom:2px;
   font-size:1em;
   line-height:1.4;
}
#main h5 {
   margin-bottom:2px;
   font-size:0.75em;
   line-height:1.4;
}
#main h6 {
   margin-bottom:2px;
   font-size:0.75em;
   line-height:1.4;
}

#main p{
   margin:0 0 1em 0;
   font-size:0.9em;
   line-height:1.4;
}

#main ul,ol,dl{
   margin:0 0 2em  0em;
   padding: 0em;
   font-size:0.9em;
}

#main li {
   margin: 0  0em 1em 2em;
   padding:0;
   font-size:  0.9em;
}

#main dt{
	float: left;
    padding: 8px 0 8px 20px;
	width:185px;
	clear:both;
        font-size:1em;
}

#main dd{
    margin-left:0;
    padding: 8px 0px 8px 20px;
	margin-left:185px;
        font-size:1em;
}
#main f_left{
	float:left;
	margin:0 10px 10px 0;
}

/* ========SUB CONTENTS CUSTOMIZE======== */
#sub  h1 {
   font-size: 0.8em;
   padding:0em;
   margin: 0.5em 0em 0em  0em;
   font-weight:  normal;
}


#sub p {
   font-size: 0.8em;
   padding:0em;
   margin: 0.5em 0 0em  0em;
   text-decoration: underline;
}

#sub h2 {
   padding:3px;
   font-size:1.1em;
   font-weight:bold;
   color:#fff;
   background:#5D5353;
}

#sub ul {
   margin:0;
   padding:5px 0  0em 0;
}

#sub li {
   margin:0 0 1 0;
   padding-left:35px;
   font-size:1.3em;
   line-height:1.5;
   background:#fff url(../images/bg_list.gif)  0px no-repeat;
background-size: 20px 20px;
   list-style:none;
   font-weight: bold;
}

/* ========FOOTER CUSTOMIZE======== */
#totop{
   position:relative;
   height:2em;
}

#totop p{
   position:absolute;
   top:10px;
   right:7px;
   margin:0;
   padding-left:8px;
   font-size:0.8em;
   background:#fff url(../images/bg_totop.gif) 0 50% no-repeat;
}

.copyright {
   padding:10px 0;
   font-size:0.63em;
   color:#333;
}
.paper-link {
  margin-left: 0.3em;
  text-decoration: none;
  font-size: 0.9em;
}

.paper-link:hover {
  text-decoration: underline;
}
/* .photo-thumb {
  height: 127px;
  width: auto;
  margin: 3px 0;
  vertical-align: middle;
}
.photo-link {
  display: inline-block;
  text-decoration: none;
}
.photo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
} */
 /* =========================================================
   PHOTO GALLERY
========================================================= */

/* .photo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 12px;
  margin: 16px 0 24px;
} */
.photo-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 24px;
}

#main .photo-link {
  position: relative;
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background-color: #f3f6f8;
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.05);
  aspect-ratio: 4 / 3;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

#main .photo-link:hover {
  border: 0;
  transform: translateY(-3px);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.12),
    0 14px 30px rgba(0, 0, 0, 0.08);
}

#main .photo-link:focus-visible {
  border: 0;
  outline: 3px solid rgba(21, 114, 153, 0.4);
  outline-offset: 3px;
}

.photo-image-wrapper {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.photo-thumb {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  vertical-align: middle;
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}

.photo-link:hover .photo-thumb {
  transform: scale(1.05);
  filter: brightness(0.82);
}

/* .photo-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  background-color: rgba(20, 40, 50, 0.55);
  color: #fff;
  opacity: 0;
  transform: translate(-50%, -45%) scale(0.85);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  pointer-events: none;
  backdrop-filter: blur(3px);
}

.photo-zoom-svg {
  display: block;
  width: 24px;
  height: 24px;
} */
.photo-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;

  color: #fff;
  opacity: 0;
  transform: translate(-50%, -45%) scale(0.85);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  pointer-events: none;
}

.photo-zoom-svg {
  display: block;
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.65));
}

.photo-link:hover .photo-zoom-icon,
.photo-link:focus-visible .photo-zoom-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.photo-link:hover .photo-zoom-icon,
.photo-link:focus-visible .photo-zoom-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.photo-link:hover .photo-zoom-icon,
.photo-link:focus-visible .photo-zoom-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.photo-link:hover .photo-zoom-icon,
.photo-link:focus-visible .photo-zoom-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

body.lightbox-open {
  overflow: hidden;
}

.photo-lightbox {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background-color: rgba(8, 16, 22, 0.88);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
  backdrop-filter: blur(5px);
}

.photo-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.photo-lightbox-content {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: min(1100px, 95vw);
  max-height: 90vh;
  align-items: center;
  justify-content: center;
  transform: scale(0.96);
  transition: transform 0.25s ease;
}
.photo-lightbox-caption {
  box-sizing: border-box;
  width: 100%;
  max-width: 900px;
  margin: 12px 0 0;
  padding: 0 8px;
  color: #fff;
  font-size: 0.9em;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}
.photo-lightbox.is-open .photo-lightbox-content {
  transform: scale(1);
}

.photo-lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  border-radius: 2px;
  background-color: #fff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
  object-fit: contain;
}

.photo-lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background-color: rgba(20, 30, 35, 0.88);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.photo-lightbox-close:hover {
  background-color: #157299;
  transform: rotate(5deg);
}

.photo-lightbox-close:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.65);
  outline-offset: 3px;
}


@media screen and (max-width: 700px) {
  .photo-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .photo-lightbox {
    padding: 18px;
  }

  .photo-lightbox-close {
    top: -14px;
    right: -8px;
  }
}

@media screen and (max-width: 420px) {
  .photo-list {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .photo-link,
  .photo-thumb,
  .photo-zoom-icon,
  .photo-lightbox,
  .photo-lightbox-content,
  .photo-lightbox-close {
    transition: none;
  }
}