html, body {
  margin: 0; padding: 0; height: 100%;
  font-family: 'Noto Sans', Arial, sans-serif;
  background: #fff;
  color: #222;
}
body { min-height: 100vh; height: 100vh; }


.mobile-header {
  width: 100vw;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  left: 0; top: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid #ddd;
  z-index: 1002;
  padding: 0 16px 0 26px;
  box-sizing: border-box;
  background: rgba(255,255,255,0.9);  
}
.logo-mobile {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.31em;
}
.logo-mobile a {
  color: #111;
  text-decoration: none;
}
#hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px; height: 36px;
  border: none; background: none;
  cursor: pointer; padding: 0; margin: 0;
  position: relative;
  z-index: 1003;
}
#hamburger .bar {
  width: 28px; height: 4px;
  background: #222;
  border-radius: 2px;
  margin: 0;
  position: absolute;
  left: 4px;
  right: 4px;
  transition: 0.33s cubic-bezier(.42,.05,.39,.97);
}
#hamburger .bar:nth-child(1) { top: 8px; }
#hamburger .bar:nth-child(2) { top: 16px; }
#hamburger .bar:nth-child(3) { top: 24px; }
#hamburger.open .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
#hamburger.open .bar:nth-child(2) {
  opacity: 0;
}
#hamburger.open .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


.container {
  display: flex;
  height: 100vh;
  min-height: 100vh;
}
.sidebar {
  width: 200px; min-width: 200px; max-width: 200px;
  background: #fff;
  border-right: 1px dashed #ddd;
  display: flex; flex-direction: column;
  align-items: flex-start;
  padding: 20px 0 14px 30px;  
  box-sizing: border-box;
  z-index: 2; height: 100vh;
  position: relative;
}
.logo-sidebar {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.31em;
  margin-bottom: 18px;
  margin-top: 0;
  color: #111;
}
.logo-sidebar a { color: #111; text-decoration: none; }
.greeting {
  margin-bottom: 26px;
  text-align: left;
  width: 170px;
  line-height: 1.2;
}
.greeting a {
  color: #333;
  text-decoration: none;
  font-size: 17px;
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.35;
}
.greeting span { display: block; }
.menu {
  margin-bottom: auto;
  margin-top: 1px;
  width: 170px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.menu a {
  color: #777;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
  transition: color .15s;
  word-break: keep-all;
}
.menu a:hover, .menu a:active { 
	color: #000; 
	font-weight: 600;
}

.domain {
  font-size: 13px;
  font-weight: 700;
  color: #333;
  word-break: break-all;
  text-align: left;
  width: 170px;
}

.email {
  font-size: 13px;
  font-weight: 100;
  color: #999;
  margin-top: 3px;
  margin-bottom: 15px;
  word-break: break-all;
  text-align: left;
  width: 170px;
}


.main-content {
  flex: 1;
  min-width: 0;
  height: 100vh;
  display: flex;
  background: #fff;
  
  padding: 0;
  margin: 0;
}

.iframe-full {
  border: none;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  min-width: 0;
  display: block;
  background: #fff;
}


@media (min-width: 982px) {
  .main-content {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #fff;
  }
  .content-inner {
    width: 75%;
    max-width: 800px;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    padding: 0;
    font-size: 20px;
    font-weight: 250;
	letter-spacing: -0.01em; 
    line-height: 1.7;
    color: #222;
    box-sizing: border-box;
  }
  .mobile-header { display: none !important; }
  .sidebar {
    position: relative;
    transform: none !important;
    box-shadow: none !important;
  }
}


@media (max-width: 981px) {
  .container {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }
  .sidebar {
    position: fixed;
    left: 0; top: 0; bottom: 0;
    width: 50vw; max-width: 200px; min-width: 0;
    height: 100vh;
    background: #fff;
    border-right: 1px dashed #ddd;
    box-shadow: 2px 0 24px #0002;
    padding: 10px 0 calc(24px + 50px + env(safe-area-inset-bottom)) 30px;
    z-index: 2001;
    align-items: flex-start;
    justify-content: flex-start;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    
    transform: translateX(-100%);
    transition: transform .23s cubic-bezier(.42,.05,.39,.97);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .logo-sidebar {
    display: block;
    font-size: 30px;
    margin-bottom: 18px;
  }
  .greeting, .menu, .email {
    width: 88vw;
    max-width: 290px;
  }
	
.main-content {
  display: flex;              
  flex-direction: column;      
  justify-content: center;     
  align-items: center;         
  width: 100vw;
  min-height: 100vh;           
  padding: 0;               
  box-sizing: border-box;
}

.main-content.index {
  padding: 30px 0;               
}
	
	
  .content-inner {
    width: 100%;
    margin-top: 50px;
    padding: 0 30px;
    font-size: 20px;
    max-width: 100vw;
    box-sizing: border-box;
  }
}
